Class UsageSNMPHour

java.lang.Object
com.datadog.api.client.v1.model.UsageSNMPHour

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class UsageSNMPHour extends Object
The number of SNMP devices for each hour for a given organization.
  • Field Details

  • Constructor Details

    • UsageSNMPHour

      public UsageSNMPHour()
  • Method Details

    • hour

      public UsageSNMPHour hour(OffsetDateTime hour)
    • getHour

      @Nullable public OffsetDateTime getHour()
      The hour for the usage.
      Returns:
      hour
    • setHour

      public void setHour(OffsetDateTime hour)
    • orgName

      public UsageSNMPHour orgName(String orgName)
    • getOrgName

      @Nullable public String getOrgName()
      The organization name.
      Returns:
      orgName
    • setOrgName

      public void setOrgName(String orgName)
    • publicId

      public UsageSNMPHour publicId(String publicId)
    • getPublicId

      @Nullable public String getPublicId()
      The organization public ID.
      Returns:
      publicId
    • setPublicId

      public void setPublicId(String publicId)
    • snmpDevices

      public UsageSNMPHour snmpDevices(Long snmpDevices)
    • getSnmpDevices

      @Nullable public Long getSnmpDevices()
      Contains the number of SNMP devices.
      Returns:
      snmpDevices
    • getSnmpDevices_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Long> getSnmpDevices_JsonNullable()
    • setSnmpDevices_JsonNullable

      public void setSnmpDevices_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> snmpDevices)
    • setSnmpDevices

      public void setSnmpDevices(Long snmpDevices)
    • putAdditionalProperty

      public UsageSNMPHour 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 set
      value - The associated value
      Returns:
      UsageSNMPHour
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this UsageSNMPHour object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object