lib/twilio-ruby/rest/studio/v1/flow/execution/execution_context.rb in twilio-ruby-5.25.4 vs lib/twilio-ruby/rest/studio/v1/flow/execution/execution_context.rb in twilio-ruby-5.26.0

- old
+ new

@@ -14,12 +14,12 @@ class ExecutionContext < InstanceContext class ExecutionContextList < ListResource ## # Initialize the ExecutionContextList # @param [Version] version Version that contains the resource - # @param [String] flow_sid The unique SID identifier of the Flow. - # @param [String] execution_sid The unique SID identifier of the Execution. + # @param [String] flow_sid The SID of the Flow. + # @param [String] execution_sid The SID of the context's Execution resource. # @return [ExecutionContextList] ExecutionContextList def initialize(version, flow_sid: nil, execution_sid: nil) super(version) # Path Solution @@ -69,12 +69,13 @@ class ExecutionContextContext < InstanceContext ## # Initialize the ExecutionContextContext # @param [Version] version Version that contains the resource - # @param [String] flow_sid The unique SID identifier of the Flow. - # @param [String] execution_sid The unique SID identifier of the Execution. + # @param [String] flow_sid The SID of the Flow with the Execution context to + # fetch. + # @param [String] execution_sid The SID of the Execution context to fetch. # @return [ExecutionContextContext] ExecutionContextContext def initialize(version, flow_sid, execution_sid) super(version) # Path Solution @@ -120,12 +121,12 @@ class ExecutionContextInstance < InstanceResource ## # Initialize the ExecutionContextInstance # @param [Version] version Version that contains the resource # @param [Hash] payload payload that contains response from Twilio - # @param [String] flow_sid The unique SID identifier of the Flow. - # @param [String] execution_sid The unique SID identifier of the Execution. + # @param [String] flow_sid The SID of the Flow. + # @param [String] execution_sid The SID of the context's Execution resource. # @return [ExecutionContextInstance] ExecutionContextInstance def initialize(version, payload, flow_sid: nil, execution_sid: nil) super(version) # Marshaled Properties @@ -156,34 +157,34 @@ end @instance_context end ## - # @return [String] Account Sid. + # @return [String] The SID of the Account that created the resource def account_sid @properties['account_sid'] end ## - # @return [Hash] Flow state. + # @return [Hash] The current state of the flow def context @properties['context'] end ## - # @return [String] Flow Sid. + # @return [String] The SID of the Flow def flow_sid @properties['flow_sid'] end ## - # @return [String] Execution Sid. + # @return [String] The SID of the Execution def execution_sid @properties['execution_sid'] end ## - # @return [String] The URL of this resource. + # @return [String] The absolute URL of the resource def url @properties['url'] end ## \ No newline at end of file