Package com.datadog.api.client.v2.model
Class CreateStatusPageRequestDataAttributesComponentsItems
java.lang.Object
com.datadog.api.client.v2.model.CreateStatusPageRequestDataAttributesComponentsItems
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CreateStatusPageRequestDataAttributesComponentsItems
extends Object
A component to be created on a status page.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddComponentsItem(CreateStatusPageRequestDataAttributesComponentsItemsComponentsItems componentsItem) booleanReturn true if this CreateStatusPageRequestDataAttributesComponentsItems 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.getId()The ID of the component.getName()The name of the component.The zero-indexed position of the component.The status 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_ID
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_POSITION
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
CreateStatusPageRequestDataAttributesComponentsItems
public CreateStatusPageRequestDataAttributesComponentsItems()
-
-
Method Details
-
components
public CreateStatusPageRequestDataAttributesComponentsItems components(List<CreateStatusPageRequestDataAttributesComponentsItemsComponentsItems> components) -
addComponentsItem
public CreateStatusPageRequestDataAttributesComponentsItems addComponentsItem(CreateStatusPageRequestDataAttributesComponentsItemsComponentsItems componentsItem) -
getComponents
@Nullable public List<CreateStatusPageRequestDataAttributesComponentsItemsComponentsItems> getComponents()If creating a component of typegroup, the components to create within the group.- Returns:
- components
-
setComponents
public void setComponents(List<CreateStatusPageRequestDataAttributesComponentsItemsComponentsItems> components) -
getId
The ID of the component.- Returns:
- id
-
name
-
getName
The name of the component.- Returns:
- name
-
setName
-
position
-
getPosition
The zero-indexed position of the component.- Returns:
- position
-
setPosition
-
getStatus
The status of the component.- Returns:
- status
-
type
-
getType
The type of the component.- Returns:
- type
-
setType
-
putAdditionalProperty
public CreateStatusPageRequestDataAttributesComponentsItems 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:
- CreateStatusPageRequestDataAttributesComponentsItems
-
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 CreateStatusPageRequestDataAttributesComponentsItems object is equal to o. -
hashCode
public int hashCode() -
toString
-