Name | Type | Description | Notes |
---|---|---|---|
Enabled | bool | decoder activation. Default is false. | |
Encoding | string | unique decoder name. Will be used to trigger the decoding function | |
Id | Pointer to string | id of the decoder. Should be null when used for POST. Required for update. | [optional] |
MathEvalEnabled | Pointer to bool | applying math evaluation on templated decoded result | [optional] |
Metadata | Pointer to PayloadDescriptionMetadata | [optional] | |
Model | Pointer to string | if empty, the decoded data will use the value of 'model' field from encoded data. If set, this value will be used to override 'model' field in decoded data. | [optional] |
Tags | Pointer to []string | tags used for filtering | [optional] |
Template | Pointer to string | decoding result optional template | [optional] |
Type | Pointer to string | decoder type : csv, binary, javascript | [optional] |
Updated | Pointer to string | date of the last update. ISO 8601 date time. | [optional] [readonly] |
func NewPayloadDescription(enabled bool, encoding string, ) *PayloadDescription
NewPayloadDescription instantiates a new PayloadDescription 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 NewPayloadDescriptionWithDefaults() *PayloadDescription
NewPayloadDescriptionWithDefaults instantiates a new PayloadDescription 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 *PayloadDescription) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *PayloadDescription) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PayloadDescription) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *PayloadDescription) GetEncoding() string
GetEncoding returns the Encoding field if non-nil, zero value otherwise.
func (o *PayloadDescription) GetEncodingOk() (*string, bool)
GetEncodingOk returns a tuple with the Encoding field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PayloadDescription) SetEncoding(v string)
SetEncoding sets Encoding field to given value.
func (o *PayloadDescription) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *PayloadDescription) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PayloadDescription) SetId(v string)
SetId sets Id field to given value.
func (o *PayloadDescription) HasId() bool
HasId returns a boolean if a field has been set.
func (o *PayloadDescription) GetMathEvalEnabled() bool
GetMathEvalEnabled returns the MathEvalEnabled field if non-nil, zero value otherwise.
func (o *PayloadDescription) GetMathEvalEnabledOk() (*bool, bool)
GetMathEvalEnabledOk returns a tuple with the MathEvalEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PayloadDescription) SetMathEvalEnabled(v bool)
SetMathEvalEnabled sets MathEvalEnabled field to given value.
func (o *PayloadDescription) HasMathEvalEnabled() bool
HasMathEvalEnabled returns a boolean if a field has been set.
func (o *PayloadDescription) GetMetadata() PayloadDescriptionMetadata
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *PayloadDescription) GetMetadataOk() (*PayloadDescriptionMetadata, bool)
GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PayloadDescription) SetMetadata(v PayloadDescriptionMetadata)
SetMetadata sets Metadata field to given value.
func (o *PayloadDescription) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (o *PayloadDescription) GetModel() string
GetModel returns the Model field if non-nil, zero value otherwise.
func (o *PayloadDescription) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PayloadDescription) SetModel(v string)
SetModel sets Model field to given value.
func (o *PayloadDescription) HasModel() bool
HasModel returns a boolean if a field has been set.
func (o *PayloadDescription) GetTags() []string
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *PayloadDescription) GetTagsOk() (*[]string, bool)
GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PayloadDescription) SetTags(v []string)
SetTags sets Tags field to given value.
func (o *PayloadDescription) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *PayloadDescription) GetTemplate() string
GetTemplate returns the Template field if non-nil, zero value otherwise.
func (o *PayloadDescription) GetTemplateOk() (*string, bool)
GetTemplateOk returns a tuple with the Template field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PayloadDescription) SetTemplate(v string)
SetTemplate sets Template field to given value.
func (o *PayloadDescription) HasTemplate() bool
HasTemplate returns a boolean if a field has been set.
func (o *PayloadDescription) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *PayloadDescription) 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 *PayloadDescription) SetType(v string)
SetType sets Type field to given value.
func (o *PayloadDescription) HasType() bool
HasType returns a boolean if a field has been set.
func (o *PayloadDescription) GetUpdated() string
GetUpdated returns the Updated field if non-nil, zero value otherwise.
func (o *PayloadDescription) GetUpdatedOk() (*string, bool)
GetUpdatedOk returns a tuple with the Updated field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PayloadDescription) SetUpdated(v string)
SetUpdated sets Updated field to given value.
func (o *PayloadDescription) HasUpdated() bool
HasUpdated returns a boolean if a field has been set.