Class: Kombo::Models::Shared::GetAssessmentPackagesPositiveResponsePackage

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(id:, name:, description:, updated_at: nil, type: nil) ⇒ GetAssessmentPackagesPositiveResponsePackage

Returns a new instance of GetAssessmentPackagesPositiveResponsePackage.



28
29
30
31
32
33
34
# File 'lib/kombo/models/shared/getassessmentpackagespositiveresponse_package.rb', line 28

def initialize(id:, name:, description:, updated_at: nil, type: nil)
  @id = id
  @name = name
  @description = description
  @updated_at = updated_at
  @type = type
end

Instance Method Details

#==(other) ⇒ Object



37
38
39
40
41
42
43
44
45
# File 'lib/kombo/models/shared/getassessmentpackagespositiveresponse_package.rb', line 37

def ==(other)
  return false unless other.is_a? self.class
  return false unless @id == other.id
  return false unless @name == other.name
  return false unless @description == other.description
  return false unless @updated_at == other.updated_at
  return false unless @type == other.type
  true
end