func (o *EmploymentVerificationGetResponse) HasError() bool {
	if o != nil && o.Error.IsSet() {
		return true
	}
	return false
}
HasError returns a boolean if a field has been set.
package plaid
import (
	"encoding/json"
)
type EmploymentVerificationGetResponse struct {
	Employments []EmploymentVerification `json:"employments"`
	Error NullableError `json:"error,omitempty"`
	RequestId string `json:"request_id"`
	AdditionalProperties map[string]interface{}
}
type _EmploymentVerificationGetResponse EmploymentVerificationGetResponse
func NewEmploymentVerificationGetResponse(employments []EmploymentVerification, requestId string) *EmploymentVerificationGetResponse {
	this := EmploymentVerificationGetResponse{}
	this.Employments = employments
	this.RequestId = requestId
	return &this
}
func NewEmploymentVerificationGetResponseWithDefaults() *EmploymentVerificationGetResponse {
	this := EmploymentVerificationGetResponse{}
	return &this
}
func (o *EmploymentVerificationGetResponse) GetEmployments() []EmploymentVerification {
	if o == nil {
		var ret []EmploymentVerification
		return ret
	}
	return o.Employments
}
func (o *EmploymentVerificationGetResponse) GetEmploymentsOk() (*[]EmploymentVerification, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.Employments, true
}
func (o *EmploymentVerificationGetResponse) SetEmployments(v []EmploymentVerification) {
	o.Employments = v
}
func (o *EmploymentVerificationGetResponse) GetError() Error {
	if o == nil || o.Error.Get() == nil {
		var ret Error
		return ret
	}
	return *o.Error.Get()
}
func (o *EmploymentVerificationGetResponse) GetErrorOk() (*Error, bool) {
	if o == nil  {
		return nil, false
	}
	return o.Error.Get(), o.Error.IsSet()
}