lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb in twilio-ruby-5.0.0.rc26 vs lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb in twilio-ruby-5.0.0

- old
+ new

@@ -38,12 +38,10 @@ ## # Initialize the WorkerStatisticsPage # @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 - # @param [String] worker_sid The worker_sid # @return [WorkerStatisticsPage] WorkerStatisticsPage def initialize(version, response, solution) super(version, response) # Path Solution @@ -152,11 +150,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 [WorkerStatisticsContext] WorkerStatisticsContext for this WorkerStatisticsInstance def context unless @instance_context @instance_context = WorkerStatisticsContext.new( @version, @@ -165,25 +162,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 [String] The worker_sid def worker_sid @properties['worker_sid'] 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