class CollectPointsTour::DeleteOperation

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) #

This is called at the end so @type will be of the subclass, and not the parent abstract class.


def self.new(record : T, id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing = IGNORE) #

This is called at the end so @type will be of the subclass, and not the parent abstract class.


Class Method Detail

def self.delete(record : T, params, id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing = IGNORE, &) #

This is called at the end so @type will be of the subclass, and not the parent abstract class.


def self.delete(record : T, id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing = IGNORE, &) #

This is called at the end so @type will be of the subclass, and not the parent abstract class.


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

This is called at the end so @type will be of the subclass, and not the parent abstract class.


def self.delete!(record : T, params, id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing = IGNORE) #

This is called at the end so @type will be of the subclass, and not the parent abstract class.


def self.delete!(record : T, id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing = IGNORE) #

This is called at the end so @type will be of the subclass, and not the parent abstract class.


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

This is called at the end so @type will be of the subclass, and not the parent abstract class.


Macro Detail

macro param_key(key) #

Instance Method Detail

def attributes #

def collectpoint_id #

def collectpoint_id=(_value) #

def delete_status : OperationStatus #

def delete_status=(delete_status : OperationStatus) #

def id #

def id=(_value) #

def params : Avram::Paramable #

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

def record : CollectPointsTour #

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) #

This is called at the end so @type will be of the subclass, and not the parent abstract class.


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) #