Class: Twilio::REST::Numbers::V1::PortingPortInInstance
- Inherits:
-
InstanceResource
- Object
- InstanceResource
- Twilio::REST::Numbers::V1::PortingPortInInstance
- Defined in:
- lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb
Instance Method Summary collapse
-
#initialize(version, payload) ⇒ PortingPortInInstance
constructor
Initialize the PortingPortInInstance.
-
#inspect ⇒ Object
Provide a detailed, user friendly representation.
-
#port_in_request_sid ⇒ String
The SID of the Port In request.
-
#to_s ⇒ Object
Provide a user friendly representation.
- #url ⇒ String
Constructor Details
#initialize(version, payload) ⇒ PortingPortInInstance
Initialize the PortingPortInInstance
95 96 97 98 99 100 101 102 103 |
# File 'lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb', line 95 def initialize(version, payload ) super(version) # Marshaled Properties @properties = { 'port_in_request_sid' => payload['port_in_request_sid'], 'url' => payload['url'], } end |
Instance Method Details
#inspect ⇒ Object
Provide a detailed, user friendly representation
126 127 128 |
# File 'lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb', line 126 def inspect "<Twilio.Numbers.V1.PortingPortInInstance>" end |
#port_in_request_sid ⇒ String
Returns The SID of the Port In request. This is a unique identifier of the port in request.
108 109 110 |
# File 'lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb', line 108 def port_in_request_sid @properties['port_in_request_sid'] end |
#to_s ⇒ Object
Provide a user friendly representation
120 121 122 |
# File 'lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb', line 120 def to_s "<Twilio.Numbers.V1.PortingPortInInstance>" end |
#url ⇒ String
114 115 116 |
# File 'lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb', line 114 def url @properties['url'] end |