class Tour::DeleteOperation

Direct Known Subclasses

Defined in:

Constant Summary

ATTRIBUTES = [] of Nil
COLUMN_ATTRIBUTES = [{name: id, type: UUID, nilable: false, autogenerated: true, value: nil, serialized: false, allow_blank: false}, {name: created_at, type: Time, nilable: false, autogenerated: true, value: nil, serialized: false, allow_blank: false}, {name: title, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: start_date, type: Time, nilable: false, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: end_date, type: Time, nilable: false, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: note, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: image1, type: String, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: image2, type: String, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: image3, type: String, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: image4, type: String, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: image5, type: String, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: user_id, type: Int32, nilable: true, 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 : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, title : String | Avram::Nothing = IGNORE, start_date : Time | Avram::Nothing = IGNORE, end_date : Time | Avram::Nothing = IGNORE, note : String | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE, user_id : Int32 | Avram::Nothing | Nil = 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 : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, title : String | Avram::Nothing = IGNORE, start_date : Time | Avram::Nothing = IGNORE, end_date : Time | Avram::Nothing = IGNORE, note : String | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE, user_id : Int32 | Avram::Nothing | Nil = 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 : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, title : String | Avram::Nothing = IGNORE, start_date : Time | Avram::Nothing = IGNORE, end_date : Time | Avram::Nothing = IGNORE, note : String | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE, user_id : Int32 | Avram::Nothing | Nil = 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 : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, title : String | Avram::Nothing = IGNORE, start_date : Time | Avram::Nothing = IGNORE, end_date : Time | Avram::Nothing = IGNORE, note : String | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE, user_id : Int32 | Avram::Nothing | Nil = 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 : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, title : String | Avram::Nothing = IGNORE, start_date : Time | Avram::Nothing = IGNORE, end_date : Time | Avram::Nothing = IGNORE, note : String | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE, user_id : Int32 | Avram::Nothing | Nil = 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 : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, title : String | Avram::Nothing = IGNORE, start_date : Time | Avram::Nothing = IGNORE, end_date : Time | Avram::Nothing = IGNORE, note : String | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE, user_id : Int32 | Avram::Nothing | Nil = 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 created_at #

def created_at=(_value) #

def delete_status : OperationStatus #

def delete_status=(delete_status : OperationStatus) #

def end_date #

def end_date=(_value) #

def id #

def id=(_value) #

def image1 #

def image1=(_value) #

def image2 #

def image2=(_value) #

def image3 #

def image3=(_value) #

def image4 #

def image4=(_value) #

def image5 #

def image5=(_value) #

def note #

def note=(_value) #

def params : Avram::Paramable #

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

def record : Tour #

def required_attributes #

def set_attributes(id : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, title : String | Avram::Nothing = IGNORE, start_date : Time | Avram::Nothing = IGNORE, end_date : Time | Avram::Nothing = IGNORE, note : String | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE) #

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


def set_created_at_from_param(_value) #

def set_end_date_from_param(_value) #

def set_id_from_param(_value) #

def set_image1_from_param(_value) #

def set_image2_from_param(_value) #

def set_image3_from_param(_value) #

def set_image4_from_param(_value) #

def set_image5_from_param(_value) #

def set_note_from_param(_value) #

def set_start_date_from_param(_value) #

def set_title_from_param(_value) #

def set_user_id_from_param(_value) #

def start_date #

def start_date=(_value) #

def title #

def title=(_value) #

def user_id #

def user_id=(_value) #