odataerrors

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: MIT Imports: 3 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

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 provides operations to manage the admin singleton.

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.

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.

func (*ErrorDetails) GetTarget

func (m *ErrorDetails) GetTarget() *string

GetTarget gets the target property value.

func (*ErrorDetails) IsNil

func (m *ErrorDetails) IsNil() bool

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.

func (*ErrorDetails) SetMessage

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

SetMessage sets the message property value.

func (*ErrorDetails) SetTarget

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

SetTarget sets the target property value.

type ErrorDetailsable

type ErrorDetailsable interface {
	i04eb5309aeaafadd28374d79c8471df9b267510b4dc2e3144c378c50f6fd7b55.AdditionalDataHolder
	i04eb5309aeaafadd28374d79c8471df9b267510b4dc2e3144c378c50f6fd7b55.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 provides operations to manage the admin singleton.

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

func (m *InnerError) GetRequestId() *string

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

func (*InnerError) IsNil

func (m *InnerError) IsNil() bool

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) 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 provides operations to manage the admin singleton.

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.

func (*MainError) GetDetails

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

GetDetails gets the details property value.

func (*MainError) GetFieldDeserializers

func (m *MainError) GetFieldDeserializers() map[string]func(interface{}, i04eb5309aeaafadd28374d79c8471df9b267510b4dc2e3144c378c50f6fd7b55.ParseNode) error

GetFieldDeserializers the deserialization information for the current model

func (*MainError) GetInnererror

func (m *MainError) GetInnererror() InnerErrorable

GetInnererror gets the innererror property value.

func (*MainError) GetMessage

func (m *MainError) GetMessage() *string

GetMessage gets the message property value.

func (*MainError) GetTarget

func (m *MainError) GetTarget() *string

GetTarget gets the target property value.

func (*MainError) IsNil

func (m *MainError) IsNil() bool

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.

func (*MainError) SetDetails

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

SetDetails sets the details property value.

func (*MainError) SetInnererror

func (m *MainError) SetInnererror(value InnerErrorable)

SetInnererror sets the innererror property value.

func (*MainError) SetMessage

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

SetMessage sets the message property value.

func (*MainError) SetTarget

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

SetTarget sets the target property value.

type MainErrorable

type MainErrorable interface {
	i04eb5309aeaafadd28374d79c8471df9b267510b4dc2e3144c378c50f6fd7b55.AdditionalDataHolder
	i04eb5309aeaafadd28374d79c8471df9b267510b4dc2e3144c378c50f6fd7b55.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 {
	ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.ApiError
	// contains filtered or unexported fields
}

ODataError provides operations to manage the admin singleton.

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.

func (*ODataError) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ODataError) IsNil

func (m *ODataError) IsNil() bool

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.

Jump to

Keyboard shortcuts

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