class TranscompileTask::DeleteOperation

Direct Known Subclasses

Defined in:

Constant Summary

ATTRIBUTES = [] of Nil
COLUMN_ATTRIBUTES = [{name: id, type: Int64, nilable: false, autogenerated: true, value: nil, serialized: false}, {name: created_at, type: Time, nilable: false, autogenerated: true, value: nil, serialized: false}, {name: updated_at, type: Time, nilable: false, autogenerated: true, value: nil, serialized: false}, {name: input_code, type: String, nilable: false, autogenerated: false, value: "", serialized: false}, {name: output_code, type: String, nilable: true, autogenerated: false, value: "", serialized: false}, {name: completed, type: Bool, nilable: false, autogenerated: false, value: false, serialized: false}, {name: priority, type: Int32, nilable: false, autogenerated: false, value: 2, serialized: false}, {name: inp_lang, type: String, nilable: false, autogenerated: false, value: "none", serialized: false}, {name: outp_lang, type: String, nilable: false, autogenerated: false, value: "none", serialized: false}] of Nil
OPERATION_NEEDS = [] of Nil

Constructors

Class Method Summary

Instance Method Summary

Macro Summary

Constructor Detail

def self.new(record : T, params : Avram::Paramable, id : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, input_code : String | Avram::Nothing = Avram::Nothing.new, output_code : String | Avram::Nothing | Nil = Avram::Nothing.new, completed : Bool | Avram::Nothing = Avram::Nothing.new, priority : Int32 | Avram::Nothing = Avram::Nothing.new, inp_lang : String | Avram::Nothing = Avram::Nothing.new, outp_lang : String | Avram::Nothing = Avram::Nothing.new) #

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 : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, input_code : String | Avram::Nothing = Avram::Nothing.new, output_code : String | Avram::Nothing | Nil = Avram::Nothing.new, completed : Bool | Avram::Nothing = Avram::Nothing.new, priority : Int32 | Avram::Nothing = Avram::Nothing.new, inp_lang : String | Avram::Nothing = Avram::Nothing.new, outp_lang : String | Avram::Nothing = Avram::Nothing.new) #

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 : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, input_code : String | Avram::Nothing = Avram::Nothing.new, output_code : String | Avram::Nothing | Nil = Avram::Nothing.new, completed : Bool | Avram::Nothing = Avram::Nothing.new, priority : Int32 | Avram::Nothing = Avram::Nothing.new, inp_lang : String | Avram::Nothing = Avram::Nothing.new, outp_lang : String | Avram::Nothing = Avram::Nothing.new, &) #

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 : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, input_code : String | Avram::Nothing = Avram::Nothing.new, output_code : String | Avram::Nothing | Nil = Avram::Nothing.new, completed : Bool | Avram::Nothing = Avram::Nothing.new, priority : Int32 | Avram::Nothing = Avram::Nothing.new, inp_lang : String | Avram::Nothing = Avram::Nothing.new, outp_lang : String | Avram::Nothing = Avram::Nothing.new, &) #

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 : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, input_code : String | Avram::Nothing = Avram::Nothing.new, output_code : String | Avram::Nothing | Nil = Avram::Nothing.new, completed : Bool | Avram::Nothing = Avram::Nothing.new, priority : Int32 | Avram::Nothing = Avram::Nothing.new, inp_lang : String | Avram::Nothing = Avram::Nothing.new, outp_lang : String | Avram::Nothing = Avram::Nothing.new) #

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 : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, input_code : String | Avram::Nothing = Avram::Nothing.new, output_code : String | Avram::Nothing | Nil = Avram::Nothing.new, completed : Bool | Avram::Nothing = Avram::Nothing.new, priority : Int32 | Avram::Nothing = Avram::Nothing.new, inp_lang : String | Avram::Nothing = Avram::Nothing.new, outp_lang : String | Avram::Nothing = Avram::Nothing.new) #

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.


Instance Method Detail

def attributes #

def completed #

def completed=(_value) #

def created_at #

def created_at=(_value) #

def delete_status : OperationStatus #

def delete_status=(delete_status : OperationStatus) #

def id #

def id=(_value) #

def inp_lang #

def inp_lang=(_value) #

def input_code #

def input_code=(_value) #

def outp_lang #

def outp_lang=(_value) #

def output_code #

def output_code=(_value) #

def params : Avram::Paramable #

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

def priority #

def priority=(_value) #

def record : TranscompileTask #

def required_attributes #

def set_attributes(id : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, input_code : String | Avram::Nothing = Avram::Nothing.new, output_code : String | Avram::Nothing | Nil = Avram::Nothing.new, completed : Bool | Avram::Nothing = Avram::Nothing.new, priority : Int32 | Avram::Nothing = Avram::Nothing.new, inp_lang : String | Avram::Nothing = Avram::Nothing.new, outp_lang : String | Avram::Nothing = Avram::Nothing.new) #

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


def set_completed_from_param(_value) #

def set_created_at_from_param(_value) #

def set_id_from_param(_value) #

def set_inp_lang_from_param(_value) #

def set_input_code_from_param(_value) #

def set_outp_lang_from_param(_value) #

def set_output_code_from_param(_value) #

def set_priority_from_param(_value) #

def set_updated_at_from_param(_value) #

def updated_at #

def updated_at=(_value) #

Macro Detail

macro param_key(key) #