class Twilio::REST::Events::V1::SinkContext::SinkValidateInstance
PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
Public Class Methods
new(version, payload, sid: nil)
click to toggle source
Initialize the SinkValidateInstance
@param [Version] version Version
that contains the resource @param [Hash] payload payload that contains response from Twilio
@param [String] sid A 34 character string that uniquely identifies this Sink. @return [SinkValidateInstance] SinkValidateInstance
Calls superclass method
Twilio::REST::InstanceResource::new
# File lib/twilio-ruby/rest/events/v1/sink/sink_validate.rb 90 def initialize(version, payload, sid: nil) 91 super(version) 92 93 # Marshaled Properties 94 @properties = {'result' => payload['result'], } 95 end
Public Instance Methods
inspect()
click to toggle source
Provide a detailed, user friendly representation
# File lib/twilio-ruby/rest/events/v1/sink/sink_validate.rb 111 def inspect 112 "<Twilio.Events.V1.SinkValidateInstance>" 113 end
result()
click to toggle source
@return [String] Feedback indicating whether the given Sink was validated.
# File lib/twilio-ruby/rest/events/v1/sink/sink_validate.rb 99 def result 100 @properties['result'] 101 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/events/v1/sink/sink_validate.rb 105 def to_s 106 "<Twilio.Events.V1.SinkValidateInstance>" 107 end