Documentation ¶
Index ¶
- type Error
- type ErrorInternalServerError
- func (m *ErrorInternalServerError) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ErrorInternalServerError) MarshalBinary() ([]byte, error)
- func (m *ErrorInternalServerError) UnmarshalBinary(b []byte) error
- func (m *ErrorInternalServerError) Validate(formats strfmt.Registry) error
- type ErrorMethodNotAllowed
- type ErrorNotAcceptable
- type ErrorServiceUnavailable
- func (m *ErrorServiceUnavailable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ErrorServiceUnavailable) MarshalBinary() ([]byte, error)
- func (m *ErrorServiceUnavailable) UnmarshalBinary(b []byte) error
- func (m *ErrorServiceUnavailable) Validate(formats strfmt.Registry) error
- type ErrorTooManyRequests
- type Visitor
- type Visitors
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct { // code // Maximum: 599 // Minimum: 400 Code int64 `json:"code,omitempty"` // message // Required: true // Max Length: 255 // Min Length: 1 Message *string `json:"message"` }
Error error
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 ErrorInternalServerError ¶
type ErrorInternalServerError struct { // code // Example: 500 Code int64 `json:"code,omitempty"` // message // Example: Internal Server Error Message string `json:"message,omitempty"` }
ErrorInternalServerError error internal server error
swagger:model error_internal_server_error
func (*ErrorInternalServerError) ContextValidate ¶
func (m *ErrorInternalServerError) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this error internal server error based on context it is used
func (*ErrorInternalServerError) MarshalBinary ¶
func (m *ErrorInternalServerError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorInternalServerError) UnmarshalBinary ¶
func (m *ErrorInternalServerError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrorMethodNotAllowed ¶
type ErrorMethodNotAllowed struct { // code // Example: 405 Code int64 `json:"code,omitempty"` // message // Example: method POST is not allowed, but [GET] are Message string `json:"message,omitempty"` }
ErrorMethodNotAllowed error method not allowed
swagger:model error_method_not_allowed
func (*ErrorMethodNotAllowed) ContextValidate ¶
ContextValidate validates this error method not allowed based on context it is used
func (*ErrorMethodNotAllowed) MarshalBinary ¶
func (m *ErrorMethodNotAllowed) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorMethodNotAllowed) UnmarshalBinary ¶
func (m *ErrorMethodNotAllowed) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrorNotAcceptable ¶
type ErrorNotAcceptable struct { // code // Example: 406 Code int64 `json:"code,omitempty"` // message // Example: unsupported media type requested, only [application/json] are available Message string `json:"message,omitempty"` }
ErrorNotAcceptable error not acceptable
swagger:model error_not_acceptable
func (*ErrorNotAcceptable) ContextValidate ¶
ContextValidate validates this error not acceptable based on context it is used
func (*ErrorNotAcceptable) MarshalBinary ¶
func (m *ErrorNotAcceptable) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorNotAcceptable) UnmarshalBinary ¶
func (m *ErrorNotAcceptable) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrorServiceUnavailable ¶
type ErrorServiceUnavailable struct { // Example: 503 Code int64 `json:"code,omitempty"` // Example: service is not available Message string `json:"message,omitempty"` }
ErrorServiceUnavailable error service unavailable
swagger:model error_service_unavailable
func (*ErrorServiceUnavailable) ContextValidate ¶
func (m *ErrorServiceUnavailable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this error service unavailable based on context it is used
func (*ErrorServiceUnavailable) MarshalBinary ¶
func (m *ErrorServiceUnavailable) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorServiceUnavailable) UnmarshalBinary ¶
func (m *ErrorServiceUnavailable) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrorTooManyRequests ¶
type ErrorTooManyRequests struct { // code // Example: 429 Code int64 `json:"code,omitempty"` // message // Example: too many requests Message string `json:"message,omitempty"` }
ErrorTooManyRequests error too many requests
swagger:model error_too_many_requests
func (*ErrorTooManyRequests) ContextValidate ¶
ContextValidate validates this error too many requests based on context it is used
func (*ErrorTooManyRequests) MarshalBinary ¶
func (m *ErrorTooManyRequests) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorTooManyRequests) UnmarshalBinary ¶
func (m *ErrorTooManyRequests) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Visitor ¶
type Visitor struct { // client Id // Required: true // Max Length: 36 // Min Length: 1 ClientID *string `json:"clientId"` // ad content // Max Length: 255 // Min Length: 0 AdContent *string `json:"adContent,omitempty"` // ad group // Max Length: 255 // Min Length: 0 AdGroup *string `json:"adGroup,omitempty"` // ad matched query // Max Length: 255 // Min Length: 0 AdMatchedQuery *string `json:"adMatchedQuery,omitempty"` // campaign // Max Length: 100 // Min Length: 0 Campaign *string `json:"campaign,omitempty"` // keyword // Max Length: 255 // Min Length: 0 Keyword *string `json:"keyword,omitempty"` // medium // Max Length: 50 // Min Length: 0 Medium *string `json:"medium,omitempty"` // source // Max Length: 50 // Min Length: 0 Source *string `json:"source,omitempty"` }
Visitor visitor
swagger:model visitor
func (*Visitor) ContextValidate ¶
ContextValidate validates this visitor based on context it is used
func (*Visitor) MarshalBinary ¶
MarshalBinary interface implementation
func (*Visitor) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Visitors ¶
type Visitors []*Visitor
Visitors visitors
swagger:model visitors
func (Visitors) ContextValidate ¶
ContextValidate validate this visitors based on the context it is used