func (o *PaymentInitiationPaymentListRequest) HasCursor() bool {
	if o != nil && o.Cursor.IsSet() {
		return true
	}
	return false
}
HasCursor returns a boolean if a field has been set.
package plaid
import (
	"encoding/json"
	"time"
)
type PaymentInitiationPaymentListRequest struct {
	ClientId *string `json:"client_id,omitempty"`
	Secret *string `json:"secret,omitempty"`
	Count NullableInt32 `json:"count,omitempty"`
	Cursor NullableTime `json:"cursor,omitempty"`
}
func NewPaymentInitiationPaymentListRequest() *PaymentInitiationPaymentListRequest {
	this := PaymentInitiationPaymentListRequest{}
	var count int32 = 10
	this.Count = *NewNullableInt32(&count)
	return &this
}
func NewPaymentInitiationPaymentListRequestWithDefaults() *PaymentInitiationPaymentListRequest {
	this := PaymentInitiationPaymentListRequest{}
	var count int32 = 10
	this.Count = *NewNullableInt32(&count)
	return &this
}
func (o *PaymentInitiationPaymentListRequest) GetClientId() string {
	if o == nil || o.ClientId == nil {
		var ret string
		return ret
	}
	return *o.ClientId
}
func (o *PaymentInitiationPaymentListRequest) GetClientIdOk() (*string, bool) {
	if o == nil || o.ClientId == nil {
		return nil, false
	}
	return o.ClientId, true
}
func (o *PaymentInitiationPaymentListRequest) HasClientId() bool {
	if o != nil && o.ClientId != nil {
		return true
	}
	return false
}
func (o *PaymentInitiationPaymentListRequest) SetClientId(v string) {
	o.ClientId = &v
}
func (o *PaymentInitiationPaymentListRequest) GetSecret() string {
	if o == nil || o.Secret == nil {
		var ret string
		return ret
	}
	return *o.Secret
}
func (o *PaymentInitiationPaymentListRequest) GetSecretOk() (*string, bool) {
	if o == nil || o.Secret == nil {
		return nil, false
	}
	return o.Secret, true
}
func (o *PaymentInitiationPaymentListRequest) HasSecret() bool {
	if o != nil && o.Secret != nil {
		return true
	}
	return false
}
func (o *PaymentInitiationPaymentListRequest) SetSecret(v string) {
	o.Secret = &v
}
func (o *PaymentInitiationPaymentListRequest) GetCount() int32 {
	if o == nil || o.Count.Get() == nil {
		var ret int32
		return ret
	}
	return *o.Count.Get()
}
func (o *PaymentInitiationPaymentListRequest) GetCountOk() (*int32, bool) {
	if o == nil  {
		return nil, false
	}
	return o.Count.Get(), o.Count.IsSet()
}
func (o *PaymentInitiationPaymentListRequest) HasCount() bool {
	if o != nil && o.Count.IsSet() {
		return true
	}
	return false
}
func (o *PaymentInitiationPaymentListRequest) SetCount(v int32) {
	o.Count.Set(&v)
}
func (o *PaymentInitiationPaymentListRequest) SetCountNil() {
	o.Count.Set(nil)
}
func (o *PaymentInitiationPaymentListRequest) UnsetCount() {
	o.Count.Unset()
}
func (o *PaymentInitiationPaymentListRequest) GetCursor() time.Time {
	if o == nil || o.Cursor.Get() == nil {
		var ret time.Time
		return ret
	}
	return *o.Cursor.Get()
}
func (o *PaymentInitiationPaymentListRequest) GetCursorOk() (*time.Time, bool) {
	if o == nil  {
		return nil, false
	}
	return o.Cursor.Get(), o.Cursor.IsSet()
}