Class ItemApiPayloadDataAttributes

java.lang.Object
com.datadog.api.client.v2.model.ItemApiPayloadDataAttributes

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ItemApiPayloadDataAttributes extends Object
Metadata and content of a datastore item.
  • Field Details

  • Constructor Details

    • ItemApiPayloadDataAttributes

      public ItemApiPayloadDataAttributes()
  • Method Details

    • createdAt

      public ItemApiPayloadDataAttributes createdAt(OffsetDateTime createdAt)
    • getCreatedAt

      @Nullable public OffsetDateTime getCreatedAt()
      Timestamp when the item was first created.
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(OffsetDateTime createdAt)
    • modifiedAt

      public ItemApiPayloadDataAttributes modifiedAt(OffsetDateTime modifiedAt)
    • getModifiedAt

      @Nullable public OffsetDateTime getModifiedAt()
      Timestamp when the item was last modified.
      Returns:
      modifiedAt
    • setModifiedAt

      public void setModifiedAt(OffsetDateTime modifiedAt)
    • orgId

      public ItemApiPayloadDataAttributes orgId(Long orgId)
    • getOrgId

      @Nullable public Long getOrgId()
      The ID of the organization that owns this item.
      Returns:
      orgId
    • setOrgId

      public void setOrgId(Long orgId)
    • primaryColumnName

      public ItemApiPayloadDataAttributes primaryColumnName(String primaryColumnName)
    • getPrimaryColumnName

      @Nullable public String getPrimaryColumnName()
      The name of the primary key column for this datastore. Primary column names: - Must abide by both PostgreSQL naming conventions - Cannot exceed 63 characters
      Returns:
      primaryColumnName
    • setPrimaryColumnName

      public void setPrimaryColumnName(String primaryColumnName)
    • signature

      public ItemApiPayloadDataAttributes signature(String signature)
    • getSignature

      @Nullable public String getSignature()
      A unique signature identifying this item version.
      Returns:
      signature
    • setSignature

      public void setSignature(String signature)
    • storeId

      public ItemApiPayloadDataAttributes storeId(String storeId)
    • getStoreId

      @Nullable public String getStoreId()
      The unique identifier of the datastore containing this item.
      Returns:
      storeId
    • setStoreId

      public void setStoreId(String storeId)
    • value

    • putValueItem

      public ItemApiPayloadDataAttributes putValueItem(String key, Object valueItem)
    • getValue

      @Nullable public Map<String,Object> getValue()
      The data content (as key-value pairs) of a datastore item.
      Returns:
      value
    • setValue

      public void setValue(Map<String,Object> value)
    • putAdditionalProperty

      public ItemApiPayloadDataAttributes putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - The arbitrary key to set
      value - The associated value
      Returns:
      ItemApiPayloadDataAttributes
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - The arbitrary key to get
      Returns:
      The specific additional property for the given key
    • equals

      public boolean equals(Object o)
      Return true if this ItemApiPayloadDataAttributes object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object