class Alert
- Alert
- Marten::DB::Model
- Reference
- Object
Defined in:
models/monit.crConstant Summary
-
FIELDS_ =
{"id" => {type: "big_int", kwargs: {primary_key: true, auto: true}}, "host" => {type: "many_to_one", kwargs: {to: Host}}} of Nil => Nil
Instance Method Summary
- #host : Host | Nil
- #host! : Host
- #host=(related_object : Host | Nil)
- #host?
- #host_id : Marten::DB::Field::ReferenceDBTypes | Nil
- #host_id!
- #host_id=(related_id : Marten::DB::Field::ReferenceDBTypes | Nil)
- #host_id?
- #id : Int32 | Int64 | Nil | Nil
- #id!
- #id=(id : Int32 | Int64 | Nil | Nil)
- #id?