Class ByProjectKeyPostString

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.BodyApiMethod<T,TResult,TBody>
io.vrap.rmf.base.client.TypeBodyApiMethod<T,TResult,String>
io.vrap.rmf.base.client.StringBodyApiMethod<ByProjectKeyPostString,Project>
com.commercetools.api.client.ByProjectKeyPostString
All Implemented Interfaces:
ConflictingTrait<ByProjectKeyPostString>, io.vrap.rmf.base.client.ClientRequestCommand<Project>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.HttpRequestCommand<Project>, io.vrap.rmf.base.client.RequestCommand<Project>

public class ByProjectKeyPostString extends io.vrap.rmf.base.client.StringBodyApiMethod<ByProjectKeyPostString,Project> implements ConflictingTrait<ByProjectKeyPostString>


   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.project.Project>> result = apiRoot
            .withProjectKey("{projectKey}")
            .post("")
            .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
     
    ByProjectKeyPostString(io.vrap.rmf.base.client.ApiHttpClient apiHttpClient, String projectKey, String 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
     
    com.fasterxml.jackson.core.type.TypeReference<Project>
     
    void
    setProjectKey(String projectKey)
     
     
    withBody(String 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.CreateHttpRequestCommand

    createHttpRequest

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

    executeBlocking
  • Constructor Details

    • ByProjectKeyPostString

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

      public ByProjectKeyPostString(ByProjectKeyPostString t)
  • Method Details

    • resultType

      public com.fasterxml.jackson.core.type.TypeReference<Project> resultType()
      Specified by:
      resultType in interface io.vrap.rmf.base.client.HttpRequestCommand<Project>
    • 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<ByProjectKeyPostString,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<ByProjectKeyPostString,Project>
    • getProjectKey

      public String getProjectKey()
    • setProjectKey

      public void setProjectKey(String projectKey)
    • getBody

      public String getBody()
      Overrides:
      getBody in class io.vrap.rmf.base.client.StringBodyApiMethod<ByProjectKeyPostString,Project>
    • withBody

      public ByProjectKeyPostString withBody(String projectUpdate)
      Overrides:
      withBody in class io.vrap.rmf.base.client.StringBodyApiMethod<ByProjectKeyPostString,Project>
    • equals

      public boolean equals(Object o)
    • hashCode

      public int hashCode()
    • toString

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

      public int reflectionHashCode()