Class: Auth::Workflow::Tlocation
- Inherits:
-
Object
- Object
- Auth::Workflow::Tlocation
- Includes:
- Mongoid::Document
- Defined in:
- app/models/auth/workflow/tlocation.rb
Instance Method Summary collapse
-
#booked ⇒ Object
whether the slot is booked or free, for assignment.
-
#deletable ⇒ Object
whether the slot is deletable, if true, then it will be deleted by a background job after ānā days.
-
#duration ⇒ Object
the difference between the start time and the end time.
-
#end_time ⇒ Object
the seconds since epoch, after which this entity may not be present at this location.
-
#entity_category ⇒ Object
the category of the entity.
-
#entity_id ⇒ Object
the entity id.
-
#start_time ⇒ Object
the seconds since epoch, after which the entity will be present at the location.
Instance Method Details
#booked ⇒ Object
whether the slot is booked or free, for assignment.
30 |
# File 'app/models/auth/workflow/tlocation.rb', line 30 field :booked, type: Boolean, default: true |
#deletable ⇒ Object
whether the slot is deletable, if true, then it will be deleted by a background job after ānā days.
27 |
# File 'app/models/auth/workflow/tlocation.rb', line 27 field :deletable, type: Boolean, default: false |
#duration ⇒ Object
the difference between the start time and the end time.
24 |
# File 'app/models/auth/workflow/tlocation.rb', line 24 field :duration, type: Integer |
#end_time ⇒ Object
the seconds since epoch, after which this entity may not be present at this location.
21 |
# File 'app/models/auth/workflow/tlocation.rb', line 21 field :end_time, type: Integer |
#entity_category ⇒ Object
the category of the entity.
15 |
# File 'app/models/auth/workflow/tlocation.rb', line 15 field :entity_category, type: String |
#entity_id ⇒ Object
the entity id.
12 |
# File 'app/models/auth/workflow/tlocation.rb', line 12 field :entity_id, type: String |
#start_time ⇒ Object
the seconds since epoch, after which the entity will be present at the location.
18 |
# File 'app/models/auth/workflow/tlocation.rb', line 18 field :start_time, type: Integer |