Package com.datadog.api.client.v2.model
Class DeviceAttributesInterfaceStatuses
java.lang.Object
com.datadog.api.client.v2.model.DeviceAttributesInterfaceStatuses
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class DeviceAttributesInterfaceStatuses
extends Object
Count of the device interfaces by status
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this DeviceAttributesInterfaceStatuses object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getDown()The number of interfaces that are downgetOff()The number of interfaces that are offgetUp()The number of interfaces that are upThe number of interfaces that are in a warning stateinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidvoidsetWarning(Long warning) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DOWN
- See Also:
-
JSON_PROPERTY_OFF
- See Also:
-
JSON_PROPERTY_UP
- See Also:
-
JSON_PROPERTY_WARNING
- See Also:
-
-
Constructor Details
-
DeviceAttributesInterfaceStatuses
public DeviceAttributesInterfaceStatuses()
-
-
Method Details
-
down
-
getDown
The number of interfaces that are down- Returns:
- down
-
setDown
-
off
-
getOff
The number of interfaces that are off- Returns:
- off
-
setOff
-
up
-
getUp
The number of interfaces that are up- Returns:
- up
-
setUp
-
warning
-
getWarning
The number of interfaces that are in a warning state- Returns:
- warning
-
setWarning
-
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:
- DeviceAttributesInterfaceStatuses
-
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 DeviceAttributesInterfaceStatuses object is equal to o. -
hashCode
public int hashCode() -
toString
-