Package com.datadog.api.client.v2.model
Class TwilioIntegrationAccountCreateAttributes
java.lang.Object
com.datadog.api.client.v2.model.TwilioIntegrationAccountCreateAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class TwilioIntegrationAccountCreateAttributes
extends Object
Writable attributes used to create a Twilio integration account.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTwilioIntegrationAccountCreateAttributes(TwilioIntegrationAccountAuthenticationRequest authentication, String name, TwilioIntegrationAccountSettingsRequest settings) -
Method Summary
Modifier and TypeMethodDescriptionauthentication(TwilioIntegrationAccountAuthenticationRequest authentication) dataflows(TwilioIntegrationDataflowsRequest dataflows) booleanReturn true if this TwilioIntegrationAccountCreateAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Authentication for creating the Twilio integration account.Data Datadog collects from Twilio, keyed by dataflow id.getName()Human-readable name of the Twilio integration account.Settings for creating the Twilio integration account.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAuthentication(TwilioIntegrationAccountAuthenticationRequest authentication) voidsetDataflows(TwilioIntegrationDataflowsRequest dataflows) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AUTHENTICATION
- See Also:
-
JSON_PROPERTY_DATAFLOWS
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_SETTINGS
- See Also:
-
-
Constructor Details
-
TwilioIntegrationAccountCreateAttributes
public TwilioIntegrationAccountCreateAttributes() -
TwilioIntegrationAccountCreateAttributes
public TwilioIntegrationAccountCreateAttributes(TwilioIntegrationAccountAuthenticationRequest authentication, String name, TwilioIntegrationAccountSettingsRequest settings)
-
-
Method Details
-
authentication
public TwilioIntegrationAccountCreateAttributes authentication(TwilioIntegrationAccountAuthenticationRequest authentication) -
getAuthentication
Authentication for creating the Twilio integration account. Exactly one method is set.- Returns:
- authentication
-
setAuthentication
-
dataflows
public TwilioIntegrationAccountCreateAttributes dataflows(TwilioIntegrationDataflowsRequest dataflows) -
getDataflows
Data Datadog collects from Twilio, keyed by dataflow id. Each dataflow turns on a distinct kind of collection: setenabledto start or stop it. Defaults listed on each dataflow apply when the account is created; on update, omitted fields keep their current values. Where a dataflow depends on a Twilio feature being enabled, that prerequisite is noted on the dataflow; a dataflow enabled without it is stored but collects no data.- Returns:
- dataflows
-
setDataflows
-
name
-
getName
Human-readable name of the Twilio integration account.- Returns:
- name
-
setName
-
settings
public TwilioIntegrationAccountCreateAttributes settings(TwilioIntegrationAccountSettingsRequest settings) -
getSettings
Settings for creating the Twilio integration account.- Returns:
- settings
-
setSettings
-
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:
- TwilioIntegrationAccountCreateAttributes
-
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 TwilioIntegrationAccountCreateAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-