Class UserProperty
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Instantdatetime when the property was created such as `2022-01-01T12:00:00.111Z`protected Stringa unique identifier for the user propertyprotected Stringprotected Instantdatetime when the property was last modified such as `2022-02-01T12:00:00.111Z`The value of the content property. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.UserProperty(String key, Map<String, Object> value, String id, Instant lastModifiedDate, Instant createdDate, Map<String, Object> additionalLinks) Constructs a validated instance ofUserProperty.UserProperty(Consumer<UserProperty> spec) Constructs a validated instance ofUserProperty. -
Method Summary
Modifier and TypeMethodDescriptionFluent getter for additionalLinks.additionalLinks(Map<String, Object> additionalLinks) Fluent setter for additionalLinks.Fluent getter for createdDate.createdDate(Instant createdDate) Fluent setter for createdDate.booleanGets the value of additionalLinks.Gets the value of createdDate.getId()Gets the value of id.getKey()Gets the value of key.Gets the value of lastModifiedDate.getValue()Gets the value of value.inthashCode()id()Fluent getter for id.Fluent setter for id.key()Fluent getter for key.Fluent setter for key.Fluent getter for lastModifiedDate.lastModifiedDate(Instant lastModifiedDate) Fluent setter for lastModifiedDate.voidsetAdditionalLinks(Map<String, Object> additionalLinks) Sets the value of additionalLinks.voidsetCreatedDate(Instant createdDate) Sets the value of createdDate.voidSets the value of id.voidSets the value of key.voidsetLastModifiedDate(Instant lastModifiedDate) Sets the value of lastModifiedDate.voidSets the value of value.toString()value()Fluent getter for value.Fluent setter for value.
-
Field Details
-
key
-
value
-
id
a unique identifier for the user property -
lastModifiedDate
datetime when the property was last modified such as `2022-02-01T12:00:00.111Z` -
createdDate
datetime when the property was created such as `2022-01-01T12:00:00.111Z` -
additionalLinks
-
-
Constructor Details
-
UserProperty
Constructs a validated instance ofUserProperty.- Parameters:
spec- the specification to process
-
UserProperty
@Internal protected UserProperty()Protected no-args constructor for use by serialization frameworks. -
UserProperty
@Internal public UserProperty(String key, Map<String, Object> value, String id, Instant lastModifiedDate, Instant createdDate, Map<String, Object> additionalLinks) Constructs a validated instance ofUserProperty.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
UserProperty(Consumer)instead.- Parameters:
key- keyvalue- The value of the content property.id- a unique identifier for the user propertylastModifiedDate- datetime when the property was last modified such as `2022-02-01T12:00:00.111Z`createdDate- datetime when the property was created such as `2022-01-01T12:00:00.111Z`additionalLinks- additionalLinks
-
-
Method Details
-
key
-
key
-
getKey
-
setKey
-
value
-
value
Fluent setter for value.The value of the content property.
- Parameters:
value- value- Returns:
- this
-
getValue
-
setValue
-
id
-
id
Fluent setter for id.a unique identifier for the user property
- Parameters:
id- id- Returns:
- this
-
getId
-
setId
Sets the value of id.a unique identifier for the user property
- Parameters:
id- id
-
lastModifiedDate
Fluent getter for lastModifiedDate.datetime when the property was last modified such as `2022-02-01T12:00:00.111Z`
- Returns:
- lastModifiedDate
-
lastModifiedDate
Fluent setter for lastModifiedDate.datetime when the property was last modified such as `2022-02-01T12:00:00.111Z`
- Parameters:
lastModifiedDate- lastModifiedDate- Returns:
- this
-
getLastModifiedDate
Gets the value of lastModifiedDate.datetime when the property was last modified such as `2022-02-01T12:00:00.111Z`
- Returns:
- lastModifiedDate
-
setLastModifiedDate
Sets the value of lastModifiedDate.datetime when the property was last modified such as `2022-02-01T12:00:00.111Z`
- Parameters:
lastModifiedDate- lastModifiedDate
-
createdDate
Fluent getter for createdDate.datetime when the property was created such as `2022-01-01T12:00:00.111Z`
- Returns:
- createdDate
-
createdDate
Fluent setter for createdDate.datetime when the property was created such as `2022-01-01T12:00:00.111Z`
- Parameters:
createdDate- createdDate- Returns:
- this
-
getCreatedDate
Gets the value of createdDate.datetime when the property was created such as `2022-01-01T12:00:00.111Z`
- Returns:
- createdDate
-
setCreatedDate
Sets the value of createdDate.datetime when the property was created such as `2022-01-01T12:00:00.111Z`
- Parameters:
createdDate- createdDate
-
additionalLinks
-
additionalLinks
Fluent setter for additionalLinks.- Parameters:
additionalLinks- additionalLinks- Returns:
- this
-
getAdditionalLinks
-
setAdditionalLinks
-
equals
-
hashCode
-
toString
-