Class: GetStream::Generated::Models::SIPChallenge
- Defined in:
- lib/getstream_ruby/generated/models/sip_challenge.rb
Instance Attribute Summary collapse
- #a1 ⇒ String
- #algorithm ⇒ String
- #charset ⇒ String
- #cnonce ⇒ String
- #domain ⇒ Array<String>
- #method ⇒ String
- #nc ⇒ String
- #nonce ⇒ String
- #opaque ⇒ String
- #qop ⇒ Array<String>
- #realm ⇒ String
- #response ⇒ String
- #stale ⇒ Boolean
- #uri ⇒ String
- #userhash ⇒ Boolean
- #username ⇒ String
Class Method Summary collapse
-
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ SIPChallenge
constructor
Initialize with attributes.
Methods inherited from BaseModel
#==, #inspect, omit_empty_fields, #to_h, #to_json
Constructor Details
#initialize(attributes = {}) ⇒ SIPChallenge
Initialize with attributes
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 |
# File 'lib/getstream_ruby/generated/models/sip_challenge.rb', line 62 def initialize(attributes = {}) super(attributes) @a1 = attributes[:a1] || attributes['a1'] || nil @algorithm = attributes[:algorithm] || attributes['algorithm'] || nil @charset = attributes[:charset] || attributes['charset'] || nil @cnonce = attributes[:cnonce] || attributes['cnonce'] || nil @method = attributes[:method] || attributes['method'] || nil @nc = attributes[:nc] || attributes['nc'] || nil @nonce = attributes[:nonce] || attributes['nonce'] || nil @opaque = attributes[:opaque] || attributes['opaque'] || nil @realm = attributes[:realm] || attributes['realm'] || nil @response = attributes[:response] || attributes['response'] || nil @stale = attributes[:stale] || attributes['stale'] || nil @uri = attributes[:uri] || attributes['uri'] || nil @userhash = attributes[:userhash] || attributes['userhash'] || nil @username = attributes[:username] || attributes['username'] || nil @domain = attributes[:domain] || attributes['domain'] || nil @qop = attributes[:qop] || attributes['qop'] || nil end |
Instance Attribute Details
#a1 ⇒ String
14 15 16 |
# File 'lib/getstream_ruby/generated/models/sip_challenge.rb', line 14 def a1 @a1 end |
#algorithm ⇒ String
17 18 19 |
# File 'lib/getstream_ruby/generated/models/sip_challenge.rb', line 17 def algorithm @algorithm end |
#charset ⇒ String
20 21 22 |
# File 'lib/getstream_ruby/generated/models/sip_challenge.rb', line 20 def charset @charset end |
#cnonce ⇒ String
23 24 25 |
# File 'lib/getstream_ruby/generated/models/sip_challenge.rb', line 23 def cnonce @cnonce end |
#domain ⇒ Array<String>
56 57 58 |
# File 'lib/getstream_ruby/generated/models/sip_challenge.rb', line 56 def domain @domain end |
#method ⇒ String
26 27 28 |
# File 'lib/getstream_ruby/generated/models/sip_challenge.rb', line 26 def method @method end |
#nc ⇒ String
29 30 31 |
# File 'lib/getstream_ruby/generated/models/sip_challenge.rb', line 29 def nc @nc end |
#nonce ⇒ String
32 33 34 |
# File 'lib/getstream_ruby/generated/models/sip_challenge.rb', line 32 def nonce @nonce end |
#opaque ⇒ String
35 36 37 |
# File 'lib/getstream_ruby/generated/models/sip_challenge.rb', line 35 def opaque @opaque end |
#qop ⇒ Array<String>
59 60 61 |
# File 'lib/getstream_ruby/generated/models/sip_challenge.rb', line 59 def qop @qop end |
#realm ⇒ String
38 39 40 |
# File 'lib/getstream_ruby/generated/models/sip_challenge.rb', line 38 def realm @realm end |
#response ⇒ String
41 42 43 |
# File 'lib/getstream_ruby/generated/models/sip_challenge.rb', line 41 def response @response end |
#stale ⇒ Boolean
44 45 46 |
# File 'lib/getstream_ruby/generated/models/sip_challenge.rb', line 44 def stale @stale end |
#uri ⇒ String
47 48 49 |
# File 'lib/getstream_ruby/generated/models/sip_challenge.rb', line 47 def uri @uri end |
#userhash ⇒ Boolean
50 51 52 |
# File 'lib/getstream_ruby/generated/models/sip_challenge.rb', line 50 def userhash @userhash end |
#username ⇒ String
53 54 55 |
# File 'lib/getstream_ruby/generated/models/sip_challenge.rb', line 53 def username @username end |
Class Method Details
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'lib/getstream_ruby/generated/models/sip_challenge.rb', line 83 def self.json_field_mappings { a1: 'a1', algorithm: 'algorithm', charset: 'charset', cnonce: 'cnonce', method: 'method', nc: 'nc', nonce: 'nonce', opaque: 'opaque', realm: 'realm', response: 'response', stale: 'stale', uri: 'uri', userhash: 'userhash', username: 'username', domain: 'domain', qop: 'qop' } end |