Class: GetStream::Generated::Models::AzureRequest
- Defined in:
- lib/getstream_ruby/generated/models/azure_request.rb
Overview
Config for creating Azure Blob Storage storage
Instance Attribute Summary collapse
-
#abs_account_name ⇒ String
The account name.
-
#abs_client_id ⇒ String
The client id.
-
#abs_client_secret ⇒ String
The client secret.
-
#abs_tenant_id ⇒ String
The tenant id.
Class Method Summary collapse
-
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ AzureRequest
constructor
Initialize with attributes.
Methods inherited from BaseModel
#==, #inspect, omit_empty_fields, #to_h, #to_json
Constructor Details
#initialize(attributes = {}) ⇒ AzureRequest
Initialize with attributes
26 27 28 29 30 31 32 |
# File 'lib/getstream_ruby/generated/models/azure_request.rb', line 26 def initialize(attributes = {}) super(attributes) @abs_account_name = attributes[:abs_account_name] || attributes['abs_account_name'] @abs_client_id = attributes[:abs_client_id] || attributes['abs_client_id'] @abs_client_secret = attributes[:abs_client_secret] || attributes['abs_client_secret'] @abs_tenant_id = attributes[:abs_tenant_id] || attributes['abs_tenant_id'] end |
Instance Attribute Details
#abs_account_name ⇒ String
Returns The account name.
14 15 16 |
# File 'lib/getstream_ruby/generated/models/azure_request.rb', line 14 def abs_account_name @abs_account_name end |
#abs_client_id ⇒ String
Returns The client id.
17 18 19 |
# File 'lib/getstream_ruby/generated/models/azure_request.rb', line 17 def abs_client_id @abs_client_id end |
#abs_client_secret ⇒ String
Returns The client secret.
20 21 22 |
# File 'lib/getstream_ruby/generated/models/azure_request.rb', line 20 def abs_client_secret @abs_client_secret end |
#abs_tenant_id ⇒ String
Returns The tenant id.
23 24 25 |
# File 'lib/getstream_ruby/generated/models/azure_request.rb', line 23 def abs_tenant_id @abs_tenant_id end |
Class Method Details
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization
35 36 37 38 39 40 41 42 |
# File 'lib/getstream_ruby/generated/models/azure_request.rb', line 35 def self.json_field_mappings { abs_account_name: 'abs_account_name', abs_client_id: 'abs_client_id', abs_client_secret: 'abs_client_secret', abs_tenant_id: 'abs_tenant_id' } end |