Class: StackOne::Models::Shared::UnifiedLogsUrl

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/stack_one/models/shared/unifiedlogs_url.rb

Overview

The request URL data

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(hostname: nil, path: nil, query_params: nil, url: nil) ⇒ UnifiedLogsUrl

Returns a new instance of UnifiedLogsUrl.



25
26
27
28
29
30
# File 'lib/stack_one/models/shared/unifiedlogs_url.rb', line 25

def initialize(hostname: nil, path: nil, query_params: nil, url: nil)
  @hostname = hostname
  @path = path
  @query_params = query_params
  @url = url
end

Instance Method Details

#==(other) ⇒ Object



33
34
35
36
37
38
39
40
# File 'lib/stack_one/models/shared/unifiedlogs_url.rb', line 33

def ==(other)
  return false unless other.is_a? self.class
  return false unless @hostname == other.hostname
  return false unless @path == other.path
  return false unless @query_params == other.query_params
  return false unless @url == other.url
  true
end