class

Twilio::IncomingPhoneNumberIncomingPhoneNumberAssignedAddOnIncomingPhoneNumberAssignedAddOnExtension

Inherits OpenApi::Json / OpenApi::Validatable / JSON::Serializable::Unmapped / JSON::Serializable / Reference / Object

Constants

MAX_LENGTH_FOR_ACCOUNT_SID = 34
MAX_LENGTH_FOR_ASSIGNED_ADD_ON_SID = 34
MAX_LENGTH_FOR_RESOURCE_SID = 34
MAX_LENGTH_FOR_SID = 34
MIN_LENGTH_FOR_ACCOUNT_SID = 34
MIN_LENGTH_FOR_ASSIGNED_ADD_ON_SID = 34
MIN_LENGTH_FOR_RESOURCE_SID = 34
MIN_LENGTH_FOR_SID = 34
PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/
PATTERN_FOR_ASSIGNED_ADD_ON_SID = /^XE[0-9a-fA-F]{32}$/
PATTERN_FOR_RESOURCE_SID = /^PN[0-9a-fA-F]{32}$/
PATTERN_FOR_SID = /^XF[0-9a-fA-F]{32}$/

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, account_sid : String | Nil = nil, assigned_add_on_sid : String | Nil = nil, enabled : Bool | Nil = nil, friendly_name : String | Nil = nil, product_name : String | Nil = nil, resource_sid : String | Nil = nil, sid : String | Nil = nil, unique_name : String | Nil = nil, uri : String | Nil = nil)

Initializes the object @param [Hash] attributes Model attributes in the form of hash

Source

Instance methods

==(other : self)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

account_sid

The SID of the Account that created the resource

Source
account_sid=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] account_sid Object to be assigned

Source
account_sid_present=(account_sid_present : Bool)
Source
account_sid_present?
Source
assigned_add_on_sid

The SID that uniquely identifies the assigned Add-on installation

Source
assigned_add_on_sid=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] assigned_add_on_sid Object to be assigned

Source
assigned_add_on_sid_present=(assigned_add_on_sid_present : Bool)
Source
assigned_add_on_sid_present?
Source
enabled

Whether the Extension will be invoked

Source
enabled=(new_value : Bool | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] enabled Object to be assigned

Source
enabled_present=(enabled_present : Bool)
Source
enabled_present?
Source
friendly_name

The string that you assigned to describe the resource

Source
friendly_name=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] friendly_name Object to be assigned

Source
friendly_name_present=(friendly_name_present : Bool)
Source
friendly_name_present?
Source
hash(hasher)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

list_invalid_properties

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

Source
product_name

A string that you assigned to describe the Product this Extension is used within

Source
product_name=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] product_name Object to be assigned

Source
product_name_present=(product_name_present : Bool)
Source
product_name_present?
Source
resource_sid

The SID of the Phone Number to which the Add-on is assigned

Source
resource_sid=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] resource_sid Object to be assigned

Source
resource_sid_present=(resource_sid_present : Bool)
Source
resource_sid_present?
Source
sid

The unique string that identifies the resource

Source
sid=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] sid Object to be assigned

Source
sid_present=(sid_present : Bool)
Source
sid_present?
Source
unique_name

An application-defined string that uniquely identifies the resource

Source
unique_name=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] unique_name Object to be assigned

Source
unique_name_present=(unique_name_present : Bool)
Source
unique_name_present?
Source
uri

The URI of the resource, relative to https://api.twilio.com

Source
uri=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] uri Object to be assigned

Source
uri_present=(uri_present : Bool)
Source
uri_present?
Source
valid?

Check to see if the all the properties in the model are valid @return true if the model is valid

Source