Class: CldProvisioning::Models::Shared::PrincipalRolesInspectResponse

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(data: nil, next_cursor: nil) ⇒ PrincipalRolesInspectResponse

Returns a new instance of PrincipalRolesInspectResponse.



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

def initialize(data: nil, next_cursor: nil)
  @data = data
  @next_cursor = next_cursor
end

Instance Method Details

#==(other) ⇒ Object



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

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