Documentation ¶
Index ¶
- type GetUserInfoResponse
- type HTTPValidationErrorDetail
- func (m *HTTPValidationErrorDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HTTPValidationErrorDetail) MarshalBinary() ([]byte, error)
- func (m *HTTPValidationErrorDetail) UnmarshalBinary(b []byte) error
- func (m *HTTPValidationErrorDetail) Validate(formats strfmt.Registry) error
- type Nullables
- type OrderDir
- type PostChangePasswordPayload
- func (m *PostChangePasswordPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PostChangePasswordPayload) MarshalBinary() ([]byte, error)
- func (m *PostChangePasswordPayload) UnmarshalBinary(b []byte) error
- func (m *PostChangePasswordPayload) Validate(formats strfmt.Registry) error
- type PostForgotPasswordCompletePayload
- func (m *PostForgotPasswordCompletePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PostForgotPasswordCompletePayload) MarshalBinary() ([]byte, error)
- func (m *PostForgotPasswordCompletePayload) UnmarshalBinary(b []byte) error
- func (m *PostForgotPasswordCompletePayload) Validate(formats strfmt.Registry) error
- type PostForgotPasswordPayload
- func (m *PostForgotPasswordPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PostForgotPasswordPayload) MarshalBinary() ([]byte, error)
- func (m *PostForgotPasswordPayload) UnmarshalBinary(b []byte) error
- func (m *PostForgotPasswordPayload) Validate(formats strfmt.Registry) error
- type PostLoginPayload
- type PostLoginResponse
- type PostLogoutPayload
- type PostRefreshPayload
- type PostRegisterPayload
- type PostUpdatePushTokenPayload
- func (m *PostUpdatePushTokenPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PostUpdatePushTokenPayload) MarshalBinary() ([]byte, error)
- func (m *PostUpdatePushTokenPayload) UnmarshalBinary(b []byte) error
- func (m *PostUpdatePushTokenPayload) Validate(formats strfmt.Registry) error
- type PublicHTTPError
- type PublicHTTPValidationError
- func (m *PublicHTTPValidationError) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PublicHTTPValidationError) MarshalBinary() ([]byte, error)
- func (m PublicHTTPValidationError) MarshalJSON() ([]byte, error)
- func (m *PublicHTTPValidationError) UnmarshalBinary(b []byte) error
- func (m *PublicHTTPValidationError) UnmarshalJSON(raw []byte) error
- func (m *PublicHTTPValidationError) Validate(formats strfmt.Registry) error
- type SwaggerSpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetUserInfoResponse ¶
type GetUserInfoResponse struct { // Email address of user, if available // Example: user@example.com // Max Length: 255 // Format: email Email strfmt.Email `json:"email,omitempty"` // Auth-Scopes of the user, if available // Example: ["app"] Scopes []string `json:"scopes"` // ID of user // Example: 82ebdfad-c586-4407-a873-4cc1c33d56fc // Required: true Sub *string `json:"sub"` // Unix timestamp the user's info was last updated at // Example: 1591960808 // Required: true UpdatedAt *int64 `json:"updated_at"` }
GetUserInfoResponse get user info response
swagger:model getUserInfoResponse
func (*GetUserInfoResponse) ContextValidate ¶
ContextValidate validates this get user info response based on context it is used
func (*GetUserInfoResponse) MarshalBinary ¶
func (m *GetUserInfoResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetUserInfoResponse) UnmarshalBinary ¶
func (m *GetUserInfoResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HTTPValidationErrorDetail ¶
type HTTPValidationErrorDetail struct { // Error describing field validation failure // Required: true Error *string `json:"error"` // Indicates how the invalid field was provided // Required: true In *string `json:"in"` // Key of field failing validation // Required: true Key *string `json:"key"` }
HTTPValidationErrorDetail http validation error detail
swagger:model httpValidationErrorDetail
func (*HTTPValidationErrorDetail) ContextValidate ¶
func (m *HTTPValidationErrorDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this http validation error detail based on context it is used
func (*HTTPValidationErrorDetail) MarshalBinary ¶
func (m *HTTPValidationErrorDetail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HTTPValidationErrorDetail) UnmarshalBinary ¶
func (m *HTTPValidationErrorDetail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Nullables ¶
type Nullables struct { // nullable bool NullableBool nullable.Bool `json:"nullableBool,omitempty"` // nullable bool slice NullableBoolSlice nullable.BoolSlice `json:"nullableBoolSlice,omitempty"` // nullable float NullableFloat nullable.Float32 `json:"nullableFloat,omitempty"` // nullable float32 NullableFloat32 nullable.Float32 `json:"nullableFloat32,omitempty"` // nullable float32 slice NullableFloat32Slice nullable.Float32Slice `json:"nullableFloat32Slice,omitempty"` // nullable float64 NullableFloat64 nullable.Float64 `json:"nullableFloat64,omitempty"` // nullable float64 slice NullableFloat64Slice nullable.Float64Slice `json:"nullableFloat64Slice,omitempty"` // nullable float slice NullableFloatSlice nullable.Float32Slice `json:"nullableFloatSlice,omitempty"` // nullable int NullableInt nullable.Int `json:"nullableInt,omitempty"` // nullable int16 NullableInt16 nullable.Int16 `json:"nullableInt16,omitempty"` // nullable int16 slice NullableInt16Slice nullable.Int16Slice `json:"nullableInt16Slice,omitempty"` // nullable int32 NullableInt32 nullable.Int32 `json:"nullableInt32,omitempty"` // nullable int32 slice NullableInt32Slice nullable.Int32Slice `json:"nullableInt32Slice,omitempty"` // nullable int64 NullableInt64 nullable.Int64 `json:"nullableInt64,omitempty"` // nullable int64 slice NullableInt64Slice nullable.Int64Slice `json:"nullableInt64Slice,omitempty"` // nullable int slice NullableIntSlice nullable.IntSlice `json:"nullableIntSlice,omitempty"` // nullable string NullableString nullable.String `json:"nullableString,omitempty"` // nullable string slice NullableStringSlice nullable.StringSlice `json:"nullableStringSlice,omitempty"` }
Nullables nullables
swagger:model nullables
func (*Nullables) ContextValidate ¶
ContextValidate validate this nullables based on the context it is used
func (*Nullables) MarshalBinary ¶
MarshalBinary interface implementation
func (*Nullables) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type OrderDir ¶
type OrderDir string
OrderDir order dir
swagger:model orderDir
func NewOrderDir ¶
func (OrderDir) ContextValidate ¶
ContextValidate validates this order dir based on context it is used
type PostChangePasswordPayload ¶
type PostChangePasswordPayload struct { // Current password of user // Example: correct horse battery staple // Required: true // Max Length: 500 // Min Length: 1 CurrentPassword *string `json:"currentPassword"` // New password to set for user // Example: correct horse battery staple // Required: true // Max Length: 500 // Min Length: 1 NewPassword *string `json:"newPassword"` }
PostChangePasswordPayload post change password payload
swagger:model postChangePasswordPayload
func (*PostChangePasswordPayload) ContextValidate ¶
func (m *PostChangePasswordPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this post change password payload based on context it is used
func (*PostChangePasswordPayload) MarshalBinary ¶
func (m *PostChangePasswordPayload) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostChangePasswordPayload) UnmarshalBinary ¶
func (m *PostChangePasswordPayload) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostForgotPasswordCompletePayload ¶
type PostForgotPasswordCompletePayload struct { // New password to set for user // Example: correct horse battery staple // Required: true // Max Length: 500 // Min Length: 1 Password *string `json:"password"` // Password reset token sent via email // Example: ec16f032-3c44-4148-bbcc-45557466fa74 // Required: true // Format: uuid4 Token *strfmt.UUID4 `json:"token"` }
PostForgotPasswordCompletePayload post forgot password complete payload
swagger:model postForgotPasswordCompletePayload
func (*PostForgotPasswordCompletePayload) ContextValidate ¶
func (m *PostForgotPasswordCompletePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this post forgot password complete payload based on context it is used
func (*PostForgotPasswordCompletePayload) MarshalBinary ¶
func (m *PostForgotPasswordCompletePayload) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostForgotPasswordCompletePayload) UnmarshalBinary ¶
func (m *PostForgotPasswordCompletePayload) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostForgotPasswordPayload ¶
type PostForgotPasswordPayload struct { // Username to initiate password reset for // Example: user@example.com // Required: true // Max Length: 255 // Min Length: 1 // Format: email Username *strfmt.Email `json:"username"` }
PostForgotPasswordPayload post forgot password payload
swagger:model postForgotPasswordPayload
func (*PostForgotPasswordPayload) ContextValidate ¶
func (m *PostForgotPasswordPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this post forgot password payload based on context it is used
func (*PostForgotPasswordPayload) MarshalBinary ¶
func (m *PostForgotPasswordPayload) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostForgotPasswordPayload) UnmarshalBinary ¶
func (m *PostForgotPasswordPayload) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostLoginPayload ¶
type PostLoginPayload struct { // Password of user to authenticate as // Example: correct horse battery staple // Required: true // Max Length: 500 // Min Length: 1 Password *string `json:"password"` // Username of user to authenticate as // Example: user@example.com // Required: true // Max Length: 255 // Min Length: 1 // Format: email Username *strfmt.Email `json:"username"` }
PostLoginPayload post login payload
swagger:model postLoginPayload
func (*PostLoginPayload) ContextValidate ¶
ContextValidate validates this post login payload based on context it is used
func (*PostLoginPayload) MarshalBinary ¶
func (m *PostLoginPayload) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostLoginPayload) UnmarshalBinary ¶
func (m *PostLoginPayload) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostLoginResponse ¶
type PostLoginResponse struct { // Access token required for accessing protected API endpoints // Example: c1247d8d-0d65-41c4-bc86-ec041d2ac437 // Required: true // Format: uuid4 AccessToken *strfmt.UUID4 `json:"access_token"` // Access token expiry in seconds // Example: 86400 // Required: true ExpiresIn *int64 `json:"expires_in"` // Refresh token for refreshing the access token once it expires // Example: 1dadb3bd-50d8-485d-83a3-6111392568f0 // Required: true // Format: uuid4 RefreshToken *strfmt.UUID4 `json:"refresh_token"` // Type of access token, will always be `bearer` // Example: bearer // Required: true TokenType *string `json:"token_type"` }
PostLoginResponse post login response
swagger:model postLoginResponse
func (*PostLoginResponse) ContextValidate ¶
ContextValidate validates this post login response based on context it is used
func (*PostLoginResponse) MarshalBinary ¶
func (m *PostLoginResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostLoginResponse) UnmarshalBinary ¶
func (m *PostLoginResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostLogoutPayload ¶
type PostLogoutPayload struct { // Optional refresh token to delete while logging out // Example: 700ebed3-40f7-4211-bc83-a89b22b9875e // Format: uuid4 RefreshToken strfmt.UUID4 `json:"refresh_token,omitempty"` }
PostLogoutPayload post logout payload
swagger:model postLogoutPayload
func (*PostLogoutPayload) ContextValidate ¶
ContextValidate validates this post logout payload based on context it is used
func (*PostLogoutPayload) MarshalBinary ¶
func (m *PostLogoutPayload) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostLogoutPayload) UnmarshalBinary ¶
func (m *PostLogoutPayload) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostRefreshPayload ¶
type PostRefreshPayload struct { // Refresh token to use for retrieving new token set // Example: 7503cd8a-c921-4368-a32d-6c1d01d86da9 // Required: true // Format: uuid4 RefreshToken *strfmt.UUID4 `json:"refresh_token"` }
PostRefreshPayload post refresh payload
swagger:model postRefreshPayload
func (*PostRefreshPayload) ContextValidate ¶
ContextValidate validates this post refresh payload based on context it is used
func (*PostRefreshPayload) MarshalBinary ¶
func (m *PostRefreshPayload) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostRefreshPayload) UnmarshalBinary ¶
func (m *PostRefreshPayload) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostRegisterPayload ¶
type PostRegisterPayload struct { // Password to register with // Example: correct horse battery staple // Required: true // Max Length: 500 // Min Length: 1 Password *string `json:"password"` // Username to register with // Example: user@example.com // Required: true // Max Length: 255 // Min Length: 1 // Format: email Username *strfmt.Email `json:"username"` }
PostRegisterPayload post register payload
swagger:model postRegisterPayload
func (*PostRegisterPayload) ContextValidate ¶
ContextValidate validates this post register payload based on context it is used
func (*PostRegisterPayload) MarshalBinary ¶
func (m *PostRegisterPayload) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostRegisterPayload) UnmarshalBinary ¶
func (m *PostRegisterPayload) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostUpdatePushTokenPayload ¶
type PostUpdatePushTokenPayload struct { // New push token for given provider. // Example: 1c91e550-8167-439c-8021-dee7de2f7e96 // Required: true // Max Length: 500 NewToken *string `json:"newToken"` // Old token that can be deleted if present. // Example: 495179de-b771-48f0-aab2-8d23701b0f02 // Max Length: 500 OldToken *string `json:"oldToken,omitempty"` // Identifier of the provider the token is for (eg. "fcm", "apn"). Currently only "fcm" is supported. // Example: fcm // Required: true // Max Length: 500 Provider *string `json:"provider"` }
PostUpdatePushTokenPayload post update push token payload
swagger:model postUpdatePushTokenPayload
func (*PostUpdatePushTokenPayload) ContextValidate ¶
func (m *PostUpdatePushTokenPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this post update push token payload based on context it is used
func (*PostUpdatePushTokenPayload) MarshalBinary ¶
func (m *PostUpdatePushTokenPayload) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostUpdatePushTokenPayload) UnmarshalBinary ¶
func (m *PostUpdatePushTokenPayload) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PublicHTTPError ¶
type PublicHTTPError struct { // HTTP status code returned for the error // Example: 403 // Required: true // Maximum: 599 // Minimum: 100 Code *int64 `json:"status"` // More detailed, human-readable, optional explanation of the error // Example: User is lacking permission to access this resource Detail string `json:"detail,omitempty"` // Short, human-readable description of the error // Example: Forbidden // Required: true Title *string `json:"title"` // Type of error returned, should be used for client-side error handling // Example: generic // Required: true Type *string `json:"type"` // Error identifier // Example: MOD_117 XRef string `json:"x_ref,omitempty"` }
PublicHTTPError public Http error
swagger:model publicHttpError
func (*PublicHTTPError) ContextValidate ¶
ContextValidate validates this public Http error based on context it is used
func (*PublicHTTPError) MarshalBinary ¶
func (m *PublicHTTPError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PublicHTTPError) UnmarshalBinary ¶
func (m *PublicHTTPError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PublicHTTPValidationError ¶
type PublicHTTPValidationError struct { PublicHTTPError // List of errors received while validating payload against schema // Required: true ValidationErrors []*HTTPValidationErrorDetail `json:"validationErrors"` }
PublicHTTPValidationError public Http validation error
swagger:model publicHttpValidationError
func (*PublicHTTPValidationError) ContextValidate ¶
func (m *PublicHTTPValidationError) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this public Http validation error based on the context it is used
func (*PublicHTTPValidationError) MarshalBinary ¶
func (m *PublicHTTPValidationError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (PublicHTTPValidationError) MarshalJSON ¶
func (m PublicHTTPValidationError) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*PublicHTTPValidationError) UnmarshalBinary ¶
func (m *PublicHTTPValidationError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PublicHTTPValidationError) UnmarshalJSON ¶
func (m *PublicHTTPValidationError) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type SwaggerSpec ¶
SwaggerSpec API documentation
func NewSwaggerSpec ¶
func NewSwaggerSpec() *SwaggerSpec
NewSwaggerSpec creates a new SwaggerSpec instance
Source Files ¶
- get_user_info_response.go
- http_validation_error_detail.go
- nullables.go
- order_dir.go
- post_change_password_payload.go
- post_forgot_password_complete_payload.go
- post_forgot_password_payload.go
- post_login_payload.go
- post_login_response.go
- post_logout_payload.go
- post_refresh_payload.go
- post_register_payload.go
- post_update_push_token_payload.go
- public_http_error.go
- public_http_validation_error.go
- spec_handlers.go