Class: StackOne::Models::Operations::IamGetMeRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(x_account_id:, prefer: nil, fields_: nil, proxy: nil, raw: nil) ⇒ IamGetMeRequest

Returns a new instance of IamGetMeRequest.



27
28
29
30
31
32
33
# File 'lib/stack_one/models/operations/iam_get_me_request.rb', line 27

def initialize(x_account_id:, prefer: nil, fields_: nil, proxy: nil, raw: nil)
  @x_account_id = 
  @prefer = prefer
  @fields_ = fields_
  @proxy = proxy
  @raw = raw
end

Instance Method Details

#==(other) ⇒ Object



36
37
38
39
40
41
42
43
44
# File 'lib/stack_one/models/operations/iam_get_me_request.rb', line 36

def ==(other)
  return false unless other.is_a? self.class
  return false unless @x_account_id == other.
  return false unless @prefer == other.prefer
  return false unless @fields_ == other.fields_
  return false unless @proxy == other.proxy
  return false unless @raw == other.raw
  true
end