odataerrors

package
v0.47.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2022 License: MIT Imports: 3 Imported by: 5,013

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]interface{}

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) 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]interface{})

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)
}

ErrorDetailsable

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]interface{}

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) 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]interface{})

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) 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]interface{}

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) 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

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]interface{})

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 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 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)
}

MainErrorable

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) GetAdditionalData

func (m *ODataError) GetAdditionalData() map[string]interface{}

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) GetError

func (m *ODataError) GetError() MainErrorable

GetError 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]interface{})

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) SetError

func (m *ODataError) SetError(value MainErrorable)

SetError 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