Package com.commercetools.api.client
Class ByProjectKeyMcpServersByIDPostString
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<ByProjectKeyMcpServersByIDPostString,McpServer>
com.commercetools.api.client.ByProjectKeyMcpServersByIDPostString
- All Implemented Interfaces:
ConflictingTrait<ByProjectKeyMcpServersByIDPostString>,ErrorableTrait<ByProjectKeyMcpServersByIDPostString>,ClientRequestCommand<McpServer>,CreateHttpRequestCommand,HttpRequestCommand<McpServer>,RequestCommand<McpServer>
public class ByProjectKeyMcpServersByIDPostString
extends StringBodyApiMethod<ByProjectKeyMcpServersByIDPostString,McpServer>
implements ConflictingTrait<ByProjectKeyMcpServersByIDPostString>, ErrorableTrait<ByProjectKeyMcpServersByIDPostString>
Specific Error Codes:
CompletableFuture<ApiHttpResponse<com.commercetools.api.models.mcp_server.McpServer>> result = apiRoot
.withProjectKey("{projectKey}")
.mcpServers()
.withId("{ID}")
.post("")
.execute()
-
Nested Class Summary
Nested classes/interfaces inherited from class io.vrap.rmf.base.client.ApiMethod
ApiMethod.ParamEntry<K,V> -
Constructor Summary
ConstructorsConstructorDescriptionByProjectKeyMcpServersByIDPostString(ApiHttpClient apiHttpClient, String projectKey, String ID, String mcpServerUpdate) -
Method Summary
Modifier and TypeMethodDescriptionbooleanexecute(ApiHttpClient client) executeBlocking(ApiHttpClient client, Duration timeout) getBody()getID()inthashCode()inttools.jackson.core.type.TypeReference<McpServer>voidvoidsetProjectKey(String projectKey) toString()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, withQueryParamsMethods inherited from interface io.vrap.rmf.base.client.ClientRequestCommand
executeBlockingMethods inherited from interface com.commercetools.api.client.ConflictingTrait
asConflictingTrait, asConflictingTraitToBaseTypeMethods inherited from interface io.vrap.rmf.base.client.CreateHttpRequestCommand
createHttpRequestMethods inherited from interface com.commercetools.api.client.ErrorableTrait
asErrorableTrait, asErrorableTraitToBaseTypeMethods inherited from interface io.vrap.rmf.base.client.RequestCommand
executeBlocking
-
Constructor Details
-
ByProjectKeyMcpServersByIDPostString
public ByProjectKeyMcpServersByIDPostString(ApiHttpClient apiHttpClient, String projectKey, String ID, String mcpServerUpdate) -
ByProjectKeyMcpServersByIDPostString
-
-
Method Details
-
resultType
- Specified by:
resultTypein interfaceHttpRequestCommand<McpServer>
-
executeBlocking
- Specified by:
executeBlockingin interfaceClientRequestCommand<McpServer>- Specified by:
executeBlockingin classApiMethod<ByProjectKeyMcpServersByIDPostString,McpServer>
-
execute
- Specified by:
executein interfaceClientRequestCommand<McpServer>- Specified by:
executein classApiMethod<ByProjectKeyMcpServersByIDPostString,McpServer>
-
getProjectKey
-
getID
-
setProjectKey
-
setID
-
getBody
- Overrides:
getBodyin classStringBodyApiMethod<ByProjectKeyMcpServersByIDPostString,McpServer>
-
withBody
- Overrides:
withBodyin classStringBodyApiMethod<ByProjectKeyMcpServersByIDPostString,McpServer>
-
equals
-
hashCode
public int hashCode() -
toString
-
reflectionHashCode
public int reflectionHashCode()
-