isogeo_pysdk.enums.limitation_restrictions module¶
Isogeo API v1 - Enums for Limitation restrictions entity accepted values.
See: http://help.isogeo.com/api/complete/index.html
-
class
isogeo_pysdk.enums.limitation_restrictions.
LimitationRestrictions
¶ Bases:
enum.Enum
Closed list of accepted restrictions for limitations in Isogeo API.
Example: >>> # parse members and values >>> print("{0:<30} {1:>20}".format("Enum", "Value")) >>> for tag in LimitationRestrictions: >>> print("{0:<30} {1:>20}".format(tag, tag.value)) Enum Value LimitationRestrictions.copyright 1 LimitationRestrictions.intellectualPropertyRights 2 LimitationRestrictions.license 3 LimitationRestrictions.other 4 LimitationRestrictions.patent 5 LimitationRestrictions.patentPending 6 LimitationRestrictions.trademark 7
>>> # check if a var is an accepted value >>> print("license" in LimitationRestrictions.__members__) True >>> print("License" in LimitationRestrictions.__members__) # case sensitive False >>> print("other" in LimitationRestrictions.__members__) True
See: https://docs.python.org/3/library/enum.html
-
copyright
= 1¶
-
intellectualPropertyRights
= 2¶
-
license
= 3¶
-
other
= 4¶
-
patent
= 5¶
-
patentPending
= 6¶
-
trademark
= 7¶
-