Class: StackOne::Models::Shared::IamGroupInput

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(child_group_ids: nil, created_at: nil, description: nil, id: nil, name: nil, organization_id: nil, parent_id: nil, remote_id: nil, remote_parent_id: nil, roles: nil, type: nil, updated_at: nil, users: nil) ⇒ IamGroupInput

Returns a new instance of IamGroupInput.



43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# File 'lib/stack_one/models/shared/iamgroup_input.rb', line 43

def initialize(child_group_ids: nil, created_at: nil, description: nil, id: nil, name: nil, organization_id: nil, parent_id: nil, remote_id: nil, remote_parent_id: nil, roles: nil, type: nil, updated_at: nil, users: nil)
  @child_group_ids = child_group_ids
  @created_at = created_at
  @description = description
  @id = id
  @name = name
  @organization_id = organization_id
  @parent_id = parent_id
  @remote_id = remote_id
  @remote_parent_id = remote_parent_id
  @roles = roles
  @type = type
  @updated_at = updated_at
  @users = users
end

Instance Method Details

#==(other) ⇒ Object



60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# File 'lib/stack_one/models/shared/iamgroup_input.rb', line 60

def ==(other)
  return false unless other.is_a? self.class
  return false unless @child_group_ids == other.child_group_ids
  return false unless @created_at == other.created_at
  return false unless @description == other.description
  return false unless @id == other.id
  return false unless @name == other.name
  return false unless @organization_id == other.organization_id
  return false unless @parent_id == other.parent_id
  return false unless @remote_id == other.remote_id
  return false unless @remote_parent_id == other.remote_parent_id
  return false unless @roles == other.roles
  return false unless @type == other.type
  return false unless @updated_at == other.updated_at
  return false unless @users == other.users
  true
end