Package com.datadog.api.client.v2.model
Class FleetAgentDetailV2
java.lang.Object
com.datadog.api.client.v2.model.FleetAgentDetailV2
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class FleetAgentDetailV2
extends Object
Detailed information about a specific Datadog Agent.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFleetAgentDetailV2(FleetAgentDetailV2Attributes attributes, String id, FleetAgentV2ResourceType type) -
Method Summary
Modifier and TypeMethodDescriptionattributes(FleetAgentDetailV2Attributes attributes) booleanReturn true if this FleetAgentDetailV2 object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Attributes for the v2 agent detail 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(FleetAgentDetailV2Attributes 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
-
FleetAgentDetailV2
public FleetAgentDetailV2() -
FleetAgentDetailV2
public FleetAgentDetailV2(FleetAgentDetailV2Attributes attributes, String id, FleetAgentV2ResourceType type)
-
-
Method Details
-
attributes
-
getAttributes
Attributes for the v2 agent detail 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:
- FleetAgentDetailV2
-
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 FleetAgentDetailV2 object is equal to o. -
hashCode
public int hashCode() -
toString
-