lib/twilio-ruby/rest/chat/v1/service/channel/member.rb in twilio-ruby-5.0.0.rc26 vs lib/twilio-ruby/rest/chat/v1/service/channel/member.rb in twilio-ruby-5.0.0

- old
+ new

@@ -99,17 +99,10 @@ ## # When passed a block, yields MemberInstance records from the API. # This operation lazily loads records as efficiently as possible until the limit # is reached. - # @param [String] identity The identity - # @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], @@ -167,12 +160,10 @@ ## # Initialize the MemberPage # @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] service_sid The service_sid - # @param [String] channel_sid The channel_sid # @return [MemberPage] MemberPage def initialize(version, response, solution) super(version, response) # Path Solution @@ -318,11 +309,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 [MemberContext] MemberContext for this MemberInstance def context unless @instance_context @instance_context = MemberContext.new( @version, @@ -332,49 +322,71 @@ ) end @instance_context end + ## + # @return [String] The sid def sid @properties['sid'] end + ## + # @return [String] The account_sid def account_sid @properties['account_sid'] end + ## + # @return [String] The channel_sid def channel_sid @properties['channel_sid'] end + ## + # @return [String] The service_sid def service_sid @properties['service_sid'] end + ## + # @return [String] The identity def identity @properties['identity'] end + ## + # @return [Time] The date_created def date_created @properties['date_created'] end + ## + # @return [Time] The date_updated def date_updated @properties['date_updated'] end + ## + # @return [String] The role_sid def role_sid @properties['role_sid'] end + ## + # @return [String] The last_consumed_message_index def last_consumed_message_index @properties['last_consumed_message_index'] end + ## + # @return [Time] The last_consumption_timestamp def last_consumption_timestamp @properties['last_consumption_timestamp'] end + ## + # @return [String] The url def url @properties['url'] end ## \ No newline at end of file