class AuthUser::DeleteOperation

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: password, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: last_login, type: Time, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: is_superuser, type: Bool, nilable: false, autogenerated: false, value: false, serialized: false, allow_blank: false}, {name: username, type: String, nilable: false, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: first_name, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: last_name, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: email, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: is_staff, type: Bool, nilable: false, autogenerated: false, value: false, serialized: false, allow_blank: false}, {name: is_active, type: Bool, nilable: false, autogenerated: false, value: true, serialized: false, allow_blank: false}, {name: date_joined, type: Time, nilable: false, autogenerated: true, 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, password : String | Avram::Nothing = IGNORE, last_login : Time | Avram::Nothing | Nil = IGNORE, is_superuser : Bool | Avram::Nothing = IGNORE, username : String | Avram::Nothing = IGNORE, first_name : String | Avram::Nothing = IGNORE, last_name : String | Avram::Nothing = IGNORE, email : String | Avram::Nothing = IGNORE, is_staff : Bool | Avram::Nothing = IGNORE, is_active : Bool | Avram::Nothing = IGNORE, date_joined : Time | 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, password : String | Avram::Nothing = IGNORE, last_login : Time | Avram::Nothing | Nil = IGNORE, is_superuser : Bool | Avram::Nothing = IGNORE, username : String | Avram::Nothing = IGNORE, first_name : String | Avram::Nothing = IGNORE, last_name : String | Avram::Nothing = IGNORE, email : String | Avram::Nothing = IGNORE, is_staff : Bool | Avram::Nothing = IGNORE, is_active : Bool | Avram::Nothing = IGNORE, date_joined : Time | 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, password : String | Avram::Nothing = IGNORE, last_login : Time | Avram::Nothing | Nil = IGNORE, is_superuser : Bool | Avram::Nothing = IGNORE, username : String | Avram::Nothing = IGNORE, first_name : String | Avram::Nothing = IGNORE, last_name : String | Avram::Nothing = IGNORE, email : String | Avram::Nothing = IGNORE, is_staff : Bool | Avram::Nothing = IGNORE, is_active : Bool | Avram::Nothing = IGNORE, date_joined : Time | 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, password : String | Avram::Nothing = IGNORE, last_login : Time | Avram::Nothing | Nil = IGNORE, is_superuser : Bool | Avram::Nothing = IGNORE, username : String | Avram::Nothing = IGNORE, first_name : String | Avram::Nothing = IGNORE, last_name : String | Avram::Nothing = IGNORE, email : String | Avram::Nothing = IGNORE, is_staff : Bool | Avram::Nothing = IGNORE, is_active : Bool | Avram::Nothing = IGNORE, date_joined : Time | 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, password : String | Avram::Nothing = IGNORE, last_login : Time | Avram::Nothing | Nil = IGNORE, is_superuser : Bool | Avram::Nothing = IGNORE, username : String | Avram::Nothing = IGNORE, first_name : String | Avram::Nothing = IGNORE, last_name : String | Avram::Nothing = IGNORE, email : String | Avram::Nothing = IGNORE, is_staff : Bool | Avram::Nothing = IGNORE, is_active : Bool | Avram::Nothing = IGNORE, date_joined : Time | 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, password : String | Avram::Nothing = IGNORE, last_login : Time | Avram::Nothing | Nil = IGNORE, is_superuser : Bool | Avram::Nothing = IGNORE, username : String | Avram::Nothing = IGNORE, first_name : String | Avram::Nothing = IGNORE, last_name : String | Avram::Nothing = IGNORE, email : String | Avram::Nothing = IGNORE, is_staff : Bool | Avram::Nothing = IGNORE, is_active : Bool | Avram::Nothing = IGNORE, date_joined : Time | 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 date_joined #

def date_joined=(_value) #

def delete_status : OperationStatus #

def delete_status=(delete_status : OperationStatus) #

def email #

def email=(_value) #

def first_name #

def first_name=(_value) #

def id #

def id=(_value) #

def is_active #

def is_active=(_value) #

def is_staff #

def is_staff=(_value) #

def is_superuser #

def is_superuser=(_value) #

def last_login #

def last_login=(_value) #

def last_name #

def last_name=(_value) #

def params : Avram::Paramable #

def password #

def password=(_value) #

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

def record : AuthUser #

def required_attributes #

def set_attributes(id : Int32 | Avram::Nothing = IGNORE, password : String | Avram::Nothing = IGNORE, last_login : Time | Avram::Nothing | Nil = IGNORE, is_superuser : Bool | Avram::Nothing = IGNORE, username : String | Avram::Nothing = IGNORE, first_name : String | Avram::Nothing = IGNORE, last_name : String | Avram::Nothing = IGNORE, email : String | Avram::Nothing = IGNORE, is_staff : Bool | Avram::Nothing = IGNORE, is_active : Bool | Avram::Nothing = IGNORE, date_joined : Time | Avram::Nothing = IGNORE) #

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


def set_date_joined_from_param(_value) #

def set_email_from_param(_value) #

def set_first_name_from_param(_value) #

def set_id_from_param(_value) #

def set_is_active_from_param(_value) #

def set_is_staff_from_param(_value) #

def set_is_superuser_from_param(_value) #

def set_last_login_from_param(_value) #

def set_last_name_from_param(_value) #

def set_password_from_param(_value) #

def set_username_from_param(_value) #

def username #

def username=(_value) #