// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

package components

type ErrorDetail struct {
	// Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'
	Location *string `json:"location,omitempty"`
	// Error message text
	Message *string `json:"message,omitempty"`
	// The value at the given location
	Value any `json:"value,omitempty"`
}

func (o *ErrorDetail) GetLocation() *string {
	if o == nil {
		return nil
	}
	return o.Location
}

func (o *ErrorDetail) GetMessage() *string {
	if o == nil {
		return nil
	}
	return o.Message
}

func (o *ErrorDetail) GetValue() any {
	if o == nil {
		return nil
	}
	return o.Value
}
