Package com.datadog.api.client.v2.model
Class CreateComponentRequestDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.CreateComponentRequestDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CreateComponentRequestDataAttributes
extends Object
The supported attributes for creating a component.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreateComponentRequestDataAttributes(String name, Long position, CreateComponentRequestDataAttributesType type) -
Method Summary
Modifier and TypeMethodDescriptionaddComponentsItem(CreateComponentRequestDataAttributesComponentsItems componentsItem) booleanReturn true if this CreateComponentRequestDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.If creating a component of typegroup, the components to create within the group.getName()The name of the component.The zero-indexed position of the component.getType()The type of the component.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidsetPosition(Long position) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COMPONENTS
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_POSITION
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
CreateComponentRequestDataAttributes
public CreateComponentRequestDataAttributes() -
CreateComponentRequestDataAttributes
public CreateComponentRequestDataAttributes(String name, Long position, CreateComponentRequestDataAttributesType type)
-
-
Method Details
-
components
public CreateComponentRequestDataAttributes components(List<CreateComponentRequestDataAttributesComponentsItems> components) -
addComponentsItem
public CreateComponentRequestDataAttributes addComponentsItem(CreateComponentRequestDataAttributesComponentsItems componentsItem) -
getComponents
If creating a component of typegroup, the components to create within the group.- Returns:
- components
-
setComponents
-
name
-
getName
The name of the component.- Returns:
- name
-
setName
-
position
-
getPosition
The zero-indexed position of the component.- Returns:
- position
-
setPosition
-
type
-
getType
The type of the component.- 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:
- CreateComponentRequestDataAttributes
-
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 CreateComponentRequestDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-