java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.UserProperty

@Generated("io.github.primelib.primecodegen") public class UserProperty extends Object
UserProperty
  • Field Details

    • key

      protected String key
    • value

      protected Map<String,Object> value
      The value of the content property.
    • id

      protected String id
      a unique identifier for the user property
    • lastModifiedDate

      protected Instant lastModifiedDate
      datetime when the property was last modified such as `2022-02-01T12:00:00.111Z`
    • createdDate

      protected Instant createdDate
      datetime when the property was created such as `2022-01-01T12:00:00.111Z`
  • Constructor Details

    • UserProperty

      public UserProperty(Consumer<UserProperty> spec)
      Constructs a validated instance of UserProperty.
      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 of UserProperty.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using UserProperty(Consumer) instead.

      Parameters:
      key - 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 - Links
    • UserProperty

      protected UserProperty()
  • Method Details

    • key

      public String key()
    • value

      public Map<String,Object> value()
      The value of the content property.
    • id

      public String id()
      a unique identifier for the user property
    • lastModifiedDate

      public Instant lastModifiedDate()
      datetime when the property was last modified such as `2022-02-01T12:00:00.111Z`
    • createdDate

      public Instant createdDate()
      datetime when the property was created such as `2022-01-01T12:00:00.111Z`
    • Links

      public Map<String,Object> Links()
    • key

      public UserProperty key(String key)
      Returns:
      this.
    • value

      public UserProperty value(Map<String,Object> value)
      The value of the content property.
      Returns:
      this.
    • id

      public UserProperty id(String id)
      a unique identifier for the user property
      Returns:
      this.
    • lastModifiedDate

      public UserProperty lastModifiedDate(Instant lastModifiedDate)
      datetime when the property was last modified such as `2022-02-01T12:00:00.111Z`
      Returns:
      this.
    • createdDate

      public UserProperty createdDate(Instant createdDate)
      datetime when the property was created such as `2022-01-01T12:00:00.111Z`
      Returns:
      this.
    • Links

      public UserProperty Links(Map<String,Object> Links)
      Returns:
      this.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object