class AuthUser::SaveOperation

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

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.new(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) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


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

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.new(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) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


Class Method Detail

def self.create(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, &) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.create(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, &) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.create(params : Hash, **named_args, &) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.create!(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) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.create!(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) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.create!(params : Hash, **named_args) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.update(record : T, with 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, &) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.update(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, &) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.update(record : T, params : Hash, **named_args, &) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.update!(record : T, with 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) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.update!(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) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.update!(record : T, params : Hash, **named_args) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


Macro Detail

macro param_key(key) #

Instance Method Detail

def attributes #

def date_joined #

def date_joined=(_value) #

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 password #

def password=(_value) #

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

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

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


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