/*
Lethean Blockchain API

OpenAPI for Lethean Blockchain

API version: 6.0.1
*/

// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

package lthn

import (
	"encoding/json"
)

// checks if the TxProcessingPerformanceModel type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &TxProcessingPerformanceModel{}

// TxProcessingPerformanceModel struct for TxProcessingPerformanceModel
type TxProcessingPerformanceModel struct {
	TxCheckInputs *int32 `json:"tx_check_inputs,omitempty"`
	TxAddOneTx *int32 `json:"tx_add_one_tx,omitempty"`
	TxProcessExtra *int32 `json:"tx_process_extra,omitempty"`
	TxProcessAttachment *int32 `json:"tx_process_attachment,omitempty"`
	TxProcessInputs *int32 `json:"tx_process_inputs,omitempty"`
	TxPushGlobalIndex *int32 `json:"tx_push_global_index,omitempty"`
	TxCheckExist *int32 `json:"tx_check_exist,omitempty"`
	TxPrintLog *int32 `json:"tx_print_log,omitempty"`
	TxPrapareAppend *int32 `json:"tx_prapare_append,omitempty"`
	TxAppend *int32 `json:"tx_append,omitempty"`
	TxAppendRlWait *int32 `json:"tx_append_rl_wait,omitempty"`
	TxAppendIsExpired *int32 `json:"tx_append_is_expired,omitempty"`
	TxStoreDb *int32 `json:"tx_store_db,omitempty"`
	TxCheckInputsPrefixHash *int32 `json:"tx_check_inputs_prefix_hash,omitempty"`
	TxCheckInputsAttachmentCheck *int32 `json:"tx_check_inputs_attachment_check,omitempty"`
	TxCheckInputsLoop *int32 `json:"tx_check_inputs_loop,omitempty"`
	TxCheckInputsLoopKimageCheck *int32 `json:"tx_check_inputs_loop_kimage_check,omitempty"`
	TxCheckInputsLoopChInValSig *int32 `json:"tx_check_inputs_loop_ch_in_val_sig,omitempty"`
	TxCheckInputsLoopScanOutputkeysGetItemSize *int32 `json:"tx_check_inputs_loop_scan_outputkeys_get_item_size,omitempty"`
	TxCheckInputsLoopScanOutputkeysRelativeToAbsolute *int32 `json:"tx_check_inputs_loop_scan_outputkeys_relative_to_absolute,omitempty"`
	TxCheckInputsLoopScanOutputkeysLoop *int32 `json:"tx_check_inputs_loop_scan_outputkeys_loop,omitempty"`
	TxCheckInputsLoopScanOutputkeysLoopGetSubitem *int32 `json:"tx_check_inputs_loop_scan_outputkeys_loop_get_subitem,omitempty"`
	TxCheckInputsLoopScanOutputkeysLoopFindTx *int32 `json:"tx_check_inputs_loop_scan_outputkeys_loop_find_tx,omitempty"`
	TxCheckInputsLoopScanOutputkeysLoopHandleOutput *int32 `json:"tx_check_inputs_loop_scan_outputkeys_loop_handle_output,omitempty"`
	TxMixinCount *int32 `json:"tx_mixin_count,omitempty"`
	AdditionalProperties map[string]interface{}
}

type _TxProcessingPerformanceModel TxProcessingPerformanceModel

// NewTxProcessingPerformanceModel instantiates a new TxProcessingPerformanceModel 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 NewTxProcessingPerformanceModel() *TxProcessingPerformanceModel {
	this := TxProcessingPerformanceModel{}
	return &this
}

// NewTxProcessingPerformanceModelWithDefaults instantiates a new TxProcessingPerformanceModel 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 NewTxProcessingPerformanceModelWithDefaults() *TxProcessingPerformanceModel {
	this := TxProcessingPerformanceModel{}
	return &this
}

// GetTxCheckInputs returns the TxCheckInputs field value if set, zero value otherwise.
func (o *TxProcessingPerformanceModel) GetTxCheckInputs() int32 {
	if o == nil || IsNil(o.TxCheckInputs) {
		var ret int32
		return ret
	}
	return *o.TxCheckInputs
}

// GetTxCheckInputsOk returns a tuple with the TxCheckInputs field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TxProcessingPerformanceModel) GetTxCheckInputsOk() (*int32, bool) {
	if o == nil || IsNil(o.TxCheckInputs) {
		return nil, false
	}
	return o.TxCheckInputs, true
}

// HasTxCheckInputs returns a boolean if a field has been set.
func (o *TxProcessingPerformanceModel) HasTxCheckInputs() bool {
	if o != nil && !IsNil(o.TxCheckInputs) {
		return true
	}

	return false
}

// SetTxCheckInputs gets a reference to the given int32 and assigns it to the TxCheckInputs field.
func (o *TxProcessingPerformanceModel) SetTxCheckInputs(v int32) {
	o.TxCheckInputs = &v
}

// GetTxAddOneTx returns the TxAddOneTx field value if set, zero value otherwise.
func (o *TxProcessingPerformanceModel) GetTxAddOneTx() int32 {
	if o == nil || IsNil(o.TxAddOneTx) {
		var ret int32
		return ret
	}
	return *o.TxAddOneTx
}

// GetTxAddOneTxOk returns a tuple with the TxAddOneTx field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TxProcessingPerformanceModel) GetTxAddOneTxOk() (*int32, bool) {
	if o == nil || IsNil(o.TxAddOneTx) {
		return nil, false
	}
	return o.TxAddOneTx, true
}

// HasTxAddOneTx returns a boolean if a field has been set.
func (o *TxProcessingPerformanceModel) HasTxAddOneTx() bool {
	if o != nil && !IsNil(o.TxAddOneTx) {
		return true
	}

	return false
}

// SetTxAddOneTx gets a reference to the given int32 and assigns it to the TxAddOneTx field.
func (o *TxProcessingPerformanceModel) SetTxAddOneTx(v int32) {
	o.TxAddOneTx = &v
}

// GetTxProcessExtra returns the TxProcessExtra field value if set, zero value otherwise.
func (o *TxProcessingPerformanceModel) GetTxProcessExtra() int32 {
	if o == nil || IsNil(o.TxProcessExtra) {
		var ret int32
		return ret
	}
	return *o.TxProcessExtra
}

// GetTxProcessExtraOk returns a tuple with the TxProcessExtra field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TxProcessingPerformanceModel) GetTxProcessExtraOk() (*int32, bool) {
	if o == nil || IsNil(o.TxProcessExtra) {
		return nil, false
	}
	return o.TxProcessExtra, true
}

// HasTxProcessExtra returns a boolean if a field has been set.
func (o *TxProcessingPerformanceModel) HasTxProcessExtra() bool {
	if o != nil && !IsNil(o.TxProcessExtra) {
		return true
	}

	return false
}

// SetTxProcessExtra gets a reference to the given int32 and assigns it to the TxProcessExtra field.
func (o *TxProcessingPerformanceModel) SetTxProcessExtra(v int32) {
	o.TxProcessExtra = &v
}

// GetTxProcessAttachment returns the TxProcessAttachment field value if set, zero value otherwise.
func (o *TxProcessingPerformanceModel) GetTxProcessAttachment() int32 {
	if o == nil || IsNil(o.TxProcessAttachment) {
		var ret int32
		return ret
	}
	return *o.TxProcessAttachment
}

// GetTxProcessAttachmentOk returns a tuple with the TxProcessAttachment field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TxProcessingPerformanceModel) GetTxProcessAttachmentOk() (*int32, bool) {
	if o == nil || IsNil(o.TxProcessAttachment) {
		return nil, false
	}
	return o.TxProcessAttachment, true
}

// HasTxProcessAttachment returns a boolean if a field has been set.
func (o *TxProcessingPerformanceModel) HasTxProcessAttachment() bool {
	if o != nil && !IsNil(o.TxProcessAttachment) {
		return true
	}

	return false
}

// SetTxProcessAttachment gets a reference to the given int32 and assigns it to the TxProcessAttachment field.
func (o *TxProcessingPerformanceModel) SetTxProcessAttachment(v int32) {
	o.TxProcessAttachment = &v
}

// GetTxProcessInputs returns the TxProcessInputs field value if set, zero value otherwise.
func (o *TxProcessingPerformanceModel) GetTxProcessInputs() int32 {
	if o == nil || IsNil(o.TxProcessInputs) {
		var ret int32
		return ret
	}
	return *o.TxProcessInputs
}

// GetTxProcessInputsOk returns a tuple with the TxProcessInputs field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TxProcessingPerformanceModel) GetTxProcessInputsOk() (*int32, bool) {
	if o == nil || IsNil(o.TxProcessInputs) {
		return nil, false
	}
	return o.TxProcessInputs, true
}

// HasTxProcessInputs returns a boolean if a field has been set.
func (o *TxProcessingPerformanceModel) HasTxProcessInputs() bool {
	if o != nil && !IsNil(o.TxProcessInputs) {
		return true
	}

	return false
}

// SetTxProcessInputs gets a reference to the given int32 and assigns it to the TxProcessInputs field.
func (o *TxProcessingPerformanceModel) SetTxProcessInputs(v int32) {
	o.TxProcessInputs = &v
}

// GetTxPushGlobalIndex returns the TxPushGlobalIndex field value if set, zero value otherwise.
func (o *TxProcessingPerformanceModel) GetTxPushGlobalIndex() int32 {
	if o == nil || IsNil(o.TxPushGlobalIndex) {
		var ret int32
		return ret
	}
	return *o.TxPushGlobalIndex
}

// GetTxPushGlobalIndexOk returns a tuple with the TxPushGlobalIndex field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TxProcessingPerformanceModel) GetTxPushGlobalIndexOk() (*int32, bool) {
	if o == nil || IsNil(o.TxPushGlobalIndex) {
		return nil, false
	}
	return o.TxPushGlobalIndex, true
}

// HasTxPushGlobalIndex returns a boolean if a field has been set.
func (o *TxProcessingPerformanceModel) HasTxPushGlobalIndex() bool {
	if o != nil && !IsNil(o.TxPushGlobalIndex) {
		return true
	}

	return false
}

// SetTxPushGlobalIndex gets a reference to the given int32 and assigns it to the TxPushGlobalIndex field.
func (o *TxProcessingPerformanceModel) SetTxPushGlobalIndex(v int32) {
	o.TxPushGlobalIndex = &v
}

// GetTxCheckExist returns the TxCheckExist field value if set, zero value otherwise.
func (o *TxProcessingPerformanceModel) GetTxCheckExist() int32 {
	if o == nil || IsNil(o.TxCheckExist) {
		var ret int32
		return ret
	}
	return *o.TxCheckExist
}

// GetTxCheckExistOk returns a tuple with the TxCheckExist field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TxProcessingPerformanceModel) GetTxCheckExistOk() (*int32, bool) {
	if o == nil || IsNil(o.TxCheckExist) {
		return nil, false
	}
	return o.TxCheckExist, true
}

// HasTxCheckExist returns a boolean if a field has been set.
func (o *TxProcessingPerformanceModel) HasTxCheckExist() bool {
	if o != nil && !IsNil(o.TxCheckExist) {
		return true
	}

	return false
}

// SetTxCheckExist gets a reference to the given int32 and assigns it to the TxCheckExist field.
func (o *TxProcessingPerformanceModel) SetTxCheckExist(v int32) {
	o.TxCheckExist = &v
}

// GetTxPrintLog returns the TxPrintLog field value if set, zero value otherwise.
func (o *TxProcessingPerformanceModel) GetTxPrintLog() int32 {
	if o == nil || IsNil(o.TxPrintLog) {
		var ret int32
		return ret
	}
	return *o.TxPrintLog
}

// GetTxPrintLogOk returns a tuple with the TxPrintLog field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TxProcessingPerformanceModel) GetTxPrintLogOk() (*int32, bool) {
	if o == nil || IsNil(o.TxPrintLog) {
		return nil, false
	}
	return o.TxPrintLog, true
}

// HasTxPrintLog returns a boolean if a field has been set.
func (o *TxProcessingPerformanceModel) HasTxPrintLog() bool {
	if o != nil && !IsNil(o.TxPrintLog) {
		return true
	}

	return false
}

// SetTxPrintLog gets a reference to the given int32 and assigns it to the TxPrintLog field.
func (o *TxProcessingPerformanceModel) SetTxPrintLog(v int32) {
	o.TxPrintLog = &v
}

// GetTxPrapareAppend returns the TxPrapareAppend field value if set, zero value otherwise.
func (o *TxProcessingPerformanceModel) GetTxPrapareAppend() int32 {
	if o == nil || IsNil(o.TxPrapareAppend) {
		var ret int32
		return ret
	}
	return *o.TxPrapareAppend
}

// GetTxPrapareAppendOk returns a tuple with the TxPrapareAppend field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TxProcessingPerformanceModel) GetTxPrapareAppendOk() (*int32, bool) {
	if o == nil || IsNil(o.TxPrapareAppend) {
		return nil, false
	}
	return o.TxPrapareAppend, true
}

// HasTxPrapareAppend returns a boolean if a field has been set.
func (o *TxProcessingPerformanceModel) HasTxPrapareAppend() bool {
	if o != nil && !IsNil(o.TxPrapareAppend) {
		return true
	}

	return false
}

// SetTxPrapareAppend gets a reference to the given int32 and assigns it to the TxPrapareAppend field.
func (o *TxProcessingPerformanceModel) SetTxPrapareAppend(v int32) {
	o.TxPrapareAppend = &v
}

// GetTxAppend returns the TxAppend field value if set, zero value otherwise.
func (o *TxProcessingPerformanceModel) GetTxAppend() int32 {
	if o == nil || IsNil(o.TxAppend) {
		var ret int32
		return ret
	}
	return *o.TxAppend
}

// GetTxAppendOk returns a tuple with the TxAppend field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TxProcessingPerformanceModel) GetTxAppendOk() (*int32, bool) {
	if o == nil || IsNil(o.TxAppend) {
		return nil, false
	}
	return o.TxAppend, true
}

// HasTxAppend returns a boolean if a field has been set.
func (o *TxProcessingPerformanceModel) HasTxAppend() bool {
	if o != nil && !IsNil(o.TxAppend) {
		return true
	}

	return false
}

// SetTxAppend gets a reference to the given int32 and assigns it to the TxAppend field.
func (o *TxProcessingPerformanceModel) SetTxAppend(v int32) {
	o.TxAppend = &v
}

// GetTxAppendRlWait returns the TxAppendRlWait field value if set, zero value otherwise.
func (o *TxProcessingPerformanceModel) GetTxAppendRlWait() int32 {
	if o == nil || IsNil(o.TxAppendRlWait) {
		var ret int32
		return ret
	}
	return *o.TxAppendRlWait
}

// GetTxAppendRlWaitOk returns a tuple with the TxAppendRlWait field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TxProcessingPerformanceModel) GetTxAppendRlWaitOk() (*int32, bool) {
	if o == nil || IsNil(o.TxAppendRlWait) {
		return nil, false
	}
	return o.TxAppendRlWait, true
}

// HasTxAppendRlWait returns a boolean if a field has been set.
func (o *TxProcessingPerformanceModel) HasTxAppendRlWait() bool {
	if o != nil && !IsNil(o.TxAppendRlWait) {
		return true
	}

	return false
}

// SetTxAppendRlWait gets a reference to the given int32 and assigns it to the TxAppendRlWait field.
func (o *TxProcessingPerformanceModel) SetTxAppendRlWait(v int32) {
	o.TxAppendRlWait = &v
}

// GetTxAppendIsExpired returns the TxAppendIsExpired field value if set, zero value otherwise.
func (o *TxProcessingPerformanceModel) GetTxAppendIsExpired() int32 {
	if o == nil || IsNil(o.TxAppendIsExpired) {
		var ret int32
		return ret
	}
	return *o.TxAppendIsExpired
}

// GetTxAppendIsExpiredOk returns a tuple with the TxAppendIsExpired field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TxProcessingPerformanceModel) GetTxAppendIsExpiredOk() (*int32, bool) {
	if o == nil || IsNil(o.TxAppendIsExpired) {
		return nil, false
	}
	return o.TxAppendIsExpired, true
}

// HasTxAppendIsExpired returns a boolean if a field has been set.
func (o *TxProcessingPerformanceModel) HasTxAppendIsExpired() bool {
	if o != nil && !IsNil(o.TxAppendIsExpired) {
		return true
	}

	return false
}

// SetTxAppendIsExpired gets a reference to the given int32 and assigns it to the TxAppendIsExpired field.
func (o *TxProcessingPerformanceModel) SetTxAppendIsExpired(v int32) {
	o.TxAppendIsExpired = &v
}

// GetTxStoreDb returns the TxStoreDb field value if set, zero value otherwise.
func (o *TxProcessingPerformanceModel) GetTxStoreDb() int32 {
	if o == nil || IsNil(o.TxStoreDb) {
		var ret int32
		return ret
	}
	return *o.TxStoreDb
}

// GetTxStoreDbOk returns a tuple with the TxStoreDb field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TxProcessingPerformanceModel) GetTxStoreDbOk() (*int32, bool) {
	if o == nil || IsNil(o.TxStoreDb) {
		return nil, false
	}
	return o.TxStoreDb, true
}

// HasTxStoreDb returns a boolean if a field has been set.
func (o *TxProcessingPerformanceModel) HasTxStoreDb() bool {
	if o != nil && !IsNil(o.TxStoreDb) {
		return true
	}

	return false
}

// SetTxStoreDb gets a reference to the given int32 and assigns it to the TxStoreDb field.
func (o *TxProcessingPerformanceModel) SetTxStoreDb(v int32) {
	o.TxStoreDb = &v
}

// GetTxCheckInputsPrefixHash returns the TxCheckInputsPrefixHash field value if set, zero value otherwise.
func (o *TxProcessingPerformanceModel) GetTxCheckInputsPrefixHash() int32 {
	if o == nil || IsNil(o.TxCheckInputsPrefixHash) {
		var ret int32
		return ret
	}
	return *o.TxCheckInputsPrefixHash
}

// GetTxCheckInputsPrefixHashOk returns a tuple with the TxCheckInputsPrefixHash field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TxProcessingPerformanceModel) GetTxCheckInputsPrefixHashOk() (*int32, bool) {
	if o == nil || IsNil(o.TxCheckInputsPrefixHash) {
		return nil, false
	}
	return o.TxCheckInputsPrefixHash, true
}

// HasTxCheckInputsPrefixHash returns a boolean if a field has been set.
func (o *TxProcessingPerformanceModel) HasTxCheckInputsPrefixHash() bool {
	if o != nil && !IsNil(o.TxCheckInputsPrefixHash) {
		return true
	}

	return false
}

// SetTxCheckInputsPrefixHash gets a reference to the given int32 and assigns it to the TxCheckInputsPrefixHash field.
func (o *TxProcessingPerformanceModel) SetTxCheckInputsPrefixHash(v int32) {
	o.TxCheckInputsPrefixHash = &v
}

// GetTxCheckInputsAttachmentCheck returns the TxCheckInputsAttachmentCheck field value if set, zero value otherwise.
func (o *TxProcessingPerformanceModel) GetTxCheckInputsAttachmentCheck() int32 {
	if o == nil || IsNil(o.TxCheckInputsAttachmentCheck) {
		var ret int32
		return ret
	}
	return *o.TxCheckInputsAttachmentCheck
}

// GetTxCheckInputsAttachmentCheckOk returns a tuple with the TxCheckInputsAttachmentCheck field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TxProcessingPerformanceModel) GetTxCheckInputsAttachmentCheckOk() (*int32, bool) {
	if o == nil || IsNil(o.TxCheckInputsAttachmentCheck) {
		return nil, false
	}
	return o.TxCheckInputsAttachmentCheck, true
}

// HasTxCheckInputsAttachmentCheck returns a boolean if a field has been set.
func (o *TxProcessingPerformanceModel) HasTxCheckInputsAttachmentCheck() bool {
	if o != nil && !IsNil(o.TxCheckInputsAttachmentCheck) {
		return true
	}

	return false
}

// SetTxCheckInputsAttachmentCheck gets a reference to the given int32 and assigns it to the TxCheckInputsAttachmentCheck field.
func (o *TxProcessingPerformanceModel) SetTxCheckInputsAttachmentCheck(v int32) {
	o.TxCheckInputsAttachmentCheck = &v
}

// GetTxCheckInputsLoop returns the TxCheckInputsLoop field value if set, zero value otherwise.
func (o *TxProcessingPerformanceModel) GetTxCheckInputsLoop() int32 {
	if o == nil || IsNil(o.TxCheckInputsLoop) {
		var ret int32
		return ret
	}
	return *o.TxCheckInputsLoop
}

// GetTxCheckInputsLoopOk returns a tuple with the TxCheckInputsLoop field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TxProcessingPerformanceModel) GetTxCheckInputsLoopOk() (*int32, bool) {
	if o == nil || IsNil(o.TxCheckInputsLoop) {
		return nil, false
	}
	return o.TxCheckInputsLoop, true
}

// HasTxCheckInputsLoop returns a boolean if a field has been set.
func (o *TxProcessingPerformanceModel) HasTxCheckInputsLoop() bool {
	if o != nil && !IsNil(o.TxCheckInputsLoop) {
		return true
	}

	return false
}

// SetTxCheckInputsLoop gets a reference to the given int32 and assigns it to the TxCheckInputsLoop field.
func (o *TxProcessingPerformanceModel) SetTxCheckInputsLoop(v int32) {
	o.TxCheckInputsLoop = &v
}

// GetTxCheckInputsLoopKimageCheck returns the TxCheckInputsLoopKimageCheck field value if set, zero value otherwise.
func (o *TxProcessingPerformanceModel) GetTxCheckInputsLoopKimageCheck() int32 {
	if o == nil || IsNil(o.TxCheckInputsLoopKimageCheck) {
		var ret int32
		return ret
	}
	return *o.TxCheckInputsLoopKimageCheck
}

// GetTxCheckInputsLoopKimageCheckOk returns a tuple with the TxCheckInputsLoopKimageCheck field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TxProcessingPerformanceModel) GetTxCheckInputsLoopKimageCheckOk() (*int32, bool) {
	if o == nil || IsNil(o.TxCheckInputsLoopKimageCheck) {
		return nil, false
	}
	return o.TxCheckInputsLoopKimageCheck, true
}

// HasTxCheckInputsLoopKimageCheck returns a boolean if a field has been set.
func (o *TxProcessingPerformanceModel) HasTxCheckInputsLoopKimageCheck() bool {
	if o != nil && !IsNil(o.TxCheckInputsLoopKimageCheck) {
		return true
	}

	return false
}

// SetTxCheckInputsLoopKimageCheck gets a reference to the given int32 and assigns it to the TxCheckInputsLoopKimageCheck field.
func (o *TxProcessingPerformanceModel) SetTxCheckInputsLoopKimageCheck(v int32) {
	o.TxCheckInputsLoopKimageCheck = &v
}

// GetTxCheckInputsLoopChInValSig returns the TxCheckInputsLoopChInValSig field value if set, zero value otherwise.
func (o *TxProcessingPerformanceModel) GetTxCheckInputsLoopChInValSig() int32 {
	if o == nil || IsNil(o.TxCheckInputsLoopChInValSig) {
		var ret int32
		return ret
	}
	return *o.TxCheckInputsLoopChInValSig
}

// GetTxCheckInputsLoopChInValSigOk returns a tuple with the TxCheckInputsLoopChInValSig field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TxProcessingPerformanceModel) GetTxCheckInputsLoopChInValSigOk() (*int32, bool) {
	if o == nil || IsNil(o.TxCheckInputsLoopChInValSig) {
		return nil, false
	}
	return o.TxCheckInputsLoopChInValSig, true
}

// HasTxCheckInputsLoopChInValSig returns a boolean if a field has been set.
func (o *TxProcessingPerformanceModel) HasTxCheckInputsLoopChInValSig() bool {
	if o != nil && !IsNil(o.TxCheckInputsLoopChInValSig) {
		return true
	}

	return false
}

// SetTxCheckInputsLoopChInValSig gets a reference to the given int32 and assigns it to the TxCheckInputsLoopChInValSig field.
func (o *TxProcessingPerformanceModel) SetTxCheckInputsLoopChInValSig(v int32) {
	o.TxCheckInputsLoopChInValSig = &v
}

// GetTxCheckInputsLoopScanOutputkeysGetItemSize returns the TxCheckInputsLoopScanOutputkeysGetItemSize field value if set, zero value otherwise.
func (o *TxProcessingPerformanceModel) GetTxCheckInputsLoopScanOutputkeysGetItemSize() int32 {
	if o == nil || IsNil(o.TxCheckInputsLoopScanOutputkeysGetItemSize) {
		var ret int32
		return ret
	}
	return *o.TxCheckInputsLoopScanOutputkeysGetItemSize
}

// GetTxCheckInputsLoopScanOutputkeysGetItemSizeOk returns a tuple with the TxCheckInputsLoopScanOutputkeysGetItemSize field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TxProcessingPerformanceModel) GetTxCheckInputsLoopScanOutputkeysGetItemSizeOk() (*int32, bool) {
	if o == nil || IsNil(o.TxCheckInputsLoopScanOutputkeysGetItemSize) {
		return nil, false
	}
	return o.TxCheckInputsLoopScanOutputkeysGetItemSize, true
}

// HasTxCheckInputsLoopScanOutputkeysGetItemSize returns a boolean if a field has been set.
func (o *TxProcessingPerformanceModel) HasTxCheckInputsLoopScanOutputkeysGetItemSize() bool {
	if o != nil && !IsNil(o.TxCheckInputsLoopScanOutputkeysGetItemSize) {
		return true
	}

	return false
}

// SetTxCheckInputsLoopScanOutputkeysGetItemSize gets a reference to the given int32 and assigns it to the TxCheckInputsLoopScanOutputkeysGetItemSize field.
func (o *TxProcessingPerformanceModel) SetTxCheckInputsLoopScanOutputkeysGetItemSize(v int32) {
	o.TxCheckInputsLoopScanOutputkeysGetItemSize = &v
}

// GetTxCheckInputsLoopScanOutputkeysRelativeToAbsolute returns the TxCheckInputsLoopScanOutputkeysRelativeToAbsolute field value if set, zero value otherwise.
func (o *TxProcessingPerformanceModel) GetTxCheckInputsLoopScanOutputkeysRelativeToAbsolute() int32 {
	if o == nil || IsNil(o.TxCheckInputsLoopScanOutputkeysRelativeToAbsolute) {
		var ret int32
		return ret
	}
	return *o.TxCheckInputsLoopScanOutputkeysRelativeToAbsolute
}

// GetTxCheckInputsLoopScanOutputkeysRelativeToAbsoluteOk returns a tuple with the TxCheckInputsLoopScanOutputkeysRelativeToAbsolute field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TxProcessingPerformanceModel) GetTxCheckInputsLoopScanOutputkeysRelativeToAbsoluteOk() (*int32, bool) {
	if o == nil || IsNil(o.TxCheckInputsLoopScanOutputkeysRelativeToAbsolute) {
		return nil, false
	}
	return o.TxCheckInputsLoopScanOutputkeysRelativeToAbsolute, true
}

// HasTxCheckInputsLoopScanOutputkeysRelativeToAbsolute returns a boolean if a field has been set.
func (o *TxProcessingPerformanceModel) HasTxCheckInputsLoopScanOutputkeysRelativeToAbsolute() bool {
	if o != nil && !IsNil(o.TxCheckInputsLoopScanOutputkeysRelativeToAbsolute) {
		return true
	}

	return false
}

// SetTxCheckInputsLoopScanOutputkeysRelativeToAbsolute gets a reference to the given int32 and assigns it to the TxCheckInputsLoopScanOutputkeysRelativeToAbsolute field.
func (o *TxProcessingPerformanceModel) SetTxCheckInputsLoopScanOutputkeysRelativeToAbsolute(v int32) {
	o.TxCheckInputsLoopScanOutputkeysRelativeToAbsolute = &v
}

// GetTxCheckInputsLoopScanOutputkeysLoop returns the TxCheckInputsLoopScanOutputkeysLoop field value if set, zero value otherwise.
func (o *TxProcessingPerformanceModel) GetTxCheckInputsLoopScanOutputkeysLoop() int32 {
	if o == nil || IsNil(o.TxCheckInputsLoopScanOutputkeysLoop) {
		var ret int32
		return ret
	}
	return *o.TxCheckInputsLoopScanOutputkeysLoop
}

// GetTxCheckInputsLoopScanOutputkeysLoopOk returns a tuple with the TxCheckInputsLoopScanOutputkeysLoop field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TxProcessingPerformanceModel) GetTxCheckInputsLoopScanOutputkeysLoopOk() (*int32, bool) {
	if o == nil || IsNil(o.TxCheckInputsLoopScanOutputkeysLoop) {
		return nil, false
	}
	return o.TxCheckInputsLoopScanOutputkeysLoop, true
}

// HasTxCheckInputsLoopScanOutputkeysLoop returns a boolean if a field has been set.
func (o *TxProcessingPerformanceModel) HasTxCheckInputsLoopScanOutputkeysLoop() bool {
	if o != nil && !IsNil(o.TxCheckInputsLoopScanOutputkeysLoop) {
		return true
	}

	return false
}

// SetTxCheckInputsLoopScanOutputkeysLoop gets a reference to the given int32 and assigns it to the TxCheckInputsLoopScanOutputkeysLoop field.
func (o *TxProcessingPerformanceModel) SetTxCheckInputsLoopScanOutputkeysLoop(v int32) {
	o.TxCheckInputsLoopScanOutputkeysLoop = &v
}

// GetTxCheckInputsLoopScanOutputkeysLoopGetSubitem returns the TxCheckInputsLoopScanOutputkeysLoopGetSubitem field value if set, zero value otherwise.
func (o *TxProcessingPerformanceModel) GetTxCheckInputsLoopScanOutputkeysLoopGetSubitem() int32 {
	if o == nil || IsNil(o.TxCheckInputsLoopScanOutputkeysLoopGetSubitem) {
		var ret int32
		return ret
	}
	return *o.TxCheckInputsLoopScanOutputkeysLoopGetSubitem
}

// GetTxCheckInputsLoopScanOutputkeysLoopGetSubitemOk returns a tuple with the TxCheckInputsLoopScanOutputkeysLoopGetSubitem field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TxProcessingPerformanceModel) GetTxCheckInputsLoopScanOutputkeysLoopGetSubitemOk() (*int32, bool) {
	if o == nil || IsNil(o.TxCheckInputsLoopScanOutputkeysLoopGetSubitem) {
		return nil, false
	}
	return o.TxCheckInputsLoopScanOutputkeysLoopGetSubitem, true
}

// HasTxCheckInputsLoopScanOutputkeysLoopGetSubitem returns a boolean if a field has been set.
func (o *TxProcessingPerformanceModel) HasTxCheckInputsLoopScanOutputkeysLoopGetSubitem() bool {
	if o != nil && !IsNil(o.TxCheckInputsLoopScanOutputkeysLoopGetSubitem) {
		return true
	}

	return false
}

// SetTxCheckInputsLoopScanOutputkeysLoopGetSubitem gets a reference to the given int32 and assigns it to the TxCheckInputsLoopScanOutputkeysLoopGetSubitem field.
func (o *TxProcessingPerformanceModel) SetTxCheckInputsLoopScanOutputkeysLoopGetSubitem(v int32) {
	o.TxCheckInputsLoopScanOutputkeysLoopGetSubitem = &v
}

// GetTxCheckInputsLoopScanOutputkeysLoopFindTx returns the TxCheckInputsLoopScanOutputkeysLoopFindTx field value if set, zero value otherwise.
func (o *TxProcessingPerformanceModel) GetTxCheckInputsLoopScanOutputkeysLoopFindTx() int32 {
	if o == nil || IsNil(o.TxCheckInputsLoopScanOutputkeysLoopFindTx) {
		var ret int32
		return ret
	}
	return *o.TxCheckInputsLoopScanOutputkeysLoopFindTx
}

// GetTxCheckInputsLoopScanOutputkeysLoopFindTxOk returns a tuple with the TxCheckInputsLoopScanOutputkeysLoopFindTx field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TxProcessingPerformanceModel) GetTxCheckInputsLoopScanOutputkeysLoopFindTxOk() (*int32, bool) {
	if o == nil || IsNil(o.TxCheckInputsLoopScanOutputkeysLoopFindTx) {
		return nil, false
	}
	return o.TxCheckInputsLoopScanOutputkeysLoopFindTx, true
}

// HasTxCheckInputsLoopScanOutputkeysLoopFindTx returns a boolean if a field has been set.
func (o *TxProcessingPerformanceModel) HasTxCheckInputsLoopScanOutputkeysLoopFindTx() bool {
	if o != nil && !IsNil(o.TxCheckInputsLoopScanOutputkeysLoopFindTx) {
		return true
	}

	return false
}

// SetTxCheckInputsLoopScanOutputkeysLoopFindTx gets a reference to the given int32 and assigns it to the TxCheckInputsLoopScanOutputkeysLoopFindTx field.
func (o *TxProcessingPerformanceModel) SetTxCheckInputsLoopScanOutputkeysLoopFindTx(v int32) {
	o.TxCheckInputsLoopScanOutputkeysLoopFindTx = &v
}

// GetTxCheckInputsLoopScanOutputkeysLoopHandleOutput returns the TxCheckInputsLoopScanOutputkeysLoopHandleOutput field value if set, zero value otherwise.
func (o *TxProcessingPerformanceModel) GetTxCheckInputsLoopScanOutputkeysLoopHandleOutput() int32 {
	if o == nil || IsNil(o.TxCheckInputsLoopScanOutputkeysLoopHandleOutput) {
		var ret int32
		return ret
	}
	return *o.TxCheckInputsLoopScanOutputkeysLoopHandleOutput
}

// GetTxCheckInputsLoopScanOutputkeysLoopHandleOutputOk returns a tuple with the TxCheckInputsLoopScanOutputkeysLoopHandleOutput field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TxProcessingPerformanceModel) GetTxCheckInputsLoopScanOutputkeysLoopHandleOutputOk() (*int32, bool) {
	if o == nil || IsNil(o.TxCheckInputsLoopScanOutputkeysLoopHandleOutput) {
		return nil, false
	}
	return o.TxCheckInputsLoopScanOutputkeysLoopHandleOutput, true
}

// HasTxCheckInputsLoopScanOutputkeysLoopHandleOutput returns a boolean if a field has been set.
func (o *TxProcessingPerformanceModel) HasTxCheckInputsLoopScanOutputkeysLoopHandleOutput() bool {
	if o != nil && !IsNil(o.TxCheckInputsLoopScanOutputkeysLoopHandleOutput) {
		return true
	}

	return false
}

// SetTxCheckInputsLoopScanOutputkeysLoopHandleOutput gets a reference to the given int32 and assigns it to the TxCheckInputsLoopScanOutputkeysLoopHandleOutput field.
func (o *TxProcessingPerformanceModel) SetTxCheckInputsLoopScanOutputkeysLoopHandleOutput(v int32) {
	o.TxCheckInputsLoopScanOutputkeysLoopHandleOutput = &v
}

// GetTxMixinCount returns the TxMixinCount field value if set, zero value otherwise.
func (o *TxProcessingPerformanceModel) GetTxMixinCount() int32 {
	if o == nil || IsNil(o.TxMixinCount) {
		var ret int32
		return ret
	}
	return *o.TxMixinCount
}

// GetTxMixinCountOk returns a tuple with the TxMixinCount field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TxProcessingPerformanceModel) GetTxMixinCountOk() (*int32, bool) {
	if o == nil || IsNil(o.TxMixinCount) {
		return nil, false
	}
	return o.TxMixinCount, true
}

// HasTxMixinCount returns a boolean if a field has been set.
func (o *TxProcessingPerformanceModel) HasTxMixinCount() bool {
	if o != nil && !IsNil(o.TxMixinCount) {
		return true
	}

	return false
}

// SetTxMixinCount gets a reference to the given int32 and assigns it to the TxMixinCount field.
func (o *TxProcessingPerformanceModel) SetTxMixinCount(v int32) {
	o.TxMixinCount = &v
}

func (o TxProcessingPerformanceModel) MarshalJSON() ([]byte, error) {
	toSerialize,err := o.ToMap()
	if err != nil {
		return []byte{}, err
	}
	return json.Marshal(toSerialize)
}

func (o TxProcessingPerformanceModel) ToMap() (map[string]interface{}, error) {
	toSerialize := map[string]interface{}{}
	if !IsNil(o.TxCheckInputs) {
		toSerialize["tx_check_inputs"] = o.TxCheckInputs
	}
	if !IsNil(o.TxAddOneTx) {
		toSerialize["tx_add_one_tx"] = o.TxAddOneTx
	}
	if !IsNil(o.TxProcessExtra) {
		toSerialize["tx_process_extra"] = o.TxProcessExtra
	}
	if !IsNil(o.TxProcessAttachment) {
		toSerialize["tx_process_attachment"] = o.TxProcessAttachment
	}
	if !IsNil(o.TxProcessInputs) {
		toSerialize["tx_process_inputs"] = o.TxProcessInputs
	}
	if !IsNil(o.TxPushGlobalIndex) {
		toSerialize["tx_push_global_index"] = o.TxPushGlobalIndex
	}
	if !IsNil(o.TxCheckExist) {
		toSerialize["tx_check_exist"] = o.TxCheckExist
	}
	if !IsNil(o.TxPrintLog) {
		toSerialize["tx_print_log"] = o.TxPrintLog
	}
	if !IsNil(o.TxPrapareAppend) {
		toSerialize["tx_prapare_append"] = o.TxPrapareAppend
	}
	if !IsNil(o.TxAppend) {
		toSerialize["tx_append"] = o.TxAppend
	}
	if !IsNil(o.TxAppendRlWait) {
		toSerialize["tx_append_rl_wait"] = o.TxAppendRlWait
	}
	if !IsNil(o.TxAppendIsExpired) {
		toSerialize["tx_append_is_expired"] = o.TxAppendIsExpired
	}
	if !IsNil(o.TxStoreDb) {
		toSerialize["tx_store_db"] = o.TxStoreDb
	}
	if !IsNil(o.TxCheckInputsPrefixHash) {
		toSerialize["tx_check_inputs_prefix_hash"] = o.TxCheckInputsPrefixHash
	}
	if !IsNil(o.TxCheckInputsAttachmentCheck) {
		toSerialize["tx_check_inputs_attachment_check"] = o.TxCheckInputsAttachmentCheck
	}
	if !IsNil(o.TxCheckInputsLoop) {
		toSerialize["tx_check_inputs_loop"] = o.TxCheckInputsLoop
	}
	if !IsNil(o.TxCheckInputsLoopKimageCheck) {
		toSerialize["tx_check_inputs_loop_kimage_check"] = o.TxCheckInputsLoopKimageCheck
	}
	if !IsNil(o.TxCheckInputsLoopChInValSig) {
		toSerialize["tx_check_inputs_loop_ch_in_val_sig"] = o.TxCheckInputsLoopChInValSig
	}
	if !IsNil(o.TxCheckInputsLoopScanOutputkeysGetItemSize) {
		toSerialize["tx_check_inputs_loop_scan_outputkeys_get_item_size"] = o.TxCheckInputsLoopScanOutputkeysGetItemSize
	}
	if !IsNil(o.TxCheckInputsLoopScanOutputkeysRelativeToAbsolute) {
		toSerialize["tx_check_inputs_loop_scan_outputkeys_relative_to_absolute"] = o.TxCheckInputsLoopScanOutputkeysRelativeToAbsolute
	}
	if !IsNil(o.TxCheckInputsLoopScanOutputkeysLoop) {
		toSerialize["tx_check_inputs_loop_scan_outputkeys_loop"] = o.TxCheckInputsLoopScanOutputkeysLoop
	}
	if !IsNil(o.TxCheckInputsLoopScanOutputkeysLoopGetSubitem) {
		toSerialize["tx_check_inputs_loop_scan_outputkeys_loop_get_subitem"] = o.TxCheckInputsLoopScanOutputkeysLoopGetSubitem
	}
	if !IsNil(o.TxCheckInputsLoopScanOutputkeysLoopFindTx) {
		toSerialize["tx_check_inputs_loop_scan_outputkeys_loop_find_tx"] = o.TxCheckInputsLoopScanOutputkeysLoopFindTx
	}
	if !IsNil(o.TxCheckInputsLoopScanOutputkeysLoopHandleOutput) {
		toSerialize["tx_check_inputs_loop_scan_outputkeys_loop_handle_output"] = o.TxCheckInputsLoopScanOutputkeysLoopHandleOutput
	}
	if !IsNil(o.TxMixinCount) {
		toSerialize["tx_mixin_count"] = o.TxMixinCount
	}

	for key, value := range o.AdditionalProperties {
		toSerialize[key] = value
	}

	return toSerialize, nil
}

func (o *TxProcessingPerformanceModel) UnmarshalJSON(data []byte) (err error) {
	varTxProcessingPerformanceModel := _TxProcessingPerformanceModel{}

	err = json.Unmarshal(data, &varTxProcessingPerformanceModel)

	if err != nil {
		return err
	}

	*o = TxProcessingPerformanceModel(varTxProcessingPerformanceModel)

	additionalProperties := make(map[string]interface{})

	if err = json.Unmarshal(data, &additionalProperties); err == nil {
		delete(additionalProperties, "tx_check_inputs")
		delete(additionalProperties, "tx_add_one_tx")
		delete(additionalProperties, "tx_process_extra")
		delete(additionalProperties, "tx_process_attachment")
		delete(additionalProperties, "tx_process_inputs")
		delete(additionalProperties, "tx_push_global_index")
		delete(additionalProperties, "tx_check_exist")
		delete(additionalProperties, "tx_print_log")
		delete(additionalProperties, "tx_prapare_append")
		delete(additionalProperties, "tx_append")
		delete(additionalProperties, "tx_append_rl_wait")
		delete(additionalProperties, "tx_append_is_expired")
		delete(additionalProperties, "tx_store_db")
		delete(additionalProperties, "tx_check_inputs_prefix_hash")
		delete(additionalProperties, "tx_check_inputs_attachment_check")
		delete(additionalProperties, "tx_check_inputs_loop")
		delete(additionalProperties, "tx_check_inputs_loop_kimage_check")
		delete(additionalProperties, "tx_check_inputs_loop_ch_in_val_sig")
		delete(additionalProperties, "tx_check_inputs_loop_scan_outputkeys_get_item_size")
		delete(additionalProperties, "tx_check_inputs_loop_scan_outputkeys_relative_to_absolute")
		delete(additionalProperties, "tx_check_inputs_loop_scan_outputkeys_loop")
		delete(additionalProperties, "tx_check_inputs_loop_scan_outputkeys_loop_get_subitem")
		delete(additionalProperties, "tx_check_inputs_loop_scan_outputkeys_loop_find_tx")
		delete(additionalProperties, "tx_check_inputs_loop_scan_outputkeys_loop_handle_output")
		delete(additionalProperties, "tx_mixin_count")
		o.AdditionalProperties = additionalProperties
	}

	return err
}

type NullableTxProcessingPerformanceModel struct {
	value *TxProcessingPerformanceModel
	isSet bool
}

func (v NullableTxProcessingPerformanceModel) Get() *TxProcessingPerformanceModel {
	return v.value
}

func (v *NullableTxProcessingPerformanceModel) Set(val *TxProcessingPerformanceModel) {
	v.value = val
	v.isSet = true
}

func (v NullableTxProcessingPerformanceModel) IsSet() bool {
	return v.isSet
}

func (v *NullableTxProcessingPerformanceModel) Unset() {
	v.value = nil
	v.isSet = false
}

func NewNullableTxProcessingPerformanceModel(val *TxProcessingPerformanceModel) *NullableTxProcessingPerformanceModel {
	return &NullableTxProcessingPerformanceModel{value: val, isSet: true}
}

func (v NullableTxProcessingPerformanceModel) MarshalJSON() ([]byte, error) {
	return json.Marshal(v.value)
}

func (v *NullableTxProcessingPerformanceModel) UnmarshalJSON(src []byte) error {
	v.isSet = true
	return json.Unmarshal(src, &v.value)
}


