class Paper::SaveOperation
- Paper::SaveOperation
- Avram::SaveOperation(Paper)
- Reference
- Object
Direct Known Subclasses
Defined in:
Constant Summary
-
ATTRIBUTES =
[] of Nil
-
COLUMN_ATTRIBUTES =
[{name: id, type: UUID, nilable: false, autogenerated: true, value: nil, serialized: false}, {name: created_at, type: Time, nilable: false, autogenerated: true, value: nil, serialized: false}, {name: updated_at, type: Time, nilable: false, autogenerated: true, value: nil, serialized: false}, {name: name, type: String, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: summary, type: String, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: published_year, type: Int32, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: published_month, type: Int32, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: published_day, type: Int32, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: recorded_species, type: Array(String), nilable: false, autogenerated: false, value: [] of String, serialized: false}, {name: used_specimens, type: Array(String), nilable: false, autogenerated: false, value: [] of String, serialized: false}, {name: links, type: Array(String), nilable: false, autogenerated: false, value: [] of String, serialized: false}] of Nil
-
OPERATION_NEEDS =
[] of Nil
Constructors
-
.new(record : T, params : Avram::Paramable, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = Avram::Nothing.new)
@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 : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = Avram::Nothing.new)
@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 : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = Avram::Nothing.new)
@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 : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = Avram::Nothing.new)
@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 : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = Avram::Nothing.new, &)
@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 : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = Avram::Nothing.new, &)
@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 : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = Avram::Nothing.new)
@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 : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = Avram::Nothing.new)
@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 : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = Avram::Nothing.new, &)
@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 : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = Avram::Nothing.new, &)
@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 : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = Avram::Nothing.new)
@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 : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = Avram::Nothing.new)
@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.
Instance Method Summary
- #attributes
- #created_at
- #created_at=(_value)
- #id
- #id=(_value)
- #links
- #links=(_value)
- #name
- #name=(_value)
- #permitted_params
- #published_day
- #published_day=(_value)
- #published_month
- #published_month=(_value)
- #published_year
- #published_year=(_value)
- #recorded_species
- #recorded_species=(_value)
- #required_attributes
-
#set_attributes(id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = Avram::Nothing.new)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
- #set_created_at_from_param(_value)
- #set_id_from_param(_value)
- #set_links_from_param(_value : Array(String))
- #set_name_from_param(_value)
- #set_published_day_from_param(_value)
- #set_published_month_from_param(_value)
- #set_published_year_from_param(_value)
- #set_recorded_species_from_param(_value : Array(String))
- #set_summary_from_param(_value)
- #set_updated_at_from_param(_value)
- #set_used_specimens_from_param(_value : Array(String))
- #summary
- #summary=(_value)
- #updated_at
- #updated_at=(_value)
- #used_specimens
- #used_specimens=(_value)
Macro Summary
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
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