isogeo_pysdk.models.feature_attributes module

Isogeo API v1 - Model of FeatureAttributes entity

See: http://help.isogeo.com/api/complete/index.html

class isogeo_pysdk.models.feature_attributes.FeatureAttribute(_id: str = None, alias: str = None, dataType: str = None, description: str = None, language: str = None, name: str = None, parent_resource: str = None)[source]

Bases: object

FeatureAttributes are entities included as subresource into metadata.

Example:
{
    "_id": string (uuid),
    "alias": string,
    "dataType": string,
    "description": string,
    "language": string
    "name": string,
}
alias

Gets the alias of this FeatureAttribute.

Returns:The alias of this FeatureAttribute.
Return type:str
attr_crea = {'alias': <class 'str'>, 'dataType': <class 'str'>, 'description': <class 'str'>, 'language': <class 'str'>, 'name': <class 'str'>}
attr_map = {}
attr_types = {'_id': <class 'str'>, 'alias': <class 'str'>, 'dataType': <class 'str'>, 'description': <class 'str'>, 'language': <class 'str'>, 'name': <class 'str'>, 'parent_resource': <class 'str'>}
dataType

Gets the dataType of this FeatureAttribute.

Returns:The dataType of this FeatureAttribute.
Return type:str
description

Gets the description of this FeatureAttribute.

Returns:The description of this FeatureAttribute.
Return type:str
language

Gets the language of this FeatureAttribute.

Returns:The language of this FeatureAttribute.
Return type:str
name

Gets the name of this FeatureAttribute.

Returns:The name of this FeatureAttribute.
Return type:str
to_dict() → dict[source]

Returns the model properties as a dict

to_dict_creation() → dict[source]

Returns the model properties as a dict structured for creation purpose (POST)

to_str() → str[source]

Returns the string representation of the model