class DeleteAuthUser

Overview

ユーザーの削除オペレーション

Defined in:

operations/delete_auth_user.cr

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}, {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

Instance methods inherited from class AuthUser::DeleteOperation

attributes attributes, date_joined date_joined, date_joined=(_value) date_joined=, delete_status : OperationStatus delete_status, delete_status=(delete_status : OperationStatus) delete_status=, email email, email=(_value) email=, first_name first_name, first_name=(_value) first_name=, id id, id=(_value) id=, is_active is_active, is_active=(_value) is_active=, is_staff is_staff, is_staff=(_value) is_staff=, is_superuser is_superuser, is_superuser=(_value) is_superuser=, last_login last_login, last_login=(_value) last_login=, last_name last_name, last_name=(_value) last_name=, params : Avram::Paramable params, password password, password=(_value) password=, permitted_params : Hash(String, Array(String) | String) permitted_params, record : AuthUser record, required_attributes required_attributes, 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) set_attributes, set_date_joined_from_param(_value) set_date_joined_from_param, set_email_from_param(_value) set_email_from_param, set_first_name_from_param(_value) set_first_name_from_param, set_id_from_param(_value) set_id_from_param, set_is_active_from_param(_value) set_is_active_from_param, set_is_staff_from_param(_value) set_is_staff_from_param, set_is_superuser_from_param(_value) set_is_superuser_from_param, set_last_login_from_param(_value) set_last_login_from_param, set_last_name_from_param(_value) set_last_name_from_param, set_password_from_param(_value) set_password_from_param, set_username_from_param(_value) set_username_from_param, username username, username=(_value) username=

Constructor methods inherited from class AuthUser::DeleteOperation

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

Class methods inherited from class AuthUser::DeleteOperation

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, &)
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, &)
delete(record : T, params : Hash, **named_args, &)
delete
, 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)
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)
delete!(record : T, params : Hash, **named_args)
delete!

Macros inherited from class AuthUser::DeleteOperation

param_key(key) param_key

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 delete_status : OperationStatus #

ユーザーの削除オペレーション


def delete_status=(delete_status : OperationStatus) #

ユーザーの削除オペレーション


def params : Avram::Paramable #

ユーザーの削除オペレーション


def record : AuthUser #

ユーザーの削除オペレーション


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.