lib/twilio-ruby/rest/studio/v1/flow/engagement/step/step_context.rb in twilio-ruby-5.10.7 vs lib/twilio-ruby/rest/studio/v1/flow/engagement/step/step_context.rb in twilio-ruby-5.11.0
- old
+ new
@@ -17,13 +17,14 @@
# PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
class StepContextList < ListResource
##
# Initialize the StepContextList
# @param [Version] version Version that contains the resource
- # @param [String] flow_sid The flow_sid
- # @param [String] engagement_sid The engagement_sid
- # @param [String] step_sid The step_sid
+ # @param [String] flow_sid The unique SID identifier of the Flow.
+ # @param [String] engagement_sid The unique SID identifier of the Engagement.
+ # @param [String] step_sid The unique SID identifier of the Step this context is
+ # associated with.
# @return [StepContextList] StepContextList
def initialize(version, flow_sid: nil, engagement_sid: nil, step_sid: nil)
super(version)
# Path Solution
@@ -78,13 +79,13 @@
# PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
class StepContextContext < InstanceContext
##
# Initialize the StepContextContext
# @param [Version] version Version that contains the resource
- # @param [String] flow_sid The flow_sid
- # @param [String] engagement_sid The engagement_sid
- # @param [String] step_sid The step_sid
+ # @param [String] flow_sid The unique SID identifier of the Flow.
+ # @param [String] engagement_sid The unique SID identifier of the Engagement.
+ # @param [String] step_sid The unique SID identifier of the Step.
# @return [StepContextContext] StepContextContext
def initialize(version, flow_sid, engagement_sid, step_sid)
super(version)
# Path Solution
@@ -126,13 +127,14 @@
class StepContextInstance < InstanceResource
##
# Initialize the StepContextInstance
# @param [Version] version Version that contains the resource
# @param [Hash] payload payload that contains response from Twilio
- # @param [String] flow_sid The flow_sid
- # @param [String] engagement_sid The engagement_sid
- # @param [String] step_sid The step_sid
+ # @param [String] flow_sid The unique SID identifier of the Flow.
+ # @param [String] engagement_sid The unique SID identifier of the Engagement.
+ # @param [String] step_sid The unique SID identifier of the Step this context is
+ # associated with.
# @return [StepContextInstance] StepContextInstance
def initialize(version, payload, flow_sid: nil, engagement_sid: nil, step_sid: nil)
super(version)
# Marshaled Properties
@@ -165,40 +167,40 @@
end
@instance_context
end
##
- # @return [String] The account_sid
+ # @return [String] Account Sid.
def account_sid
@properties['account_sid']
end
##
- # @return [Hash] The context
+ # @return [Hash] Flow state.
def context
@properties['context']
end
##
- # @return [String] The engagement_sid
+ # @return [String] Engagement Sid.
def engagement_sid
@properties['engagement_sid']
end
##
- # @return [String] The flow_sid
+ # @return [String] Flow Sid.
def flow_sid
@properties['flow_sid']
end
##
- # @return [String] The step_sid
+ # @return [String] Step Sid.
def step_sid
@properties['step_sid']
end
##
- # @return [String] The url
+ # @return [String] The URL of this resource.
def url
@properties['url']
end
##
\ No newline at end of file