func (o *DepositSwitchGetResponse) GetStateOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.State, true
}
GetStateOk returns a tuple with the State field value
and a boolean to check if the value has been set.
package plaid
import (
	"encoding/json"
)
type DepositSwitchGetResponse struct {
	DepositSwitchId string `json:"deposit_switch_id"`
	TargetAccountId NullableString `json:"target_account_id"`
	TargetItemId NullableString `json:"target_item_id"`
	State string `json:"state"`
	SwitchMethod NullableString `json:"switch_method,omitempty"`
	AccountHasMultipleAllocations NullableBool `json:"account_has_multiple_allocations"`
	IsAllocatedRemainder NullableBool `json:"is_allocated_remainder"`
	PercentAllocated NullableFloat32 `json:"percent_allocated"`
	AmountAllocated NullableFloat32 `json:"amount_allocated"`
	EmployerName NullableString `json:"employer_name,omitempty"`
	EmployerId NullableString `json:"employer_id,omitempty"`
	InstitutionName NullableString `json:"institution_name,omitempty"`
	InstitutionId NullableString `json:"institution_id,omitempty"`
	DateCreated string `json:"date_created"`
	DateCompleted NullableString `json:"date_completed"`
	RequestId string `json:"request_id"`
	AdditionalProperties map[string]interface{}
}
type _DepositSwitchGetResponse DepositSwitchGetResponse
func NewDepositSwitchGetResponse(depositSwitchId string, targetAccountId NullableString, targetItemId NullableString, state string, accountHasMultipleAllocations NullableBool, isAllocatedRemainder NullableBool, percentAllocated NullableFloat32, amountAllocated NullableFloat32, dateCreated string, dateCompleted NullableString, requestId string) *DepositSwitchGetResponse {
	this := DepositSwitchGetResponse{}
	this.DepositSwitchId = depositSwitchId
	this.TargetAccountId = targetAccountId
	this.TargetItemId = targetItemId
	this.State = state
	this.AccountHasMultipleAllocations = accountHasMultipleAllocations
	this.IsAllocatedRemainder = isAllocatedRemainder
	this.PercentAllocated = percentAllocated
	this.AmountAllocated = amountAllocated
	this.DateCreated = dateCreated
	this.DateCompleted = dateCompleted
	this.RequestId = requestId
	return &this
}
func NewDepositSwitchGetResponseWithDefaults() *DepositSwitchGetResponse {
	this := DepositSwitchGetResponse{}
	return &this
}
func (o *DepositSwitchGetResponse) GetDepositSwitchId() string {
	if o == nil {
		var ret string
		return ret
	}
	return o.DepositSwitchId
}
func (o *DepositSwitchGetResponse) GetDepositSwitchIdOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.DepositSwitchId, true
}
func (o *DepositSwitchGetResponse) SetDepositSwitchId(v string) {
	o.DepositSwitchId = v
}
func (o *DepositSwitchGetResponse) GetTargetAccountId() string {
	if o == nil || o.TargetAccountId.Get() == nil {
		var ret string
		return ret
	}
	return *o.TargetAccountId.Get()
}
func (o *DepositSwitchGetResponse) GetTargetAccountIdOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.TargetAccountId.Get(), o.TargetAccountId.IsSet()
}
func (o *DepositSwitchGetResponse) SetTargetAccountId(v string) {
	o.TargetAccountId.Set(&v)
}
func (o *DepositSwitchGetResponse) GetTargetItemId() string {
	if o == nil || o.TargetItemId.Get() == nil {
		var ret string
		return ret
	}
	return *o.TargetItemId.Get()
}
func (o *DepositSwitchGetResponse) GetTargetItemIdOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.TargetItemId.Get(), o.TargetItemId.IsSet()
}
func (o *DepositSwitchGetResponse) SetTargetItemId(v string) {
	o.TargetItemId.Set(&v)
}
func (o *DepositSwitchGetResponse) GetState() string {
	if o == nil {
		var ret string
		return ret
	}
	return o.State
}