class DefaultTaxon::SaveOperation

Direct Known Subclasses

Defined in:

Constant Summary

ATTRIBUTES = [] of Nil
COLUMN_ATTRIBUTES = [{name: taxon_ptr_id, type: UUID, nilable: false, autogenerated: true, value: nil, serialized: false, allow_blank: false}, {name: is_private, type: Bool, nilable: false, autogenerated: false, value: false, serialized: false, allow_blank: false}] of Nil
OPERATION_NEEDS = [] of Nil

Constructors

Class Method Summary

Macro Summary

Instance Method Summary

Constructor Detail

def self.new(record : T, params : Avram::Paramable, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.new(params : Avram::Paramable, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.new(record : T, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.new(taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


Class Method Detail

def self.create(params, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE, &) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.create(taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE, &) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.create(params : Hash, **named_args, &) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.create!(params, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.create!(taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.create!(params : Hash, **named_args) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.update(record : T, with params, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE, &) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.update(record : T, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE, &) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.update(record : T, params : Hash, **named_args, &) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.update!(record : T, with params, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.update!(record : T, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.update!(record : T, params : Hash, **named_args) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


Macro Detail

macro param_key(key) #

Instance Method Detail

def attributes #

def is_private #

def is_private=(_value) #

def permitted_params : Hash(String, Array(String) | String) #

def required_attributes #

def set_attributes(taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def set_is_private_from_param(_value) #

def set_taxon_ptr_id_from_param(_value) #

def taxon_ptr_id #

def taxon_ptr_id=(_value) #