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
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for ProjectSetExternalOAuthAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for ProjectSetExternalOAuthActionbuilder(ProjectSetExternalOAuthAction template) create builder for ProjectSetExternalOAuthAction instancecopyDeep()deepCopy(ProjectSetExternalOAuthAction template) factory method to create a deep copy of ProjectSetExternalOAuthAction@Valid ExternalOAuthValue to set.of()factory methodof(ProjectSetExternalOAuthAction template) factory method to create a shallow copy ProjectSetExternalOAuthActionvoidsetExternalOAuth(ExternalOAuth externalOAuth) Value to set.static com.fasterxml.jackson.core.type.TypeReference<ProjectSetExternalOAuthAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.project.ProjectUpdateAction
getAction, withProjectUpdateActionMethods 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
-
copyDeep
ProjectSetExternalOAuthAction copyDeep()- Specified by:
copyDeepin interfaceProjectUpdateAction
-
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
-