Interface ProjectSetExternalOAuthAction
- All Superinterfaces:
ProjectUpdateAction
,ResourceUpdateAction<ProjectUpdateAction>
ProjectSetExternalOAuthAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProjectSetExternalOAuthAction projectSetExternalOAuthAction = ProjectSetExternalOAuthAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ProjectSetExternalOAuthAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProjectSetExternalOAuthActionbuilder
(ProjectSetExternalOAuthAction template) create builder for ProjectSetExternalOAuthAction instancedeepCopy
(ProjectSetExternalOAuthAction template) factory method to create a deep copy of ProjectSetExternalOAuthAction@Valid ExternalOAuth
Value to set.of()
factory methodof
(ProjectSetExternalOAuthAction template) factory method to create a shallow copy ProjectSetExternalOAuthActionvoid
setExternalOAuth
(ExternalOAuth externalOAuth) Value to set.static com.fasterxml.jackson.core.type.TypeReference<ProjectSetExternalOAuthAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.project.ProjectUpdateAction
getAction, withProjectUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
SET_EXTERNAL_O_AUTH
discriminator value for ProjectSetExternalOAuthAction- See Also:
-
-
Method Details
-
getExternalOAuth
Value to set. If empty, any existing value will be removed.
- Returns:
- externalOAuth
-
setExternalOAuth
Value to set. If empty, any existing value will be removed.
- Parameters:
externalOAuth
- value to be set
-
of
factory method- Returns:
- instance of ProjectSetExternalOAuthAction
-
of
factory method to create a shallow copy ProjectSetExternalOAuthAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ProjectSetExternalOAuthAction deepCopy(@Nullable ProjectSetExternalOAuthAction template) factory method to create a deep copy of ProjectSetExternalOAuthAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProjectSetExternalOAuthAction- Returns:
- builder
-
builder
create builder for ProjectSetExternalOAuthAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProjectSetExternalOAuthAction
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-