Class ByProjectKeyImportOperationsByIdGet

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.TypeApiMethod<ByProjectKeyImportOperationsByIdGet,ImportOperation>
com.commercetools.importapi.client.ByProjectKeyImportOperationsByIdGet
All Implemented Interfaces:
Secured_by_view_import_containersTrait<ByProjectKeyImportOperationsByIdGet>, io.vrap.rmf.base.client.ClientRequestCommand<ImportOperation>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.HttpRequestCommand<ImportOperation>, io.vrap.rmf.base.client.RequestCommand<ImportOperation>

public class ByProjectKeyImportOperationsByIdGet extends io.vrap.rmf.base.client.TypeApiMethod<ByProjectKeyImportOperationsByIdGet,ImportOperation> implements Secured_by_view_import_containersTrait<ByProjectKeyImportOperationsByIdGet>

Retrieves the ImportOperation of a given ID.



   CompletableFuture<ApiHttpResponse<com.commercetools.importapi.models.importoperations.ImportOperation>> result = apiRoot
            .withProjectKeyValue("{projectKey}")
            .importOperations()
            .withIdValue("{id}")
            .get()
            .execute()
 
  • Constructor Details

    • ByProjectKeyImportOperationsByIdGet

      public ByProjectKeyImportOperationsByIdGet(io.vrap.rmf.base.client.ApiHttpClient apiHttpClient, String projectKey, String id)
    • ByProjectKeyImportOperationsByIdGet

      public ByProjectKeyImportOperationsByIdGet(ByProjectKeyImportOperationsByIdGet t)
  • Method Details

    • resultType

      public com.fasterxml.jackson.core.type.TypeReference<ImportOperation> resultType()
      Specified by:
      resultType in interface io.vrap.rmf.base.client.HttpRequestCommand<ImportOperation>
    • executeBlocking

      public io.vrap.rmf.base.client.ApiHttpResponse<ImportOperation> executeBlocking(io.vrap.rmf.base.client.ApiHttpClient client, Duration timeout)
      Specified by:
      executeBlocking in interface io.vrap.rmf.base.client.ClientRequestCommand<ImportOperation>
      Specified by:
      executeBlocking in class io.vrap.rmf.base.client.ApiMethod<ByProjectKeyImportOperationsByIdGet,ImportOperation>
    • execute

      public CompletableFuture<io.vrap.rmf.base.client.ApiHttpResponse<ImportOperation>> execute(io.vrap.rmf.base.client.ApiHttpClient client)
      Specified by:
      execute in interface io.vrap.rmf.base.client.ClientRequestCommand<ImportOperation>
      Specified by:
      execute in class io.vrap.rmf.base.client.ApiMethod<ByProjectKeyImportOperationsByIdGet,ImportOperation>
    • getProjectKey

      public String getProjectKey()
    • getId

      public String getId()
    • setProjectKey

      public void setProjectKey(String projectKey)
    • setId

      public void setId(String id)
    • equals

      public boolean equals(Object o)
    • hashCode

      public int hashCode()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • reflectionHashCode

      public int reflectionHashCode()