Class: Twilio::REST::Messaging::V1::BrandRegistrationContext::BrandRegistrationOtpInstance
- Inherits:
-
InstanceResource
- Object
- InstanceResource
- Twilio::REST::Messaging::V1::BrandRegistrationContext::BrandRegistrationOtpInstance
- Defined in:
- lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_registration_otp.rb
Instance Method Summary collapse
-
#account_sid ⇒ String
The SID of the [Account](www.twilio.com/docs/iam/api/account) that created the Brand Registration resource.
-
#brand_registration_sid ⇒ String
The unique string to identify Brand Registration of Sole Proprietor Brand.
-
#initialize(version, payload, brand_registration_sid: nil) ⇒ BrandRegistrationOtpInstance
constructor
Initialize the BrandRegistrationOtpInstance.
-
#inspect ⇒ Object
Provide a detailed, user friendly representation.
-
#to_s ⇒ Object
Provide a user friendly representation.
Constructor Details
#initialize(version, payload, brand_registration_sid: nil) ⇒ BrandRegistrationOtpInstance
Initialize the BrandRegistrationOtpInstance
101 102 103 104 105 106 107 108 109 |
# File 'lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_registration_otp.rb', line 101 def initialize(version, payload , brand_registration_sid: nil) super(version) # Marshaled Properties @properties = { 'account_sid' => payload['account_sid'], 'brand_registration_sid' => payload['brand_registration_sid'], } end |
Instance Method Details
#account_sid ⇒ String
Returns The SID of the [Account](www.twilio.com/docs/iam/api/account) that created the Brand Registration resource.
114 115 116 |
# File 'lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_registration_otp.rb', line 114 def account_sid @properties['account_sid'] end |
#brand_registration_sid ⇒ String
Returns The unique string to identify Brand Registration of Sole Proprietor Brand.
120 121 122 |
# File 'lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_registration_otp.rb', line 120 def brand_registration_sid @properties['brand_registration_sid'] end |
#inspect ⇒ Object
Provide a detailed, user friendly representation
132 133 134 |
# File 'lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_registration_otp.rb', line 132 def inspect "<Twilio.Messaging.V1.BrandRegistrationOtpInstance>" end |
#to_s ⇒ Object
Provide a user friendly representation
126 127 128 |
# File 'lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_registration_otp.rb', line 126 def to_s "<Twilio.Messaging.V1.BrandRegistrationOtpInstance>" end |