Package com.datadog.api.client.v2.model
Class IPAllowlistAttributes
java.lang.Object
com.datadog.api.client.v2.model.IPAllowlistAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class IPAllowlistAttributes
extends Object
Attributes of the IP allowlist.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddEntriesItem(IPAllowlistEntry entriesItem) entries(List<IPAllowlistEntry> entries) booleanReturn true if this IPAllowlistAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Whether the IP allowlist logic is enabled or not.Array of entries in the IP allowlist.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetEnabled(Boolean enabled) voidsetEntries(List<IPAllowlistEntry> entries) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_ENTRIES
- See Also:
-
-
Constructor Details
-
IPAllowlistAttributes
public IPAllowlistAttributes()
-
-
Method Details
-
enabled
-
getEnabled
Whether the IP allowlist logic is enabled or not.- Returns:
- enabled
-
setEnabled
-
entries
-
addEntriesItem
-
getEntries
Array of entries in the IP allowlist.- Returns:
- entries
-
setEntries
-
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:
- IPAllowlistAttributes
-
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 IPAllowlistAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-