Package com.datadog.api.client.v2.model
Class MaintenanceWindowCreate
java.lang.Object
com.datadog.api.client.v2.model.MaintenanceWindowCreate
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class MaintenanceWindowCreate
extends Object
Data object for creating a maintenance window.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMaintenanceWindowCreate(MaintenanceWindowCreateAttributes attributes, MaintenanceWindowResourceType type) -
Method Summary
Modifier and TypeMethodDescriptionattributes(MaintenanceWindowCreateAttributes attributes) booleanReturn true if this MaintenanceWindowCreate object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Attributes required to create a maintenance window.getType()JSON:API resource type for maintenance windows.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAttributes(MaintenanceWindowCreateAttributes attributes) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
MaintenanceWindowCreate
public MaintenanceWindowCreate() -
MaintenanceWindowCreate
public MaintenanceWindowCreate(MaintenanceWindowCreateAttributes attributes, MaintenanceWindowResourceType type)
-
-
Method Details
-
attributes
-
getAttributes
Attributes required to create a maintenance window.- Returns:
- attributes
-
setAttributes
-
type
-
getType
JSON:API resource type for maintenance windows.- Returns:
- type
-
setType
-
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:
- MaintenanceWindowCreate
-
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 MaintenanceWindowCreate object is equal to o. -
hashCode
public int hashCode() -
toString
-