Class UserProperty
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.UserProperty
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
ConstructorsModifierConstructorDescriptionprotectedUserProperty(String key, Map<String, Object> value, String id, Instant lastModifiedDate, Instant createdDate, Map<String, Object> Links) Constructs a validated instance ofUserProperty.UserProperty(Consumer<UserProperty> spec) Constructs a validated instance ofUserProperty. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleandatetime when the property was created such as `2022-01-01T12:00:00.111Z`createdDate(Instant createdDate) datetime when the property was created such as `2022-01-01T12:00:00.111Z`booleaninthashCode()id()a unique identifier for the user propertya unique identifier for the user propertykey()datetime when the property was last modified such as `2022-02-01T12:00:00.111Z`lastModifiedDate(Instant lastModifiedDate) datetime when the property was last modified such as `2022-02-01T12:00:00.111Z`Links()toString()value()The value of the content property.The value of the content property.
-
Field Details
-
key
-
value
The value of the content property. -
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` -
Links
-
-
Constructor Details
-
UserProperty
Constructs a validated instance ofUserProperty.- Parameters:
spec- the specification to process
-
UserProperty
@Internal public UserProperty(String key, Map<String, Object> value, String id, Instant lastModifiedDate, Instant createdDate, Map<String, Object> Links) 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`Links- Links
-
UserProperty
protected UserProperty()
-
-
Method Details
-
key
-
value
The value of the content property. -
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` -
Links
-
key
- Returns:
this.
-
value
The value of the content property.- Returns:
this.
-
id
a unique identifier for the user property- Returns:
this.
-
lastModifiedDate
datetime when the property was last modified such as `2022-02-01T12:00:00.111Z`- Returns:
this.
-
createdDate
datetime when the property was created such as `2022-01-01T12:00:00.111Z`- Returns:
this.
-
Links
- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-