lib/twilio-ruby/rest/monitor/v1/event.rb in twilio-ruby-5.0.0.rc26 vs lib/twilio-ruby/rest/monitor/v1/event.rb in twilio-ruby-5.0.0

- old
+ new

@@ -86,22 +86,10 @@ ## # When passed a block, yields EventInstance records from the API. # This operation lazily loads records as efficiently as possible until the limit # is reached. - # @param [String] actor_sid The actor_sid - # @param [String] event_type The event_type - # @param [String] resource_sid The resource_sid - # @param [String] source_ip_address The source_ip_address - # @param [Date] start_date The start_date - # @param [Date] end_date The end_date - # @param [Integer] limit Upper limit for the number of records to return. stream() - # guarantees to never return more than limit. Default is no limit - # @param [Integer] page_size Number of records to fetch per request, when not set will use - # the default value of 50 records. If no page_size is defined - # but a limit is defined, stream() will attempt to read the - # limit with the most efficient page size, i.e. min(limit, 1000) def each limits = @version.read_limits page = self.page( page_size: limits[:page_size], @@ -276,11 +264,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 [EventContext] EventContext for this EventInstance def context unless @instance_context @instance_context = EventContext.new( @version, @@ -288,61 +275,89 @@ ) end @instance_context end + ## + # @return [String] The account_sid def account_sid @properties['account_sid'] end + ## + # @return [String] The actor_sid def actor_sid @properties['actor_sid'] end + ## + # @return [String] The actor_type def actor_type @properties['actor_type'] end + ## + # @return [String] The description def description @properties['description'] end + ## + # @return [Hash] The event_data def event_data @properties['event_data'] end + ## + # @return [Time] The event_date def event_date @properties['event_date'] end + ## + # @return [String] The event_type def event_type @properties['event_type'] end + ## + # @return [String] The resource_sid def resource_sid @properties['resource_sid'] end + ## + # @return [String] The resource_type def resource_type @properties['resource_type'] end + ## + # @return [String] The sid def sid @properties['sid'] end + ## + # @return [String] The source def source @properties['source'] end + ## + # @return [String] The source_ip_address def source_ip_address @properties['source_ip_address'] end + ## + # @return [String] The url def url @properties['url'] end + ## + # @return [String] The links def links @properties['links'] end ## \ No newline at end of file