odataerrors

package
v1.40.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 4 Imported by: 5,007

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) GetBackingStore added in v0.56.0

GetBackingStore gets the BackingStore property value. Stores model information. returns a BackingStore 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) SetBackingStore added in v0.56.0

SetBackingStore sets the BackingStore property value. Stores model information.

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 InnerError

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

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) GetBackingStore added in v0.56.0

GetBackingStore gets the BackingStore property value. Stores model information. returns a BackingStore when successful

func (*InnerError) GetClientRequestId

func (m *InnerError) GetClientRequestId() *string

GetClientRequestId gets the client-request-id property value. Client request Id as sent by the client application. returns a *string when successful

func (*InnerError) GetDate

GetDate gets the date property value. Date when the error occured. returns a *Time 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) GetOdataType added in v0.31.0

func (m *InnerError) GetOdataType() *string

GetOdataType gets the @odata.type property value. The OdataType property returns a *string when successful

func (*InnerError) GetRequestId

func (m *InnerError) GetRequestId() *string

GetRequestId gets the request-id property value. Request Id as tracked internally by the service returns a *string 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.

func (*InnerError) SetBackingStore added in v0.56.0

SetBackingStore sets the BackingStore property value. Stores model information.

func (*InnerError) SetClientRequestId

func (m *InnerError) SetClientRequestId(value *string)

SetClientRequestId sets the client-request-id property value. Client request Id as sent by the client application.

func (*InnerError) SetDate

SetDate sets the date property value. Date when the error occured.

func (*InnerError) SetOdataType added in v0.31.0

func (m *InnerError) SetOdataType(value *string)

SetOdataType sets the @odata.type property value. The OdataType property

func (*InnerError) SetRequestId

func (m *InnerError) SetRequestId(value *string)

SetRequestId sets the request-id property value. Request Id as tracked internally by the service

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) GetBackingStore added in v0.56.0

GetBackingStore gets the BackingStore property value. Stores model information. returns a BackingStore 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 added in v1.8.0

func (m *MainError) GetInnerError() InnerErrorable

GetInnerError gets the innerError property value. The innerError property 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) SetBackingStore added in v0.56.0

SetBackingStore sets the BackingStore property value. Stores model information.

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 added in v1.8.0

func (m *MainError) SetInnerError(value InnerErrorable)

SetInnerError sets the innerError property value. The innerError property

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 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 added in v1.19.0

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) GetBackingStore added in v0.56.0

GetBackingStore gets the BackingStore property value. Stores model information. returns a BackingStore when successful

func (*ODataError) GetErrorEscaped added in v1.13.0

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) SetBackingStore added in v0.56.0

SetBackingStore sets the BackingStore property value. Stores model information.

func (*ODataError) SetErrorEscaped added in v1.13.0

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