Class ByProjectKeyPost

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.BodyApiMethod<ByProjectKeyPost,Project,ProjectUpdate>
com.commercetools.api.client.ByProjectKeyPost
All Implemented Interfaces:
ConflictingTrait<ByProjectKeyPost>, io.vrap.rmf.base.client.ClientRequestCommand<Project>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.RequestCommand<Project>

public class ByProjectKeyPost extends io.vrap.rmf.base.client.BodyApiMethod<ByProjectKeyPost,Project,ProjectUpdate> implements ConflictingTrait<ByProjectKeyPost>


   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.project.Project>> result = apiRoot
            .withProjectKey("{projectKey}")
            .post(null)
            .execute()
 
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.vrap.rmf.base.client.ApiMethod

    io.vrap.rmf.base.client.ApiMethod.ParamEntry<K extends Object,V extends Object>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    ByProjectKeyPost(io.vrap.rmf.base.client.ApiHttpClient apiHttpClient, String projectKey, ProjectUpdate projectUpdate)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    CompletableFuture<io.vrap.rmf.base.client.ApiHttpResponse<Project>>
    execute(io.vrap.rmf.base.client.ApiHttpClient client)
     
    io.vrap.rmf.base.client.ApiHttpResponse<Project>
    executeBlocking(io.vrap.rmf.base.client.ApiHttpClient client, Duration timeout)
     
     
     
    int
     
    int
     
    void
    setProjectKey(String projectKey)
     
     
    withBody(ProjectUpdate projectUpdate)
     

    Methods inherited from class io.vrap.rmf.base.client.ApiMethod

    addHeader, addQueryParam, addQueryParams, contentType, createHttpRequest, execute, execute, execute, execute, execute, execute, execute, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, getFirstQueryParam, getHeaders, getQueryParam, getQueryParams, getQueryParamUriString, getQueryParamUriStrings, send, sendBlocking, sendBlocking, with, with, withHeader, withHeaders, withHttpRequest, withoutHeader, withoutQueryParam, withQueryParam, withQueryParams

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface io.vrap.rmf.base.client.ClientRequestCommand

    executeBlocking

    Methods inherited from interface com.commercetools.api.client.ConflictingTrait

    asConflictingTrait, asConflictingTraitToBaseType

    Methods inherited from interface io.vrap.rmf.base.client.RequestCommand

    executeBlocking
  • Constructor Details

    • ByProjectKeyPost

      public ByProjectKeyPost(io.vrap.rmf.base.client.ApiHttpClient apiHttpClient, String projectKey, ProjectUpdate projectUpdate)
    • ByProjectKeyPost

      public ByProjectKeyPost(ByProjectKeyPost t)
  • Method Details

    • executeBlocking

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

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

      public String getProjectKey()
    • setProjectKey

      public void setProjectKey(String projectKey)
    • getBody

      public ProjectUpdate getBody()
      Overrides:
      getBody in class io.vrap.rmf.base.client.BodyApiMethod<ByProjectKeyPost,Project,ProjectUpdate>
    • withBody

      public ByProjectKeyPost withBody(ProjectUpdate projectUpdate)
      Overrides:
      withBody in class io.vrap.rmf.base.client.BodyApiMethod<ByProjectKeyPost,Project,ProjectUpdate>
    • equals

      public boolean equals(Object o)
    • hashCode

      public int hashCode()
    • toString

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

      public int reflectionHashCode()