Package com.datadog.api.client.v2.model
Class AttachmentDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.AttachmentDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class AttachmentDataAttributes
extends Object
The attachment's attributes.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattachment(AttachmentDataAttributesAttachment attachment) attachmentType(AttachmentDataAttributesAttachmentType attachmentType) booleanReturn true if this AttachmentDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The attachment object.The type of the attachment.Timestamp when the attachment was last modified.inthashCode()modified(OffsetDateTime modified) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAttachment(AttachmentDataAttributesAttachment attachment) voidsetAttachmentType(AttachmentDataAttributesAttachmentType attachmentType) voidsetModified(OffsetDateTime modified) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTACHMENT
- See Also:
-
JSON_PROPERTY_ATTACHMENT_TYPE
- See Also:
-
JSON_PROPERTY_MODIFIED
- See Also:
-
-
Constructor Details
-
AttachmentDataAttributes
public AttachmentDataAttributes()
-
-
Method Details
-
attachment
-
getAttachment
The attachment object.- Returns:
- attachment
-
setAttachment
-
attachmentType
public AttachmentDataAttributes attachmentType(AttachmentDataAttributesAttachmentType attachmentType) -
getAttachmentType
The type of the attachment.- Returns:
- attachmentType
-
setAttachmentType
-
modified
-
getModified
Timestamp when the attachment was last modified.- Returns:
- modified
-
setModified
-
putAdditionalProperty
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 setvalue- The associated value- Returns:
- AttachmentDataAttributes
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
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
Return true if this AttachmentDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-