odataerrors

package
v0.0.0-...-308c2ef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateErrorDetailsFromDiscriminatorValue

CreateErrorDetailsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateInnerErrorFromDiscriminatorValue

CreateInnerErrorFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateMainErrorFromDiscriminatorValue

CreateMainErrorFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateODataErrorFromDiscriminatorValue

CreateODataErrorFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

Types

type ErrorDetails

type ErrorDetails struct {
	// contains filtered or unexported fields
}

func NewErrorDetails

func NewErrorDetails() *ErrorDetails

NewErrorDetails instantiates a new ErrorDetails and sets the default values.

func (*ErrorDetails) GetAdditionalData

func (m *ErrorDetails) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ErrorDetails) GetCode

func (m *ErrorDetails) GetCode() *string

GetCode gets the code property value. The code property returns a *string when successful

func (*ErrorDetails) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ErrorDetails) GetMessage

func (m *ErrorDetails) GetMessage() *string

GetMessage gets the message property value. The message property returns a *string when successful

func (*ErrorDetails) GetTarget

func (m *ErrorDetails) GetTarget() *string

GetTarget gets the target property value. The target property returns a *string when successful

func (*ErrorDetails) Serialize

Serialize serializes information the current object

func (*ErrorDetails) SetAdditionalData

func (m *ErrorDetails) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ErrorDetails) SetCode

func (m *ErrorDetails) SetCode(value *string)

SetCode sets the code property value. The code property

func (*ErrorDetails) SetMessage

func (m *ErrorDetails) SetMessage(value *string)

SetMessage sets the message property value. The message property

func (*ErrorDetails) SetTarget

func (m *ErrorDetails) SetTarget(value *string)

SetTarget sets the target property value. The target property

type ErrorDetailsable

type ErrorDetailsable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetCode() *string
	GetMessage() *string
	GetTarget() *string
	SetCode(value *string)
	SetMessage(value *string)
	SetTarget(value *string)
}

type InnerError

type InnerError struct {
	// contains filtered or unexported fields
}

InnerError the structure of this object is service-specific

func NewInnerError

func NewInnerError() *InnerError

NewInnerError instantiates a new InnerError and sets the default values.

func (*InnerError) GetAdditionalData

func (m *InnerError) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*InnerError) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*InnerError) Serialize

Serialize serializes information the current object

func (*InnerError) SetAdditionalData

func (m *InnerError) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

type MainError

type MainError struct {
	// contains filtered or unexported fields
}

func NewMainError

func NewMainError() *MainError

NewMainError instantiates a new MainError and sets the default values.

func (*MainError) GetAdditionalData

func (m *MainError) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*MainError) GetCode

func (m *MainError) GetCode() *string

GetCode gets the code property value. The code property returns a *string when successful

func (*MainError) GetDetails

func (m *MainError) GetDetails() []ErrorDetailsable

GetDetails gets the details property value. The details property returns a []ErrorDetailsable when successful

func (*MainError) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*MainError) GetInnerError

func (m *MainError) GetInnerError() InnerErrorable

GetInnerError gets the innerError property value. The structure of this object is service-specific returns a InnerErrorable when successful

func (*MainError) GetMessage

func (m *MainError) GetMessage() *string

GetMessage gets the message property value. The message property returns a *string when successful

func (*MainError) GetTarget

func (m *MainError) GetTarget() *string

GetTarget gets the target property value. The target property returns a *string when successful

func (*MainError) Serialize

Serialize serializes information the current object

func (*MainError) SetAdditionalData

func (m *MainError) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*MainError) SetCode

func (m *MainError) SetCode(value *string)

SetCode sets the code property value. The code property

func (*MainError) SetDetails

func (m *MainError) SetDetails(value []ErrorDetailsable)

SetDetails sets the details property value. The details property

func (*MainError) SetInnerError

func (m *MainError) SetInnerError(value InnerErrorable)

SetInnerError sets the innerError property value. The structure of this object is service-specific

func (*MainError) SetMessage

func (m *MainError) SetMessage(value *string)

SetMessage sets the message property value. The message property

func (*MainError) SetTarget

func (m *MainError) SetTarget(value *string)

SetTarget sets the target property value. The target property

type MainErrorable

type MainErrorable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetCode() *string
	GetDetails() []ErrorDetailsable
	GetInnerError() InnerErrorable
	GetMessage() *string
	GetTarget() *string
	SetCode(value *string)
	SetDetails(value []ErrorDetailsable)
	SetInnerError(value InnerErrorable)
	SetMessage(value *string)
	SetTarget(value *string)
}

type ODataError

type ODataError struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ApiError
	// contains filtered or unexported fields
}

func NewODataError

func NewODataError() *ODataError

NewODataError instantiates a new ODataError and sets the default values.

func (*ODataError) Error

func (m *ODataError) Error() string

Error the primary error message. returns a string when successful

func (*ODataError) GetAdditionalData

func (m *ODataError) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ODataError) GetErrorEscaped

func (m *ODataError) GetErrorEscaped() MainErrorable

GetErrorEscaped gets the error property value. The error property returns a MainErrorable when successful

func (*ODataError) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ODataError) Serialize

Serialize serializes information the current object

func (*ODataError) SetAdditionalData

func (m *ODataError) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ODataError) SetErrorEscaped

func (m *ODataError) SetErrorEscaped(value MainErrorable)

SetErrorEscaped sets the error property value. The error property

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL