func (o *IncomeVerificationPaystubsGetResponse) GetErrorOk() (*Error, bool) {
	if o == nil  {
		return nil, false
	}
	return o.Error.Get(), o.Error.IsSet()
}
GetErrorOk returns a tuple with the Error field value if set, nil otherwise
and a boolean to check if the value has been set.
NOTE: If the value is an explicit nil, `nil, true` will be returned
package plaid
import (
	"encoding/json"
)
type IncomeVerificationPaystubsGetResponse struct {
	DocumentMetadata *[]DocumentMetadata `json:"document_metadata,omitempty"`
	Paystubs []Paystub `json:"paystubs"`
	Error NullableError `json:"error,omitempty"`
	RequestId string `json:"request_id"`
	AdditionalProperties map[string]interface{}
}
type _IncomeVerificationPaystubsGetResponse IncomeVerificationPaystubsGetResponse
func NewIncomeVerificationPaystubsGetResponse(paystubs []Paystub, requestId string) *IncomeVerificationPaystubsGetResponse {
	this := IncomeVerificationPaystubsGetResponse{}
	this.Paystubs = paystubs
	this.RequestId = requestId
	return &this
}
func NewIncomeVerificationPaystubsGetResponseWithDefaults() *IncomeVerificationPaystubsGetResponse {
	this := IncomeVerificationPaystubsGetResponse{}
	return &this
}
func (o *IncomeVerificationPaystubsGetResponse) GetDocumentMetadata() []DocumentMetadata {
	if o == nil || o.DocumentMetadata == nil {
		var ret []DocumentMetadata
		return ret
	}
	return *o.DocumentMetadata
}
func (o *IncomeVerificationPaystubsGetResponse) GetDocumentMetadataOk() (*[]DocumentMetadata, bool) {
	if o == nil || o.DocumentMetadata == nil {
		return nil, false
	}
	return o.DocumentMetadata, true
}
func (o *IncomeVerificationPaystubsGetResponse) HasDocumentMetadata() bool {
	if o != nil && o.DocumentMetadata != nil {
		return true
	}
	return false
}
func (o *IncomeVerificationPaystubsGetResponse) SetDocumentMetadata(v []DocumentMetadata) {
	o.DocumentMetadata = &v
}
func (o *IncomeVerificationPaystubsGetResponse) GetPaystubs() []Paystub {
	if o == nil {
		var ret []Paystub
		return ret
	}
	return o.Paystubs
}
func (o *IncomeVerificationPaystubsGetResponse) GetPaystubsOk() (*[]Paystub, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.Paystubs, true
}
func (o *IncomeVerificationPaystubsGetResponse) SetPaystubs(v []Paystub) {
	o.Paystubs = v
}
func (o *IncomeVerificationPaystubsGetResponse) GetError() Error {
	if o == nil || o.Error.Get() == nil {
		var ret Error
		return ret
	}
	return *o.Error.Get()
}