Package com.datadog.api.client.v2.model
Class CreateAttachmentRequestDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.CreateAttachmentRequestDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CreateAttachmentRequestDataAttributes
extends Object
The attributes for creating an attachment.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattachmentType(AttachmentDataAttributesAttachmentType attachmentType) booleanReturn true if this CreateAttachmentRequestDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The attachment object for creating an attachment.The type of the attachment.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetAttachmentType(AttachmentDataAttributesAttachmentType attachmentType) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTACHMENT
- See Also:
-
JSON_PROPERTY_ATTACHMENT_TYPE
- See Also:
-
-
Constructor Details
-
CreateAttachmentRequestDataAttributes
public CreateAttachmentRequestDataAttributes()
-
-
Method Details
-
attachment
public CreateAttachmentRequestDataAttributes attachment(CreateAttachmentRequestDataAttributesAttachment attachment) -
getAttachment
The attachment object for creating an attachment.- Returns:
- attachment
-
setAttachment
-
attachmentType
public CreateAttachmentRequestDataAttributes attachmentType(AttachmentDataAttributesAttachmentType attachmentType) -
getAttachmentType
The type of the attachment.- Returns:
- attachmentType
-
setAttachmentType
-
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:
- CreateAttachmentRequestDataAttributes
-
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 CreateAttachmentRequestDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-