Class: Twilio::REST::Studio::V2::FlowValidateInstance
- Inherits:
-
InstanceResource
- Object
- InstanceResource
- Twilio::REST::Studio::V2::FlowValidateInstance
- Defined in:
- lib/twilio-ruby/rest/studio/v2/flow_validate.rb
Instance Method Summary collapse
-
#initialize(version, payload) ⇒ FlowValidateInstance
constructor
Initialize the FlowValidateInstance.
-
#inspect ⇒ Object
Provide a detailed, user friendly representation.
-
#to_s ⇒ Object
Provide a user friendly representation.
-
#valid ⇒ Boolean
Boolean if the flow definition is valid.
Constructor Details
#initialize(version, payload) ⇒ FlowValidateInstance
Initialize the FlowValidateInstance
157 158 159 160 161 162 163 164 165 |
# File 'lib/twilio-ruby/rest/studio/v2/flow_validate.rb', line 157 def initialize(version, payload ) super(version) # Marshaled Properties @properties = { 'valid' => payload['valid'], } end |
Instance Method Details
#inspect ⇒ Object
Provide a detailed, user friendly representation
182 183 184 |
# File 'lib/twilio-ruby/rest/studio/v2/flow_validate.rb', line 182 def inspect "<Twilio.Studio.V2.FlowValidateInstance>" end |
#to_s ⇒ Object
Provide a user friendly representation
176 177 178 |
# File 'lib/twilio-ruby/rest/studio/v2/flow_validate.rb', line 176 def to_s "<Twilio.Studio.V2.FlowValidateInstance>" end |
#valid ⇒ Boolean
Returns Boolean if the flow definition is valid.
170 171 172 |
# File 'lib/twilio-ruby/rest/studio/v2/flow_validate.rb', line 170 def valid @properties['valid'] end |