Package com.datadog.api.client.v2.model
Class ShiftDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.ShiftDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ShiftDataAttributes
extends Object
Attributes for an on-call shift.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionend(OffsetDateTime end) booleanReturn true if this ShiftDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getEnd()The end time of the shift.getStart()The start time of the shift.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetEnd(OffsetDateTime end) voidsetStart(OffsetDateTime start) start(OffsetDateTime start) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_END
- See Also:
-
JSON_PROPERTY_START
- See Also:
-
-
Constructor Details
-
ShiftDataAttributes
public ShiftDataAttributes()
-
-
Method Details
-
end
-
getEnd
The end time of the shift.- Returns:
- end
-
setEnd
-
start
-
getStart
The start time of the shift.- Returns:
- start
-
setStart
-
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:
- ShiftDataAttributes
-
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 ShiftDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-