class CollectPointsTour::SaveOperation

Direct Known Subclasses

Defined in:

Constant Summary

ATTRIBUTES = [] of Nil
COLUMN_ATTRIBUTES = [{name: id, type: Int32, nilable: false, autogenerated: true, value: nil, serialized: false, allow_blank: false}, {name: collectpoint_id, type: CollectPoint::PrimaryKeyType, nilable: false, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: tour_id, type: Tour::PrimaryKeyType, nilable: false, autogenerated: false, value: nil, 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, id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | 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, id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | 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, id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | 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(id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | 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, id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | 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(id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | 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, id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | 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!(id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | 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, id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | 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, id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | 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, id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | 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, id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | 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 collectpoint_id #

def collectpoint_id=(_value) #

def id #

def id=(_value) #

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

def required_attributes #

def set_attributes(id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | 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_collectpoint_id_from_param(_value) #

def set_id_from_param(_value) #

def set_tour_id_from_param(_value) #

def tour_id #

def tour_id=(_value) #