Package com.datadog.api.client.v2.model
Class Shift
java.lang.Object
com.datadog.api.client.v2.model.Shift
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class Shift
extends Object
An on-call shift with its associated data and relationships.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddIncludedItem(ShiftIncluded includedItem) booleanReturn true if this Shift object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getData()Data for an on-call shift.TheShiftincluded.inthashCode()included(List<ShiftIncluded> included) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetIncluded(List<ShiftIncluded> included) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DATA
- See Also:
-
JSON_PROPERTY_INCLUDED
- See Also:
-
-
Constructor Details
-
Shift
public Shift()
-
-
Method Details
-
data
-
getData
Data for an on-call shift.- Returns:
- data
-
setData
-
included
-
addIncludedItem
-
getIncluded
TheShiftincluded.- Returns:
- included
-
setIncluded
-
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:
- Shift
-
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 Shift object is equal to o. -
hashCode
public int hashCode() -
toString
-