class

Config::Rule

Inherits JSON::Serializable < Reference < Object

rules の 1 項目。 値を持つ項目だけが defaults を上書きし、nil の項目は defaults を継承する。

Constructors

new(match_app_id : String = "")
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

dynamic_timeout
Source
dynamic_timeout=(dynamic_timeout : DynamicTimeoutOverride | Nil)
Source
icon
Source
icon=(icon : String | Nil)
Source
match_app_id

マッチ条件は v1 では match_app_id のみとする。 ソース追加時に match_source を足せるよう、match_ プレフィックスを予約している(仕様書 5 章)。

Source
match_app_id=(match_app_id : String)

マッチ条件は v1 では match_app_id のみとする。 ソース追加時に match_source を足せるよう、match_ プレフィックスを予約している(仕様書 5 章)。

Source
matches?(app_id : String) : Bool
Source
max_body_length
Source
max_body_length=(max_body_length : Int32 | Nil)
Source
opacity
Source
opacity=(opacity : Float64 | Nil)
Source
resolve(defaults : Defaults) : Resolved
Source
sound
Source
sound=(sound : String | Nil)
Source
timeout
Source
timeout=(timeout : Float64 | Nil)
Source
timeout_mode
Source
timeout_mode=(timeout_mode : TimeoutMode | Nil)
Source
title_template
Source
title_template=(title_template : String | Nil)
Source
volume
Source
volume=(volume : Float64 | Nil)
Source