Package com.datadog.api.client.v2.model
Class CreateComponentRequestDataAttributesComponentsItems
java.lang.Object
com.datadog.api.client.v2.model.CreateComponentRequestDataAttributesComponentsItems
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CreateComponentRequestDataAttributesComponentsItems
extends Object
A component to be created within a group.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreateComponentRequestDataAttributesComponentsItems(String name, Long position, StatusPagesComponentGroupAttributesComponentsItemsType type) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this CreateComponentRequestDataAttributesComponentsItems object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getName()The name of the grouped component.The zero-indexed position of the grouped component relative to the other components in the group.getType()The type of the component.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetPosition(Long position) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_POSITION
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
CreateComponentRequestDataAttributesComponentsItems
public CreateComponentRequestDataAttributesComponentsItems() -
CreateComponentRequestDataAttributesComponentsItems
public CreateComponentRequestDataAttributesComponentsItems(String name, Long position, StatusPagesComponentGroupAttributesComponentsItemsType type)
-
-
Method Details
-
name
-
getName
The name of the grouped component.- Returns:
- name
-
setName
-
position
-
getPosition
The zero-indexed position of the grouped component relative to the other components in the group.- Returns:
- position
-
setPosition
-
type
-
getType
The type of the component.- Returns:
- type
-
setType
-
putAdditionalProperty
public CreateComponentRequestDataAttributesComponentsItems putAdditionalProperty(String key, Object value) 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:
- CreateComponentRequestDataAttributesComponentsItems
-
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 CreateComponentRequestDataAttributesComponentsItems object is equal to o. -
hashCode
public int hashCode() -
toString
-