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

- old
+ new

@@ -35,11 +35,10 @@ ## # Initialize the WorkspaceStatisticsPage # @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 [WorkspaceStatisticsPage] WorkspaceStatisticsPage def initialize(version, response, solution) super(version, response) # Path Solution @@ -142,11 +141,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 [WorkspaceStatisticsContext] WorkspaceStatisticsContext for this WorkspaceStatisticsInstance def context unless @instance_context @instance_context = WorkspaceStatisticsContext.new( @version, @@ -154,25 +152,35 @@ ) end @instance_context end + ## + # @return [Hash] The realtime def realtime @properties['realtime'] end + ## + # @return [Hash] The cumulative def cumulative @properties['cumulative'] end + ## + # @return [String] The account_sid def account_sid @properties['account_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