@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ShiftData 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 |
|---|
ShiftData() |
ShiftData(ShiftDataType type) |
| Modifier and Type | Method and Description |
|---|---|
ShiftData |
attributes(ShiftDataAttributes attributes) |
boolean |
equals(Object o)
Return true if this ShiftData 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.
|
ShiftDataAttributes |
getAttributes()
Attributes for an on-call shift.
|
String |
getId()
The
ShiftData id. |
ShiftDataRelationships |
getRelationships()
Relationships for an on-call shift.
|
ShiftDataType |
getType()
Indicates that the resource is of type 'shifts'.
|
int |
hashCode() |
ShiftData |
id(String id) |
ShiftData |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
ShiftData |
relationships(ShiftDataRelationships relationships) |
void |
setAttributes(ShiftDataAttributes attributes) |
void |
setId(String id) |
void |
setRelationships(ShiftDataRelationships relationships) |
void |
setType(ShiftDataType type) |
String |
toString() |
ShiftData |
type(ShiftDataType 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 ShiftData()
public ShiftData(ShiftDataType type)
public ShiftData attributes(ShiftDataAttributes attributes)
@Nullable public ShiftDataAttributes getAttributes()
public void setAttributes(ShiftDataAttributes attributes)
@Nullable public String getId()
ShiftData id.public void setId(String id)
public ShiftData relationships(ShiftDataRelationships relationships)
@Nullable public ShiftDataRelationships getRelationships()
public void setRelationships(ShiftDataRelationships relationships)
public ShiftData type(ShiftDataType type)
public ShiftDataType getType()
public void setType(ShiftDataType type)
public ShiftData 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 © 2025. All rights reserved.