class BearerLogin::DeleteOperation
- BearerLogin::DeleteOperation
- Avram::DeleteOperation(BearerLogin)
- Reference
- Object
Defined in:
Constant Summary
-
ATTRIBUTES =
[] of Nil
-
COLUMN_ATTRIBUTES =
[{name: user_id, type: User::PrimaryKeyType, nilable: false, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: active_at, type: Time, nilable: false, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: inactive_at, type: Time, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: name, type: String, nilable: false, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: scopes, type: Array(String), nilable: false, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: token_digest, type: String, nilable: false, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: id, type: Int64, nilable: false, autogenerated: true, value: nil, serialized: false, allow_blank: false}] of Nil
-
OPERATION_NEEDS =
[] of Nil
Constructors
-
.new(record : T, params : Avram::Paramable, user_id : User::PrimaryKeyType | Avram::Nothing = IGNORE, active_at : Time | Avram::Nothing = IGNORE, inactive_at : Time | Avram::Nothing | Nil = IGNORE, name : String | Avram::Nothing = IGNORE, scopes : Array(String) | Avram::Nothing = IGNORE, token_digest : String | Avram::Nothing = IGNORE, id : Int64 | Avram::Nothing = IGNORE)
This is called at the end so @type will be of the subclass, and not the parent abstract class.
-
.new(record : T, user_id : User::PrimaryKeyType | Avram::Nothing = IGNORE, active_at : Time | Avram::Nothing = IGNORE, inactive_at : Time | Avram::Nothing | Nil = IGNORE, name : String | Avram::Nothing = IGNORE, scopes : Array(String) | Avram::Nothing = IGNORE, token_digest : String | Avram::Nothing = IGNORE, id : Int64 | Avram::Nothing = IGNORE)
This is called at the end so @type will be of the subclass, and not the parent abstract class.
Class Method Summary
-
.delete(record : T, params, user_id : User::PrimaryKeyType | Avram::Nothing = IGNORE, active_at : Time | Avram::Nothing = IGNORE, inactive_at : Time | Avram::Nothing | Nil = IGNORE, name : String | Avram::Nothing = IGNORE, scopes : Array(String) | Avram::Nothing = IGNORE, token_digest : String | Avram::Nothing = IGNORE, id : Int64 | Avram::Nothing = IGNORE, &)
This is called at the end so @type will be of the subclass, and not the parent abstract class.
-
.delete(record : T, user_id : User::PrimaryKeyType | Avram::Nothing = IGNORE, active_at : Time | Avram::Nothing = IGNORE, inactive_at : Time | Avram::Nothing | Nil = IGNORE, name : String | Avram::Nothing = IGNORE, scopes : Array(String) | Avram::Nothing = IGNORE, token_digest : String | Avram::Nothing = IGNORE, id : Int64 | Avram::Nothing = IGNORE, &)
This is called at the end so @type will be of the subclass, and not the parent abstract class.
-
.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.
-
.delete!(record : T, params, user_id : User::PrimaryKeyType | Avram::Nothing = IGNORE, active_at : Time | Avram::Nothing = IGNORE, inactive_at : Time | Avram::Nothing | Nil = IGNORE, name : String | Avram::Nothing = IGNORE, scopes : Array(String) | Avram::Nothing = IGNORE, token_digest : String | Avram::Nothing = IGNORE, id : Int64 | Avram::Nothing = IGNORE)
This is called at the end so @type will be of the subclass, and not the parent abstract class.
-
.delete!(record : T, user_id : User::PrimaryKeyType | Avram::Nothing = IGNORE, active_at : Time | Avram::Nothing = IGNORE, inactive_at : Time | Avram::Nothing | Nil = IGNORE, name : String | Avram::Nothing = IGNORE, scopes : Array(String) | Avram::Nothing = IGNORE, token_digest : String | Avram::Nothing = IGNORE, id : Int64 | Avram::Nothing = IGNORE)
This is called at the end so @type will be of the subclass, and not the parent abstract class.
-
.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 Summary
Instance Method Summary
- #active_at
- #active_at=(_value)
- #attributes
- #delete_status : OperationStatus
- #delete_status=(delete_status : OperationStatus)
- #id
- #id=(_value)
- #inactive_at
- #inactive_at=(_value)
- #name
- #name=(_value)
- #params : Avram::Paramable
- #permitted_params : Hash(String, Array(String) | String)
- #record : BearerLogin
- #required_attributes
- #scopes
- #scopes=(_value)
- #set_active_at_from_param(_value)
-
#set_attributes(user_id : User::PrimaryKeyType | Avram::Nothing = IGNORE, active_at : Time | Avram::Nothing = IGNORE, inactive_at : Time | Avram::Nothing | Nil = IGNORE, name : String | Avram::Nothing = IGNORE, scopes : Array(String) | Avram::Nothing = IGNORE, token_digest : String | Avram::Nothing = IGNORE, id : Int64 | Avram::Nothing = IGNORE)
This is called at the end so @type will be of the subclass, and not the parent abstract class.
- #set_id_from_param(_value)
- #set_inactive_at_from_param(_value)
- #set_name_from_param(_value)
- #set_scopes_from_param(_value : Array(String))
- #set_token_digest_from_param(_value)
- #set_user_id_from_param(_value)
- #token_digest
- #token_digest=(_value)
- #user_id
- #user_id=(_value)
Constructor Detail
This is called at the end so @type will be of the subclass, and not the parent abstract class.
This is called at the end so @type will be of the subclass, and not the parent abstract class.
Class Method Detail
This is called at the end so @type will be of the subclass, and not the parent abstract class.
This is called at the end so @type will be of the subclass, and not the parent abstract class.
This is called at the end so @type will be of the subclass, and not the parent abstract class.
This is called at the end so @type will be of the subclass, and not the parent abstract class.
This is called at the end so @type will be of the subclass, and not the parent abstract class.
This is called at the end so @type will be of the subclass, and not the parent abstract class.
Macro Detail
Instance Method Detail
This is called at the end so @type will be of the subclass, and not the parent abstract class.