Srcom::Variable
Inherits JSON::Serializable / Struct / Value / Object
Has shorthand methods to getting the resources that the Links in #links point to.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
category
Sourcecategory=(category : String | Nil)
Sourcefull_category
Returns the full Category this Variable belongs to, unless it belongs to all categories.
id
Sourceid=(id : String)
Sourceis_subcategory
Sourceis_subcategory=(is_subcategory : Bool)
Sourcelinks
Sourcelinks=(links : Array(Link))
Sourcemandatory
Sourcemandatory=(mandatory : Bool)
Sourcename
Sourcename=(name : String)
Sourceobsoletes
Sourceobsoletes=(obsoletes : Bool)
Sourcescope=(scope : Variable::Scope)
Sourceuser_defined
Sourceuser_defined=(user_defined : Bool)
Sourcevalues
Sourcevalues=(values : Variable::Values)
Source