lib/twilio-ruby/rest/serverless/v1/service/function/function_version.rb in twilio-ruby-5.27.0 vs lib/twilio-ruby/rest/serverless/v1/service/function/function_version.rb in twilio-ruby-5.27.1
- old
+ new
@@ -16,14 +16,14 @@
# PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
class FunctionVersionList < ListResource
##
# Initialize the FunctionVersionList
# @param [Version] version Version that contains the resource
- # @param [String] service_sid The unique SID identifier of the Service for this
- # Function Version.
- # @param [String] function_sid The unique SID identifier of the Function that is
- # the parent for this Function Version.
+ # @param [String] service_sid The SID of the Service that the FunctionVersion
+ # resource is associated with.
+ # @param [String] function_sid The SID of the function that is the parent of the
+ # function version.
# @return [FunctionVersionList] FunctionVersionList
def initialize(version, service_sid: nil, function_sid: nil)
super(version)
# Path Solution
@@ -160,15 +160,15 @@
# PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
class FunctionVersionContext < InstanceContext
##
# Initialize the FunctionVersionContext
# @param [Version] version Version that contains the resource
- # @param [String] service_sid The unique SID identifier of the Service for this
- # Function Version.
- # @param [String] function_sid The unique SID identifier of the Function that is
- # the parent for this Function Version.
- # @param [String] sid The unique SID identifier of this Function Version.
+ # @param [String] service_sid The SID of the Service to fetch the FunctionVersion
+ # resource from.
+ # @param [String] function_sid The SID of the function that is the parent of the
+ # FunctionVersion resource to fetch.
+ # @param [String] sid The SID of the FunctionVersion resource to fetch.
# @return [FunctionVersionContext] FunctionVersionContext
def initialize(version, service_sid, function_sid, sid)
super(version)
# Path Solution
@@ -217,15 +217,15 @@
class FunctionVersionInstance < InstanceResource
##
# Initialize the FunctionVersionInstance
# @param [Version] version Version that contains the resource
# @param [Hash] payload payload that contains response from Twilio
- # @param [String] service_sid The unique SID identifier of the Service for this
- # Function Version.
- # @param [String] function_sid The unique SID identifier of the Function that is
- # the parent for this Function Version.
- # @param [String] sid The unique SID identifier of this Function Version.
+ # @param [String] service_sid The SID of the Service that the FunctionVersion
+ # resource is associated with.
+ # @param [String] function_sid The SID of the function that is the parent of the
+ # function version.
+ # @param [String] sid The SID of the FunctionVersion resource to fetch.
# @return [FunctionVersionInstance] FunctionVersionInstance
def initialize(version, payload, service_sid: nil, function_sid: nil, sid: nil)
super(version)
# Marshaled Properties
@@ -264,52 +264,52 @@
end
@instance_context
end
##
- # @return [String] Function Version Sid.
+ # @return [String] The unique string that identifies the FunctionVersion resource
def sid
@properties['sid']
end
##
- # @return [String] Account Sid.
+ # @return [String] The SID of the Account that created the FunctionVersion resource
def account_sid
@properties['account_sid']
end
##
- # @return [String] Service Sid.
+ # @return [String] The SID of the Service that the FunctionVersion resource is associated with
def service_sid
@properties['service_sid']
end
##
- # @return [String] Function Sid.
+ # @return [String] The SID of the function that is the parent of the function version
def function_sid
@properties['function_sid']
end
##
- # @return [String] The URL-friendly string by which this Function Version can be referenced.
+ # @return [String] The URL-friendly string by which the function version can be referenced
def path
@properties['path']
end
##
- # @return [function_version.Visibility] The access control which determines how the Function Version can be accessed.
+ # @return [function_version.Visibility] The access control that determines how the function version can be accessed
def visibility
@properties['visibility']
end
##
- # @return [Time] The date that this Function Version was created.
+ # @return [Time] The ISO 8601 date and time in GMT when the FunctionVersion resource was created
def date_created
@properties['date_created']
end
##
- # @return [String] The URL of this Function Version.
+ # @return [String] The absolute URL of the FunctionVersion resource
def url
@properties['url']
end
##
\ No newline at end of file