Name | Type | Description | Notes |
---|---|---|---|
Type | string | The data type of the column. | |
Nullable | bool | Indicates whether values in this column can be null. | |
Length | Pointer to int32 | The length of the data type. | [optional] |
Precision | Pointer to int32 | The precision of the data type. | [optional] |
Scale | Pointer to int32 | The scale of the data type. | [optional] |
KeyType | Pointer to DataType | The type of the key in the data type (if applicable). | [optional] |
ValueType | Pointer to DataType | The type of the value in the data type (if applicable). | [optional] |
ElementType | Pointer to DataType | The type of the element in the data type (if applicable). | [optional] |
Fields | Pointer to []RowFieldType | The fields of the element in the data type (if applicable). | [optional] |
Resolution | Pointer to string | The resolution of the data type (if applicable). | [optional] |
FractionalPrecision | Pointer to int32 | The fractional precision of the data type (if applicable). | [optional] |
func NewDataType(type_ string, nullable bool, ) *DataType
NewDataType instantiates a new DataType object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDataTypeWithDefaults() *DataType
NewDataTypeWithDefaults instantiates a new DataType object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *DataType) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *DataType) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DataType) SetType(v string)
SetType sets Type field to given value.
func (o *DataType) GetNullable() bool
GetNullable returns the Nullable field if non-nil, zero value otherwise.
func (o *DataType) GetNullableOk() (*bool, bool)
GetNullableOk returns a tuple with the Nullable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DataType) SetNullable(v bool)
SetNullable sets Nullable field to given value.
func (o *DataType) GetLength() int32
GetLength returns the Length field if non-nil, zero value otherwise.
func (o *DataType) GetLengthOk() (*int32, bool)
GetLengthOk returns a tuple with the Length field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DataType) SetLength(v int32)
SetLength sets Length field to given value.
func (o *DataType) HasLength() bool
HasLength returns a boolean if a field has been set.
func (o *DataType) GetPrecision() int32
GetPrecision returns the Precision field if non-nil, zero value otherwise.
func (o *DataType) GetPrecisionOk() (*int32, bool)
GetPrecisionOk returns a tuple with the Precision field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DataType) SetPrecision(v int32)
SetPrecision sets Precision field to given value.
func (o *DataType) HasPrecision() bool
HasPrecision returns a boolean if a field has been set.
func (o *DataType) GetScale() int32
GetScale returns the Scale field if non-nil, zero value otherwise.
func (o *DataType) GetScaleOk() (*int32, bool)
GetScaleOk returns a tuple with the Scale field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DataType) SetScale(v int32)
SetScale sets Scale field to given value.
func (o *DataType) HasScale() bool
HasScale returns a boolean if a field has been set.
func (o *DataType) GetKeyType() DataType
GetKeyType returns the KeyType field if non-nil, zero value otherwise.
func (o *DataType) GetKeyTypeOk() (*DataType, bool)
GetKeyTypeOk returns a tuple with the KeyType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DataType) SetKeyType(v DataType)
SetKeyType sets KeyType field to given value.
func (o *DataType) HasKeyType() bool
HasKeyType returns a boolean if a field has been set.
func (o *DataType) GetValueType() DataType
GetValueType returns the ValueType field if non-nil, zero value otherwise.
func (o *DataType) GetValueTypeOk() (*DataType, bool)
GetValueTypeOk returns a tuple with the ValueType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DataType) SetValueType(v DataType)
SetValueType sets ValueType field to given value.
func (o *DataType) HasValueType() bool
HasValueType returns a boolean if a field has been set.
func (o *DataType) GetElementType() DataType
GetElementType returns the ElementType field if non-nil, zero value otherwise.
func (o *DataType) GetElementTypeOk() (*DataType, bool)
GetElementTypeOk returns a tuple with the ElementType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DataType) SetElementType(v DataType)
SetElementType sets ElementType field to given value.
func (o *DataType) HasElementType() bool
HasElementType returns a boolean if a field has been set.
func (o *DataType) GetFields() []RowFieldType
GetFields returns the Fields field if non-nil, zero value otherwise.
func (o *DataType) GetFieldsOk() (*[]RowFieldType, bool)
GetFieldsOk returns a tuple with the Fields field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DataType) SetFields(v []RowFieldType)
SetFields sets Fields field to given value.
func (o *DataType) HasFields() bool
HasFields returns a boolean if a field has been set.
func (o *DataType) GetResolution() string
GetResolution returns the Resolution field if non-nil, zero value otherwise.
func (o *DataType) GetResolutionOk() (*string, bool)
GetResolutionOk returns a tuple with the Resolution field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DataType) SetResolution(v string)
SetResolution sets Resolution field to given value.
func (o *DataType) HasResolution() bool
HasResolution returns a boolean if a field has been set.
func (o *DataType) GetFractionalPrecision() int32
GetFractionalPrecision returns the FractionalPrecision field if non-nil, zero value otherwise.
func (o *DataType) GetFractionalPrecisionOk() (*int32, bool)
GetFractionalPrecisionOk returns a tuple with the FractionalPrecision field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DataType) SetFractionalPrecision(v int32)
SetFractionalPrecision sets FractionalPrecision field to given value.
func (o *DataType) HasFractionalPrecision() bool
HasFractionalPrecision returns a boolean if a field has been set.