Package com.datadog.api.client.v2.model
Class CreateComponentRequestData
java.lang.Object
com.datadog.api.client.v2.model.CreateComponentRequestData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CreateComponentRequestData
extends Object
The data object for creating a component.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreateComponentRequestData(CreateComponentRequestDataAttributes attributes, StatusPagesComponentGroupType type) -
Method Summary
Modifier and TypeMethodDescriptionattributes(CreateComponentRequestDataAttributes attributes) booleanReturn true if this CreateComponentRequestData object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The supported attributes for creating a component.The supported relationships for creating a component.getType()Components resource type.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.relationships(CreateComponentRequestDataRelationships relationships) voidsetAttributes(CreateComponentRequestDataAttributes attributes) voidsetRelationships(CreateComponentRequestDataRelationships relationships) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_RELATIONSHIPS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
CreateComponentRequestData
public CreateComponentRequestData() -
CreateComponentRequestData
public CreateComponentRequestData(CreateComponentRequestDataAttributes attributes, StatusPagesComponentGroupType type)
-
-
Method Details
-
attributes
-
getAttributes
The supported attributes for creating a component.- Returns:
- attributes
-
setAttributes
-
relationships
public CreateComponentRequestData relationships(CreateComponentRequestDataRelationships relationships) -
getRelationships
The supported relationships for creating a component.- Returns:
- relationships
-
setRelationships
-
type
-
getType
Components resource type.- 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:
- CreateComponentRequestData
-
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 CreateComponentRequestData object is equal to o. -
hashCode
public int hashCode() -
toString
-