Sha256: 2964c4a08017b4b9149be938c6bc94ca6a1e9494635df026539a3def096a578c

Contents?: true

Size: 1.71 KB

Versions: 24

Compression:

Stored size: 1.71 KB

Contents

##
#    This code was generated by
#    ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
#     |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
#     |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \
#
#    Twilio - Preview
#    This is the public Twilio REST API.
#
#    NOTE: This class is auto generated by OpenAPI Generator.
#    https://openapi-generator.tech
#    Do not edit the class manually.
#

module Twilio
    module REST
        class Preview
            class Understand < Version
                ##
                # Initialize the Understand version of Preview
                def initialize(domain)
                    super
                    @version = 'understand'
                    @assistants = nil
                end

                ##
                # @param [String] sid A 34 character string that uniquely identifies this resource.
                # @return [Twilio::REST::Preview::Understand::AssistantContext] if sid was passed.
                # @return [Twilio::REST::Preview::Understand::AssistantList]
                def assistants(sid=:unset)
                    if sid.nil?
                        raise ArgumentError, 'sid cannot be nil'
                    end
                    if sid == :unset
                        @assistants ||= AssistantList.new self
                    else
                        AssistantContext.new(self, sid)
                    end
                end
                ##
                # Provide a user friendly representation
                def to_s
                    '<Twilio::REST::Preview::Understand>';
                end
            end
        end
    end
end

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
twilio-ruby-6.9.0 lib/twilio-ruby/rest/preview/understand.rb
twilio-ruby-6.8.3 lib/twilio-ruby/rest/preview/understand.rb
twilio-ruby-6.8.2 lib/twilio-ruby/rest/preview/understand.rb
twilio-ruby-6.8.1 lib/twilio-ruby/rest/preview/understand.rb
twilio-ruby-6.8.0 lib/twilio-ruby/rest/preview/understand.rb
twilio-ruby-6.7.1 lib/twilio-ruby/rest/preview/understand.rb
twilio-ruby-6.7.0 lib/twilio-ruby/rest/preview/understand.rb
twilio-ruby-6.6.0 lib/twilio-ruby/rest/preview/understand.rb
whoosh-ruby-0.1.5 lib/twilio-ruby/rest/preview/understand.rb
twilio-ruby-6.5.0 lib/twilio-ruby/rest/preview/understand.rb
twilio-ruby-6.4.0 lib/twilio-ruby/rest/preview/understand.rb
twilio-ruby-6.3.1 lib/twilio-ruby/rest/preview/understand.rb
twilio-ruby-6.3.0 lib/twilio-ruby/rest/preview/understand.rb
twilio-ruby-6.2.0 lib/twilio-ruby/rest/preview/understand.rb
twilio-ruby-6.1.0 lib/twilio-ruby/rest/preview/understand.rb
twilio-ruby-6.0.2 lib/twilio-ruby/rest/preview/understand.rb
whoosh-ruby-0.1.4 lib/twilio-ruby/rest/preview/understand.rb
whoosh-ruby-0.1.2 lib/twilio-ruby/rest/preview/understand.rb
twilio-ruby-6.0.1 lib/twilio-ruby/rest/preview/understand.rb
whoosh-ruby-0.1.1 lib/twilio-ruby/rest/preview/understand.rb