Class CustomObjectDraft
java.lang.Object
com.commercetools.graphql.api.types.CustomObjectDraft
An input object used to create a new, or update an existing Custom Object.
The value should be passed in a form of escaped JSON.
Example for `value` field:
```
"{ \"stringField\": \"myVal\", \"numberField\": 123, \"boolField\": false, \"nestedObject\": { \"nestedObjectKey\": \"anotherValue\" }, \"dateField\": \"2018-10-12T14:00:00.000Z\" }"
```
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetKey()getValue()The value should be passed in a form of escaped JSON.inthashCode()static CustomObjectDraft.BuildervoidsetContainer(String container) voidvoidvoidsetVersion(Long version) toString()
-
Constructor Details
-
CustomObjectDraft
public CustomObjectDraft() -
CustomObjectDraft
-
-
Method Details
-
getKey
-
setKey
-
getContainer
-
setContainer
-
getValue
The value should be passed in a form of escaped JSON. Example for `value` field: ``` "{ \"stringField\": \"myVal\", \"numberField\": 123, \"boolField\": false, \"nestedObject\": { \"nestedObjectKey\": \"anotherValue\" }, \"dateField\": \"2018-10-12T14:00:00.000Z\" }" ``` -
setValue
-
getVersion
-
setVersion
-
toString
-
equals
-
hashCode
public int hashCode() -
newBuilder
-