Package com.commercetools.api.client
Class ByProjectKeyMcpServersKeyByKeyPostString
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<ByProjectKeyMcpServersKeyByKeyPostString,McpServer>
com.commercetools.api.client.ByProjectKeyMcpServersKeyByKeyPostString
- All Implemented Interfaces:
ConflictingTrait<ByProjectKeyMcpServersKeyByKeyPostString>,ErrorableTrait<ByProjectKeyMcpServersKeyByKeyPostString>,ClientRequestCommand<McpServer>,CreateHttpRequestCommand,HttpRequestCommand<McpServer>,RequestCommand<McpServer>
public class ByProjectKeyMcpServersKeyByKeyPostString
extends StringBodyApiMethod<ByProjectKeyMcpServersKeyByKeyPostString,McpServer>
implements ConflictingTrait<ByProjectKeyMcpServersKeyByKeyPostString>, ErrorableTrait<ByProjectKeyMcpServersKeyByKeyPostString>
Specific Error Codes:
CompletableFuture<ApiHttpResponse<com.commercetools.api.models.mcp_server.McpServer>> result = apiRoot
.withProjectKey("{projectKey}")
.mcpServers()
.withKey("{key}")
.post("")
.execute()
-
Nested Class Summary
Nested classes/interfaces inherited from class io.vrap.rmf.base.client.ApiMethod
ApiMethod.ParamEntry<K,V> -
Constructor Summary
ConstructorsConstructorDescriptionByProjectKeyMcpServersKeyByKeyPostString(ApiHttpClient apiHttpClient, String projectKey, String key, String mcpServerUpdate) -
Method Summary
Modifier and TypeMethodDescriptionbooleanexecute(ApiHttpClient client) executeBlocking(ApiHttpClient client, Duration timeout) getBody()getKey()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
-
ByProjectKeyMcpServersKeyByKeyPostString
public ByProjectKeyMcpServersKeyByKeyPostString(ApiHttpClient apiHttpClient, String projectKey, String key, String mcpServerUpdate) -
ByProjectKeyMcpServersKeyByKeyPostString
-
-
Method Details
-
resultType
- Specified by:
resultTypein interfaceHttpRequestCommand<McpServer>
-
executeBlocking
- Specified by:
executeBlockingin interfaceClientRequestCommand<McpServer>- Specified by:
executeBlockingin classApiMethod<ByProjectKeyMcpServersKeyByKeyPostString,McpServer>
-
execute
- Specified by:
executein interfaceClientRequestCommand<McpServer>- Specified by:
executein classApiMethod<ByProjectKeyMcpServersKeyByKeyPostString,McpServer>
-
getProjectKey
-
getKey
-
setProjectKey
-
setKey
-
getBody
- Overrides:
getBodyin classStringBodyApiMethod<ByProjectKeyMcpServersKeyByKeyPostString,McpServer>
-
withBody
- Overrides:
withBodyin classStringBodyApiMethod<ByProjectKeyMcpServersKeyByKeyPostString,McpServer>
-
equals
-
hashCode
public int hashCode() -
toString
-
reflectionHashCode
public int reflectionHashCode()
-