docs: public void marshall(WorkspaceRequest workspaceRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (workspaceRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(workspaceRequest.getDirectoryId(), DIRECTORYID_BINDING);
              protocolMarshaller.marshall(workspaceRequest.getUserName(), USERNAME_BINDING);
              protocolMarshaller.marshall(workspaceRequest.getBundleId(), BUNDLEID_BINDING);
              protocolMarshaller.marshall(workspaceRequest.getVolumeEncryptionKey(), VOLUMEENCRYPTIONKEY_BINDING);
              protocolMarshaller.marshall(workspaceRequest.getUserVolumeEncryptionEnabled(), USERVOLUMEENCRYPTIONENABLED_BINDING);
              protocolMarshaller.marshall(workspaceRequest.getRootVolumeEncryptionEnabled(), ROOTVOLUMEENCRYPTIONENABLED_BINDING);
              protocolMarshaller.marshall(workspaceRequest.getWorkspaceProperties(), WORKSPACEPROPERTIES_BINDING);
              protocolMarshaller.marshall(workspaceRequest.getTags(), TAGS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }