Class: Dhis2::Api::Version224::DataValueSet

Inherits:
Base
  • Object
show all
Includes:
Creatable, Listable, Shared::DataValueSet, SaveValidator
Defined in:
lib/dhis2/api/version224/data_value_set.rb

Constant Summary collapse

Schema =
Dry::Validation.Schema do
  required(:data_values).each do
    schema do
      required(:value).filled
      required(:period).filled
      required(:org_unit).filled
      required(:data_element).filled
    end
  end
end

Method Summary

Methods included from Shared::DataValueSet

included

Methods included from SaveValidator

included

Methods included from Listable

included

Methods included from Creatable

included

Methods inherited from Base

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

Constructor Details

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