Class: CldProvisioning::Models::Shared::UserGroupsResponse
- Inherits:
-
Object
- Object
- CldProvisioning::Models::Shared::UserGroupsResponse
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/cld_provisioning/models/shared/usergroupsresponse.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(user_groups: nil) ⇒ UserGroupsResponse
constructor
A new instance of UserGroupsResponse.
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 |