Package com.datadog.api.client.v2.model
Class MaintenanceWindowCreateAttributes
java.lang.Object
com.datadog.api.client.v2.model.MaintenanceWindowCreateAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class MaintenanceWindowCreateAttributes
extends Object
Attributes required to create a maintenance window.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMaintenanceWindowCreateAttributes(OffsetDateTime endAt, String name, String query, OffsetDateTime startAt) -
Method Summary
Modifier and TypeMethodDescriptionendAt(OffsetDateTime endAt) booleanReturn true if this MaintenanceWindowCreateAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getEndAt()The end time of the maintenance window.getName()The name of the maintenance window.getQuery()The query to filter event management cases for this maintenance window.The start time of the maintenance window.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetEndAt(OffsetDateTime endAt) voidvoidvoidsetStartAt(OffsetDateTime startAt) startAt(OffsetDateTime startAt) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_END_AT
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_QUERY
- See Also:
-
JSON_PROPERTY_START_AT
- See Also:
-
-
Constructor Details
-
MaintenanceWindowCreateAttributes
public MaintenanceWindowCreateAttributes() -
MaintenanceWindowCreateAttributes
public MaintenanceWindowCreateAttributes(OffsetDateTime endAt, String name, String query, OffsetDateTime startAt)
-
-
Method Details
-
endAt
-
getEndAt
The end time of the maintenance window.- Returns:
- endAt
-
setEndAt
-
name
-
getName
The name of the maintenance window.- Returns:
- name
-
setName
-
query
-
getQuery
The query to filter event management cases for this maintenance window.- Returns:
- query
-
setQuery
-
startAt
-
getStartAt
The start time of the maintenance window.- Returns:
- startAt
-
setStartAt
-
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:
- MaintenanceWindowCreateAttributes
-
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 MaintenanceWindowCreateAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-