class AuthUser::SaveOperation
- AuthUser::SaveOperation
- Avram::SaveOperation(AuthUser)
- Reference
- Object
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
-
.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.
-
.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.
-
.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.
-
.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.
Class Method Summary
-
.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.
-
.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.
-
.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.
-
.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.
-
.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.
-
.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.
-
.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.
-
.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.
-
.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.
-
.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.
-
.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.
-
.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.
Macro Summary
Instance Method Summary
- #attributes
- #date_joined
- #date_joined=(_value)
- #email=(_value)
- #first_name
- #first_name=(_value)
- #id
- #id=(_value)
- #is_active
- #is_active=(_value)
- #is_staff
- #is_staff=(_value)
- #is_superuser
- #is_superuser=(_value)
- #last_login
- #last_login=(_value)
- #last_name
- #last_name=(_value)
- #password
- #password=(_value)
- #permitted_params : Hash(String, Array(String) | String)
- #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)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
- #set_date_joined_from_param(_value)
- #set_email_from_param(_value)
- #set_first_name_from_param(_value)
- #set_id_from_param(_value)
- #set_is_active_from_param(_value)
- #set_is_staff_from_param(_value)
- #set_is_superuser_from_param(_value)
- #set_last_login_from_param(_value)
- #set_last_name_from_param(_value)
- #set_password_from_param(_value)
- #set_username_from_param(_value)
- #username
- #username=(_value)
Constructor Detail
@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
@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
@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
@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
@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
@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
@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
@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
@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
@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
@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
@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
@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
@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
@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
@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
Instance Method Detail
@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