Documentation ¶
Index ¶
- type AuthorizationCode
- type Error
- type ErrorList
- type GetAuthorizationCodeResponse
- func (m *GetAuthorizationCodeResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GetAuthorizationCodeResponse) MarshalBinary() ([]byte, error)
- func (m *GetAuthorizationCodeResponse) UnmarshalBinary(b []byte) error
- func (m *GetAuthorizationCodeResponse) Validate(formats strfmt.Registry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizationCode ¶
type AuthorizationCode struct { // A Login with Amazon (LWA) authorization code that can be exchanged for a refresh token and access token that authorize you to make calls to a Selling Partner API. AuthorizationCode string `json:"authorizationCode,omitempty"` }
AuthorizationCode A Login with Amazon (LWA) authorization code.
swagger:model AuthorizationCode
func (*AuthorizationCode) ContextValidate ¶
ContextValidate validates this authorization code based on context it is used
func (*AuthorizationCode) MarshalBinary ¶
func (m *AuthorizationCode) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AuthorizationCode) UnmarshalBinary ¶
func (m *AuthorizationCode) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
ContextValidate validates this error based on context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ErrorList ¶
type ErrorList []*Error
ErrorList A list of error responses returned when a request is unsuccessful.
swagger:model ErrorList
func (ErrorList) ContextValidate ¶
ContextValidate validate this error list based on the context it is used
type GetAuthorizationCodeResponse ¶
type GetAuthorizationCodeResponse struct { // errors Errors ErrorList `json:"errors,omitempty"` // payload Payload *AuthorizationCode `json:"payload,omitempty"` }
GetAuthorizationCodeResponse The response schema for the GetAuthorizationCode operation.
swagger:model GetAuthorizationCodeResponse
func (*GetAuthorizationCodeResponse) ContextValidate ¶
func (m *GetAuthorizationCodeResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get authorization code response based on the context it is used
func (*GetAuthorizationCodeResponse) MarshalBinary ¶
func (m *GetAuthorizationCodeResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAuthorizationCodeResponse) UnmarshalBinary ¶
func (m *GetAuthorizationCodeResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation