Class StateDraft
java.lang.Object
com.commercetools.graphql.api.types.StateDraft
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionStateDraft(String key, StateType type, List<LocalizedStringItemInputType> name, List<LocalizedStringItemInputType> description, Boolean initial, List<StateRole> roles, List<ReferenceInput> transitions) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetKey()getName()getRoles()getType()inthashCode()static StateDraft.BuildervoidsetDescription(List<LocalizedStringItemInputType> description) voidsetInitial(Boolean initial) voidvoidvoidvoidsetTransitions(List<ReferenceInput> transitions) voidtoString()
-
Constructor Details
-
StateDraft
public StateDraft() -
StateDraft
public StateDraft(String key, StateType type, List<LocalizedStringItemInputType> name, List<LocalizedStringItemInputType> description, Boolean initial, List<StateRole> roles, List<ReferenceInput> transitions)
-
-
Method Details
-
getKey
-
setKey
-
getType
-
setType
-
getName
-
setName
-
getDescription
-
setDescription
-
getInitial
-
setInitial
-
getRoles
-
setRoles
-
getTransitions
-
setTransitions
-
toString
-
equals
-
hashCode
public int hashCode() -
newBuilder
-