class Twilio::REST::Studio::V2::FlowValidateInstance
Public Class Methods
new(version, payload)
click to toggle source
Initialize the FlowValidateInstance
@param [Version] version Version
that contains the resource @param [Hash] payload payload that contains response from Twilio
@return [FlowValidateInstance] FlowValidateInstance
Calls superclass method
Twilio::REST::InstanceResource::new
# File lib/twilio-ruby/rest/studio/v2/flow_validate.rb 89 def initialize(version, payload) 90 super(version) 91 92 # Marshaled Properties 93 @properties = {'valid' => payload['valid'], } 94 end
Public Instance Methods
inspect()
click to toggle source
Provide a detailed, user friendly representation
# File lib/twilio-ruby/rest/studio/v2/flow_validate.rb 110 def inspect 111 "<Twilio.Studio.V2.FlowValidateInstance>" 112 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/studio/v2/flow_validate.rb 104 def to_s 105 "<Twilio.Studio.V2.FlowValidateInstance>" 106 end
valid()
click to toggle source
@return [Boolean] Boolean if the flow definition is valid
# File lib/twilio-ruby/rest/studio/v2/flow_validate.rb 98 def valid 99 @properties['valid'] 100 end