singer_sdk.typing.IntegerType

class singer_sdk.typing.IntegerType[source]

Integer type.

Examples

>>> IntegerType.type_dict
{'type': ['integer']}
>>> IntegerType().type_dict
{'type': ['integer']}
>>> IntegerType(allowed_values=[1, 2]).type_dict
{'type': ['integer'], 'enum': [1, 2]}
>>> IntegerType(minimum=0, maximum=10).type_dict
{'type': ['integer'], 'minimum': 0, 'maximum': 10}
>>> IntegerType(exclusive_minimum=0, exclusive_maximum=10).type_dict
{'type': ['integer'], 'exclusiveMinimum': 0, 'exclusiveMaximum': 10}
>>> IntegerType(multiple_of=2).type_dict
{'type': ['integer'], 'multipleOf': 2}
__init__(*, minimum=None, maximum=None, exclusive_minimum=None, exclusive_maximum=None, multiple_of=None, **kwargs)[source]

Initialize IntegerType.

Parameters:
Return type:

None