Class: Twilio::REST::Messaging::V1::ServiceContext::UsAppToPersonUsecaseInstance
- Inherits:
-
InstanceResource
- Object
- InstanceResource
- Twilio::REST::Messaging::V1::ServiceContext::UsAppToPersonUsecaseInstance
- Defined in:
- lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person_usecase.rb
Instance Method Summary collapse
-
#initialize(version, payload, messaging_service_sid: nil) ⇒ UsAppToPersonUsecaseInstance
constructor
Initialize the UsAppToPersonUsecaseInstance.
-
#inspect ⇒ Object
Provide a detailed, user friendly representation.
-
#to_s ⇒ Object
Provide a user friendly representation.
-
#us_app_to_person_usecases ⇒ Array<Hash>
Human readable name, code, description and post_approval_required (indicates whether or not post approval is required for this Use Case) of A2P Campaign Use Cases.
Constructor Details
#initialize(version, payload, messaging_service_sid: nil) ⇒ UsAppToPersonUsecaseInstance
Initialize the UsAppToPersonUsecaseInstance
107 108 109 110 111 112 113 114 |
# File 'lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person_usecase.rb', line 107 def initialize(version, payload , messaging_service_sid: nil) super(version) # Marshaled Properties @properties = { 'us_app_to_person_usecases' => payload['us_app_to_person_usecases'], } end |
Instance Method Details
#inspect ⇒ Object
Provide a detailed, user friendly representation
131 132 133 |
# File 'lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person_usecase.rb', line 131 def inspect "<Twilio.Messaging.V1.UsAppToPersonUsecaseInstance>" end |
#to_s ⇒ Object
Provide a user friendly representation
125 126 127 |
# File 'lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person_usecase.rb', line 125 def to_s "<Twilio.Messaging.V1.UsAppToPersonUsecaseInstance>" end |
#us_app_to_person_usecases ⇒ Array<Hash>
Returns Human readable name, code, description and post_approval_required (indicates whether or not post approval is required for this Use Case) of A2P Campaign Use Cases.
119 120 121 |
# File 'lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person_usecase.rb', line 119 def us_app_to_person_usecases @properties['us_app_to_person_usecases'] end |