Class: CldProvisioning::Models::Shared::UserGroupRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(name: nil, extended_details: nil) ⇒ UserGroupRequest

Returns a new instance of UserGroupRequest.



31
32
33
34
# File 'lib/cld_provisioning/models/shared/usergrouprequest.rb', line 31

def initialize(name: nil, extended_details: nil)
  @name = name
  @extended_details = extended_details
end

Instance Method Details

#==(other) ⇒ Object



37
38
39
40
41
42
# File 'lib/cld_provisioning/models/shared/usergrouprequest.rb', line 37

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