lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_statistics.rb in twilio-ruby-5.0.0.rc26 vs lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_statistics.rb in twilio-ruby-5.0.0
- old
+ new
@@ -36,11 +36,10 @@
##
# Initialize the WorkersStatisticsPage
# @param [Version] version Version that contains the resource
# @param [Response] response Response from the API
# @param [Hash] solution Path solution for the resource
- # @param [String] workspace_sid The workspace_sid
# @return [WorkersStatisticsPage] WorkersStatisticsPage
def initialize(version, response, solution)
super(version, response)
# Path Solution
@@ -149,11 +148,10 @@
end
##
# Generate an instance context for the instance, the context is capable of
# performing various actions. All instance actions are proxied to the context
- # @param [Version] version Version that contains the resource
# @return [WorkersStatisticsContext] WorkersStatisticsContext for this WorkersStatisticsInstance
def context
unless @instance_context
@instance_context = WorkersStatisticsContext.new(
@version,
@@ -161,25 +159,35 @@
)
end
@instance_context
end
+ ##
+ # @return [String] The account_sid
def account_sid
@properties['account_sid']
end
+ ##
+ # @return [Hash] The cumulative
def cumulative
@properties['cumulative']
end
+ ##
+ # @return [Hash] The realtime
def realtime
@properties['realtime']
end
+ ##
+ # @return [String] The workspace_sid
def workspace_sid
@properties['workspace_sid']
end
+ ##
+ # @return [String] The url
def url
@properties['url']
end
##
\ No newline at end of file