solicitations_models

package
v0.24.10 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateProductReviewAndSellerFeedbackSolicitationResponse

type CreateProductReviewAndSellerFeedbackSolicitationResponse struct {

	// errors
	Errors ErrorList `json:"errors,omitempty"`
}

CreateProductReviewAndSellerFeedbackSolicitationResponse The response schema for the createProductReviewAndSellerFeedbackSolicitation operation.

swagger:model CreateProductReviewAndSellerFeedbackSolicitationResponse

func (*CreateProductReviewAndSellerFeedbackSolicitationResponse) ContextValidate

ContextValidate validate this create product review and seller feedback solicitation response based on the context it is used

func (*CreateProductReviewAndSellerFeedbackSolicitationResponse) MarshalBinary

MarshalBinary interface implementation

func (*CreateProductReviewAndSellerFeedbackSolicitationResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateProductReviewAndSellerFeedbackSolicitationResponse) Validate

Validate validates this create product review and seller feedback solicitation response

type Error

type Error struct {

	// An error code that identifies the type of error that occurred.
	// Required: true
	Code *string `json:"code"`

	// Additional details that can help the caller understand or fix the issue.
	Details string `json:"details,omitempty"`

	// A message that describes the error condition in a human-readable form.
	// Required: true
	Message *string `json:"message"`
}

Error Error response returned when the request is unsuccessful.

swagger:model Error

func (*Error) ContextValidate

func (m *Error) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this error based on context it is used

func (*Error) MarshalBinary

func (m *Error) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

func (m *Error) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Error) Validate

func (m *Error) Validate(formats strfmt.Registry) error

Validate validates this error

type ErrorList

type ErrorList []*Error

ErrorList A list of error responses returned when a request is unsuccessful.

swagger:model ErrorList

func (ErrorList) ContextValidate

func (m ErrorList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this error list based on the context it is used

func (ErrorList) Validate

func (m ErrorList) Validate(formats strfmt.Registry) error

Validate validates this error list

type GetSchemaResponse

type GetSchemaResponse struct {

	// links
	Links *GetSchemaResponseLinks `json:"_links,omitempty"`

	// errors
	Errors ErrorList `json:"errors,omitempty"`

	// payload
	Payload Schema `json:"payload,omitempty"`
}

GetSchemaResponse get schema response

swagger:model GetSchemaResponse

func (*GetSchemaResponse) ContextValidate

func (m *GetSchemaResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get schema response based on the context it is used

func (*GetSchemaResponse) MarshalBinary

func (m *GetSchemaResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetSchemaResponse) UnmarshalBinary

func (m *GetSchemaResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetSchemaResponse) Validate

func (m *GetSchemaResponse) Validate(formats strfmt.Registry) error

Validate validates this get schema response

type GetSchemaResponseLinks struct {

	// self
	// Required: true
	Self *LinkObject `json:"self"`
}

GetSchemaResponseLinks get schema response links

swagger:model GetSchemaResponseLinks

func (*GetSchemaResponseLinks) ContextValidate

func (m *GetSchemaResponseLinks) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get schema response links based on the context it is used

func (*GetSchemaResponseLinks) MarshalBinary

func (m *GetSchemaResponseLinks) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetSchemaResponseLinks) UnmarshalBinary

func (m *GetSchemaResponseLinks) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetSchemaResponseLinks) Validate

func (m *GetSchemaResponseLinks) Validate(formats strfmt.Registry) error

Validate validates this get schema response links

type GetSolicitationActionResponse

type GetSolicitationActionResponse struct {

	// embedded
	Embedded *GetSolicitationActionResponseEmbedded `json:"_embedded,omitempty"`

	// links
	Links *GetSolicitationActionResponseLinks `json:"_links,omitempty"`

	// errors
	Errors ErrorList `json:"errors,omitempty"`

	// payload
	Payload *SolicitationsAction `json:"payload,omitempty"`
}

GetSolicitationActionResponse Describes a solicitation action that can be taken for an order. Provides a JSON Hypertext Application Language (HAL) link to the JSON schema document that describes the expected input.

swagger:model GetSolicitationActionResponse

func (*GetSolicitationActionResponse) ContextValidate

func (m *GetSolicitationActionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get solicitation action response based on the context it is used

func (*GetSolicitationActionResponse) MarshalBinary

func (m *GetSolicitationActionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetSolicitationActionResponse) UnmarshalBinary

func (m *GetSolicitationActionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetSolicitationActionResponse) Validate

func (m *GetSolicitationActionResponse) Validate(formats strfmt.Registry) error

Validate validates this get solicitation action response

type GetSolicitationActionResponseEmbedded

type GetSolicitationActionResponseEmbedded struct {

	// schema
	Schema *GetSchemaResponse `json:"schema,omitempty"`
}

GetSolicitationActionResponseEmbedded get solicitation action response embedded

swagger:model GetSolicitationActionResponseEmbedded

func (*GetSolicitationActionResponseEmbedded) ContextValidate

func (m *GetSolicitationActionResponseEmbedded) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get solicitation action response embedded based on the context it is used

func (*GetSolicitationActionResponseEmbedded) MarshalBinary

func (m *GetSolicitationActionResponseEmbedded) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetSolicitationActionResponseEmbedded) UnmarshalBinary

func (m *GetSolicitationActionResponseEmbedded) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetSolicitationActionResponseEmbedded) Validate

Validate validates this get solicitation action response embedded

type GetSolicitationActionResponseLinks struct {

	// schema
	// Required: true
	Schema *LinkObject `json:"schema"`

	// self
	// Required: true
	Self *LinkObject `json:"self"`
}

GetSolicitationActionResponseLinks get solicitation action response links

swagger:model GetSolicitationActionResponseLinks

func (*GetSolicitationActionResponseLinks) ContextValidate

func (m *GetSolicitationActionResponseLinks) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get solicitation action response links based on the context it is used

func (*GetSolicitationActionResponseLinks) MarshalBinary

func (m *GetSolicitationActionResponseLinks) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetSolicitationActionResponseLinks) UnmarshalBinary

func (m *GetSolicitationActionResponseLinks) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetSolicitationActionResponseLinks) Validate

Validate validates this get solicitation action response links

type GetSolicitationActionsForOrderResponse

type GetSolicitationActionsForOrderResponse struct {

	// embedded
	Embedded *GetSolicitationActionsForOrderResponseEmbedded `json:"_embedded,omitempty"`

	// links
	Links *GetSolicitationActionsForOrderResponseLinks `json:"_links,omitempty"`

	// errors
	Errors ErrorList `json:"errors,omitempty"`
}

GetSolicitationActionsForOrderResponse The response schema for the getSolicitationActionsForOrder operation.

swagger:model GetSolicitationActionsForOrderResponse

func (*GetSolicitationActionsForOrderResponse) ContextValidate

ContextValidate validate this get solicitation actions for order response based on the context it is used

func (*GetSolicitationActionsForOrderResponse) MarshalBinary

func (m *GetSolicitationActionsForOrderResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetSolicitationActionsForOrderResponse) UnmarshalBinary

func (m *GetSolicitationActionsForOrderResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetSolicitationActionsForOrderResponse) Validate

Validate validates this get solicitation actions for order response

type GetSolicitationActionsForOrderResponseEmbedded

type GetSolicitationActionsForOrderResponseEmbedded struct {

	// actions
	// Required: true
	Actions []*GetSolicitationActionResponse `json:"actions"`
}

GetSolicitationActionsForOrderResponseEmbedded get solicitation actions for order response embedded

swagger:model GetSolicitationActionsForOrderResponseEmbedded

func (*GetSolicitationActionsForOrderResponseEmbedded) ContextValidate

ContextValidate validate this get solicitation actions for order response embedded based on the context it is used

func (*GetSolicitationActionsForOrderResponseEmbedded) MarshalBinary

MarshalBinary interface implementation

func (*GetSolicitationActionsForOrderResponseEmbedded) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetSolicitationActionsForOrderResponseEmbedded) Validate

Validate validates this get solicitation actions for order response embedded

type GetSolicitationActionsForOrderResponseLinks struct {

	// Eligible actions for the specified amazonOrderId.
	// Required: true
	Actions []*LinkObject `json:"actions"`

	// self
	// Required: true
	Self *LinkObject `json:"self"`
}

GetSolicitationActionsForOrderResponseLinks get solicitation actions for order response links

swagger:model GetSolicitationActionsForOrderResponseLinks

func (*GetSolicitationActionsForOrderResponseLinks) ContextValidate

ContextValidate validate this get solicitation actions for order response links based on the context it is used

func (*GetSolicitationActionsForOrderResponseLinks) MarshalBinary

func (m *GetSolicitationActionsForOrderResponseLinks) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetSolicitationActionsForOrderResponseLinks) UnmarshalBinary

func (m *GetSolicitationActionsForOrderResponseLinks) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetSolicitationActionsForOrderResponseLinks) Validate

Validate validates this get solicitation actions for order response links

type LinkObject

type LinkObject struct {

	// A URI for this object.
	// Required: true
	Href *string `json:"href"`

	// An identifier for this object.
	Name string `json:"name,omitempty"`
}

LinkObject A Link object.

swagger:model LinkObject

func (*LinkObject) ContextValidate

func (m *LinkObject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this link object based on context it is used

func (*LinkObject) MarshalBinary

func (m *LinkObject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LinkObject) UnmarshalBinary

func (m *LinkObject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LinkObject) Validate

func (m *LinkObject) Validate(formats strfmt.Registry) error

Validate validates this link object

type Schema

type Schema interface{}

Schema A JSON schema document describing the expected payload of the action. This object can be validated against <a href=http://json-schema.org/draft-04/schema>http://json-schema.org/draft-04/schema</a>.

swagger:model Schema

type SolicitationsAction

type SolicitationsAction struct {

	// name
	// Required: true
	Name *string `json:"name"`
}

SolicitationsAction A simple object containing the name of the template.

swagger:model SolicitationsAction

func (*SolicitationsAction) ContextValidate

func (m *SolicitationsAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this solicitations action based on context it is used

func (*SolicitationsAction) MarshalBinary

func (m *SolicitationsAction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SolicitationsAction) UnmarshalBinary

func (m *SolicitationsAction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SolicitationsAction) Validate

func (m *SolicitationsAction) Validate(formats strfmt.Registry) error

Validate validates this solicitations action

Jump to

Keyboard shortcuts

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