Help us shape the future of Go! Take the 2026 Go Developer Survey

odataerrors

package
v1.29.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: MIT Imports: 4 Imported by: 5,024

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

func CreateInnerErrorFromDiscriminatorValue

CreateInnerErrorFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

func CreateMainErrorFromDiscriminatorValue

CreateMainErrorFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

func CreateODataErrorFromDiscriminatorValue

CreateODataErrorFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

Types

type ErrorDetails

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

ErrorDetails

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.

func (*ErrorDetails) GetBackingStore added in v0.56.0

GetBackingStore gets the BackingStore property value. Stores model information.

func (*ErrorDetails) GetCode

func (m *ErrorDetails) GetCode() *string

GetCode gets the code property value. The code property

func (*ErrorDetails) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ErrorDetails) GetMessage

func (m *ErrorDetails) GetMessage() *string

GetMessage gets the message property value. The message property

func (*ErrorDetails) GetTarget

func (m *ErrorDetails) GetTarget() *string

GetTarget gets the target property value. The target property

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
}

InnerError

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.

func (*InnerError) GetBackingStore added in v0.56.0

GetBackingStore gets the BackingStore property value. Stores model information.

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.

func (*InnerError) GetDate

GetDate gets the date property value. Date when the error occured.

func (*InnerError) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*InnerError) GetOdataType added in v0.31.0

func (m *InnerError) GetOdataType() *string

GetOdataType gets the @odata.type property value. The OdataType property

func (*InnerError) GetRequestId

func (m *InnerError) GetRequestId() *string

GetRequestId gets the request-id property value. Request Id as tracked internally by the service

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
}

MainError

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.

func (*MainError) GetBackingStore added in v0.56.0

GetBackingStore gets the BackingStore property value. Stores model information.

func (*MainError) GetCode

func (m *MainError) GetCode() *string

GetCode gets the code property value. The code property

func (*MainError) GetDetails

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

GetDetails gets the details property value. The details property

func (*MainError) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*MainError) GetInnerError added in v1.8.0

func (m *MainError) GetInnerError() InnerErrorable

GetInnerError gets the innerError property value. The innerError property

func (*MainError) GetMessage

func (m *MainError) GetMessage() *string

GetMessage gets the message property value. The message property

func (*MainError) GetTarget

func (m *MainError) GetTarget() *string

GetTarget gets the target property value. The target property

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
}

ODataError

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.

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.

func (*ODataError) GetBackingStore added in v0.56.0

GetBackingStore gets the BackingStore property value. Stores model information.

func (*ODataError) GetErrorEscaped added in v1.13.0

func (m *ODataError) GetErrorEscaped() MainErrorable

GetErrorEscaped gets the error property value. The error property

func (*ODataError) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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