Package com.datadog.api.client.v2.model
Class LogsMetricResponseData
java.lang.Object
com.datadog.api.client.v2.model.LogsMetricResponseData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LogsMetricResponseData
extends Object
The log-based metric properties.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributes(LogsMetricResponseAttributes attributes) booleanReturn true if this LogsMetricResponseData object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The object describing a Datadog log-based metric.getId()The name of the log-based metric.getType()The type of the resource.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAttributes(LogsMetricResponseAttributes attributes) voidvoidsetType(LogsMetricType type) toString()type(LogsMetricType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
LogsMetricResponseData
public LogsMetricResponseData()
-
-
Method Details
-
attributes
-
getAttributes
The object describing a Datadog log-based metric.- Returns:
- attributes
-
setAttributes
-
id
-
getId
The name of the log-based metric.- Returns:
- id
-
setId
-
type
-
getType
The type of the resource. The value should always be logs_metrics.- 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:
- LogsMetricResponseData
-
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 LogsMetricResponseData object is equal to o. -
hashCode
public int hashCode() -
toString
-