Class: GetStream::Generated::Models::CheckS3AccessRequest
- Defined in:
- lib/getstream_ruby/generated/models/check_s3_access_request.rb
Instance Attribute Summary collapse
-
#s3_url ⇒ String
Optional stream+s3:// reference to test access against.
Class Method Summary collapse
-
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ CheckS3AccessRequest
constructor
Initialize with attributes.
Methods inherited from BaseModel
#==, #inspect, omit_empty_fields, #to_h, #to_json
Constructor Details
#initialize(attributes = {}) ⇒ CheckS3AccessRequest
Initialize with attributes
17 18 19 20 |
# File 'lib/getstream_ruby/generated/models/check_s3_access_request.rb', line 17 def initialize(attributes = {}) super(attributes) @s3_url = attributes[:s3_url] || attributes['s3_url'] || nil end |
Instance Attribute Details
#s3_url ⇒ String
Returns Optional stream+s3:// reference to test access against.
14 15 16 |
# File 'lib/getstream_ruby/generated/models/check_s3_access_request.rb', line 14 def s3_url @s3_url end |
Class Method Details
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization
23 24 25 26 27 |
# File 'lib/getstream_ruby/generated/models/check_s3_access_request.rb', line 23 def self.json_field_mappings { s3_url: 's3_url' } end |