Class: CldProvisioning::Models::Shared::UserGroupsResponse

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(user_groups: nil) ⇒ UserGroupsResponse

Returns a new instance of UserGroupsResponse.



23
24
25
# File 'lib/cld_provisioning/models/shared/usergroupsresponse.rb', line 23

def initialize(user_groups: nil)
  @user_groups = user_groups
end

Instance Method Details

#==(other) ⇒ Object



28
29
30
31
32
# File 'lib/cld_provisioning/models/shared/usergroupsresponse.rb', line 28

def ==(other)
  return false unless other.is_a?(self.class)
  return false unless @user_groups == other.user_groups
  true
end