struct Place::AutoRelease::AutoReleaseConfig
- Place::AutoRelease::AutoReleaseConfig
- Struct
- Value
- Object
Overview
time_before and time_after are in minutes
Included Modules
- JSON::Serializable
Extended Modules
- JSON::Schema
Defined in:
place/auto_release.crConstructors
- .new(time_before : Int64 = 0, time_after : Int64 = 0, resources : Array(String) = [] of String)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #clone
- #copy_with(time_before _time_before = @time_before, time_after _time_after = @time_after, resources _resources = @resources)
- #resources : Array(String)
- #time_after : Int64
- #time_before : Int64
Constructor Detail
def self.new(time_before : Int64 = 0, time_after : Int64 = 0, resources : Array(String) = [] of String)
#
Instance Method Detail
def copy_with(time_before _time_before = @time_before, time_after _time_after = @time_after, resources _resources = @resources)
#