Class: CldProvisioning::Models::Shared::UserGroupsListResponse

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(groups: nil) ⇒ UserGroupsListResponse

Returns a new instance of UserGroupsListResponse.



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

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

Instance Method Details

#==(other) ⇒ Object



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

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