Class ByProjectKeyStatesPost

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.BodyApiMethod<ByProjectKeyStatesPost,State,StateDraft>
com.commercetools.api.client.ByProjectKeyStatesPost
All Implemented Interfaces:
Deprecatable201Trait<ByProjectKeyStatesPost>, ErrorableTrait<ByProjectKeyStatesPost>, ExpandableTrait<ByProjectKeyStatesPost>, io.vrap.rmf.base.client.ClientRequestCommand<State>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.RequestCommand<State>

public class ByProjectKeyStatesPost extends io.vrap.rmf.base.client.BodyApiMethod<ByProjectKeyStatesPost,State,StateDraft> implements ExpandableTrait<ByProjectKeyStatesPost>, Deprecatable201Trait<ByProjectKeyStatesPost>, ErrorableTrait<ByProjectKeyStatesPost>


   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.state.State>> result = apiRoot
            .withProjectKey("{projectKey}")
            .states()
            .post(null)
            .execute()