Class: NgrokAPI::Models::EventTargetFirehose
- Inherits:
-
Object
- Object
- NgrokAPI::Models::EventTargetFirehose
- Defined in:
- lib/ngrokapi/models/event_target_firehose.rb
Instance Attribute Summary collapse
-
#auth ⇒ Object
readonly
Returns the value of attribute auth.
-
#client ⇒ Object
readonly
Returns the value of attribute client.
-
#delivery_stream_arn ⇒ Object
readonly
Returns the value of attribute delivery_stream_arn.
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(client:, result:) ⇒ EventTargetFirehose
constructor
A new instance of EventTargetFirehose.
- #to_s ⇒ Object
Constructor Details
#initialize(client:, result:) ⇒ EventTargetFirehose
Returns a new instance of EventTargetFirehose.
11 12 13 14 15 16 |
# File 'lib/ngrokapi/models/event_target_firehose.rb', line 11 def initialize(client:, result:) @client = client @result = result @auth = @result['auth'] @delivery_stream_arn = @result['delivery_stream_arn'] end |
Instance Attribute Details
#auth ⇒ Object (readonly)
Returns the value of attribute auth.
6 7 8 |
# File 'lib/ngrokapi/models/event_target_firehose.rb', line 6 def auth @auth end |
#client ⇒ Object (readonly)
Returns the value of attribute client.
6 7 8 |
# File 'lib/ngrokapi/models/event_target_firehose.rb', line 6 def client @client end |
#delivery_stream_arn ⇒ Object (readonly)
Returns the value of attribute delivery_stream_arn.
6 7 8 |
# File 'lib/ngrokapi/models/event_target_firehose.rb', line 6 def delivery_stream_arn @delivery_stream_arn end |
#result ⇒ Object (readonly)
Returns the value of attribute result.
6 7 8 |
# File 'lib/ngrokapi/models/event_target_firehose.rb', line 6 def result @result end |
Instance Method Details
#==(other) ⇒ Object
18 19 20 |
# File 'lib/ngrokapi/models/event_target_firehose.rb', line 18 def ==(other) @result == other.result end |
#to_s ⇒ Object
22 23 24 |
# File 'lib/ngrokapi/models/event_target_firehose.rb', line 22 def to_s @result.to_s end |