class Character::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: slug, type: String, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: name, type: String, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: description, type: String, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: avatar_id, type: String, nilable: true, autogenerated: false, value: nil, serialized: false}, {name: greeting, type: String, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: persona, type: String, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: world_scenario, type: String, nilable: true, autogenerated: false, value: nil, serialized: false}, {name: example_chats, type: String, nilable: true, autogenerated: false, value: nil, serialized: false}, {name: visibility, type: String, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: is_contentious, type: Bool, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: creator_id, type: User::PrimaryKeyType, nilable: false, autogenerated: false, value: nil, 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, slug : String | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, description : String | Avram::Nothing = Avram::Nothing.new, avatar_id : String | Avram::Nothing | Nil = Avram::Nothing.new, greeting : String | Avram::Nothing = Avram::Nothing.new, persona : String | Avram::Nothing = Avram::Nothing.new, world_scenario : String | Avram::Nothing | Nil = Avram::Nothing.new, example_chats : String | Avram::Nothing | Nil = Avram::Nothing.new, visibility : String | Avram::Nothing = Avram::Nothing.new, is_contentious : Bool | Avram::Nothing = Avram::Nothing.new, creator_id : User::PrimaryKeyType | 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, slug : String | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, description : String | Avram::Nothing = Avram::Nothing.new, avatar_id : String | Avram::Nothing | Nil = Avram::Nothing.new, greeting : String | Avram::Nothing = Avram::Nothing.new, persona : String | Avram::Nothing = Avram::Nothing.new, world_scenario : String | Avram::Nothing | Nil = Avram::Nothing.new, example_chats : String | Avram::Nothing | Nil = Avram::Nothing.new, visibility : String | Avram::Nothing = Avram::Nothing.new, is_contentious : Bool | Avram::Nothing = Avram::Nothing.new, creator_id : User::PrimaryKeyType | 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, slug : String | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, description : String | Avram::Nothing = Avram::Nothing.new, avatar_id : String | Avram::Nothing | Nil = Avram::Nothing.new, greeting : String | Avram::Nothing = Avram::Nothing.new, persona : String | Avram::Nothing = Avram::Nothing.new, world_scenario : String | Avram::Nothing | Nil = Avram::Nothing.new, example_chats : String | Avram::Nothing | Nil = Avram::Nothing.new, visibility : String | Avram::Nothing = Avram::Nothing.new, is_contentious : Bool | Avram::Nothing = Avram::Nothing.new, creator_id : User::PrimaryKeyType | 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, slug : String | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, description : String | Avram::Nothing = Avram::Nothing.new, avatar_id : String | Avram::Nothing | Nil = Avram::Nothing.new, greeting : String | Avram::Nothing = Avram::Nothing.new, persona : String | Avram::Nothing = Avram::Nothing.new, world_scenario : String | Avram::Nothing | Nil = Avram::Nothing.new, example_chats : String | Avram::Nothing | Nil = Avram::Nothing.new, visibility : String | Avram::Nothing = Avram::Nothing.new, is_contentious : Bool | Avram::Nothing = Avram::Nothing.new, creator_id : User::PrimaryKeyType | 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, slug : String | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, description : String | Avram::Nothing = Avram::Nothing.new, avatar_id : String | Avram::Nothing | Nil = Avram::Nothing.new, greeting : String | Avram::Nothing = Avram::Nothing.new, persona : String | Avram::Nothing = Avram::Nothing.new, world_scenario : String | Avram::Nothing | Nil = Avram::Nothing.new, example_chats : String | Avram::Nothing | Nil = Avram::Nothing.new, visibility : String | Avram::Nothing = Avram::Nothing.new, is_contentious : Bool | Avram::Nothing = Avram::Nothing.new, creator_id : User::PrimaryKeyType | 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, slug : String | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, description : String | Avram::Nothing = Avram::Nothing.new, avatar_id : String | Avram::Nothing | Nil = Avram::Nothing.new, greeting : String | Avram::Nothing = Avram::Nothing.new, persona : String | Avram::Nothing = Avram::Nothing.new, world_scenario : String | Avram::Nothing | Nil = Avram::Nothing.new, example_chats : String | Avram::Nothing | Nil = Avram::Nothing.new, visibility : String | Avram::Nothing = Avram::Nothing.new, is_contentious : Bool | Avram::Nothing = Avram::Nothing.new, creator_id : User::PrimaryKeyType | 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 avatar_id #

def avatar_id=(_value) #

def created_at #

def created_at=(_value) #

def creator_id #

def creator_id=(_value) #

def delete_status : OperationStatus #

def delete_status=(delete_status : OperationStatus) #

def description #

def description=(_value) #

def example_chats #

def example_chats=(_value) #

def greeting #

def greeting=(_value) #

def id #

def id=(_value) #

def is_contentious #

def is_contentious=(_value) #

def name #

def name=(_value) #

def params : Avram::Paramable #

def permitted_params #

def persona #

def persona=(_value) #

def record : Character #

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, slug : String | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, description : String | Avram::Nothing = Avram::Nothing.new, avatar_id : String | Avram::Nothing | Nil = Avram::Nothing.new, greeting : String | Avram::Nothing = Avram::Nothing.new, persona : String | Avram::Nothing = Avram::Nothing.new, world_scenario : String | Avram::Nothing | Nil = Avram::Nothing.new, example_chats : String | Avram::Nothing | Nil = Avram::Nothing.new, visibility : String | Avram::Nothing = Avram::Nothing.new, is_contentious : Bool | Avram::Nothing = Avram::Nothing.new, creator_id : User::PrimaryKeyType | 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_avatar_id_from_param(_value) #

def set_created_at_from_param(_value) #

def set_creator_id_from_param(_value) #

def set_description_from_param(_value) #

def set_example_chats_from_param(_value) #

def set_greeting_from_param(_value) #

def set_id_from_param(_value) #

def set_is_contentious_from_param(_value) #

def set_name_from_param(_value) #

def set_persona_from_param(_value) #

def set_slug_from_param(_value) #

def set_updated_at_from_param(_value) #

def set_visibility_from_param(_value) #

def set_world_scenario_from_param(_value) #

def slug #

def slug=(_value) #

def updated_at #

def updated_at=(_value) #

def visibility #

def visibility=(_value) #

def world_scenario #

def world_scenario=(_value) #

Macro Detail

macro param_key(key) #