@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class Shift extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_DATA |
static String |
JSON_PROPERTY_INCLUDED |
boolean |
unparsed |
| Constructor and Description |
|---|
Shift() |
| Modifier and Type | Method and Description |
|---|---|
Shift |
addIncludedItem(ShiftIncluded includedItem) |
Shift |
data(ShiftData data) |
boolean |
equals(Object o)
Return true if this Shift 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.
|
ShiftData |
getData()
Data for an on-call shift.
|
List<ShiftIncluded> |
getIncluded()
The
Shift included. |
int |
hashCode() |
Shift |
included(List<ShiftIncluded> included) |
Shift |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setData(ShiftData data) |
void |
setIncluded(List<ShiftIncluded> included) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_DATA
public static final String JSON_PROPERTY_INCLUDED
@Nullable public ShiftData getData()
public void setData(ShiftData data)
public Shift included(List<ShiftIncluded> included)
public Shift addIncludedItem(ShiftIncluded includedItem)
@Nullable public List<ShiftIncluded> getIncluded()
Shift included.public void setIncluded(List<ShiftIncluded> included)
public Shift 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.