Documentation
¶
Index ¶
- func CreateErrorDetailsFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateInnerErrorFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateMainErrorFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateODataErrorFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- type ErrorDetails
- func (m *ErrorDetails) GetAdditionalData() map[string]any
- func (m *ErrorDetails) GetCode() *string
- func (m *ErrorDetails) GetFieldDeserializers() ...
- func (m *ErrorDetails) GetMessage() *string
- func (m *ErrorDetails) GetTarget() *string
- func (m *ErrorDetails) Serialize(...) error
- func (m *ErrorDetails) SetAdditionalData(value map[string]any)
- func (m *ErrorDetails) SetCode(value *string)
- func (m *ErrorDetails) SetMessage(value *string)
- func (m *ErrorDetails) SetTarget(value *string)
- type ErrorDetailsable
- type InnerError
- type InnerErrorable
- type MainError
- func (m *MainError) GetAdditionalData() map[string]any
- func (m *MainError) GetCode() *string
- func (m *MainError) GetDetails() []ErrorDetailsable
- func (m *MainError) GetFieldDeserializers() ...
- func (m *MainError) GetInnerError() InnerErrorable
- func (m *MainError) GetMessage() *string
- func (m *MainError) GetTarget() *string
- func (m *MainError) Serialize(...) error
- func (m *MainError) SetAdditionalData(value map[string]any)
- func (m *MainError) SetCode(value *string)
- func (m *MainError) SetDetails(value []ErrorDetailsable)
- func (m *MainError) SetInnerError(value InnerErrorable)
- func (m *MainError) SetMessage(value *string)
- func (m *MainError) SetTarget(value *string)
- type MainErrorable
- type ODataError
- func (m *ODataError) Error() string
- func (m *ODataError) GetAdditionalData() map[string]any
- func (m *ODataError) GetErrorEscaped() MainErrorable
- func (m *ODataError) GetFieldDeserializers() ...
- func (m *ODataError) Serialize(...) error
- func (m *ODataError) SetAdditionalData(value map[string]any)
- func (m *ODataError) SetErrorEscaped(value MainErrorable)
- type ODataErrorable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateErrorDetailsFromDiscriminatorValue ¶
func CreateErrorDetailsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateErrorDetailsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateInnerErrorFromDiscriminatorValue ¶
func CreateInnerErrorFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateInnerErrorFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateMainErrorFromDiscriminatorValue ¶
func CreateMainErrorFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateMainErrorFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateODataErrorFromDiscriminatorValue ¶
func CreateODataErrorFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
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 ¶
func (m *ErrorDetails) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
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 ¶
func (m *ErrorDetails) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *InnerError) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*InnerError) Serialize ¶
func (m *InnerError) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 InnerErrorable ¶
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 ¶
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 ¶
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 ¶
func (m *MainError) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
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 ¶
GetMessage gets the message property value. The message property returns a *string when successful
func (*MainError) GetTarget ¶
GetTarget gets the target property value. The target property returns a *string when successful
func (*MainError) Serialize ¶
func (m *MainError) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*MainError) SetAdditionalData ¶
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) 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 ¶
SetMessage sets the message property value. The message 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 ¶
func (m *ODataError) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ODataError) Serialize ¶
func (m *ODataError) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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
type ODataErrorable ¶
type ODataErrorable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetErrorEscaped() MainErrorable SetErrorEscaped(value MainErrorable) }