Package com.datadog.api.client.v2.model
Class CloudflareAccountResponseAttributes
java.lang.Object
com.datadog.api.client.v2.model.CloudflareAccountResponseAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CloudflareAccountResponseAttributes
extends Object
Attributes object of a Cloudflare account.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionaddResourcesItem(String resourcesItem) addZonesItem(String zonesItem) booleanReturn true if this CloudflareAccountResponseAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getEmail()The email associated with the Cloudflare account.getName()The name of the Cloudflare account.An allowlist of resources, such asweb,dns,lb(load balancer),worker, that restricts pulling metrics from those resources.getZones()An allowlist of zones to restrict pulling metrics for.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidsetResources(List<String> resources) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_EMAIL
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_RESOURCES
- See Also:
-
JSON_PROPERTY_ZONES
- See Also:
-
-
Constructor Details
-
CloudflareAccountResponseAttributes
public CloudflareAccountResponseAttributes() -
CloudflareAccountResponseAttributes
-
-
Method Details
-
email
-
getEmail
The email associated with the Cloudflare account.- Returns:
-
setEmail
-
name
-
getName
The name of the Cloudflare account.- Returns:
- name
-
setName
-
resources
-
addResourcesItem
-
getResources
An allowlist of resources, such asweb,dns,lb(load balancer),worker, that restricts pulling metrics from those resources.- Returns:
- resources
-
setResources
-
zones
-
addZonesItem
-
getZones
An allowlist of zones to restrict pulling metrics for.- Returns:
- zones
-
setZones
-
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:
- CloudflareAccountResponseAttributes
-
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 CloudflareAccountResponseAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-