func (o *Error) GetDisplayMessageOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.DisplayMessage.Get(), o.DisplayMessage.IsSet()
}
GetDisplayMessageOk returns a tuple with the DisplayMessage field value
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 Error struct {
	ErrorType string `json:"error_type"`
	ErrorCode string `json:"error_code"`
	ErrorMessage string `json:"error_message"`
	DisplayMessage NullableString `json:"display_message"`
	RequestId *string `json:"request_id,omitempty"`
	Causes *[]interface{} `json:"causes,omitempty"`
	Status NullableFloat32 `json:"status,omitempty"`
	DocumentationUrl *string `json:"documentation_url,omitempty"`
	SuggestedAction *string `json:"suggested_action,omitempty"`
	AdditionalProperties map[string]interface{}
}
type _Error Error
func NewError(errorType string, errorCode string, errorMessage string, displayMessage NullableString) *Error {
	this := Error{}
	this.ErrorType = errorType
	this.ErrorCode = errorCode
	this.ErrorMessage = errorMessage
	this.DisplayMessage = displayMessage
	return &this
}
func NewErrorWithDefaults() *Error {
	this := Error{}
	return &this
}
func (o *Error) GetErrorType() string {
	if o == nil {
		var ret string
		return ret
	}
	return o.ErrorType
}
func (o *Error) GetErrorTypeOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.ErrorType, true
}
func (o *Error) SetErrorType(v string) {
	o.ErrorType = v
}
func (o *Error) GetErrorCode() string {
	if o == nil {
		var ret string
		return ret
	}
	return o.ErrorCode
}
func (o *Error) GetErrorCodeOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.ErrorCode, true
}
func (o *Error) SetErrorCode(v string) {
	o.ErrorCode = v
}
func (o *Error) GetErrorMessage() string {
	if o == nil {
		var ret string
		return ret
	}
	return o.ErrorMessage
}
func (o *Error) GetErrorMessageOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.ErrorMessage, true
}
func (o *Error) SetErrorMessage(v string) {
	o.ErrorMessage = v
}
func (o *Error) GetDisplayMessage() string {
	if o == nil || o.DisplayMessage.Get() == nil {
		var ret string
		return ret
	}
	return *o.DisplayMessage.Get()
}