class Cisco::DNASpaces::Location

Included Modules

Extended Modules

Defined in:

cisco/dna_spaces/location.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def descriptions(mappings = {} of String => String) #

Maps location_ids to location names


[View source]
def details(mappings = {} of String => String) #

Maps tag names to location_ids


[View source]
def location_id : String #

[View source]
def name : String #

[View source]
def parent : Location | Nil #

[View source]
def tags : Array(String) #

TODO : this might be better as an enum if there are only limited types


[View source]