Name | Type | Description | Notes |
---|---|---|---|
Error | string | The error encountered by the agent | |
ErrorID | string | AgentError | |
OriginalError | Pointer to map[string]interface{} | The full error encountered by the agent | [optional] |
func NewAgentError(error_ string, errorID string, ) *AgentError
NewAgentError instantiates a new AgentError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAgentErrorWithDefaults() *AgentError
NewAgentErrorWithDefaults instantiates a new AgentError 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
func (o *AgentError) GetError() string
GetError returns the Error field if non-nil, zero value otherwise.
func (o *AgentError) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AgentError) SetError(v string)
SetError sets Error field to given value.
func (o *AgentError) GetErrorID() string
GetErrorID returns the ErrorID field if non-nil, zero value otherwise.
func (o *AgentError) GetErrorIDOk() (*string, bool)
GetErrorIDOk returns a tuple with the ErrorID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AgentError) SetErrorID(v string)
SetErrorID sets ErrorID field to given value.
func (o *AgentError) GetOriginalError() map[string]interface{}
GetOriginalError returns the OriginalError field if non-nil, zero value otherwise.
func (o *AgentError) GetOriginalErrorOk() (*map[string]interface{}, bool)
GetOriginalErrorOk returns a tuple with the OriginalError field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AgentError) SetOriginalError(v map[string]interface{})
SetOriginalError sets OriginalError field to given value.
func (o *AgentError) HasOriginalError() bool
HasOriginalError returns a boolean if a field has been set.
func (o *AgentError) SetOriginalErrorNil(b bool)
SetOriginalErrorNil sets the value for OriginalError to be an explicit nil
func (o *AgentError) UnsetOriginalError()
UnsetOriginalError ensures that no value is present for OriginalError, not even an explicit nil