@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class AttachmentData extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ATTRIBUTES |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_RELATIONSHIPS |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
AttachmentData() |
AttachmentData(AttachmentDataAttributes attributes,
String id,
AttachmentDataRelationships relationships,
IncidentAttachmentType type) |
| Modifier and Type | Method and Description |
|---|---|
AttachmentData |
attributes(AttachmentDataAttributes attributes) |
boolean |
equals(Object o)
Return true if this AttachmentData object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
AttachmentDataAttributes |
getAttributes()
The attachment's attributes.
|
String |
getId()
The unique identifier of the attachment.
|
AttachmentDataRelationships |
getRelationships()
The attachment's resource relationships.
|
IncidentAttachmentType |
getType()
The incident attachment resource type.
|
int |
hashCode() |
AttachmentData |
id(String id) |
AttachmentData |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
AttachmentData |
relationships(AttachmentDataRelationships relationships) |
void |
setAttributes(AttachmentDataAttributes attributes) |
void |
setId(String id) |
void |
setRelationships(AttachmentDataRelationships relationships) |
void |
setType(IncidentAttachmentType type) |
String |
toString() |
AttachmentData |
type(IncidentAttachmentType type) |
public boolean unparsed
public static final String JSON_PROPERTY_ATTRIBUTES
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_RELATIONSHIPS
public static final String JSON_PROPERTY_TYPE
public AttachmentData()
public AttachmentData(AttachmentDataAttributes attributes, String id, AttachmentDataRelationships relationships, IncidentAttachmentType type)
public AttachmentData attributes(AttachmentDataAttributes attributes)
public AttachmentDataAttributes getAttributes()
public void setAttributes(AttachmentDataAttributes attributes)
public AttachmentData id(String id)
public String getId()
public void setId(String id)
public AttachmentData relationships(AttachmentDataRelationships relationships)
public AttachmentDataRelationships getRelationships()
public void setRelationships(AttachmentDataRelationships relationships)
public AttachmentData type(IncidentAttachmentType type)
public IncidentAttachmentType getType()
public void setType(IncidentAttachmentType type)
public AttachmentData putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.