Package com.commercetools.api.client
Class ByProjectKeyMcpServersTypesByMcpServerTypeGet
java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.TypeApiMethod<ByProjectKeyMcpServersTypesByMcpServerTypeGet,McpServerType>
com.commercetools.api.client.ByProjectKeyMcpServersTypesByMcpServerTypeGet
- All Implemented Interfaces:
Deprecatable200Trait<ByProjectKeyMcpServersTypesByMcpServerTypeGet>,ErrorableTrait<ByProjectKeyMcpServersTypesByMcpServerTypeGet>,ClientRequestCommand<McpServerType>,CreateHttpRequestCommand,HttpRequestCommand<McpServerType>,RequestCommand<McpServerType>
public class ByProjectKeyMcpServersTypesByMcpServerTypeGet
extends TypeApiMethod<ByProjectKeyMcpServersTypesByMcpServerTypeGet,McpServerType>
implements ErrorableTrait<ByProjectKeyMcpServersTypesByMcpServerTypeGet>, Deprecatable200Trait<ByProjectKeyMcpServersTypesByMcpServerTypeGet>
Returns a single MCP Server type. When majorVersion is omitted, the latest major version is returned.
CompletableFuture<ApiHttpResponse<com.commercetools.api.models.mcp_server.McpServerType>> result = apiRoot
.withProjectKey("{projectKey}")
.mcpServers()
.types()
.withMcpServerType("{mcpServerType}")
.get()
.execute()
-
Nested Class Summary
Nested classes/interfaces inherited from class io.vrap.rmf.base.client.ApiMethod
ApiMethod.ParamEntry<K,V> -
Constructor Summary
ConstructorsConstructorDescriptionByProjectKeyMcpServersTypesByMcpServerTypeGet(ApiHttpClient apiHttpClient, String projectKey, String mcpServerType) -
Method Summary
Modifier and TypeMethodDescriptionaddMajorVersion(Collection<TValue> majorVersion) add additional majorVersion query parametersadd additional majorVersion query parameteraddMajorVersion(Supplier<String> supplier) add additional majorVersion query parameteraddMajorVersion(TValue majorVersion) add additional majorVersion query parameterbooleanexecute(ApiHttpClient client) executeBlocking(ApiHttpClient client, Duration timeout) inthashCode()inttools.jackson.core.type.TypeReference<McpServerType>voidsetMcpServerType(String mcpServerType) voidsetProjectKey(String projectKey) toString()withMajorVersion(Collection<TValue> majorVersion) set majorVersion with the specified valuesset majorVersion with the specified valuewithMajorVersion(Supplier<String> supplier) set majorVersion with the specified valuewithMajorVersion(TValue majorVersion) set majorVersion with the specified valueMethods 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 io.vrap.rmf.base.client.CreateHttpRequestCommand
createHttpRequestMethods inherited from interface com.commercetools.api.client.Deprecatable200Trait
asDeprecatable200Trait, asDeprecatable200TraitToBaseTypeMethods inherited from interface com.commercetools.api.client.ErrorableTrait
asErrorableTrait, asErrorableTraitToBaseTypeMethods inherited from interface io.vrap.rmf.base.client.RequestCommand
executeBlocking
-
Constructor Details
-
ByProjectKeyMcpServersTypesByMcpServerTypeGet
public ByProjectKeyMcpServersTypesByMcpServerTypeGet(ApiHttpClient apiHttpClient, String projectKey, String mcpServerType) -
ByProjectKeyMcpServersTypesByMcpServerTypeGet
public ByProjectKeyMcpServersTypesByMcpServerTypeGet(ByProjectKeyMcpServersTypesByMcpServerTypeGet t)
-
-
Method Details
-
resultType
- Specified by:
resultTypein interfaceHttpRequestCommand<McpServerType>
-
executeBlocking
- Specified by:
executeBlockingin interfaceClientRequestCommand<McpServerType>- Specified by:
executeBlockingin classApiMethod<ByProjectKeyMcpServersTypesByMcpServerTypeGet,McpServerType>
-
execute
- Specified by:
executein interfaceClientRequestCommand<McpServerType>- Specified by:
executein classApiMethod<ByProjectKeyMcpServersTypesByMcpServerTypeGet,McpServerType>
-
getProjectKey
-
getMcpServerType
-
getMajorVersion
-
setProjectKey
-
setMcpServerType
-
withMajorVersion
set majorVersion with the specified value- Type Parameters:
TValue- value type- Parameters:
majorVersion- value to be set- Returns:
- ByProjectKeyMcpServersTypesByMcpServerTypeGet
-
addMajorVersion
add additional majorVersion query parameter- Type Parameters:
TValue- value type- Parameters:
majorVersion- value to be added- Returns:
- ByProjectKeyMcpServersTypesByMcpServerTypeGet
-
withMajorVersion
set majorVersion with the specified value- Parameters:
supplier- supplier for the value to be set- Returns:
- ByProjectKeyMcpServersTypesByMcpServerTypeGet
-
addMajorVersion
add additional majorVersion query parameter- Parameters:
supplier- supplier for the value to be added- Returns:
- ByProjectKeyMcpServersTypesByMcpServerTypeGet
-
withMajorVersion
public ByProjectKeyMcpServersTypesByMcpServerTypeGet withMajorVersion(Function<StringBuilder, StringBuilder> op) set majorVersion with the specified value- Parameters:
op- builder for the value to be set- Returns:
- ByProjectKeyMcpServersTypesByMcpServerTypeGet
-
addMajorVersion
public ByProjectKeyMcpServersTypesByMcpServerTypeGet addMajorVersion(Function<StringBuilder, StringBuilder> op) add additional majorVersion query parameter- Parameters:
op- builder for the value to be added- Returns:
- ByProjectKeyMcpServersTypesByMcpServerTypeGet
-
withMajorVersion
public <TValue> ByProjectKeyMcpServersTypesByMcpServerTypeGet withMajorVersion(Collection<TValue> majorVersion) set majorVersion with the specified values- Type Parameters:
TValue- value type- Parameters:
majorVersion- values to be set- Returns:
- ByProjectKeyMcpServersTypesByMcpServerTypeGet
-
addMajorVersion
public <TValue> ByProjectKeyMcpServersTypesByMcpServerTypeGet addMajorVersion(Collection<TValue> majorVersion) add additional majorVersion query parameters- Type Parameters:
TValue- value type- Parameters:
majorVersion- values to be added- Returns:
- ByProjectKeyMcpServersTypesByMcpServerTypeGet
-
equals
-
hashCode
public int hashCode() -
toString
-
reflectionHashCode
public int reflectionHashCode()
-