Package onep :: Package location :: Module location :: Class CustomLocation
[frames] | no frames]

Class CustomLocation


The Cisco Custom location type allows specification of multiple arbitrary name and value pairs, in order to describe a location. While the "Civic" type only allows specific, standardized, attributes such as "city", "road", etc., the Cisco Custom type allows any label and can be thus used to specify "Department", "Camera view direction", etc.

Instance Methods
 
__init__(self, name, value)
x.__init__(...) initializes x; see help(type(x)) for signature
 
value(self)
 
__eq__(self, obj)
 
__str__(self)
str(x)

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, name, value)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
  • name - Name of the Custom location attribute.
  • value - Value associated with Custom attribute name.
Overrides: object.__init__

__str__(self)
(Informal representation operator)

 

str(x)

Overrides: object.__str__
(inherited documentation)