models

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateStructuredBadRequestResponseFromDiscriminatorValue

CreateStructuredBadRequestResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

Types

type StructuredBadRequestResponse

type StructuredBadRequestResponse struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ApiError
	// contains filtered or unexported fields
}

StructuredBadRequestResponse the server could not understand the request due to invalid syntax.

func NewStructuredBadRequestResponse

func NewStructuredBadRequestResponse() *StructuredBadRequestResponse

NewStructuredBadRequestResponse instantiates a new StructuredBadRequestResponse and sets the default values.

func (*StructuredBadRequestResponse) Error

Error the primary error message. returns a string when successful

func (*StructuredBadRequestResponse) GetAdditionalData

func (m *StructuredBadRequestResponse) 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 (*StructuredBadRequestResponse) GetErrorKey

func (m *StructuredBadRequestResponse) GetErrorKey() *string

GetErrorKey gets the ErrorKey property value. The ErrorKey property returns a *string when successful

func (*StructuredBadRequestResponse) GetField

func (m *StructuredBadRequestResponse) GetField() *string

GetField gets the Field property value. The Field property returns a *string when successful

func (*StructuredBadRequestResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*StructuredBadRequestResponse) GetMessage

func (m *StructuredBadRequestResponse) GetMessage() *string

GetMessage gets the Message property value. The Message property returns a *string when successful

func (*StructuredBadRequestResponse) Serialize

Serialize serializes information the current object

func (*StructuredBadRequestResponse) SetAdditionalData

func (m *StructuredBadRequestResponse) 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 (*StructuredBadRequestResponse) SetErrorKey

func (m *StructuredBadRequestResponse) SetErrorKey(value *string)

SetErrorKey sets the ErrorKey property value. The ErrorKey property

func (*StructuredBadRequestResponse) SetField

func (m *StructuredBadRequestResponse) SetField(value *string)

SetField sets the Field property value. The Field property

func (*StructuredBadRequestResponse) SetMessage

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

SetMessage sets the Message property value. The Message property

type StructuredBadRequestResponseable

type StructuredBadRequestResponseable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetErrorKey() *string
	GetField() *string
	GetMessage() *string
	SetErrorKey(value *string)
	SetField(value *string)
	SetMessage(value *string)
}

Jump to

Keyboard shortcuts

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