Datatypes

Classes para modelar as diferentes estruturas de dados a serem enviadas para o Redmine

source

AtomicField

 AtomicField (name:str, keyword:str, mandatory:bool=True)

source

SimpleField

 SimpleField (id:int, name:str, mandatory:bool=False, multiple:bool=False,
              format_value:bool=False, _dtype:str='string')

source

EncodedString

 EncodedString (id:int, name:str, mandatory:bool=False,
                multiple:bool=False, format_value:bool=False,
                _dtype:str='string')

This class always format the value string The json key is called ‘numero’


source

FieldWithOptions

 FieldWithOptions (id:int, name:str, mandatory:bool=False,
                   multiple:bool=False, format_value:bool=False,
                   _dtype:str='string', options:list[str]=None,
                   mapping:dict[str,list]=None)

source

Coordenadas

 Coordenadas (id:int, name:str, mandatory:bool=False)

source

GerarPlai

 GerarPlai (id:int, name:str, mandatory:bool=False)