func NewErrorWithDefaults() *Error {
	this := Error{}
	return &this
}
NewErrorWithDefaults instantiates a new Error object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
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
}