Package com.datadog.api.client.v2.model
Class FleetAgentV2
java.lang.Object
com.datadog.api.client.v2.model.FleetAgentV2
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class FleetAgentV2
extends Object
A Datadog Agent resource in the v2 list response.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFleetAgentV2(FleetAgentV2Attributes attributes, String id, FleetAgentV2ResourceType type) -
Method Summary
Modifier and TypeMethodDescriptionattributes(FleetAgentV2Attributes attributes) booleanReturn true if this FleetAgentV2 object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Attributes of a Datadog Agent in the v2 list response.getId()The unique agent key identifier.getType()The type of the agent resource.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAttributes(FleetAgentV2Attributes attributes) voidvoidtoString()type(FleetAgentV2ResourceType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
FleetAgentV2
public FleetAgentV2() -
FleetAgentV2
-
-
Method Details
-
attributes
-
getAttributes
Attributes of a Datadog Agent in the v2 list response.- Returns:
- attributes
-
setAttributes
-
id
-
getId
The unique agent key identifier.- Returns:
- id
-
setId
-
type
-
getType
The type of the agent resource.- 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:
- FleetAgentV2
-
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 FleetAgentV2 object is equal to o. -
hashCode
public int hashCode() -
toString
-