Class: Dhis2::Api::Version224::CategoryCombo

Inherits:
Base
  • Object
show all
Includes:
BulkCreatable, Creatable, Deletable, Findable, Listable, Shared::CategoryCombo, Updatable, SaveValidator
Defined in:
lib/dhis2/api/version224/category_combo.rb

Constant Summary collapse

Schema =
Dry::Validation.Schema do
  required(:name).filled
  required(:data_dimension_type).value(
    included_in?: ::Dhis2::Api::Version224::Constants.data_dimension_types
  )
end

Method Summary

Methods included from Shared::CategoryCombo

#default, included

Methods included from SaveValidator

included

Methods included from Deletable

#delete

Methods included from Updatable

#update, #update_attributes

Methods included from BulkCreatable

included

Methods included from Creatable

included

Methods included from Findable

included

Methods included from Listable

included

Methods inherited from Base

#==, #initialize, resource_key, resource_name, #to_h

Constructor Details

This class inherits a constructor from Dhis2::Api::Base