lib/twilio-ruby/rest/api/v2010/account/notification.rb in twilio-ruby-5.8.1 vs lib/twilio-ruby/rest/api/v2010/account/notification.rb in twilio-ruby-5.9.0

- old
+ new

@@ -1,21 +1,24 @@ ## # This code was generated by # \ / _ _ _| _ _ # | (_)\/(_)(_|\/| |(/_ v1.0.0 # / / +# +# frozen_string_literal: true module Twilio module REST class Api < Domain class V2010 < Version class AccountContext < InstanceContext class NotificationList < ListResource ## # Initialize the NotificationList # @param [Version] version Version that contains the resource - # @param [String] account_sid The unique id of the Account responsible for this + # @param [String] account_sid The unique id of the + # [Account](https://www.twilio.com/docs/iam/api/account) responsible for this # notification. # @return [NotificationList] NotificationList def initialize(version, account_sid: nil) super(version) @@ -26,11 +29,12 @@ ## # Lists NotificationInstance records from the API as a list. # Unlike stream(), this operation is eager and will load `limit` records into # memory before returning. - # @param [String] log Only show notifications for this log level + # @param [String] log Only show notifications for this log, using the integer log + # values shown above. # @param [Time] message_date_before Filter by date # @param [Time] message_date Filter by date # @param [Time] message_date_after Filter by 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 @@ -52,11 +56,12 @@ ## # Streams NotificationInstance records from the API as an Enumerable. # This operation lazily loads records as efficiently as possible until the limit # is reached. - # @param [String] log Only show notifications for this log level + # @param [String] log Only show notifications for this log, using the integer log + # values shown above. # @param [Time] message_date_before Filter by date # @param [Time] message_date Filter by date # @param [Time] message_date_after Filter by 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. @@ -94,11 +99,12 @@ end ## # Retrieve a single page of NotificationInstance records from the API. # Request is executed immediately. - # @param [String] log Only show notifications for this log level + # @param [String] log Only show notifications for this log, using the integer log + # values shown above. # @param [Time] message_date_before Filter by date # @param [Time] message_date Filter by date # @param [Time] message_date_after Filter by date # @param [String] page_token PageToken provided by the API # @param [Integer] page_number Page Number, this value is simply for client state @@ -224,10 +230,11 @@ class NotificationInstance < InstanceResource ## # Initialize the NotificationInstance # @param [Version] version Version that contains the resource # @param [Hash] payload payload that contains response from Twilio - # @param [String] account_sid The unique id of the Account responsible for this + # @param [String] account_sid The unique id of the + # [Account](https://www.twilio.com/docs/iam/api/account) responsible for this # notification. # @param [String] sid The notification Sid that uniquely identifies this resource # @return [NotificationInstance] NotificationInstance def initialize(version, payload, account_sid: nil, sid: nil) super(version) \ No newline at end of file