Documentation
¶
Index ¶
- Constants
- type AutoTranslation
- type AutoTranslationBody
- func (o *AutoTranslationBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *AutoTranslationBody) MarshalBinary() ([]byte, error)
- func (o *AutoTranslationBody) UnmarshalBinary(b []byte) error
- func (o *AutoTranslationBody) UnmarshalJSON(data []byte) error
- func (o *AutoTranslationBody) Validate(formats strfmt.Registry) error
- type AutoTranslationDefault
- func (o *AutoTranslationDefault) AutoTranslationResponder()
- func (o *AutoTranslationDefault) SetPayload(payload *model.Error)
- func (o *AutoTranslationDefault) SetStatusCode(code int)
- func (o *AutoTranslationDefault) WithPayload(payload *model.Error) *AutoTranslationDefault
- func (o *AutoTranslationDefault) WithStatusCode(code int) *AutoTranslationDefault
- func (o *AutoTranslationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type AutoTranslationHandler
- type AutoTranslationHandlerFunc
- type AutoTranslationNotImplementedResponder
- type AutoTranslationOK
- func (o *AutoTranslationOK) AutoTranslationResponder()
- func (o *AutoTranslationOK) SetPayload(payload *AutoTranslationOKBody)
- func (o *AutoTranslationOK) WithPayload(payload *AutoTranslationOKBody) *AutoTranslationOK
- func (o *AutoTranslationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type AutoTranslationOKBody
- func (o *AutoTranslationOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *AutoTranslationOKBody) MarshalBinary() ([]byte, error)
- func (o *AutoTranslationOKBody) UnmarshalBinary(b []byte) error
- func (o *AutoTranslationOKBody) UnmarshalJSON(data []byte) error
- func (o *AutoTranslationOKBody) Validate(formats strfmt.Registry) error
- type AutoTranslationParams
- type AutoTranslationResponder
- type AutoTranslationURL
- func (o *AutoTranslationURL) Build() (*url.URL, error)
- func (o *AutoTranslationURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *AutoTranslationURL) Must(u *url.URL, err error) *url.URL
- func (o *AutoTranslationURL) SetBasePath(bp string)
- func (o *AutoTranslationURL) String() string
- func (o *AutoTranslationURL) StringFull(scheme, host string) string
- func (o *AutoTranslationURL) WithBasePath(bp string) *AutoTranslationURL
- type CreateCategory
- type CreateCategoryBody
- func (o *CreateCategoryBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateCategoryBody) MarshalBinary() ([]byte, error)
- func (o *CreateCategoryBody) UnmarshalBinary(b []byte) error
- func (o *CreateCategoryBody) UnmarshalJSON(data []byte) error
- func (o *CreateCategoryBody) Validate(formats strfmt.Registry) error
- type CreateCategoryDefault
- func (o *CreateCategoryDefault) CreateCategoryResponder()
- func (o *CreateCategoryDefault) SetPayload(payload *model.Error)
- func (o *CreateCategoryDefault) SetStatusCode(code int)
- func (o *CreateCategoryDefault) WithPayload(payload *model.Error) *CreateCategoryDefault
- func (o *CreateCategoryDefault) WithStatusCode(code int) *CreateCategoryDefault
- func (o *CreateCategoryDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateCategoryHandler
- type CreateCategoryHandlerFunc
- type CreateCategoryNoContent
- type CreateCategoryNotImplementedResponder
- type CreateCategoryParams
- type CreateCategoryResponder
- type CreateCategoryURL
- func (o *CreateCategoryURL) Build() (*url.URL, error)
- func (o *CreateCategoryURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateCategoryURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateCategoryURL) SetBasePath(bp string)
- func (o *CreateCategoryURL) String() string
- func (o *CreateCategoryURL) StringFull(scheme, host string) string
- func (o *CreateCategoryURL) WithBasePath(bp string) *CreateCategoryURL
- type CreateIdentifier
- type CreateIdentifierBody
- func (o *CreateIdentifierBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateIdentifierBody) MarshalBinary() ([]byte, error)
- func (o *CreateIdentifierBody) UnmarshalBinary(b []byte) error
- func (o *CreateIdentifierBody) UnmarshalJSON(data []byte) error
- func (o *CreateIdentifierBody) Validate(formats strfmt.Registry) error
- type CreateIdentifierDefault
- func (o *CreateIdentifierDefault) CreateIdentifierResponder()
- func (o *CreateIdentifierDefault) SetPayload(payload *model.Error)
- func (o *CreateIdentifierDefault) SetStatusCode(code int)
- func (o *CreateIdentifierDefault) WithPayload(payload *model.Error) *CreateIdentifierDefault
- func (o *CreateIdentifierDefault) WithStatusCode(code int) *CreateIdentifierDefault
- func (o *CreateIdentifierDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateIdentifierHandler
- type CreateIdentifierHandlerFunc
- type CreateIdentifierNoContent
- type CreateIdentifierNotImplementedResponder
- type CreateIdentifierParams
- type CreateIdentifierResponder
- type CreateIdentifierURL
- func (o *CreateIdentifierURL) Build() (*url.URL, error)
- func (o *CreateIdentifierURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateIdentifierURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateIdentifierURL) SetBasePath(bp string)
- func (o *CreateIdentifierURL) String() string
- func (o *CreateIdentifierURL) StringFull(scheme, host string) string
- func (o *CreateIdentifierURL) WithBasePath(bp string) *CreateIdentifierURL
- type CreateLocalization
- type CreateLocalizationBody
- func (o *CreateLocalizationBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateLocalizationBody) MarshalBinary() ([]byte, error)
- func (o *CreateLocalizationBody) UnmarshalBinary(b []byte) error
- func (o *CreateLocalizationBody) UnmarshalJSON(data []byte) error
- func (o *CreateLocalizationBody) Validate(formats strfmt.Registry) error
- type CreateLocalizationDefault
- func (o *CreateLocalizationDefault) CreateLocalizationResponder()
- func (o *CreateLocalizationDefault) SetPayload(payload *model.Error)
- func (o *CreateLocalizationDefault) SetStatusCode(code int)
- func (o *CreateLocalizationDefault) WithPayload(payload *model.Error) *CreateLocalizationDefault
- func (o *CreateLocalizationDefault) WithStatusCode(code int) *CreateLocalizationDefault
- func (o *CreateLocalizationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateLocalizationHandler
- type CreateLocalizationHandlerFunc
- type CreateLocalizationNoContent
- type CreateLocalizationNotImplementedResponder
- type CreateLocalizationParams
- type CreateLocalizationResponder
- type CreateLocalizationURL
- func (o *CreateLocalizationURL) Build() (*url.URL, error)
- func (o *CreateLocalizationURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateLocalizationURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateLocalizationURL) SetBasePath(bp string)
- func (o *CreateLocalizationURL) String() string
- func (o *CreateLocalizationURL) StringFull(scheme, host string) string
- func (o *CreateLocalizationURL) WithBasePath(bp string) *CreateLocalizationURL
- type CreateTranslation
- type CreateTranslationBody
- func (o *CreateTranslationBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateTranslationBody) MarshalBinary() ([]byte, error)
- func (o *CreateTranslationBody) UnmarshalBinary(b []byte) error
- func (o *CreateTranslationBody) UnmarshalJSON(data []byte) error
- func (o *CreateTranslationBody) Validate(formats strfmt.Registry) error
- type CreateTranslationDefault
- func (o *CreateTranslationDefault) CreateTranslationResponder()
- func (o *CreateTranslationDefault) SetPayload(payload *model.Error)
- func (o *CreateTranslationDefault) SetStatusCode(code int)
- func (o *CreateTranslationDefault) WithPayload(payload *model.Error) *CreateTranslationDefault
- func (o *CreateTranslationDefault) WithStatusCode(code int) *CreateTranslationDefault
- func (o *CreateTranslationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateTranslationFiles
- type CreateTranslationFilesBody
- func (o *CreateTranslationFilesBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateTranslationFilesBody) MarshalBinary() ([]byte, error)
- func (o *CreateTranslationFilesBody) UnmarshalBinary(b []byte) error
- func (o *CreateTranslationFilesBody) UnmarshalJSON(data []byte) error
- func (o *CreateTranslationFilesBody) Validate(formats strfmt.Registry) error
- type CreateTranslationFilesDefault
- func (o *CreateTranslationFilesDefault) CreateTranslationFilesResponder()
- func (o *CreateTranslationFilesDefault) SetPayload(payload *model.Error)
- func (o *CreateTranslationFilesDefault) SetStatusCode(code int)
- func (o *CreateTranslationFilesDefault) WithPayload(payload *model.Error) *CreateTranslationFilesDefault
- func (o *CreateTranslationFilesDefault) WithStatusCode(code int) *CreateTranslationFilesDefault
- func (o *CreateTranslationFilesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateTranslationFilesHandler
- type CreateTranslationFilesHandlerFunc
- type CreateTranslationFilesNoContent
- type CreateTranslationFilesNotImplementedResponder
- type CreateTranslationFilesParams
- type CreateTranslationFilesResponder
- type CreateTranslationFilesURL
- func (o *CreateTranslationFilesURL) Build() (*url.URL, error)
- func (o *CreateTranslationFilesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateTranslationFilesURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateTranslationFilesURL) SetBasePath(bp string)
- func (o *CreateTranslationFilesURL) String() string
- func (o *CreateTranslationFilesURL) StringFull(scheme, host string) string
- func (o *CreateTranslationFilesURL) WithBasePath(bp string) *CreateTranslationFilesURL
- type CreateTranslationHandler
- type CreateTranslationHandlerFunc
- type CreateTranslationNoContent
- type CreateTranslationNotImplementedResponder
- type CreateTranslationParams
- type CreateTranslationResponder
- type CreateTranslationURL
- func (o *CreateTranslationURL) Build() (*url.URL, error)
- func (o *CreateTranslationURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateTranslationURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateTranslationURL) SetBasePath(bp string)
- func (o *CreateTranslationURL) String() string
- func (o *CreateTranslationURL) StringFull(scheme, host string) string
- func (o *CreateTranslationURL) WithBasePath(bp string) *CreateTranslationURL
- type DeleteCategory
- type DeleteCategoryDefault
- func (o *DeleteCategoryDefault) DeleteCategoryResponder()
- func (o *DeleteCategoryDefault) SetPayload(payload *model.Error)
- func (o *DeleteCategoryDefault) SetStatusCode(code int)
- func (o *DeleteCategoryDefault) WithPayload(payload *model.Error) *DeleteCategoryDefault
- func (o *DeleteCategoryDefault) WithStatusCode(code int) *DeleteCategoryDefault
- func (o *DeleteCategoryDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteCategoryHandler
- type DeleteCategoryHandlerFunc
- type DeleteCategoryNoContent
- type DeleteCategoryNotImplementedResponder
- type DeleteCategoryParams
- type DeleteCategoryResponder
- type DeleteCategoryURL
- func (o *DeleteCategoryURL) Build() (*url.URL, error)
- func (o *DeleteCategoryURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteCategoryURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteCategoryURL) SetBasePath(bp string)
- func (o *DeleteCategoryURL) String() string
- func (o *DeleteCategoryURL) StringFull(scheme, host string) string
- func (o *DeleteCategoryURL) WithBasePath(bp string) *DeleteCategoryURL
- type DeleteIdentifier
- type DeleteIdentifierDefault
- func (o *DeleteIdentifierDefault) DeleteIdentifierResponder()
- func (o *DeleteIdentifierDefault) SetPayload(payload *model.Error)
- func (o *DeleteIdentifierDefault) SetStatusCode(code int)
- func (o *DeleteIdentifierDefault) WithPayload(payload *model.Error) *DeleteIdentifierDefault
- func (o *DeleteIdentifierDefault) WithStatusCode(code int) *DeleteIdentifierDefault
- func (o *DeleteIdentifierDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteIdentifierHandler
- type DeleteIdentifierHandlerFunc
- type DeleteIdentifierNoContent
- type DeleteIdentifierNotImplementedResponder
- type DeleteIdentifierParams
- type DeleteIdentifierResponder
- type DeleteIdentifierURL
- func (o *DeleteIdentifierURL) Build() (*url.URL, error)
- func (o *DeleteIdentifierURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteIdentifierURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteIdentifierURL) SetBasePath(bp string)
- func (o *DeleteIdentifierURL) String() string
- func (o *DeleteIdentifierURL) StringFull(scheme, host string) string
- func (o *DeleteIdentifierURL) WithBasePath(bp string) *DeleteIdentifierURL
- type DeleteLocalization
- type DeleteLocalizationDefault
- func (o *DeleteLocalizationDefault) DeleteLocalizationResponder()
- func (o *DeleteLocalizationDefault) SetPayload(payload *model.Error)
- func (o *DeleteLocalizationDefault) SetStatusCode(code int)
- func (o *DeleteLocalizationDefault) WithPayload(payload *model.Error) *DeleteLocalizationDefault
- func (o *DeleteLocalizationDefault) WithStatusCode(code int) *DeleteLocalizationDefault
- func (o *DeleteLocalizationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteLocalizationHandler
- type DeleteLocalizationHandlerFunc
- type DeleteLocalizationNoContent
- type DeleteLocalizationNotImplementedResponder
- type DeleteLocalizationParams
- type DeleteLocalizationResponder
- type DeleteLocalizationURL
- func (o *DeleteLocalizationURL) Build() (*url.URL, error)
- func (o *DeleteLocalizationURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteLocalizationURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteLocalizationURL) SetBasePath(bp string)
- func (o *DeleteLocalizationURL) String() string
- func (o *DeleteLocalizationURL) StringFull(scheme, host string) string
- func (o *DeleteLocalizationURL) WithBasePath(bp string) *DeleteLocalizationURL
- type DeleteTranslation
- type DeleteTranslationDefault
- func (o *DeleteTranslationDefault) DeleteTranslationResponder()
- func (o *DeleteTranslationDefault) SetPayload(payload *model.Error)
- func (o *DeleteTranslationDefault) SetStatusCode(code int)
- func (o *DeleteTranslationDefault) WithPayload(payload *model.Error) *DeleteTranslationDefault
- func (o *DeleteTranslationDefault) WithStatusCode(code int) *DeleteTranslationDefault
- func (o *DeleteTranslationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteTranslationFile
- type DeleteTranslationFileDefault
- func (o *DeleteTranslationFileDefault) DeleteTranslationFileResponder()
- func (o *DeleteTranslationFileDefault) SetPayload(payload *model.Error)
- func (o *DeleteTranslationFileDefault) SetStatusCode(code int)
- func (o *DeleteTranslationFileDefault) WithPayload(payload *model.Error) *DeleteTranslationFileDefault
- func (o *DeleteTranslationFileDefault) WithStatusCode(code int) *DeleteTranslationFileDefault
- func (o *DeleteTranslationFileDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteTranslationFileHandler
- type DeleteTranslationFileHandlerFunc
- type DeleteTranslationFileNoContent
- type DeleteTranslationFileNotImplementedResponder
- type DeleteTranslationFileParams
- type DeleteTranslationFileResponder
- type DeleteTranslationFileURL
- func (o *DeleteTranslationFileURL) Build() (*url.URL, error)
- func (o *DeleteTranslationFileURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteTranslationFileURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteTranslationFileURL) SetBasePath(bp string)
- func (o *DeleteTranslationFileURL) String() string
- func (o *DeleteTranslationFileURL) StringFull(scheme, host string) string
- func (o *DeleteTranslationFileURL) WithBasePath(bp string) *DeleteTranslationFileURL
- type DeleteTranslationHandler
- type DeleteTranslationHandlerFunc
- type DeleteTranslationNoContent
- type DeleteTranslationNotImplementedResponder
- type DeleteTranslationParams
- type DeleteTranslationResponder
- type DeleteTranslationURL
- func (o *DeleteTranslationURL) Build() (*url.URL, error)
- func (o *DeleteTranslationURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteTranslationURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteTranslationURL) SetBasePath(bp string)
- func (o *DeleteTranslationURL) String() string
- func (o *DeleteTranslationURL) StringFull(scheme, host string) string
- func (o *DeleteTranslationURL) WithBasePath(bp string) *DeleteTranslationURL
- type FreonFrontendAPI
- func (o *FreonFrontendAPI) AddMiddlewareFor(method, path string, builder middleware.Builder)
- func (o *FreonFrontendAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator
- func (o *FreonFrontendAPI) Authorizer() runtime.Authorizer
- func (o *FreonFrontendAPI) ConsumersFor(mediaTypes []string) map[string]runtime.Consumer
- func (o *FreonFrontendAPI) Context() *middleware.Context
- func (o *FreonFrontendAPI) DefaultConsumes() string
- func (o *FreonFrontendAPI) DefaultProduces() string
- func (o *FreonFrontendAPI) Formats() strfmt.Registry
- func (o *FreonFrontendAPI) HandlerFor(method, path string) (http.Handler, bool)
- func (o *FreonFrontendAPI) Init()
- func (o *FreonFrontendAPI) ProducersFor(mediaTypes []string) map[string]runtime.Producer
- func (o *FreonFrontendAPI) RegisterConsumer(mediaType string, consumer runtime.Consumer)
- func (o *FreonFrontendAPI) RegisterFormat(name string, format strfmt.Format, validator strfmt.Validator)
- func (o *FreonFrontendAPI) RegisterProducer(mediaType string, producer runtime.Producer)
- func (o *FreonFrontendAPI) Serve(builder middleware.Builder) http.Handler
- func (o *FreonFrontendAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error)
- func (o *FreonFrontendAPI) SetDefaultConsumes(mediaType string)
- func (o *FreonFrontendAPI) SetDefaultProduces(mediaType string)
- func (o *FreonFrontendAPI) SetSpec(spec *loads.Document)
- func (o *FreonFrontendAPI) UseRedoc()
- func (o *FreonFrontendAPI) UseSwaggerUI()
- func (o *FreonFrontendAPI) Validate() error
- type HealthCheck
- type HealthCheckDefault
- func (o *HealthCheckDefault) HealthCheckResponder()
- func (o *HealthCheckDefault) SetPayload(payload *model.Error)
- func (o *HealthCheckDefault) SetStatusCode(code int)
- func (o *HealthCheckDefault) WithPayload(payload *model.Error) *HealthCheckDefault
- func (o *HealthCheckDefault) WithStatusCode(code int) *HealthCheckDefault
- func (o *HealthCheckDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type HealthCheckHandler
- type HealthCheckHandlerFunc
- type HealthCheckNotImplementedResponder
- type HealthCheckOK
- type HealthCheckParams
- type HealthCheckResponder
- type HealthCheckURL
- func (o *HealthCheckURL) Build() (*url.URL, error)
- func (o *HealthCheckURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *HealthCheckURL) Must(u *url.URL, err error) *url.URL
- func (o *HealthCheckURL) SetBasePath(bp string)
- func (o *HealthCheckURL) String() string
- func (o *HealthCheckURL) StringFull(scheme, host string) string
- func (o *HealthCheckURL) WithBasePath(bp string) *HealthCheckURL
- type Info
- type InfoDefault
- func (o *InfoDefault) InfoResponder()
- func (o *InfoDefault) SetPayload(payload *model.Error)
- func (o *InfoDefault) SetStatusCode(code int)
- func (o *InfoDefault) WithPayload(payload *model.Error) *InfoDefault
- func (o *InfoDefault) WithStatusCode(code int) *InfoDefault
- func (o *InfoDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type InfoHandler
- type InfoHandlerFunc
- type InfoNotImplementedResponder
- type InfoOK
- type InfoParams
- type InfoResponder
- type InfoURL
- func (o *InfoURL) Build() (*url.URL, error)
- func (o *InfoURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *InfoURL) Must(u *url.URL, err error) *url.URL
- func (o *InfoURL) SetBasePath(bp string)
- func (o *InfoURL) String() string
- func (o *InfoURL) StringFull(scheme, host string) string
- func (o *InfoURL) WithBasePath(bp string) *InfoURL
- type ListCategories
- type ListCategoriesDefault
- func (o *ListCategoriesDefault) ListCategoriesResponder()
- func (o *ListCategoriesDefault) SetPayload(payload *model.Error)
- func (o *ListCategoriesDefault) SetStatusCode(code int)
- func (o *ListCategoriesDefault) WithPayload(payload *model.Error) *ListCategoriesDefault
- func (o *ListCategoriesDefault) WithStatusCode(code int) *ListCategoriesDefault
- func (o *ListCategoriesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListCategoriesHandler
- type ListCategoriesHandlerFunc
- type ListCategoriesNotImplementedResponder
- type ListCategoriesOK
- type ListCategoriesParams
- type ListCategoriesResponder
- type ListCategoriesURL
- func (o *ListCategoriesURL) Build() (*url.URL, error)
- func (o *ListCategoriesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListCategoriesURL) Must(u *url.URL, err error) *url.URL
- func (o *ListCategoriesURL) SetBasePath(bp string)
- func (o *ListCategoriesURL) String() string
- func (o *ListCategoriesURL) StringFull(scheme, host string) string
- func (o *ListCategoriesURL) WithBasePath(bp string) *ListCategoriesURL
- type ListIdentifiers
- type ListIdentifiersDefault
- func (o *ListIdentifiersDefault) ListIdentifiersResponder()
- func (o *ListIdentifiersDefault) SetPayload(payload *model.Error)
- func (o *ListIdentifiersDefault) SetStatusCode(code int)
- func (o *ListIdentifiersDefault) WithPayload(payload *model.Error) *ListIdentifiersDefault
- func (o *ListIdentifiersDefault) WithStatusCode(code int) *ListIdentifiersDefault
- func (o *ListIdentifiersDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListIdentifiersHandler
- type ListIdentifiersHandlerFunc
- type ListIdentifiersNotImplementedResponder
- type ListIdentifiersOK
- func (o *ListIdentifiersOK) ListIdentifiersResponder()
- func (o *ListIdentifiersOK) SetPayload(payload []*model.Identifier)
- func (o *ListIdentifiersOK) WithPayload(payload []*model.Identifier) *ListIdentifiersOK
- func (o *ListIdentifiersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListIdentifiersParams
- type ListIdentifiersResponder
- type ListIdentifiersURL
- func (o *ListIdentifiersURL) Build() (*url.URL, error)
- func (o *ListIdentifiersURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListIdentifiersURL) Must(u *url.URL, err error) *url.URL
- func (o *ListIdentifiersURL) SetBasePath(bp string)
- func (o *ListIdentifiersURL) String() string
- func (o *ListIdentifiersURL) StringFull(scheme, host string) string
- func (o *ListIdentifiersURL) WithBasePath(bp string) *ListIdentifiersURL
- type ListLocalization
- type ListLocalizationDefault
- func (o *ListLocalizationDefault) ListLocalizationResponder()
- func (o *ListLocalizationDefault) SetPayload(payload *model.Error)
- func (o *ListLocalizationDefault) SetStatusCode(code int)
- func (o *ListLocalizationDefault) WithPayload(payload *model.Error) *ListLocalizationDefault
- func (o *ListLocalizationDefault) WithStatusCode(code int) *ListLocalizationDefault
- func (o *ListLocalizationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListLocalizationHandler
- type ListLocalizationHandlerFunc
- type ListLocalizationNotImplementedResponder
- type ListLocalizationOK
- func (o *ListLocalizationOK) ListLocalizationResponder()
- func (o *ListLocalizationOK) SetPayload(payload []*model.Localization)
- func (o *ListLocalizationOK) WithPayload(payload []*model.Localization) *ListLocalizationOK
- func (o *ListLocalizationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListLocalizationParams
- type ListLocalizationResponder
- type ListLocalizationURL
- func (o *ListLocalizationURL) Build() (*url.URL, error)
- func (o *ListLocalizationURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListLocalizationURL) Must(u *url.URL, err error) *url.URL
- func (o *ListLocalizationURL) SetBasePath(bp string)
- func (o *ListLocalizationURL) String() string
- func (o *ListLocalizationURL) StringFull(scheme, host string) string
- func (o *ListLocalizationURL) WithBasePath(bp string) *ListLocalizationURL
- type ListTranslationFiles
- type ListTranslationFilesDefault
- func (o *ListTranslationFilesDefault) ListTranslationFilesResponder()
- func (o *ListTranslationFilesDefault) SetPayload(payload *model.Error)
- func (o *ListTranslationFilesDefault) SetStatusCode(code int)
- func (o *ListTranslationFilesDefault) WithPayload(payload *model.Error) *ListTranslationFilesDefault
- func (o *ListTranslationFilesDefault) WithStatusCode(code int) *ListTranslationFilesDefault
- func (o *ListTranslationFilesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListTranslationFilesHandler
- type ListTranslationFilesHandlerFunc
- type ListTranslationFilesNotImplementedResponder
- type ListTranslationFilesOK
- func (o *ListTranslationFilesOK) ListTranslationFilesResponder()
- func (o *ListTranslationFilesOK) SetPayload(payload []*model.TranslationFile)
- func (o *ListTranslationFilesOK) WithPayload(payload []*model.TranslationFile) *ListTranslationFilesOK
- func (o *ListTranslationFilesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListTranslationFilesParams
- type ListTranslationFilesResponder
- type ListTranslationFilesURL
- func (o *ListTranslationFilesURL) Build() (*url.URL, error)
- func (o *ListTranslationFilesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListTranslationFilesURL) Must(u *url.URL, err error) *url.URL
- func (o *ListTranslationFilesURL) SetBasePath(bp string)
- func (o *ListTranslationFilesURL) String() string
- func (o *ListTranslationFilesURL) StringFull(scheme, host string) string
- func (o *ListTranslationFilesURL) WithBasePath(bp string) *ListTranslationFilesURL
- type ListTranslations
- type ListTranslationsDefault
- func (o *ListTranslationsDefault) ListTranslationsResponder()
- func (o *ListTranslationsDefault) SetPayload(payload *model.Error)
- func (o *ListTranslationsDefault) SetStatusCode(code int)
- func (o *ListTranslationsDefault) WithPayload(payload *model.Error) *ListTranslationsDefault
- func (o *ListTranslationsDefault) WithStatusCode(code int) *ListTranslationsDefault
- func (o *ListTranslationsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListTranslationsHandler
- type ListTranslationsHandlerFunc
- type ListTranslationsNotImplementedResponder
- type ListTranslationsOK
- func (o *ListTranslationsOK) ListTranslationsResponder()
- func (o *ListTranslationsOK) SetPayload(payload []*model.Translation)
- func (o *ListTranslationsOK) WithPayload(payload []*model.Translation) *ListTranslationsOK
- func (o *ListTranslationsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListTranslationsParams
- type ListTranslationsResponder
- type ListTranslationsURL
- func (o *ListTranslationsURL) Build() (*url.URL, error)
- func (o *ListTranslationsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListTranslationsURL) Must(u *url.URL, err error) *url.URL
- func (o *ListTranslationsURL) SetBasePath(bp string)
- func (o *ListTranslationsURL) String() string
- func (o *ListTranslationsURL) StringFull(scheme, host string) string
- func (o *ListTranslationsURL) WithBasePath(bp string) *ListTranslationsURL
- type ListUser
- type ListUserDefault
- func (o *ListUserDefault) ListUserResponder()
- func (o *ListUserDefault) SetPayload(payload *model.Error)
- func (o *ListUserDefault) SetStatusCode(code int)
- func (o *ListUserDefault) WithPayload(payload *model.Error) *ListUserDefault
- func (o *ListUserDefault) WithStatusCode(code int) *ListUserDefault
- func (o *ListUserDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListUserHandler
- type ListUserHandlerFunc
- type ListUserNotImplementedResponder
- type ListUserOK
- type ListUserParams
- type ListUserResponder
- type ListUserURL
- func (o *ListUserURL) Build() (*url.URL, error)
- func (o *ListUserURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListUserURL) Must(u *url.URL, err error) *url.URL
- func (o *ListUserURL) SetBasePath(bp string)
- func (o *ListUserURL) String() string
- func (o *ListUserURL) StringFull(scheme, host string) string
- func (o *ListUserURL) WithBasePath(bp string) *ListUserURL
- type Login
- type LoginBody
- func (o *LoginBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *LoginBody) MarshalBinary() ([]byte, error)
- func (o *LoginBody) UnmarshalBinary(b []byte) error
- func (o *LoginBody) UnmarshalJSON(data []byte) error
- func (o *LoginBody) Validate(formats strfmt.Registry) error
- type LoginDefault
- func (o *LoginDefault) LoginResponder()
- func (o *LoginDefault) SetPayload(payload *model.Error)
- func (o *LoginDefault) SetStatusCode(code int)
- func (o *LoginDefault) WithPayload(payload *model.Error) *LoginDefault
- func (o *LoginDefault) WithStatusCode(code int) *LoginDefault
- func (o *LoginDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type LoginHandler
- type LoginHandlerFunc
- type LoginNotImplementedResponder
- type LoginOK
- type LoginOKBody
- func (o *LoginOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *LoginOKBody) MarshalBinary() ([]byte, error)
- func (o *LoginOKBody) UnmarshalBinary(b []byte) error
- func (o *LoginOKBody) UnmarshalJSON(data []byte) error
- func (o *LoginOKBody) Validate(formats strfmt.Registry) error
- type LoginOKBodyUser
- func (o *LoginOKBodyUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *LoginOKBodyUser) MarshalBinary() ([]byte, error)
- func (o *LoginOKBodyUser) UnmarshalBinary(b []byte) error
- func (o *LoginOKBodyUser) UnmarshalJSON(data []byte) error
- func (o *LoginOKBodyUser) Validate(formats strfmt.Registry) error
- type LoginParams
- type LoginResponder
- type LoginURL
- func (o *LoginURL) Build() (*url.URL, error)
- func (o *LoginURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *LoginURL) Must(u *url.URL, err error) *url.URL
- func (o *LoginURL) SetBasePath(bp string)
- func (o *LoginURL) String() string
- func (o *LoginURL) StringFull(scheme, host string) string
- func (o *LoginURL) WithBasePath(bp string) *LoginURL
- type LogoutUser
- type LogoutUserDefault
- func (o *LogoutUserDefault) LogoutUserResponder()
- func (o *LogoutUserDefault) SetPayload(payload *model.Error)
- func (o *LogoutUserDefault) SetStatusCode(code int)
- func (o *LogoutUserDefault) WithPayload(payload *model.Error) *LogoutUserDefault
- func (o *LogoutUserDefault) WithStatusCode(code int) *LogoutUserDefault
- func (o *LogoutUserDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type LogoutUserHandler
- type LogoutUserHandlerFunc
- type LogoutUserNoContent
- type LogoutUserNotImplementedResponder
- type LogoutUserParams
- type LogoutUserResponder
- type LogoutUserURL
- func (o *LogoutUserURL) Build() (*url.URL, error)
- func (o *LogoutUserURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *LogoutUserURL) Must(u *url.URL, err error) *url.URL
- func (o *LogoutUserURL) SetBasePath(bp string)
- func (o *LogoutUserURL) String() string
- func (o *LogoutUserURL) StringFull(scheme, host string) string
- func (o *LogoutUserURL) WithBasePath(bp string) *LogoutUserURL
- type RegUser
- type RegUserBody
- func (o *RegUserBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *RegUserBody) MarshalBinary() ([]byte, error)
- func (o *RegUserBody) UnmarshalBinary(b []byte) error
- func (o *RegUserBody) UnmarshalJSON(data []byte) error
- func (o *RegUserBody) Validate(formats strfmt.Registry) error
- type RegUserDefault
- func (o *RegUserDefault) RegUserResponder()
- func (o *RegUserDefault) SetPayload(payload *model.Error)
- func (o *RegUserDefault) SetStatusCode(code int)
- func (o *RegUserDefault) WithPayload(payload *model.Error) *RegUserDefault
- func (o *RegUserDefault) WithStatusCode(code int) *RegUserDefault
- func (o *RegUserDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RegUserHandler
- type RegUserHandlerFunc
- type RegUserNoContent
- type RegUserNotImplementedResponder
- type RegUserParams
- type RegUserResponder
- type RegUserURL
- func (o *RegUserURL) Build() (*url.URL, error)
- func (o *RegUserURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *RegUserURL) Must(u *url.URL, err error) *url.URL
- func (o *RegUserURL) SetBasePath(bp string)
- func (o *RegUserURL) String() string
- func (o *RegUserURL) StringFull(scheme, host string) string
- func (o *RegUserURL) WithBasePath(bp string) *RegUserURL
- type SettingStorage
- type SettingStorageBody
- func (o *SettingStorageBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *SettingStorageBody) MarshalBinary() ([]byte, error)
- func (o *SettingStorageBody) UnmarshalBinary(b []byte) error
- func (o *SettingStorageBody) UnmarshalJSON(data []byte) error
- func (o *SettingStorageBody) Validate(formats strfmt.Registry) error
- type SettingStorageDefault
- func (o *SettingStorageDefault) SetPayload(payload *model.Error)
- func (o *SettingStorageDefault) SetStatusCode(code int)
- func (o *SettingStorageDefault) SettingStorageResponder()
- func (o *SettingStorageDefault) WithPayload(payload *model.Error) *SettingStorageDefault
- func (o *SettingStorageDefault) WithStatusCode(code int) *SettingStorageDefault
- func (o *SettingStorageDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SettingStorageHandler
- type SettingStorageHandlerFunc
- type SettingStorageNoContent
- type SettingStorageNotImplementedResponder
- type SettingStorageParams
- type SettingStorageResponder
- type SettingStorageURL
- func (o *SettingStorageURL) Build() (*url.URL, error)
- func (o *SettingStorageURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SettingStorageURL) Must(u *url.URL, err error) *url.URL
- func (o *SettingStorageURL) SetBasePath(bp string)
- func (o *SettingStorageURL) String() string
- func (o *SettingStorageURL) StringFull(scheme, host string) string
- func (o *SettingStorageURL) WithBasePath(bp string) *SettingStorageURL
- type SettingTranslation
- type SettingTranslationBody
- func (o *SettingTranslationBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *SettingTranslationBody) MarshalBinary() ([]byte, error)
- func (o *SettingTranslationBody) UnmarshalBinary(b []byte) error
- func (o *SettingTranslationBody) UnmarshalJSON(data []byte) error
- func (o *SettingTranslationBody) Validate(formats strfmt.Registry) error
- type SettingTranslationDefault
- func (o *SettingTranslationDefault) SetPayload(payload *model.Error)
- func (o *SettingTranslationDefault) SetStatusCode(code int)
- func (o *SettingTranslationDefault) SettingTranslationResponder()
- func (o *SettingTranslationDefault) WithPayload(payload *model.Error) *SettingTranslationDefault
- func (o *SettingTranslationDefault) WithStatusCode(code int) *SettingTranslationDefault
- func (o *SettingTranslationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SettingTranslationHandler
- type SettingTranslationHandlerFunc
- type SettingTranslationNoContent
- type SettingTranslationNotImplementedResponder
- type SettingTranslationParams
- type SettingTranslationResponder
- type SettingTranslationURL
- func (o *SettingTranslationURL) Build() (*url.URL, error)
- func (o *SettingTranslationURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SettingTranslationURL) Must(u *url.URL, err error) *url.URL
- func (o *SettingTranslationURL) SetBasePath(bp string)
- func (o *SettingTranslationURL) String() string
- func (o *SettingTranslationURL) StringFull(scheme, host string) string
- func (o *SettingTranslationURL) WithBasePath(bp string) *SettingTranslationURL
- type Settings
- type SettingsDefault
- func (o *SettingsDefault) SetPayload(payload *model.Error)
- func (o *SettingsDefault) SetStatusCode(code int)
- func (o *SettingsDefault) SettingsResponder()
- func (o *SettingsDefault) WithPayload(payload *model.Error) *SettingsDefault
- func (o *SettingsDefault) WithStatusCode(code int) *SettingsDefault
- func (o *SettingsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SettingsHandler
- type SettingsHandlerFunc
- type SettingsNotImplementedResponder
- type SettingsOK
- type SettingsOKBody
- func (o *SettingsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *SettingsOKBody) MarshalBinary() ([]byte, error)
- func (o *SettingsOKBody) UnmarshalBinary(b []byte) error
- func (o *SettingsOKBody) UnmarshalJSON(data []byte) error
- func (o *SettingsOKBody) Validate(formats strfmt.Registry) error
- type SettingsParams
- type SettingsResponder
- type SettingsURL
- func (o *SettingsURL) Build() (*url.URL, error)
- func (o *SettingsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SettingsURL) Must(u *url.URL, err error) *url.URL
- func (o *SettingsURL) SetBasePath(bp string)
- func (o *SettingsURL) String() string
- func (o *SettingsURL) StringFull(scheme, host string) string
- func (o *SettingsURL) WithBasePath(bp string) *SettingsURL
- type Statistic
- type StatisticDefault
- func (o *StatisticDefault) SetPayload(payload *model.Error)
- func (o *StatisticDefault) SetStatusCode(code int)
- func (o *StatisticDefault) StatisticResponder()
- func (o *StatisticDefault) WithPayload(payload *model.Error) *StatisticDefault
- func (o *StatisticDefault) WithStatusCode(code int) *StatisticDefault
- func (o *StatisticDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type StatisticHandler
- type StatisticHandlerFunc
- type StatisticNotImplementedResponder
- type StatisticOK
- type StatisticOKBody
- func (o *StatisticOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *StatisticOKBody) MarshalBinary() ([]byte, error)
- func (o *StatisticOKBody) UnmarshalBinary(b []byte) error
- func (o *StatisticOKBody) UnmarshalJSON(data []byte) error
- func (o *StatisticOKBody) Validate(formats strfmt.Registry) error
- type StatisticOKBodyStatCompletedTranslationsItems0
- func (o *StatisticOKBodyStatCompletedTranslationsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *StatisticOKBodyStatCompletedTranslationsItems0) MarshalBinary() ([]byte, error)
- func (o *StatisticOKBodyStatCompletedTranslationsItems0) UnmarshalBinary(b []byte) error
- func (o *StatisticOKBodyStatCompletedTranslationsItems0) UnmarshalJSON(data []byte) error
- func (o *StatisticOKBodyStatCompletedTranslationsItems0) Validate(formats strfmt.Registry) error
- type StatisticParams
- type StatisticResponder
- type StatisticURL
- func (o *StatisticURL) Build() (*url.URL, error)
- func (o *StatisticURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *StatisticURL) Must(u *url.URL, err error) *url.URL
- func (o *StatisticURL) SetBasePath(bp string)
- func (o *StatisticURL) String() string
- func (o *StatisticURL) StringFull(scheme, host string) string
- func (o *StatisticURL) WithBasePath(bp string) *StatisticURL
- type StatusTranslation
- type StatusTranslationDefault
- func (o *StatusTranslationDefault) SetPayload(payload *model.Error)
- func (o *StatusTranslationDefault) SetStatusCode(code int)
- func (o *StatusTranslationDefault) StatusTranslationResponder()
- func (o *StatusTranslationDefault) WithPayload(payload *model.Error) *StatusTranslationDefault
- func (o *StatusTranslationDefault) WithStatusCode(code int) *StatusTranslationDefault
- func (o *StatusTranslationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type StatusTranslationHandler
- type StatusTranslationHandlerFunc
- type StatusTranslationNoContent
- type StatusTranslationNotImplementedResponder
- type StatusTranslationParams
- type StatusTranslationResponder
- type StatusTranslationURL
- func (o *StatusTranslationURL) Build() (*url.URL, error)
- func (o *StatusTranslationURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *StatusTranslationURL) Must(u *url.URL, err error) *url.URL
- func (o *StatusTranslationURL) SetBasePath(bp string)
- func (o *StatusTranslationURL) String() string
- func (o *StatusTranslationURL) StringFull(scheme, host string) string
- func (o *StatusTranslationURL) WithBasePath(bp string) *StatusTranslationURL
- type SupportedLanguages
- type SupportedLanguagesDefault
- func (o *SupportedLanguagesDefault) SetPayload(payload *model.Error)
- func (o *SupportedLanguagesDefault) SetStatusCode(code int)
- func (o *SupportedLanguagesDefault) SupportedLanguagesResponder()
- func (o *SupportedLanguagesDefault) WithPayload(payload *model.Error) *SupportedLanguagesDefault
- func (o *SupportedLanguagesDefault) WithStatusCode(code int) *SupportedLanguagesDefault
- func (o *SupportedLanguagesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SupportedLanguagesHandler
- type SupportedLanguagesHandlerFunc
- type SupportedLanguagesNotImplementedResponder
- type SupportedLanguagesOK
- func (o *SupportedLanguagesOK) SetPayload(payload []*model.Language)
- func (o *SupportedLanguagesOK) SupportedLanguagesResponder()
- func (o *SupportedLanguagesOK) WithPayload(payload []*model.Language) *SupportedLanguagesOK
- func (o *SupportedLanguagesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SupportedLanguagesParams
- type SupportedLanguagesResponder
- type SupportedLanguagesURL
- func (o *SupportedLanguagesURL) Build() (*url.URL, error)
- func (o *SupportedLanguagesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SupportedLanguagesURL) Must(u *url.URL, err error) *url.URL
- func (o *SupportedLanguagesURL) SetBasePath(bp string)
- func (o *SupportedLanguagesURL) String() string
- func (o *SupportedLanguagesURL) StringFull(scheme, host string) string
- func (o *SupportedLanguagesURL) WithBasePath(bp string) *SupportedLanguagesURL
- type UpdateCategory
- type UpdateCategoryBody
- func (o *UpdateCategoryBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCategoryBody) MarshalBinary() ([]byte, error)
- func (o *UpdateCategoryBody) UnmarshalBinary(b []byte) error
- func (o *UpdateCategoryBody) UnmarshalJSON(data []byte) error
- func (o *UpdateCategoryBody) Validate(formats strfmt.Registry) error
- type UpdateCategoryDefault
- func (o *UpdateCategoryDefault) SetPayload(payload *model.Error)
- func (o *UpdateCategoryDefault) SetStatusCode(code int)
- func (o *UpdateCategoryDefault) UpdateCategoryResponder()
- func (o *UpdateCategoryDefault) WithPayload(payload *model.Error) *UpdateCategoryDefault
- func (o *UpdateCategoryDefault) WithStatusCode(code int) *UpdateCategoryDefault
- func (o *UpdateCategoryDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateCategoryHandler
- type UpdateCategoryHandlerFunc
- type UpdateCategoryNoContent
- type UpdateCategoryNotImplementedResponder
- type UpdateCategoryParams
- type UpdateCategoryResponder
- type UpdateCategoryURL
- func (o *UpdateCategoryURL) Build() (*url.URL, error)
- func (o *UpdateCategoryURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateCategoryURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateCategoryURL) SetBasePath(bp string)
- func (o *UpdateCategoryURL) String() string
- func (o *UpdateCategoryURL) StringFull(scheme, host string) string
- func (o *UpdateCategoryURL) WithBasePath(bp string) *UpdateCategoryURL
- type UpdateIdentifier
- type UpdateIdentifierBody
- func (o *UpdateIdentifierBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateIdentifierBody) MarshalBinary() ([]byte, error)
- func (o *UpdateIdentifierBody) UnmarshalBinary(b []byte) error
- func (o *UpdateIdentifierBody) UnmarshalJSON(data []byte) error
- func (o *UpdateIdentifierBody) Validate(formats strfmt.Registry) error
- type UpdateIdentifierDefault
- func (o *UpdateIdentifierDefault) SetPayload(payload *model.Error)
- func (o *UpdateIdentifierDefault) SetStatusCode(code int)
- func (o *UpdateIdentifierDefault) UpdateIdentifierResponder()
- func (o *UpdateIdentifierDefault) WithPayload(payload *model.Error) *UpdateIdentifierDefault
- func (o *UpdateIdentifierDefault) WithStatusCode(code int) *UpdateIdentifierDefault
- func (o *UpdateIdentifierDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateIdentifierHandler
- type UpdateIdentifierHandlerFunc
- type UpdateIdentifierNoContent
- type UpdateIdentifierNotImplementedResponder
- type UpdateIdentifierParams
- type UpdateIdentifierResponder
- type UpdateIdentifierURL
- func (o *UpdateIdentifierURL) Build() (*url.URL, error)
- func (o *UpdateIdentifierURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateIdentifierURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateIdentifierURL) SetBasePath(bp string)
- func (o *UpdateIdentifierURL) String() string
- func (o *UpdateIdentifierURL) StringFull(scheme, host string) string
- func (o *UpdateIdentifierURL) WithBasePath(bp string) *UpdateIdentifierURL
- type UpdateTranslation
- type UpdateTranslationBody
- func (o *UpdateTranslationBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateTranslationBody) MarshalBinary() ([]byte, error)
- func (o *UpdateTranslationBody) UnmarshalBinary(b []byte) error
- func (o *UpdateTranslationBody) UnmarshalJSON(data []byte) error
- func (o *UpdateTranslationBody) Validate(formats strfmt.Registry) error
- type UpdateTranslationDefault
- func (o *UpdateTranslationDefault) SetPayload(payload *model.Error)
- func (o *UpdateTranslationDefault) SetStatusCode(code int)
- func (o *UpdateTranslationDefault) UpdateTranslationResponder()
- func (o *UpdateTranslationDefault) WithPayload(payload *model.Error) *UpdateTranslationDefault
- func (o *UpdateTranslationDefault) WithStatusCode(code int) *UpdateTranslationDefault
- func (o *UpdateTranslationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateTranslationHandler
- type UpdateTranslationHandlerFunc
- type UpdateTranslationNoContent
- type UpdateTranslationNotImplementedResponder
- type UpdateTranslationParams
- type UpdateTranslationResponder
- type UpdateTranslationURL
- func (o *UpdateTranslationURL) Build() (*url.URL, error)
- func (o *UpdateTranslationURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateTranslationURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateTranslationURL) SetBasePath(bp string)
- func (o *UpdateTranslationURL) String() string
- func (o *UpdateTranslationURL) StringFull(scheme, host string) string
- func (o *UpdateTranslationURL) WithBasePath(bp string) *UpdateTranslationURL
- type UserChangePassword
- type UserChangePasswordBody
- func (o *UserChangePasswordBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UserChangePasswordBody) MarshalBinary() ([]byte, error)
- func (o *UserChangePasswordBody) UnmarshalBinary(b []byte) error
- func (o *UserChangePasswordBody) UnmarshalJSON(data []byte) error
- func (o *UserChangePasswordBody) Validate(formats strfmt.Registry) error
- type UserChangePasswordDefault
- func (o *UserChangePasswordDefault) SetPayload(payload *model.Error)
- func (o *UserChangePasswordDefault) SetStatusCode(code int)
- func (o *UserChangePasswordDefault) UserChangePasswordResponder()
- func (o *UserChangePasswordDefault) WithPayload(payload *model.Error) *UserChangePasswordDefault
- func (o *UserChangePasswordDefault) WithStatusCode(code int) *UserChangePasswordDefault
- func (o *UserChangePasswordDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UserChangePasswordHandler
- type UserChangePasswordHandlerFunc
- type UserChangePasswordNoContent
- type UserChangePasswordNotImplementedResponder
- type UserChangePasswordParams
- type UserChangePasswordResponder
- type UserChangePasswordURL
- func (o *UserChangePasswordURL) Build() (*url.URL, error)
- func (o *UserChangePasswordURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UserChangePasswordURL) Must(u *url.URL, err error) *url.URL
- func (o *UserChangePasswordURL) SetBasePath(bp string)
- func (o *UserChangePasswordURL) String() string
- func (o *UserChangePasswordURL) StringFull(scheme, host string) string
- func (o *UserChangePasswordURL) WithBasePath(bp string) *UserChangePasswordURL
- type UserChangeProfile
- type UserChangeProfileBody
- func (o *UserChangeProfileBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UserChangeProfileBody) MarshalBinary() ([]byte, error)
- func (o *UserChangeProfileBody) UnmarshalBinary(b []byte) error
- func (o *UserChangeProfileBody) UnmarshalJSON(data []byte) error
- func (o *UserChangeProfileBody) Validate(formats strfmt.Registry) error
- type UserChangeProfileDefault
- func (o *UserChangeProfileDefault) SetPayload(payload *model.Error)
- func (o *UserChangeProfileDefault) SetStatusCode(code int)
- func (o *UserChangeProfileDefault) UserChangeProfileResponder()
- func (o *UserChangeProfileDefault) WithPayload(payload *model.Error) *UserChangeProfileDefault
- func (o *UserChangeProfileDefault) WithStatusCode(code int) *UserChangeProfileDefault
- func (o *UserChangeProfileDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UserChangeProfileHandler
- type UserChangeProfileHandlerFunc
- type UserChangeProfileNoContent
- type UserChangeProfileNotImplementedResponder
- type UserChangeProfileParams
- type UserChangeProfileResponder
- type UserChangeProfileURL
- func (o *UserChangeProfileURL) Build() (*url.URL, error)
- func (o *UserChangeProfileURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UserChangeProfileURL) Must(u *url.URL, err error) *url.URL
- func (o *UserChangeProfileURL) SetBasePath(bp string)
- func (o *UserChangeProfileURL) String() string
- func (o *UserChangeProfileURL) StringFull(scheme, host string) string
- func (o *UserChangeProfileURL) WithBasePath(bp string) *UserChangeProfileURL
- type UserChangeStatus
- type UserChangeStatusBody
- func (o *UserChangeStatusBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UserChangeStatusBody) MarshalBinary() ([]byte, error)
- func (o *UserChangeStatusBody) UnmarshalBinary(b []byte) error
- func (o *UserChangeStatusBody) UnmarshalJSON(data []byte) error
- func (o *UserChangeStatusBody) Validate(formats strfmt.Registry) error
- type UserChangeStatusDefault
- func (o *UserChangeStatusDefault) SetPayload(payload *model.Error)
- func (o *UserChangeStatusDefault) SetStatusCode(code int)
- func (o *UserChangeStatusDefault) UserChangeStatusResponder()
- func (o *UserChangeStatusDefault) WithPayload(payload *model.Error) *UserChangeStatusDefault
- func (o *UserChangeStatusDefault) WithStatusCode(code int) *UserChangeStatusDefault
- func (o *UserChangeStatusDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UserChangeStatusHandler
- type UserChangeStatusHandlerFunc
- type UserChangeStatusNoContent
- type UserChangeStatusNotImplementedResponder
- type UserChangeStatusParams
- type UserChangeStatusResponder
- type UserChangeStatusURL
- func (o *UserChangeStatusURL) Build() (*url.URL, error)
- func (o *UserChangeStatusURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UserChangeStatusURL) Must(u *url.URL, err error) *url.URL
- func (o *UserChangeStatusURL) SetBasePath(bp string)
- func (o *UserChangeStatusURL) String() string
- func (o *UserChangeStatusURL) StringFull(scheme, host string) string
- func (o *UserChangeStatusURL) WithBasePath(bp string) *UserChangeStatusURL
- type UserMe
- type UserMeDefault
- func (o *UserMeDefault) SetPayload(payload *model.Error)
- func (o *UserMeDefault) SetStatusCode(code int)
- func (o *UserMeDefault) UserMeResponder()
- func (o *UserMeDefault) WithPayload(payload *model.Error) *UserMeDefault
- func (o *UserMeDefault) WithStatusCode(code int) *UserMeDefault
- func (o *UserMeDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UserMeHandler
- type UserMeHandlerFunc
- type UserMeNotImplementedResponder
- type UserMeOK
- type UserMeParams
- type UserMeResponder
- type UserMeURL
- func (o *UserMeURL) Build() (*url.URL, error)
- func (o *UserMeURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UserMeURL) Must(u *url.URL, err error) *url.URL
- func (o *UserMeURL) SetBasePath(bp string)
- func (o *UserMeURL) String() string
- func (o *UserMeURL) StringFull(scheme, host string) string
- func (o *UserMeURL) WithBasePath(bp string) *UserMeURL
- type Version
- type VersionDefault
- func (o *VersionDefault) SetPayload(payload *model.Error)
- func (o *VersionDefault) SetStatusCode(code int)
- func (o *VersionDefault) VersionResponder()
- func (o *VersionDefault) WithPayload(payload *model.Error) *VersionDefault
- func (o *VersionDefault) WithStatusCode(code int) *VersionDefault
- func (o *VersionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type VersionHandler
- type VersionHandlerFunc
- type VersionNotImplementedResponder
- type VersionOK
- type VersionParams
- type VersionResponder
- type VersionURL
- func (o *VersionURL) Build() (*url.URL, error)
- func (o *VersionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *VersionURL) Must(u *url.URL, err error) *url.URL
- func (o *VersionURL) SetBasePath(bp string)
- func (o *VersionURL) String() string
- func (o *VersionURL) StringFull(scheme, host string) string
- func (o *VersionURL) WithBasePath(bp string) *VersionURL
Constants ¶
const ( // CreateTranslationFilesBodyStorageTypeLocal captures enum value "local" CreateTranslationFilesBodyStorageTypeLocal string = "local" // CreateTranslationFilesBodyStorageTypeS3 captures enum value "s3" CreateTranslationFilesBodyStorageTypeS3 string = "s3" )
const ( // UserChangeProfileBodyRoleAdmin captures enum value "admin" UserChangeProfileBodyRoleAdmin string = "admin" // UserChangeProfileBodyRoleModerator captures enum value "moderator" UserChangeProfileBodyRoleModerator string = "moderator" // UserChangeProfileBodyRoleTranslator captures enum value "translator" UserChangeProfileBodyRoleTranslator string = "translator" // UserChangeProfileBodyRoleUser captures enum value "user" UserChangeProfileBodyRoleUser string = "user" )
const ( // UserChangeProfileBodyStatusActive captures enum value "active" UserChangeProfileBodyStatusActive string = "active" // UserChangeProfileBodyStatusNotActive captures enum value "not active" UserChangeProfileBodyStatusNotActive string = "not active" // UserChangeProfileBodyStatusBanned captures enum value "banned" UserChangeProfileBodyStatusBanned string = "banned" )
const AutoTranslationOKCode int = 200
AutoTranslationOKCode is the HTTP code returned for type AutoTranslationOK
const CreateCategoryNoContentCode int = 204
CreateCategoryNoContentCode is the HTTP code returned for type CreateCategoryNoContent
const CreateIdentifierNoContentCode int = 204
CreateIdentifierNoContentCode is the HTTP code returned for type CreateIdentifierNoContent
const CreateLocalizationNoContentCode int = 204
CreateLocalizationNoContentCode is the HTTP code returned for type CreateLocalizationNoContent
const CreateTranslationFilesNoContentCode int = 204
CreateTranslationFilesNoContentCode is the HTTP code returned for type CreateTranslationFilesNoContent
const CreateTranslationNoContentCode int = 204
CreateTranslationNoContentCode is the HTTP code returned for type CreateTranslationNoContent
const DeleteCategoryNoContentCode int = 204
DeleteCategoryNoContentCode is the HTTP code returned for type DeleteCategoryNoContent
const DeleteIdentifierNoContentCode int = 204
DeleteIdentifierNoContentCode is the HTTP code returned for type DeleteIdentifierNoContent
const DeleteLocalizationNoContentCode int = 204
DeleteLocalizationNoContentCode is the HTTP code returned for type DeleteLocalizationNoContent
const DeleteTranslationFileNoContentCode int = 204
DeleteTranslationFileNoContentCode is the HTTP code returned for type DeleteTranslationFileNoContent
const DeleteTranslationNoContentCode int = 204
DeleteTranslationNoContentCode is the HTTP code returned for type DeleteTranslationNoContent
const HealthCheckOKCode int = 200
HealthCheckOKCode is the HTTP code returned for type HealthCheckOK
const InfoOKCode int = 200
InfoOKCode is the HTTP code returned for type InfoOK
const ListCategoriesOKCode int = 200
ListCategoriesOKCode is the HTTP code returned for type ListCategoriesOK
const ListIdentifiersOKCode int = 200
ListIdentifiersOKCode is the HTTP code returned for type ListIdentifiersOK
const ListLocalizationOKCode int = 200
ListLocalizationOKCode is the HTTP code returned for type ListLocalizationOK
const ListTranslationFilesOKCode int = 200
ListTranslationFilesOKCode is the HTTP code returned for type ListTranslationFilesOK
const ListTranslationsOKCode int = 200
ListTranslationsOKCode is the HTTP code returned for type ListTranslationsOK
const ListUserOKCode int = 200
ListUserOKCode is the HTTP code returned for type ListUserOK
const LoginOKCode int = 200
LoginOKCode is the HTTP code returned for type LoginOK
const LogoutUserNoContentCode int = 204
LogoutUserNoContentCode is the HTTP code returned for type LogoutUserNoContent
const RegUserNoContentCode int = 204
RegUserNoContentCode is the HTTP code returned for type RegUserNoContent
const SettingStorageNoContentCode int = 204
SettingStorageNoContentCode is the HTTP code returned for type SettingStorageNoContent
const SettingTranslationNoContentCode int = 204
SettingTranslationNoContentCode is the HTTP code returned for type SettingTranslationNoContent
const SettingsOKCode int = 200
SettingsOKCode is the HTTP code returned for type SettingsOK
const StatisticOKCode int = 200
StatisticOKCode is the HTTP code returned for type StatisticOK
const StatusTranslationNoContentCode int = 204
StatusTranslationNoContentCode is the HTTP code returned for type StatusTranslationNoContent
const SupportedLanguagesOKCode int = 200
SupportedLanguagesOKCode is the HTTP code returned for type SupportedLanguagesOK
const UpdateCategoryNoContentCode int = 204
UpdateCategoryNoContentCode is the HTTP code returned for type UpdateCategoryNoContent
const UpdateIdentifierNoContentCode int = 204
UpdateIdentifierNoContentCode is the HTTP code returned for type UpdateIdentifierNoContent
const UpdateTranslationNoContentCode int = 204
UpdateTranslationNoContentCode is the HTTP code returned for type UpdateTranslationNoContent
const UserChangePasswordNoContentCode int = 204
UserChangePasswordNoContentCode is the HTTP code returned for type UserChangePasswordNoContent
const UserChangeProfileNoContentCode int = 204
UserChangeProfileNoContentCode is the HTTP code returned for type UserChangeProfileNoContent
const UserChangeStatusNoContentCode int = 204
UserChangeStatusNoContentCode is the HTTP code returned for type UserChangeStatusNoContent
const UserMeOKCode int = 200
UserMeOKCode is the HTTP code returned for type UserMeOK
const VersionOKCode int = 200
VersionOKCode is the HTTP code returned for type VersionOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoTranslation ¶
type AutoTranslation struct { Context *middleware.Context Handler AutoTranslationHandler }
AutoTranslation swagger:route POST /auto-translation autoTranslation
create auto translation (with libra or other service)
func NewAutoTranslation ¶
func NewAutoTranslation(ctx *middleware.Context, handler AutoTranslationHandler) *AutoTranslation
NewAutoTranslation creates a new http.Handler for the auto translation operation
func (*AutoTranslation) ServeHTTP ¶
func (o *AutoTranslation) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type AutoTranslationBody ¶
type AutoTranslationBody struct { // source // Required: true // Min Length: 2 Source *string `json:"source"` // target // Required: true // Min Length: 2 Target *string `json:"target"` // text // Required: true // Min Length: 1 Text *string `json:"text"` }
AutoTranslationBody auto translation body
swagger:model AutoTranslationBody
func (*AutoTranslationBody) ContextValidate ¶
ContextValidate validates this auto translation body based on context it is used
func (*AutoTranslationBody) MarshalBinary ¶
func (o *AutoTranslationBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AutoTranslationBody) UnmarshalBinary ¶
func (o *AutoTranslationBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*AutoTranslationBody) UnmarshalJSON ¶
func (o *AutoTranslationBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type AutoTranslationDefault ¶
type AutoTranslationDefault struct { /* In: Body */ Payload *model.Error `json:"body,omitempty"` // contains filtered or unexported fields }
AutoTranslationDefault General errors using same model as used by go-swagger for validation errors.
swagger:response autoTranslationDefault
func NewAutoTranslationDefault ¶
func NewAutoTranslationDefault(code int) *AutoTranslationDefault
NewAutoTranslationDefault creates AutoTranslationDefault with default headers values
func (*AutoTranslationDefault) AutoTranslationResponder ¶
func (o *AutoTranslationDefault) AutoTranslationResponder()
func (*AutoTranslationDefault) SetPayload ¶
func (o *AutoTranslationDefault) SetPayload(payload *model.Error)
SetPayload sets the payload to the auto translation default response
func (*AutoTranslationDefault) SetStatusCode ¶
func (o *AutoTranslationDefault) SetStatusCode(code int)
SetStatusCode sets the status to the auto translation default response
func (*AutoTranslationDefault) WithPayload ¶
func (o *AutoTranslationDefault) WithPayload(payload *model.Error) *AutoTranslationDefault
WithPayload adds the payload to the auto translation default response
func (*AutoTranslationDefault) WithStatusCode ¶
func (o *AutoTranslationDefault) WithStatusCode(code int) *AutoTranslationDefault
WithStatusCode adds the status to the auto translation default response
func (*AutoTranslationDefault) WriteResponse ¶
func (o *AutoTranslationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AutoTranslationHandler ¶
type AutoTranslationHandler interface {
Handle(AutoTranslationParams, *app.UserSession) AutoTranslationResponder
}
AutoTranslationHandler interface for that can handle valid auto translation params
type AutoTranslationHandlerFunc ¶
type AutoTranslationHandlerFunc func(AutoTranslationParams, *app.UserSession) AutoTranslationResponder
AutoTranslationHandlerFunc turns a function with the right signature into a auto translation handler
func (AutoTranslationHandlerFunc) Handle ¶
func (fn AutoTranslationHandlerFunc) Handle(params AutoTranslationParams, principal *app.UserSession) AutoTranslationResponder
Handle executing the request and returning a response
type AutoTranslationNotImplementedResponder ¶
type AutoTranslationNotImplementedResponder struct {
middleware.Responder
}
func (*AutoTranslationNotImplementedResponder) AutoTranslationResponder ¶
func (*AutoTranslationNotImplementedResponder) AutoTranslationResponder()
type AutoTranslationOK ¶
type AutoTranslationOK struct { /* In: Body */ Payload *AutoTranslationOKBody `json:"body,omitempty"` }
AutoTranslationOK OK
swagger:response autoTranslationOK
func NewAutoTranslationOK ¶
func NewAutoTranslationOK() *AutoTranslationOK
NewAutoTranslationOK creates AutoTranslationOK with default headers values
func (*AutoTranslationOK) AutoTranslationResponder ¶
func (o *AutoTranslationOK) AutoTranslationResponder()
func (*AutoTranslationOK) SetPayload ¶
func (o *AutoTranslationOK) SetPayload(payload *AutoTranslationOKBody)
SetPayload sets the payload to the auto translation o k response
func (*AutoTranslationOK) WithPayload ¶
func (o *AutoTranslationOK) WithPayload(payload *AutoTranslationOKBody) *AutoTranslationOK
WithPayload adds the payload to the auto translation o k response
func (*AutoTranslationOK) WriteResponse ¶
func (o *AutoTranslationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AutoTranslationOKBody ¶
type AutoTranslationOKBody struct { // text // Required: true Text *string `json:"text"` }
AutoTranslationOKBody auto translation o k body
swagger:model AutoTranslationOKBody
func (*AutoTranslationOKBody) ContextValidate ¶
ContextValidate validates this auto translation o k body based on context it is used
func (*AutoTranslationOKBody) MarshalBinary ¶
func (o *AutoTranslationOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AutoTranslationOKBody) UnmarshalBinary ¶
func (o *AutoTranslationOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*AutoTranslationOKBody) UnmarshalJSON ¶
func (o *AutoTranslationOKBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type AutoTranslationParams ¶
type AutoTranslationParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Args AutoTranslationBody }
AutoTranslationParams contains all the bound params for the auto translation operation typically these are obtained from a http.Request
swagger:parameters autoTranslation
func NewAutoTranslationParams ¶
func NewAutoTranslationParams() AutoTranslationParams
NewAutoTranslationParams creates a new AutoTranslationParams object
There are no default values defined in the spec.
func (*AutoTranslationParams) BindRequest ¶
func (o *AutoTranslationParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewAutoTranslationParams() beforehand.
type AutoTranslationResponder ¶
type AutoTranslationResponder interface { middleware.Responder AutoTranslationResponder() }
func AutoTranslationNotImplemented ¶
func AutoTranslationNotImplemented() AutoTranslationResponder
type AutoTranslationURL ¶
type AutoTranslationURL struct {
// contains filtered or unexported fields
}
AutoTranslationURL generates an URL for the auto translation operation
func (*AutoTranslationURL) Build ¶
func (o *AutoTranslationURL) Build() (*url.URL, error)
Build a url path and query string
func (*AutoTranslationURL) BuildFull ¶
func (o *AutoTranslationURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*AutoTranslationURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*AutoTranslationURL) SetBasePath ¶
func (o *AutoTranslationURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*AutoTranslationURL) String ¶
func (o *AutoTranslationURL) String() string
String returns the string representation of the path with query string
func (*AutoTranslationURL) StringFull ¶
func (o *AutoTranslationURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*AutoTranslationURL) WithBasePath ¶
func (o *AutoTranslationURL) WithBasePath(bp string) *AutoTranslationURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type CreateCategory ¶
type CreateCategory struct { Context *middleware.Context Handler CreateCategoryHandler }
CreateCategory swagger:route POST /category createCategory
create new category
func NewCreateCategory ¶
func NewCreateCategory(ctx *middleware.Context, handler CreateCategoryHandler) *CreateCategory
NewCreateCategory creates a new http.Handler for the create category operation
func (*CreateCategory) ServeHTTP ¶
func (o *CreateCategory) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateCategoryBody ¶
type CreateCategoryBody struct { // name // Required: true // Max Length: 255 // Min Length: 1 Name *string `json:"name"` }
CreateCategoryBody create category body
swagger:model CreateCategoryBody
func (*CreateCategoryBody) ContextValidate ¶
ContextValidate validates this create category body based on context it is used
func (*CreateCategoryBody) MarshalBinary ¶
func (o *CreateCategoryBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCategoryBody) UnmarshalBinary ¶
func (o *CreateCategoryBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CreateCategoryBody) UnmarshalJSON ¶
func (o *CreateCategoryBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type CreateCategoryDefault ¶
type CreateCategoryDefault struct { /* In: Body */ Payload *model.Error `json:"body,omitempty"` // contains filtered or unexported fields }
CreateCategoryDefault General errors using same model as used by go-swagger for validation errors.
swagger:response createCategoryDefault
func NewCreateCategoryDefault ¶
func NewCreateCategoryDefault(code int) *CreateCategoryDefault
NewCreateCategoryDefault creates CreateCategoryDefault with default headers values
func (*CreateCategoryDefault) CreateCategoryResponder ¶
func (o *CreateCategoryDefault) CreateCategoryResponder()
func (*CreateCategoryDefault) SetPayload ¶
func (o *CreateCategoryDefault) SetPayload(payload *model.Error)
SetPayload sets the payload to the create category default response
func (*CreateCategoryDefault) SetStatusCode ¶
func (o *CreateCategoryDefault) SetStatusCode(code int)
SetStatusCode sets the status to the create category default response
func (*CreateCategoryDefault) WithPayload ¶
func (o *CreateCategoryDefault) WithPayload(payload *model.Error) *CreateCategoryDefault
WithPayload adds the payload to the create category default response
func (*CreateCategoryDefault) WithStatusCode ¶
func (o *CreateCategoryDefault) WithStatusCode(code int) *CreateCategoryDefault
WithStatusCode adds the status to the create category default response
func (*CreateCategoryDefault) WriteResponse ¶
func (o *CreateCategoryDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateCategoryHandler ¶
type CreateCategoryHandler interface {
Handle(CreateCategoryParams, *app.UserSession) CreateCategoryResponder
}
CreateCategoryHandler interface for that can handle valid create category params
type CreateCategoryHandlerFunc ¶
type CreateCategoryHandlerFunc func(CreateCategoryParams, *app.UserSession) CreateCategoryResponder
CreateCategoryHandlerFunc turns a function with the right signature into a create category handler
func (CreateCategoryHandlerFunc) Handle ¶
func (fn CreateCategoryHandlerFunc) Handle(params CreateCategoryParams, principal *app.UserSession) CreateCategoryResponder
Handle executing the request and returning a response
type CreateCategoryNoContent ¶
type CreateCategoryNoContent struct { }
CreateCategoryNoContent No content in answer
swagger:response createCategoryNoContent
func NewCreateCategoryNoContent ¶
func NewCreateCategoryNoContent() *CreateCategoryNoContent
NewCreateCategoryNoContent creates CreateCategoryNoContent with default headers values
func (*CreateCategoryNoContent) CreateCategoryResponder ¶
func (o *CreateCategoryNoContent) CreateCategoryResponder()
func (*CreateCategoryNoContent) WriteResponse ¶
func (o *CreateCategoryNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateCategoryNotImplementedResponder ¶
type CreateCategoryNotImplementedResponder struct {
middleware.Responder
}
func (*CreateCategoryNotImplementedResponder) CreateCategoryResponder ¶
func (*CreateCategoryNotImplementedResponder) CreateCategoryResponder()
type CreateCategoryParams ¶
type CreateCategoryParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Args CreateCategoryBody }
CreateCategoryParams contains all the bound params for the create category operation typically these are obtained from a http.Request
swagger:parameters createCategory
func NewCreateCategoryParams ¶
func NewCreateCategoryParams() CreateCategoryParams
NewCreateCategoryParams creates a new CreateCategoryParams object
There are no default values defined in the spec.
func (*CreateCategoryParams) BindRequest ¶
func (o *CreateCategoryParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewCreateCategoryParams() beforehand.
type CreateCategoryResponder ¶
type CreateCategoryResponder interface { middleware.Responder CreateCategoryResponder() }
func CreateCategoryNotImplemented ¶
func CreateCategoryNotImplemented() CreateCategoryResponder
type CreateCategoryURL ¶
type CreateCategoryURL struct {
// contains filtered or unexported fields
}
CreateCategoryURL generates an URL for the create category operation
func (*CreateCategoryURL) Build ¶
func (o *CreateCategoryURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateCategoryURL) BuildFull ¶
func (o *CreateCategoryURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateCategoryURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateCategoryURL) SetBasePath ¶
func (o *CreateCategoryURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*CreateCategoryURL) String ¶
func (o *CreateCategoryURL) String() string
String returns the string representation of the path with query string
func (*CreateCategoryURL) StringFull ¶
func (o *CreateCategoryURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateCategoryURL) WithBasePath ¶
func (o *CreateCategoryURL) WithBasePath(bp string) *CreateCategoryURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type CreateIdentifier ¶
type CreateIdentifier struct { Context *middleware.Context Handler CreateIdentifierHandler }
CreateIdentifier swagger:route POST /identifier createIdentifier
create new identifier
func NewCreateIdentifier ¶
func NewCreateIdentifier(ctx *middleware.Context, handler CreateIdentifierHandler) *CreateIdentifier
NewCreateIdentifier creates a new http.Handler for the create identifier operation
func (*CreateIdentifier) ServeHTTP ¶
func (o *CreateIdentifier) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateIdentifierBody ¶
type CreateIdentifierBody struct { // category id CategoryID int64 `json:"category_id,omitempty"` // description Description string `json:"description,omitempty"` // name // Required: true // Max Length: 255 // Min Length: 1 Name *string `json:"name"` // parent id ParentID int64 `json:"parent_id,omitempty"` // platforms Platforms []string `json:"platforms"` // text plural TextPlural string `json:"text_plural,omitempty"` // text singular TextSingular string `json:"text_singular,omitempty"` }
CreateIdentifierBody create identifier body
swagger:model CreateIdentifierBody
func (*CreateIdentifierBody) ContextValidate ¶
ContextValidate validates this create identifier body based on context it is used
func (*CreateIdentifierBody) MarshalBinary ¶
func (o *CreateIdentifierBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateIdentifierBody) UnmarshalBinary ¶
func (o *CreateIdentifierBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CreateIdentifierBody) UnmarshalJSON ¶
func (o *CreateIdentifierBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type CreateIdentifierDefault ¶
type CreateIdentifierDefault struct { /* In: Body */ Payload *model.Error `json:"body,omitempty"` // contains filtered or unexported fields }
CreateIdentifierDefault General errors using same model as used by go-swagger for validation errors.
swagger:response createIdentifierDefault
func NewCreateIdentifierDefault ¶
func NewCreateIdentifierDefault(code int) *CreateIdentifierDefault
NewCreateIdentifierDefault creates CreateIdentifierDefault with default headers values
func (*CreateIdentifierDefault) CreateIdentifierResponder ¶
func (o *CreateIdentifierDefault) CreateIdentifierResponder()
func (*CreateIdentifierDefault) SetPayload ¶
func (o *CreateIdentifierDefault) SetPayload(payload *model.Error)
SetPayload sets the payload to the create identifier default response
func (*CreateIdentifierDefault) SetStatusCode ¶
func (o *CreateIdentifierDefault) SetStatusCode(code int)
SetStatusCode sets the status to the create identifier default response
func (*CreateIdentifierDefault) WithPayload ¶
func (o *CreateIdentifierDefault) WithPayload(payload *model.Error) *CreateIdentifierDefault
WithPayload adds the payload to the create identifier default response
func (*CreateIdentifierDefault) WithStatusCode ¶
func (o *CreateIdentifierDefault) WithStatusCode(code int) *CreateIdentifierDefault
WithStatusCode adds the status to the create identifier default response
func (*CreateIdentifierDefault) WriteResponse ¶
func (o *CreateIdentifierDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateIdentifierHandler ¶
type CreateIdentifierHandler interface {
Handle(CreateIdentifierParams, *app.UserSession) CreateIdentifierResponder
}
CreateIdentifierHandler interface for that can handle valid create identifier params
type CreateIdentifierHandlerFunc ¶
type CreateIdentifierHandlerFunc func(CreateIdentifierParams, *app.UserSession) CreateIdentifierResponder
CreateIdentifierHandlerFunc turns a function with the right signature into a create identifier handler
func (CreateIdentifierHandlerFunc) Handle ¶
func (fn CreateIdentifierHandlerFunc) Handle(params CreateIdentifierParams, principal *app.UserSession) CreateIdentifierResponder
Handle executing the request and returning a response
type CreateIdentifierNoContent ¶
type CreateIdentifierNoContent struct { }
CreateIdentifierNoContent No content in answer
swagger:response createIdentifierNoContent
func NewCreateIdentifierNoContent ¶
func NewCreateIdentifierNoContent() *CreateIdentifierNoContent
NewCreateIdentifierNoContent creates CreateIdentifierNoContent with default headers values
func (*CreateIdentifierNoContent) CreateIdentifierResponder ¶
func (o *CreateIdentifierNoContent) CreateIdentifierResponder()
func (*CreateIdentifierNoContent) WriteResponse ¶
func (o *CreateIdentifierNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateIdentifierNotImplementedResponder ¶
type CreateIdentifierNotImplementedResponder struct {
middleware.Responder
}
func (*CreateIdentifierNotImplementedResponder) CreateIdentifierResponder ¶
func (*CreateIdentifierNotImplementedResponder) CreateIdentifierResponder()
type CreateIdentifierParams ¶
type CreateIdentifierParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Args CreateIdentifierBody }
CreateIdentifierParams contains all the bound params for the create identifier operation typically these are obtained from a http.Request
swagger:parameters createIdentifier
func NewCreateIdentifierParams ¶
func NewCreateIdentifierParams() CreateIdentifierParams
NewCreateIdentifierParams creates a new CreateIdentifierParams object
There are no default values defined in the spec.
func (*CreateIdentifierParams) BindRequest ¶
func (o *CreateIdentifierParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewCreateIdentifierParams() beforehand.
type CreateIdentifierResponder ¶
type CreateIdentifierResponder interface { middleware.Responder CreateIdentifierResponder() }
func CreateIdentifierNotImplemented ¶
func CreateIdentifierNotImplemented() CreateIdentifierResponder
type CreateIdentifierURL ¶
type CreateIdentifierURL struct {
// contains filtered or unexported fields
}
CreateIdentifierURL generates an URL for the create identifier operation
func (*CreateIdentifierURL) Build ¶
func (o *CreateIdentifierURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateIdentifierURL) BuildFull ¶
func (o *CreateIdentifierURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateIdentifierURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateIdentifierURL) SetBasePath ¶
func (o *CreateIdentifierURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*CreateIdentifierURL) String ¶
func (o *CreateIdentifierURL) String() string
String returns the string representation of the path with query string
func (*CreateIdentifierURL) StringFull ¶
func (o *CreateIdentifierURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateIdentifierURL) WithBasePath ¶
func (o *CreateIdentifierURL) WithBasePath(bp string) *CreateIdentifierURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type CreateLocalization ¶
type CreateLocalization struct { Context *middleware.Context Handler CreateLocalizationHandler }
CreateLocalization swagger:route POST /localization createLocalization
create new localization type
func NewCreateLocalization ¶
func NewCreateLocalization(ctx *middleware.Context, handler CreateLocalizationHandler) *CreateLocalization
NewCreateLocalization creates a new http.Handler for the create localization operation
func (*CreateLocalization) ServeHTTP ¶
func (o *CreateLocalization) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateLocalizationBody ¶
type CreateLocalizationBody struct { // icon Icon string `json:"icon,omitempty"` // lang name // Required: true // Max Length: 255 // Min Length: 1 LangName *string `json:"lang_name"` // locale // Required: true // Max Length: 10 // Min Length: 2 Locale *string `json:"locale"` }
CreateLocalizationBody create localization body
swagger:model CreateLocalizationBody
func (*CreateLocalizationBody) ContextValidate ¶
func (o *CreateLocalizationBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create localization body based on context it is used
func (*CreateLocalizationBody) MarshalBinary ¶
func (o *CreateLocalizationBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateLocalizationBody) UnmarshalBinary ¶
func (o *CreateLocalizationBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CreateLocalizationBody) UnmarshalJSON ¶
func (o *CreateLocalizationBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type CreateLocalizationDefault ¶
type CreateLocalizationDefault struct { /* In: Body */ Payload *model.Error `json:"body,omitempty"` // contains filtered or unexported fields }
CreateLocalizationDefault General errors using same model as used by go-swagger for validation errors.
swagger:response createLocalizationDefault
func NewCreateLocalizationDefault ¶
func NewCreateLocalizationDefault(code int) *CreateLocalizationDefault
NewCreateLocalizationDefault creates CreateLocalizationDefault with default headers values
func (*CreateLocalizationDefault) CreateLocalizationResponder ¶
func (o *CreateLocalizationDefault) CreateLocalizationResponder()
func (*CreateLocalizationDefault) SetPayload ¶
func (o *CreateLocalizationDefault) SetPayload(payload *model.Error)
SetPayload sets the payload to the create localization default response
func (*CreateLocalizationDefault) SetStatusCode ¶
func (o *CreateLocalizationDefault) SetStatusCode(code int)
SetStatusCode sets the status to the create localization default response
func (*CreateLocalizationDefault) WithPayload ¶
func (o *CreateLocalizationDefault) WithPayload(payload *model.Error) *CreateLocalizationDefault
WithPayload adds the payload to the create localization default response
func (*CreateLocalizationDefault) WithStatusCode ¶
func (o *CreateLocalizationDefault) WithStatusCode(code int) *CreateLocalizationDefault
WithStatusCode adds the status to the create localization default response
func (*CreateLocalizationDefault) WriteResponse ¶
func (o *CreateLocalizationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateLocalizationHandler ¶
type CreateLocalizationHandler interface {
Handle(CreateLocalizationParams, *app.UserSession) CreateLocalizationResponder
}
CreateLocalizationHandler interface for that can handle valid create localization params
type CreateLocalizationHandlerFunc ¶
type CreateLocalizationHandlerFunc func(CreateLocalizationParams, *app.UserSession) CreateLocalizationResponder
CreateLocalizationHandlerFunc turns a function with the right signature into a create localization handler
func (CreateLocalizationHandlerFunc) Handle ¶
func (fn CreateLocalizationHandlerFunc) Handle(params CreateLocalizationParams, principal *app.UserSession) CreateLocalizationResponder
Handle executing the request and returning a response
type CreateLocalizationNoContent ¶
type CreateLocalizationNoContent struct { }
CreateLocalizationNoContent No content in answer
swagger:response createLocalizationNoContent
func NewCreateLocalizationNoContent ¶
func NewCreateLocalizationNoContent() *CreateLocalizationNoContent
NewCreateLocalizationNoContent creates CreateLocalizationNoContent with default headers values
func (*CreateLocalizationNoContent) CreateLocalizationResponder ¶
func (o *CreateLocalizationNoContent) CreateLocalizationResponder()
func (*CreateLocalizationNoContent) WriteResponse ¶
func (o *CreateLocalizationNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateLocalizationNotImplementedResponder ¶
type CreateLocalizationNotImplementedResponder struct {
middleware.Responder
}
func (*CreateLocalizationNotImplementedResponder) CreateLocalizationResponder ¶
func (*CreateLocalizationNotImplementedResponder) CreateLocalizationResponder()
type CreateLocalizationParams ¶
type CreateLocalizationParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Args CreateLocalizationBody }
CreateLocalizationParams contains all the bound params for the create localization operation typically these are obtained from a http.Request
swagger:parameters createLocalization
func NewCreateLocalizationParams ¶
func NewCreateLocalizationParams() CreateLocalizationParams
NewCreateLocalizationParams creates a new CreateLocalizationParams object
There are no default values defined in the spec.
func (*CreateLocalizationParams) BindRequest ¶
func (o *CreateLocalizationParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewCreateLocalizationParams() beforehand.
type CreateLocalizationResponder ¶
type CreateLocalizationResponder interface { middleware.Responder CreateLocalizationResponder() }
func CreateLocalizationNotImplemented ¶
func CreateLocalizationNotImplemented() CreateLocalizationResponder
type CreateLocalizationURL ¶
type CreateLocalizationURL struct {
// contains filtered or unexported fields
}
CreateLocalizationURL generates an URL for the create localization operation
func (*CreateLocalizationURL) Build ¶
func (o *CreateLocalizationURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateLocalizationURL) BuildFull ¶
func (o *CreateLocalizationURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateLocalizationURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateLocalizationURL) SetBasePath ¶
func (o *CreateLocalizationURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*CreateLocalizationURL) String ¶
func (o *CreateLocalizationURL) String() string
String returns the string representation of the path with query string
func (*CreateLocalizationURL) StringFull ¶
func (o *CreateLocalizationURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateLocalizationURL) WithBasePath ¶
func (o *CreateLocalizationURL) WithBasePath(bp string) *CreateLocalizationURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type CreateTranslation ¶
type CreateTranslation struct { Context *middleware.Context Handler CreateTranslationHandler }
CreateTranslation swagger:route POST /translation createTranslation
create new translation
func NewCreateTranslation ¶
func NewCreateTranslation(ctx *middleware.Context, handler CreateTranslationHandler) *CreateTranslation
NewCreateTranslation creates a new http.Handler for the create translation operation
func (*CreateTranslation) ServeHTTP ¶
func (o *CreateTranslation) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateTranslationBody ¶
type CreateTranslationBody struct { // identifier id // Required: true IdentifierID *int64 `json:"identifier_id"` // localization id // Required: true LocalizationID *int64 `json:"localization_id"` // plural // Required: true Plural *string `json:"plural"` // singular // Required: true Singular *string `json:"singular"` }
CreateTranslationBody create translation body
swagger:model CreateTranslationBody
func (*CreateTranslationBody) ContextValidate ¶
ContextValidate validates this create translation body based on context it is used
func (*CreateTranslationBody) MarshalBinary ¶
func (o *CreateTranslationBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateTranslationBody) UnmarshalBinary ¶
func (o *CreateTranslationBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CreateTranslationBody) UnmarshalJSON ¶
func (o *CreateTranslationBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type CreateTranslationDefault ¶
type CreateTranslationDefault struct { /* In: Body */ Payload *model.Error `json:"body,omitempty"` // contains filtered or unexported fields }
CreateTranslationDefault General errors using same model as used by go-swagger for validation errors.
swagger:response createTranslationDefault
func NewCreateTranslationDefault ¶
func NewCreateTranslationDefault(code int) *CreateTranslationDefault
NewCreateTranslationDefault creates CreateTranslationDefault with default headers values
func (*CreateTranslationDefault) CreateTranslationResponder ¶
func (o *CreateTranslationDefault) CreateTranslationResponder()
func (*CreateTranslationDefault) SetPayload ¶
func (o *CreateTranslationDefault) SetPayload(payload *model.Error)
SetPayload sets the payload to the create translation default response
func (*CreateTranslationDefault) SetStatusCode ¶
func (o *CreateTranslationDefault) SetStatusCode(code int)
SetStatusCode sets the status to the create translation default response
func (*CreateTranslationDefault) WithPayload ¶
func (o *CreateTranslationDefault) WithPayload(payload *model.Error) *CreateTranslationDefault
WithPayload adds the payload to the create translation default response
func (*CreateTranslationDefault) WithStatusCode ¶
func (o *CreateTranslationDefault) WithStatusCode(code int) *CreateTranslationDefault
WithStatusCode adds the status to the create translation default response
func (*CreateTranslationDefault) WriteResponse ¶
func (o *CreateTranslationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateTranslationFiles ¶
type CreateTranslationFiles struct { Context *middleware.Context Handler CreateTranslationFilesHandler }
CreateTranslationFiles swagger:route POST /translation/files createTranslationFiles
create translation files for one localization (language) and different platforms (ios,android,web)
func NewCreateTranslationFiles ¶
func NewCreateTranslationFiles(ctx *middleware.Context, handler CreateTranslationFilesHandler) *CreateTranslationFiles
NewCreateTranslationFiles creates a new http.Handler for the create translation files operation
func (*CreateTranslationFiles) ServeHTTP ¶
func (o *CreateTranslationFiles) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateTranslationFilesBody ¶
type CreateTranslationFilesBody struct { // localization id // Required: true LocalizationID *int64 `json:"localization_id"` // platforms // Required: true Platforms []string `json:"platforms"` // storage type // Enum: [local s3] StorageType *string `json:"storage_type,omitempty"` }
CreateTranslationFilesBody create translation files body
swagger:model CreateTranslationFilesBody
func (*CreateTranslationFilesBody) ContextValidate ¶
func (o *CreateTranslationFilesBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create translation files body based on context it is used
func (*CreateTranslationFilesBody) MarshalBinary ¶
func (o *CreateTranslationFilesBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateTranslationFilesBody) UnmarshalBinary ¶
func (o *CreateTranslationFilesBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CreateTranslationFilesBody) UnmarshalJSON ¶
func (o *CreateTranslationFilesBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type CreateTranslationFilesDefault ¶
type CreateTranslationFilesDefault struct { /* In: Body */ Payload *model.Error `json:"body,omitempty"` // contains filtered or unexported fields }
CreateTranslationFilesDefault General errors using same model as used by go-swagger for validation errors.
swagger:response createTranslationFilesDefault
func NewCreateTranslationFilesDefault ¶
func NewCreateTranslationFilesDefault(code int) *CreateTranslationFilesDefault
NewCreateTranslationFilesDefault creates CreateTranslationFilesDefault with default headers values
func (*CreateTranslationFilesDefault) CreateTranslationFilesResponder ¶
func (o *CreateTranslationFilesDefault) CreateTranslationFilesResponder()
func (*CreateTranslationFilesDefault) SetPayload ¶
func (o *CreateTranslationFilesDefault) SetPayload(payload *model.Error)
SetPayload sets the payload to the create translation files default response
func (*CreateTranslationFilesDefault) SetStatusCode ¶
func (o *CreateTranslationFilesDefault) SetStatusCode(code int)
SetStatusCode sets the status to the create translation files default response
func (*CreateTranslationFilesDefault) WithPayload ¶
func (o *CreateTranslationFilesDefault) WithPayload(payload *model.Error) *CreateTranslationFilesDefault
WithPayload adds the payload to the create translation files default response
func (*CreateTranslationFilesDefault) WithStatusCode ¶
func (o *CreateTranslationFilesDefault) WithStatusCode(code int) *CreateTranslationFilesDefault
WithStatusCode adds the status to the create translation files default response
func (*CreateTranslationFilesDefault) WriteResponse ¶
func (o *CreateTranslationFilesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateTranslationFilesHandler ¶
type CreateTranslationFilesHandler interface {
Handle(CreateTranslationFilesParams, *app.UserSession) CreateTranslationFilesResponder
}
CreateTranslationFilesHandler interface for that can handle valid create translation files params
type CreateTranslationFilesHandlerFunc ¶
type CreateTranslationFilesHandlerFunc func(CreateTranslationFilesParams, *app.UserSession) CreateTranslationFilesResponder
CreateTranslationFilesHandlerFunc turns a function with the right signature into a create translation files handler
func (CreateTranslationFilesHandlerFunc) Handle ¶
func (fn CreateTranslationFilesHandlerFunc) Handle(params CreateTranslationFilesParams, principal *app.UserSession) CreateTranslationFilesResponder
Handle executing the request and returning a response
type CreateTranslationFilesNoContent ¶
type CreateTranslationFilesNoContent struct { }
CreateTranslationFilesNoContent No content in answer
swagger:response createTranslationFilesNoContent
func NewCreateTranslationFilesNoContent ¶
func NewCreateTranslationFilesNoContent() *CreateTranslationFilesNoContent
NewCreateTranslationFilesNoContent creates CreateTranslationFilesNoContent with default headers values
func (*CreateTranslationFilesNoContent) CreateTranslationFilesResponder ¶
func (o *CreateTranslationFilesNoContent) CreateTranslationFilesResponder()
func (*CreateTranslationFilesNoContent) WriteResponse ¶
func (o *CreateTranslationFilesNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateTranslationFilesNotImplementedResponder ¶
type CreateTranslationFilesNotImplementedResponder struct {
middleware.Responder
}
func (*CreateTranslationFilesNotImplementedResponder) CreateTranslationFilesResponder ¶
func (*CreateTranslationFilesNotImplementedResponder) CreateTranslationFilesResponder()
type CreateTranslationFilesParams ¶
type CreateTranslationFilesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Args CreateTranslationFilesBody }
CreateTranslationFilesParams contains all the bound params for the create translation files operation typically these are obtained from a http.Request
swagger:parameters createTranslationFiles
func NewCreateTranslationFilesParams ¶
func NewCreateTranslationFilesParams() CreateTranslationFilesParams
NewCreateTranslationFilesParams creates a new CreateTranslationFilesParams object
There are no default values defined in the spec.
func (*CreateTranslationFilesParams) BindRequest ¶
func (o *CreateTranslationFilesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewCreateTranslationFilesParams() beforehand.
type CreateTranslationFilesResponder ¶
type CreateTranslationFilesResponder interface { middleware.Responder CreateTranslationFilesResponder() }
func CreateTranslationFilesNotImplemented ¶
func CreateTranslationFilesNotImplemented() CreateTranslationFilesResponder
type CreateTranslationFilesURL ¶
type CreateTranslationFilesURL struct {
// contains filtered or unexported fields
}
CreateTranslationFilesURL generates an URL for the create translation files operation
func (*CreateTranslationFilesURL) Build ¶
func (o *CreateTranslationFilesURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateTranslationFilesURL) BuildFull ¶
func (o *CreateTranslationFilesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateTranslationFilesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateTranslationFilesURL) SetBasePath ¶
func (o *CreateTranslationFilesURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*CreateTranslationFilesURL) String ¶
func (o *CreateTranslationFilesURL) String() string
String returns the string representation of the path with query string
func (*CreateTranslationFilesURL) StringFull ¶
func (o *CreateTranslationFilesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateTranslationFilesURL) WithBasePath ¶
func (o *CreateTranslationFilesURL) WithBasePath(bp string) *CreateTranslationFilesURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type CreateTranslationHandler ¶
type CreateTranslationHandler interface {
Handle(CreateTranslationParams, *app.UserSession) CreateTranslationResponder
}
CreateTranslationHandler interface for that can handle valid create translation params
type CreateTranslationHandlerFunc ¶
type CreateTranslationHandlerFunc func(CreateTranslationParams, *app.UserSession) CreateTranslationResponder
CreateTranslationHandlerFunc turns a function with the right signature into a create translation handler
func (CreateTranslationHandlerFunc) Handle ¶
func (fn CreateTranslationHandlerFunc) Handle(params CreateTranslationParams, principal *app.UserSession) CreateTranslationResponder
Handle executing the request and returning a response
type CreateTranslationNoContent ¶
type CreateTranslationNoContent struct { }
CreateTranslationNoContent No content in answer
swagger:response createTranslationNoContent
func NewCreateTranslationNoContent ¶
func NewCreateTranslationNoContent() *CreateTranslationNoContent
NewCreateTranslationNoContent creates CreateTranslationNoContent with default headers values
func (*CreateTranslationNoContent) CreateTranslationResponder ¶
func (o *CreateTranslationNoContent) CreateTranslationResponder()
func (*CreateTranslationNoContent) WriteResponse ¶
func (o *CreateTranslationNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateTranslationNotImplementedResponder ¶
type CreateTranslationNotImplementedResponder struct {
middleware.Responder
}
func (*CreateTranslationNotImplementedResponder) CreateTranslationResponder ¶
func (*CreateTranslationNotImplementedResponder) CreateTranslationResponder()
type CreateTranslationParams ¶
type CreateTranslationParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Args CreateTranslationBody }
CreateTranslationParams contains all the bound params for the create translation operation typically these are obtained from a http.Request
swagger:parameters createTranslation
func NewCreateTranslationParams ¶
func NewCreateTranslationParams() CreateTranslationParams
NewCreateTranslationParams creates a new CreateTranslationParams object
There are no default values defined in the spec.
func (*CreateTranslationParams) BindRequest ¶
func (o *CreateTranslationParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewCreateTranslationParams() beforehand.
type CreateTranslationResponder ¶
type CreateTranslationResponder interface { middleware.Responder CreateTranslationResponder() }
func CreateTranslationNotImplemented ¶
func CreateTranslationNotImplemented() CreateTranslationResponder
type CreateTranslationURL ¶
type CreateTranslationURL struct {
// contains filtered or unexported fields
}
CreateTranslationURL generates an URL for the create translation operation
func (*CreateTranslationURL) Build ¶
func (o *CreateTranslationURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateTranslationURL) BuildFull ¶
func (o *CreateTranslationURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateTranslationURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateTranslationURL) SetBasePath ¶
func (o *CreateTranslationURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*CreateTranslationURL) String ¶
func (o *CreateTranslationURL) String() string
String returns the string representation of the path with query string
func (*CreateTranslationURL) StringFull ¶
func (o *CreateTranslationURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateTranslationURL) WithBasePath ¶
func (o *CreateTranslationURL) WithBasePath(bp string) *CreateTranslationURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DeleteCategory ¶
type DeleteCategory struct { Context *middleware.Context Handler DeleteCategoryHandler }
DeleteCategory swagger:route DELETE /category/{id} deleteCategory
delete category
func NewDeleteCategory ¶
func NewDeleteCategory(ctx *middleware.Context, handler DeleteCategoryHandler) *DeleteCategory
NewDeleteCategory creates a new http.Handler for the delete category operation
func (*DeleteCategory) ServeHTTP ¶
func (o *DeleteCategory) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteCategoryDefault ¶
type DeleteCategoryDefault struct { /* In: Body */ Payload *model.Error `json:"body,omitempty"` // contains filtered or unexported fields }
DeleteCategoryDefault General errors using same model as used by go-swagger for validation errors.
swagger:response deleteCategoryDefault
func NewDeleteCategoryDefault ¶
func NewDeleteCategoryDefault(code int) *DeleteCategoryDefault
NewDeleteCategoryDefault creates DeleteCategoryDefault with default headers values
func (*DeleteCategoryDefault) DeleteCategoryResponder ¶
func (o *DeleteCategoryDefault) DeleteCategoryResponder()
func (*DeleteCategoryDefault) SetPayload ¶
func (o *DeleteCategoryDefault) SetPayload(payload *model.Error)
SetPayload sets the payload to the delete category default response
func (*DeleteCategoryDefault) SetStatusCode ¶
func (o *DeleteCategoryDefault) SetStatusCode(code int)
SetStatusCode sets the status to the delete category default response
func (*DeleteCategoryDefault) WithPayload ¶
func (o *DeleteCategoryDefault) WithPayload(payload *model.Error) *DeleteCategoryDefault
WithPayload adds the payload to the delete category default response
func (*DeleteCategoryDefault) WithStatusCode ¶
func (o *DeleteCategoryDefault) WithStatusCode(code int) *DeleteCategoryDefault
WithStatusCode adds the status to the delete category default response
func (*DeleteCategoryDefault) WriteResponse ¶
func (o *DeleteCategoryDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteCategoryHandler ¶
type DeleteCategoryHandler interface {
Handle(DeleteCategoryParams, *app.UserSession) DeleteCategoryResponder
}
DeleteCategoryHandler interface for that can handle valid delete category params
type DeleteCategoryHandlerFunc ¶
type DeleteCategoryHandlerFunc func(DeleteCategoryParams, *app.UserSession) DeleteCategoryResponder
DeleteCategoryHandlerFunc turns a function with the right signature into a delete category handler
func (DeleteCategoryHandlerFunc) Handle ¶
func (fn DeleteCategoryHandlerFunc) Handle(params DeleteCategoryParams, principal *app.UserSession) DeleteCategoryResponder
Handle executing the request and returning a response
type DeleteCategoryNoContent ¶
type DeleteCategoryNoContent struct { }
DeleteCategoryNoContent No content in answer
swagger:response deleteCategoryNoContent
func NewDeleteCategoryNoContent ¶
func NewDeleteCategoryNoContent() *DeleteCategoryNoContent
NewDeleteCategoryNoContent creates DeleteCategoryNoContent with default headers values
func (*DeleteCategoryNoContent) DeleteCategoryResponder ¶
func (o *DeleteCategoryNoContent) DeleteCategoryResponder()
func (*DeleteCategoryNoContent) WriteResponse ¶
func (o *DeleteCategoryNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteCategoryNotImplementedResponder ¶
type DeleteCategoryNotImplementedResponder struct {
middleware.Responder
}
func (*DeleteCategoryNotImplementedResponder) DeleteCategoryResponder ¶
func (*DeleteCategoryNotImplementedResponder) DeleteCategoryResponder()
type DeleteCategoryParams ¶
type DeleteCategoryParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true Minimum: 1 In: path */ ID int64 }
DeleteCategoryParams contains all the bound params for the delete category operation typically these are obtained from a http.Request
swagger:parameters deleteCategory
func NewDeleteCategoryParams ¶
func NewDeleteCategoryParams() DeleteCategoryParams
NewDeleteCategoryParams creates a new DeleteCategoryParams object
There are no default values defined in the spec.
func (*DeleteCategoryParams) BindRequest ¶
func (o *DeleteCategoryParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDeleteCategoryParams() beforehand.
type DeleteCategoryResponder ¶
type DeleteCategoryResponder interface { middleware.Responder DeleteCategoryResponder() }
func DeleteCategoryNotImplemented ¶
func DeleteCategoryNotImplemented() DeleteCategoryResponder
type DeleteCategoryURL ¶
type DeleteCategoryURL struct { ID int64 // contains filtered or unexported fields }
DeleteCategoryURL generates an URL for the delete category operation
func (*DeleteCategoryURL) Build ¶
func (o *DeleteCategoryURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteCategoryURL) BuildFull ¶
func (o *DeleteCategoryURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteCategoryURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteCategoryURL) SetBasePath ¶
func (o *DeleteCategoryURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeleteCategoryURL) String ¶
func (o *DeleteCategoryURL) String() string
String returns the string representation of the path with query string
func (*DeleteCategoryURL) StringFull ¶
func (o *DeleteCategoryURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteCategoryURL) WithBasePath ¶
func (o *DeleteCategoryURL) WithBasePath(bp string) *DeleteCategoryURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DeleteIdentifier ¶
type DeleteIdentifier struct { Context *middleware.Context Handler DeleteIdentifierHandler }
DeleteIdentifier swagger:route DELETE /identifier/{id} deleteIdentifier
delete identifier by id only if he dosent use in localizations otherwise error
func NewDeleteIdentifier ¶
func NewDeleteIdentifier(ctx *middleware.Context, handler DeleteIdentifierHandler) *DeleteIdentifier
NewDeleteIdentifier creates a new http.Handler for the delete identifier operation
func (*DeleteIdentifier) ServeHTTP ¶
func (o *DeleteIdentifier) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteIdentifierDefault ¶
type DeleteIdentifierDefault struct { /* In: Body */ Payload *model.Error `json:"body,omitempty"` // contains filtered or unexported fields }
DeleteIdentifierDefault General errors using same model as used by go-swagger for validation errors.
swagger:response deleteIdentifierDefault
func NewDeleteIdentifierDefault ¶
func NewDeleteIdentifierDefault(code int) *DeleteIdentifierDefault
NewDeleteIdentifierDefault creates DeleteIdentifierDefault with default headers values
func (*DeleteIdentifierDefault) DeleteIdentifierResponder ¶
func (o *DeleteIdentifierDefault) DeleteIdentifierResponder()
func (*DeleteIdentifierDefault) SetPayload ¶
func (o *DeleteIdentifierDefault) SetPayload(payload *model.Error)
SetPayload sets the payload to the delete identifier default response
func (*DeleteIdentifierDefault) SetStatusCode ¶
func (o *DeleteIdentifierDefault) SetStatusCode(code int)
SetStatusCode sets the status to the delete identifier default response
func (*DeleteIdentifierDefault) WithPayload ¶
func (o *DeleteIdentifierDefault) WithPayload(payload *model.Error) *DeleteIdentifierDefault
WithPayload adds the payload to the delete identifier default response
func (*DeleteIdentifierDefault) WithStatusCode ¶
func (o *DeleteIdentifierDefault) WithStatusCode(code int) *DeleteIdentifierDefault
WithStatusCode adds the status to the delete identifier default response
func (*DeleteIdentifierDefault) WriteResponse ¶
func (o *DeleteIdentifierDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteIdentifierHandler ¶
type DeleteIdentifierHandler interface {
Handle(DeleteIdentifierParams, *app.UserSession) DeleteIdentifierResponder
}
DeleteIdentifierHandler interface for that can handle valid delete identifier params
type DeleteIdentifierHandlerFunc ¶
type DeleteIdentifierHandlerFunc func(DeleteIdentifierParams, *app.UserSession) DeleteIdentifierResponder
DeleteIdentifierHandlerFunc turns a function with the right signature into a delete identifier handler
func (DeleteIdentifierHandlerFunc) Handle ¶
func (fn DeleteIdentifierHandlerFunc) Handle(params DeleteIdentifierParams, principal *app.UserSession) DeleteIdentifierResponder
Handle executing the request and returning a response
type DeleteIdentifierNoContent ¶
type DeleteIdentifierNoContent struct { }
DeleteIdentifierNoContent No content in answer
swagger:response deleteIdentifierNoContent
func NewDeleteIdentifierNoContent ¶
func NewDeleteIdentifierNoContent() *DeleteIdentifierNoContent
NewDeleteIdentifierNoContent creates DeleteIdentifierNoContent with default headers values
func (*DeleteIdentifierNoContent) DeleteIdentifierResponder ¶
func (o *DeleteIdentifierNoContent) DeleteIdentifierResponder()
func (*DeleteIdentifierNoContent) WriteResponse ¶
func (o *DeleteIdentifierNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteIdentifierNotImplementedResponder ¶
type DeleteIdentifierNotImplementedResponder struct {
middleware.Responder
}
func (*DeleteIdentifierNotImplementedResponder) DeleteIdentifierResponder ¶
func (*DeleteIdentifierNotImplementedResponder) DeleteIdentifierResponder()
type DeleteIdentifierParams ¶
type DeleteIdentifierParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true Minimum: 1 In: path */ ID int64 }
DeleteIdentifierParams contains all the bound params for the delete identifier operation typically these are obtained from a http.Request
swagger:parameters deleteIdentifier
func NewDeleteIdentifierParams ¶
func NewDeleteIdentifierParams() DeleteIdentifierParams
NewDeleteIdentifierParams creates a new DeleteIdentifierParams object
There are no default values defined in the spec.
func (*DeleteIdentifierParams) BindRequest ¶
func (o *DeleteIdentifierParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDeleteIdentifierParams() beforehand.
type DeleteIdentifierResponder ¶
type DeleteIdentifierResponder interface { middleware.Responder DeleteIdentifierResponder() }
func DeleteIdentifierNotImplemented ¶
func DeleteIdentifierNotImplemented() DeleteIdentifierResponder
type DeleteIdentifierURL ¶
type DeleteIdentifierURL struct { ID int64 // contains filtered or unexported fields }
DeleteIdentifierURL generates an URL for the delete identifier operation
func (*DeleteIdentifierURL) Build ¶
func (o *DeleteIdentifierURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteIdentifierURL) BuildFull ¶
func (o *DeleteIdentifierURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteIdentifierURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteIdentifierURL) SetBasePath ¶
func (o *DeleteIdentifierURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeleteIdentifierURL) String ¶
func (o *DeleteIdentifierURL) String() string
String returns the string representation of the path with query string
func (*DeleteIdentifierURL) StringFull ¶
func (o *DeleteIdentifierURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteIdentifierURL) WithBasePath ¶
func (o *DeleteIdentifierURL) WithBasePath(bp string) *DeleteIdentifierURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DeleteLocalization ¶
type DeleteLocalization struct { Context *middleware.Context Handler DeleteLocalizationHandler }
DeleteLocalization swagger:route DELETE /localization/{id} deleteLocalization
delete localization by id
func NewDeleteLocalization ¶
func NewDeleteLocalization(ctx *middleware.Context, handler DeleteLocalizationHandler) *DeleteLocalization
NewDeleteLocalization creates a new http.Handler for the delete localization operation
func (*DeleteLocalization) ServeHTTP ¶
func (o *DeleteLocalization) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteLocalizationDefault ¶
type DeleteLocalizationDefault struct { /* In: Body */ Payload *model.Error `json:"body,omitempty"` // contains filtered or unexported fields }
DeleteLocalizationDefault General errors using same model as used by go-swagger for validation errors.
swagger:response deleteLocalizationDefault
func NewDeleteLocalizationDefault ¶
func NewDeleteLocalizationDefault(code int) *DeleteLocalizationDefault
NewDeleteLocalizationDefault creates DeleteLocalizationDefault with default headers values
func (*DeleteLocalizationDefault) DeleteLocalizationResponder ¶
func (o *DeleteLocalizationDefault) DeleteLocalizationResponder()
func (*DeleteLocalizationDefault) SetPayload ¶
func (o *DeleteLocalizationDefault) SetPayload(payload *model.Error)
SetPayload sets the payload to the delete localization default response
func (*DeleteLocalizationDefault) SetStatusCode ¶
func (o *DeleteLocalizationDefault) SetStatusCode(code int)
SetStatusCode sets the status to the delete localization default response
func (*DeleteLocalizationDefault) WithPayload ¶
func (o *DeleteLocalizationDefault) WithPayload(payload *model.Error) *DeleteLocalizationDefault
WithPayload adds the payload to the delete localization default response
func (*DeleteLocalizationDefault) WithStatusCode ¶
func (o *DeleteLocalizationDefault) WithStatusCode(code int) *DeleteLocalizationDefault
WithStatusCode adds the status to the delete localization default response
func (*DeleteLocalizationDefault) WriteResponse ¶
func (o *DeleteLocalizationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteLocalizationHandler ¶
type DeleteLocalizationHandler interface {
Handle(DeleteLocalizationParams, *app.UserSession) DeleteLocalizationResponder
}
DeleteLocalizationHandler interface for that can handle valid delete localization params
type DeleteLocalizationHandlerFunc ¶
type DeleteLocalizationHandlerFunc func(DeleteLocalizationParams, *app.UserSession) DeleteLocalizationResponder
DeleteLocalizationHandlerFunc turns a function with the right signature into a delete localization handler
func (DeleteLocalizationHandlerFunc) Handle ¶
func (fn DeleteLocalizationHandlerFunc) Handle(params DeleteLocalizationParams, principal *app.UserSession) DeleteLocalizationResponder
Handle executing the request and returning a response
type DeleteLocalizationNoContent ¶
type DeleteLocalizationNoContent struct { }
DeleteLocalizationNoContent No content in answer
swagger:response deleteLocalizationNoContent
func NewDeleteLocalizationNoContent ¶
func NewDeleteLocalizationNoContent() *DeleteLocalizationNoContent
NewDeleteLocalizationNoContent creates DeleteLocalizationNoContent with default headers values
func (*DeleteLocalizationNoContent) DeleteLocalizationResponder ¶
func (o *DeleteLocalizationNoContent) DeleteLocalizationResponder()
func (*DeleteLocalizationNoContent) WriteResponse ¶
func (o *DeleteLocalizationNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteLocalizationNotImplementedResponder ¶
type DeleteLocalizationNotImplementedResponder struct {
middleware.Responder
}
func (*DeleteLocalizationNotImplementedResponder) DeleteLocalizationResponder ¶
func (*DeleteLocalizationNotImplementedResponder) DeleteLocalizationResponder()
type DeleteLocalizationParams ¶
type DeleteLocalizationParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true Minimum: 1 In: path */ ID int64 }
DeleteLocalizationParams contains all the bound params for the delete localization operation typically these are obtained from a http.Request
swagger:parameters deleteLocalization
func NewDeleteLocalizationParams ¶
func NewDeleteLocalizationParams() DeleteLocalizationParams
NewDeleteLocalizationParams creates a new DeleteLocalizationParams object
There are no default values defined in the spec.
func (*DeleteLocalizationParams) BindRequest ¶
func (o *DeleteLocalizationParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDeleteLocalizationParams() beforehand.
type DeleteLocalizationResponder ¶
type DeleteLocalizationResponder interface { middleware.Responder DeleteLocalizationResponder() }
func DeleteLocalizationNotImplemented ¶
func DeleteLocalizationNotImplemented() DeleteLocalizationResponder
type DeleteLocalizationURL ¶
type DeleteLocalizationURL struct { ID int64 // contains filtered or unexported fields }
DeleteLocalizationURL generates an URL for the delete localization operation
func (*DeleteLocalizationURL) Build ¶
func (o *DeleteLocalizationURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteLocalizationURL) BuildFull ¶
func (o *DeleteLocalizationURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteLocalizationURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteLocalizationURL) SetBasePath ¶
func (o *DeleteLocalizationURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeleteLocalizationURL) String ¶
func (o *DeleteLocalizationURL) String() string
String returns the string representation of the path with query string
func (*DeleteLocalizationURL) StringFull ¶
func (o *DeleteLocalizationURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteLocalizationURL) WithBasePath ¶
func (o *DeleteLocalizationURL) WithBasePath(bp string) *DeleteLocalizationURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DeleteTranslation ¶
type DeleteTranslation struct { Context *middleware.Context Handler DeleteTranslationHandler }
DeleteTranslation swagger:route DELETE /translation/{id} deleteTranslation
delete translation
func NewDeleteTranslation ¶
func NewDeleteTranslation(ctx *middleware.Context, handler DeleteTranslationHandler) *DeleteTranslation
NewDeleteTranslation creates a new http.Handler for the delete translation operation
func (*DeleteTranslation) ServeHTTP ¶
func (o *DeleteTranslation) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteTranslationDefault ¶
type DeleteTranslationDefault struct { /* In: Body */ Payload *model.Error `json:"body,omitempty"` // contains filtered or unexported fields }
DeleteTranslationDefault General errors using same model as used by go-swagger for validation errors.
swagger:response deleteTranslationDefault
func NewDeleteTranslationDefault ¶
func NewDeleteTranslationDefault(code int) *DeleteTranslationDefault
NewDeleteTranslationDefault creates DeleteTranslationDefault with default headers values
func (*DeleteTranslationDefault) DeleteTranslationResponder ¶
func (o *DeleteTranslationDefault) DeleteTranslationResponder()
func (*DeleteTranslationDefault) SetPayload ¶
func (o *DeleteTranslationDefault) SetPayload(payload *model.Error)
SetPayload sets the payload to the delete translation default response
func (*DeleteTranslationDefault) SetStatusCode ¶
func (o *DeleteTranslationDefault) SetStatusCode(code int)
SetStatusCode sets the status to the delete translation default response
func (*DeleteTranslationDefault) WithPayload ¶
func (o *DeleteTranslationDefault) WithPayload(payload *model.Error) *DeleteTranslationDefault
WithPayload adds the payload to the delete translation default response
func (*DeleteTranslationDefault) WithStatusCode ¶
func (o *DeleteTranslationDefault) WithStatusCode(code int) *DeleteTranslationDefault
WithStatusCode adds the status to the delete translation default response
func (*DeleteTranslationDefault) WriteResponse ¶
func (o *DeleteTranslationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteTranslationFile ¶
type DeleteTranslationFile struct { Context *middleware.Context Handler DeleteTranslationFileHandler }
DeleteTranslationFile swagger:route DELETE /translation/file/{id} deleteTranslationFile
delete translation file by id
func NewDeleteTranslationFile ¶
func NewDeleteTranslationFile(ctx *middleware.Context, handler DeleteTranslationFileHandler) *DeleteTranslationFile
NewDeleteTranslationFile creates a new http.Handler for the delete translation file operation
func (*DeleteTranslationFile) ServeHTTP ¶
func (o *DeleteTranslationFile) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteTranslationFileDefault ¶
type DeleteTranslationFileDefault struct { /* In: Body */ Payload *model.Error `json:"body,omitempty"` // contains filtered or unexported fields }
DeleteTranslationFileDefault General errors using same model as used by go-swagger for validation errors.
swagger:response deleteTranslationFileDefault
func NewDeleteTranslationFileDefault ¶
func NewDeleteTranslationFileDefault(code int) *DeleteTranslationFileDefault
NewDeleteTranslationFileDefault creates DeleteTranslationFileDefault with default headers values
func (*DeleteTranslationFileDefault) DeleteTranslationFileResponder ¶
func (o *DeleteTranslationFileDefault) DeleteTranslationFileResponder()
func (*DeleteTranslationFileDefault) SetPayload ¶
func (o *DeleteTranslationFileDefault) SetPayload(payload *model.Error)
SetPayload sets the payload to the delete translation file default response
func (*DeleteTranslationFileDefault) SetStatusCode ¶
func (o *DeleteTranslationFileDefault) SetStatusCode(code int)
SetStatusCode sets the status to the delete translation file default response
func (*DeleteTranslationFileDefault) WithPayload ¶
func (o *DeleteTranslationFileDefault) WithPayload(payload *model.Error) *DeleteTranslationFileDefault
WithPayload adds the payload to the delete translation file default response
func (*DeleteTranslationFileDefault) WithStatusCode ¶
func (o *DeleteTranslationFileDefault) WithStatusCode(code int) *DeleteTranslationFileDefault
WithStatusCode adds the status to the delete translation file default response
func (*DeleteTranslationFileDefault) WriteResponse ¶
func (o *DeleteTranslationFileDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteTranslationFileHandler ¶
type DeleteTranslationFileHandler interface {
Handle(DeleteTranslationFileParams, *app.UserSession) DeleteTranslationFileResponder
}
DeleteTranslationFileHandler interface for that can handle valid delete translation file params
type DeleteTranslationFileHandlerFunc ¶
type DeleteTranslationFileHandlerFunc func(DeleteTranslationFileParams, *app.UserSession) DeleteTranslationFileResponder
DeleteTranslationFileHandlerFunc turns a function with the right signature into a delete translation file handler
func (DeleteTranslationFileHandlerFunc) Handle ¶
func (fn DeleteTranslationFileHandlerFunc) Handle(params DeleteTranslationFileParams, principal *app.UserSession) DeleteTranslationFileResponder
Handle executing the request and returning a response
type DeleteTranslationFileNoContent ¶
type DeleteTranslationFileNoContent struct { }
DeleteTranslationFileNoContent No content in answer
swagger:response deleteTranslationFileNoContent
func NewDeleteTranslationFileNoContent ¶
func NewDeleteTranslationFileNoContent() *DeleteTranslationFileNoContent
NewDeleteTranslationFileNoContent creates DeleteTranslationFileNoContent with default headers values
func (*DeleteTranslationFileNoContent) DeleteTranslationFileResponder ¶
func (o *DeleteTranslationFileNoContent) DeleteTranslationFileResponder()
func (*DeleteTranslationFileNoContent) WriteResponse ¶
func (o *DeleteTranslationFileNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteTranslationFileNotImplementedResponder ¶
type DeleteTranslationFileNotImplementedResponder struct {
middleware.Responder
}
func (*DeleteTranslationFileNotImplementedResponder) DeleteTranslationFileResponder ¶
func (*DeleteTranslationFileNotImplementedResponder) DeleteTranslationFileResponder()
type DeleteTranslationFileParams ¶
type DeleteTranslationFileParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true Minimum: 1 In: path */ ID int64 }
DeleteTranslationFileParams contains all the bound params for the delete translation file operation typically these are obtained from a http.Request
swagger:parameters deleteTranslationFile
func NewDeleteTranslationFileParams ¶
func NewDeleteTranslationFileParams() DeleteTranslationFileParams
NewDeleteTranslationFileParams creates a new DeleteTranslationFileParams object
There are no default values defined in the spec.
func (*DeleteTranslationFileParams) BindRequest ¶
func (o *DeleteTranslationFileParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDeleteTranslationFileParams() beforehand.
type DeleteTranslationFileResponder ¶
type DeleteTranslationFileResponder interface { middleware.Responder DeleteTranslationFileResponder() }
func DeleteTranslationFileNotImplemented ¶
func DeleteTranslationFileNotImplemented() DeleteTranslationFileResponder
type DeleteTranslationFileURL ¶
type DeleteTranslationFileURL struct { ID int64 // contains filtered or unexported fields }
DeleteTranslationFileURL generates an URL for the delete translation file operation
func (*DeleteTranslationFileURL) Build ¶
func (o *DeleteTranslationFileURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteTranslationFileURL) BuildFull ¶
func (o *DeleteTranslationFileURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteTranslationFileURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteTranslationFileURL) SetBasePath ¶
func (o *DeleteTranslationFileURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeleteTranslationFileURL) String ¶
func (o *DeleteTranslationFileURL) String() string
String returns the string representation of the path with query string
func (*DeleteTranslationFileURL) StringFull ¶
func (o *DeleteTranslationFileURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteTranslationFileURL) WithBasePath ¶
func (o *DeleteTranslationFileURL) WithBasePath(bp string) *DeleteTranslationFileURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DeleteTranslationHandler ¶
type DeleteTranslationHandler interface {
Handle(DeleteTranslationParams, *app.UserSession) DeleteTranslationResponder
}
DeleteTranslationHandler interface for that can handle valid delete translation params
type DeleteTranslationHandlerFunc ¶
type DeleteTranslationHandlerFunc func(DeleteTranslationParams, *app.UserSession) DeleteTranslationResponder
DeleteTranslationHandlerFunc turns a function with the right signature into a delete translation handler
func (DeleteTranslationHandlerFunc) Handle ¶
func (fn DeleteTranslationHandlerFunc) Handle(params DeleteTranslationParams, principal *app.UserSession) DeleteTranslationResponder
Handle executing the request and returning a response
type DeleteTranslationNoContent ¶
type DeleteTranslationNoContent struct { }
DeleteTranslationNoContent No content in answer
swagger:response deleteTranslationNoContent
func NewDeleteTranslationNoContent ¶
func NewDeleteTranslationNoContent() *DeleteTranslationNoContent
NewDeleteTranslationNoContent creates DeleteTranslationNoContent with default headers values
func (*DeleteTranslationNoContent) DeleteTranslationResponder ¶
func (o *DeleteTranslationNoContent) DeleteTranslationResponder()
func (*DeleteTranslationNoContent) WriteResponse ¶
func (o *DeleteTranslationNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteTranslationNotImplementedResponder ¶
type DeleteTranslationNotImplementedResponder struct {
middleware.Responder
}
func (*DeleteTranslationNotImplementedResponder) DeleteTranslationResponder ¶
func (*DeleteTranslationNotImplementedResponder) DeleteTranslationResponder()
type DeleteTranslationParams ¶
type DeleteTranslationParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true Minimum: 1 In: path */ ID int64 }
DeleteTranslationParams contains all the bound params for the delete translation operation typically these are obtained from a http.Request
swagger:parameters deleteTranslation
func NewDeleteTranslationParams ¶
func NewDeleteTranslationParams() DeleteTranslationParams
NewDeleteTranslationParams creates a new DeleteTranslationParams object
There are no default values defined in the spec.
func (*DeleteTranslationParams) BindRequest ¶
func (o *DeleteTranslationParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDeleteTranslationParams() beforehand.
type DeleteTranslationResponder ¶
type DeleteTranslationResponder interface { middleware.Responder DeleteTranslationResponder() }
func DeleteTranslationNotImplemented ¶
func DeleteTranslationNotImplemented() DeleteTranslationResponder
type DeleteTranslationURL ¶
type DeleteTranslationURL struct { ID int64 // contains filtered or unexported fields }
DeleteTranslationURL generates an URL for the delete translation operation
func (*DeleteTranslationURL) Build ¶
func (o *DeleteTranslationURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteTranslationURL) BuildFull ¶
func (o *DeleteTranslationURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteTranslationURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteTranslationURL) SetBasePath ¶
func (o *DeleteTranslationURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeleteTranslationURL) String ¶
func (o *DeleteTranslationURL) String() string
String returns the string representation of the path with query string
func (*DeleteTranslationURL) StringFull ¶
func (o *DeleteTranslationURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteTranslationURL) WithBasePath ¶
func (o *DeleteTranslationURL) WithBasePath(bp string) *DeleteTranslationURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type FreonFrontendAPI ¶
type FreonFrontendAPI struct { Middleware func(middleware.Builder) http.Handler // BasicAuthenticator generates a runtime.Authenticator from the supplied basic auth function. // It has a default implementation in the security package, however you can replace it for your particular usage. BasicAuthenticator func(security.UserPassAuthentication) runtime.Authenticator // APIKeyAuthenticator generates a runtime.Authenticator from the supplied token auth function. // It has a default implementation in the security package, however you can replace it for your particular usage. APIKeyAuthenticator func(string, string, security.TokenAuthentication) runtime.Authenticator // BearerAuthenticator generates a runtime.Authenticator from the supplied bearer token auth function. // It has a default implementation in the security package, however you can replace it for your particular usage. BearerAuthenticator func(string, security.ScopedTokenAuthentication) runtime.Authenticator // JSONConsumer registers a consumer for the following mime types: // - application/json JSONConsumer runtime.Consumer // JSONProducer registers a producer for the following mime types: // - application/json JSONProducer runtime.Producer // JWTBearerAuth registers a function that takes a token and returns a principal // it performs authentication based on an api key Authorization provided in the header JWTBearerAuth func(string) (*app.UserSession, error) // APIAuthorizer provides access control (ACL/RBAC/ABAC) by providing access to the request and authenticated principal APIAuthorizer runtime.Authorizer // AutoTranslationHandler sets the operation handler for the auto translation operation AutoTranslationHandler AutoTranslationHandler // AutoTranslationByIDHandler sets the operation handler for the auto translation by ID operation AutoTranslationByIDHandler AutoTranslationByIDHandler // CreateCategoryHandler sets the operation handler for the create category operation CreateCategoryHandler CreateCategoryHandler // CreateIdentifierHandler sets the operation handler for the create identifier operation CreateIdentifierHandler CreateIdentifierHandler // CreateLocalizationHandler sets the operation handler for the create localization operation CreateLocalizationHandler CreateLocalizationHandler // CreateTranslationHandler sets the operation handler for the create translation operation CreateTranslationHandler CreateTranslationHandler // CreateTranslationFilesHandler sets the operation handler for the create translation files operation CreateTranslationFilesHandler CreateTranslationFilesHandler // DeleteCategoryHandler sets the operation handler for the delete category operation DeleteCategoryHandler DeleteCategoryHandler // DeleteIdentifierHandler sets the operation handler for the delete identifier operation DeleteIdentifierHandler DeleteIdentifierHandler // DeleteLocalizationHandler sets the operation handler for the delete localization operation DeleteLocalizationHandler DeleteLocalizationHandler // DeleteTranslationHandler sets the operation handler for the delete translation operation DeleteTranslationHandler DeleteTranslationHandler // DeleteTranslationFileHandler sets the operation handler for the delete translation file operation DeleteTranslationFileHandler DeleteTranslationFileHandler // HealthCheckHandler sets the operation handler for the health check operation HealthCheckHandler HealthCheckHandler // InfoHandler sets the operation handler for the info operation InfoHandler InfoHandler // ListCategoriesHandler sets the operation handler for the list categories operation ListCategoriesHandler ListCategoriesHandler // ListIdentifiersHandler sets the operation handler for the list identifiers operation ListIdentifiersHandler ListIdentifiersHandler // ListLocalizationHandler sets the operation handler for the list localization operation ListLocalizationHandler ListLocalizationHandler // ListTranslationFilesHandler sets the operation handler for the list translation files operation ListTranslationFilesHandler ListTranslationFilesHandler // ListTranslationsHandler sets the operation handler for the list translations operation ListTranslationsHandler ListTranslationsHandler // ListUserHandler sets the operation handler for the list user operation ListUserHandler ListUserHandler // LoginHandler sets the operation handler for the login operation LoginHandler LoginHandler // LogoutUserHandler sets the operation handler for the logout user operation LogoutUserHandler LogoutUserHandler // RegUserHandler sets the operation handler for the reg user operation RegUserHandler RegUserHandler // SettingFirstLaunchHandler sets the operation handler for the setting first launch operation SettingFirstLaunchHandler SettingFirstLaunchHandler // SettingStorageHandler sets the operation handler for the setting storage operation SettingStorageHandler SettingStorageHandler // SettingTranslationHandler sets the operation handler for the setting translation operation SettingTranslationHandler SettingTranslationHandler // SettingsHandler sets the operation handler for the settings operation SettingsHandler SettingsHandler // StatisticHandler sets the operation handler for the statistic operation StatisticHandler StatisticHandler // StatusTranslationHandler sets the operation handler for the status translation operation StatusTranslationHandler StatusTranslationHandler // SupportedLanguagesHandler sets the operation handler for the supported languages operation SupportedLanguagesHandler SupportedLanguagesHandler // UpdateCategoryHandler sets the operation handler for the update category operation UpdateCategoryHandler UpdateCategoryHandler // UpdateIdentifierHandler sets the operation handler for the update identifier operation UpdateIdentifierHandler UpdateIdentifierHandler // UpdateTranslationHandler sets the operation handler for the update translation operation UpdateTranslationHandler UpdateTranslationHandler // UserChangePasswordHandler sets the operation handler for the user change password operation UserChangePasswordHandler UserChangePasswordHandler // UserChangeProfileHandler sets the operation handler for the user change profile operation UserChangeProfileHandler UserChangeProfileHandler // UserChangeStatusHandler sets the operation handler for the user change status operation UserChangeStatusHandler UserChangeStatusHandler // UserMeHandler sets the operation handler for the user me operation UserMeHandler UserMeHandler // VersionHandler sets the operation handler for the version operation VersionHandler VersionHandler // ServeError is called when an error is received, there is a default handler // but you can set your own with this ServeError func(http.ResponseWriter, *http.Request, error) // PreServerShutdown is called before the HTTP(S) server is shutdown // This allows for custom functions to get executed before the HTTP(S) server stops accepting traffic PreServerShutdown func() // ServerShutdown is called when the HTTP(S) server is shut down and done // handling all active connections and does not accept connections any more ServerShutdown func() // Custom command line argument groups with their descriptions CommandLineOptionsGroups []swag.CommandLineOptionsGroup // User defined logger function. Logger func(string, ...interface{}) // contains filtered or unexported fields }
FreonFrontendAPI Frontend Server for rest api
func NewFreonFrontendAPI ¶
func NewFreonFrontendAPI(spec *loads.Document) *FreonFrontendAPI
NewFreonFrontendAPI creates a new FreonFrontend instance
func (*FreonFrontendAPI) AddMiddlewareFor ¶
func (o *FreonFrontendAPI) AddMiddlewareFor(method, path string, builder middleware.Builder)
AddMiddlewareFor adds a http middleware to existing handler
func (*FreonFrontendAPI) AuthenticatorsFor ¶
func (o *FreonFrontendAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator
AuthenticatorsFor gets the authenticators for the specified security schemes
func (*FreonFrontendAPI) Authorizer ¶
func (o *FreonFrontendAPI) Authorizer() runtime.Authorizer
Authorizer returns the registered authorizer
func (*FreonFrontendAPI) ConsumersFor ¶
func (o *FreonFrontendAPI) ConsumersFor(mediaTypes []string) map[string]runtime.Consumer
ConsumersFor gets the consumers for the specified media types. MIME type parameters are ignored here.
func (*FreonFrontendAPI) Context ¶
func (o *FreonFrontendAPI) Context() *middleware.Context
Context returns the middleware context for the freon frontend API
func (*FreonFrontendAPI) DefaultConsumes ¶
func (o *FreonFrontendAPI) DefaultConsumes() string
DefaultConsumes returns the default consumes media type
func (*FreonFrontendAPI) DefaultProduces ¶
func (o *FreonFrontendAPI) DefaultProduces() string
DefaultProduces returns the default produces media type
func (*FreonFrontendAPI) Formats ¶
func (o *FreonFrontendAPI) Formats() strfmt.Registry
Formats returns the registered string formats
func (*FreonFrontendAPI) HandlerFor ¶
func (o *FreonFrontendAPI) HandlerFor(method, path string) (http.Handler, bool)
HandlerFor gets a http.Handler for the provided operation method and path
func (*FreonFrontendAPI) Init ¶
func (o *FreonFrontendAPI) Init()
Init allows you to just initialize the handler cache, you can then recompose the middleware as you see fit
func (*FreonFrontendAPI) ProducersFor ¶
func (o *FreonFrontendAPI) ProducersFor(mediaTypes []string) map[string]runtime.Producer
ProducersFor gets the producers for the specified media types. MIME type parameters are ignored here.
func (*FreonFrontendAPI) RegisterConsumer ¶
func (o *FreonFrontendAPI) RegisterConsumer(mediaType string, consumer runtime.Consumer)
RegisterConsumer allows you to add (or override) a consumer for a media type.
func (*FreonFrontendAPI) RegisterFormat ¶
func (o *FreonFrontendAPI) RegisterFormat(name string, format strfmt.Format, validator strfmt.Validator)
RegisterFormat registers a custom format validator
func (*FreonFrontendAPI) RegisterProducer ¶
func (o *FreonFrontendAPI) RegisterProducer(mediaType string, producer runtime.Producer)
RegisterProducer allows you to add (or override) a producer for a media type.
func (*FreonFrontendAPI) Serve ¶
func (o *FreonFrontendAPI) Serve(builder middleware.Builder) http.Handler
Serve creates a http handler to serve the API over HTTP can be used directly in http.ListenAndServe(":8000", api.Serve(nil))
func (*FreonFrontendAPI) ServeErrorFor ¶
func (o *FreonFrontendAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error)
ServeErrorFor gets a error handler for a given operation id
func (*FreonFrontendAPI) SetDefaultConsumes ¶
func (o *FreonFrontendAPI) SetDefaultConsumes(mediaType string)
SetDefaultConsumes returns the default consumes media type
func (*FreonFrontendAPI) SetDefaultProduces ¶
func (o *FreonFrontendAPI) SetDefaultProduces(mediaType string)
SetDefaultProduces sets the default produces media type
func (*FreonFrontendAPI) SetSpec ¶
func (o *FreonFrontendAPI) SetSpec(spec *loads.Document)
SetSpec sets a spec that will be served for the clients.
func (*FreonFrontendAPI) UseRedoc ¶
func (o *FreonFrontendAPI) UseRedoc()
UseRedoc for documentation at /docs
func (*FreonFrontendAPI) UseSwaggerUI ¶
func (o *FreonFrontendAPI) UseSwaggerUI()
UseSwaggerUI for documentation at /docs
func (*FreonFrontendAPI) Validate ¶
func (o *FreonFrontendAPI) Validate() error
Validate validates the registrations in the FreonFrontendAPI
type HealthCheck ¶
type HealthCheck struct { Context *middleware.Context Handler HealthCheckHandler }
HealthCheck swagger:route GET /health-check healthCheck
Returns 200 if service works okay.
func NewHealthCheck ¶
func NewHealthCheck(ctx *middleware.Context, handler HealthCheckHandler) *HealthCheck
NewHealthCheck creates a new http.Handler for the health check operation
func (*HealthCheck) ServeHTTP ¶
func (o *HealthCheck) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type HealthCheckDefault ¶
type HealthCheckDefault struct { /* In: Body */ Payload *model.Error `json:"body,omitempty"` // contains filtered or unexported fields }
HealthCheckDefault General errors using same model as used by go-swagger for validation errors.
swagger:response healthCheckDefault
func NewHealthCheckDefault ¶
func NewHealthCheckDefault(code int) *HealthCheckDefault
NewHealthCheckDefault creates HealthCheckDefault with default headers values
func (*HealthCheckDefault) HealthCheckResponder ¶
func (o *HealthCheckDefault) HealthCheckResponder()
func (*HealthCheckDefault) SetPayload ¶
func (o *HealthCheckDefault) SetPayload(payload *model.Error)
SetPayload sets the payload to the health check default response
func (*HealthCheckDefault) SetStatusCode ¶
func (o *HealthCheckDefault) SetStatusCode(code int)
SetStatusCode sets the status to the health check default response
func (*HealthCheckDefault) WithPayload ¶
func (o *HealthCheckDefault) WithPayload(payload *model.Error) *HealthCheckDefault
WithPayload adds the payload to the health check default response
func (*HealthCheckDefault) WithStatusCode ¶
func (o *HealthCheckDefault) WithStatusCode(code int) *HealthCheckDefault
WithStatusCode adds the status to the health check default response
func (*HealthCheckDefault) WriteResponse ¶
func (o *HealthCheckDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type HealthCheckHandler ¶
type HealthCheckHandler interface {
Handle(HealthCheckParams) HealthCheckResponder
}
HealthCheckHandler interface for that can handle valid health check params
type HealthCheckHandlerFunc ¶
type HealthCheckHandlerFunc func(HealthCheckParams) HealthCheckResponder
HealthCheckHandlerFunc turns a function with the right signature into a health check handler
func (HealthCheckHandlerFunc) Handle ¶
func (fn HealthCheckHandlerFunc) Handle(params HealthCheckParams) HealthCheckResponder
Handle executing the request and returning a response
type HealthCheckNotImplementedResponder ¶
type HealthCheckNotImplementedResponder struct {
middleware.Responder
}
func (*HealthCheckNotImplementedResponder) HealthCheckResponder ¶
func (*HealthCheckNotImplementedResponder) HealthCheckResponder()
type HealthCheckOK ¶
type HealthCheckOK struct {
/*
In: Body
*/
Payload interface{} `json:"body,omitempty"`
}
HealthCheckOK Freon internal health-check
swagger:response healthCheckOK
func NewHealthCheckOK ¶
func NewHealthCheckOK() *HealthCheckOK
NewHealthCheckOK creates HealthCheckOK with default headers values
func (*HealthCheckOK) HealthCheckResponder ¶
func (o *HealthCheckOK) HealthCheckResponder()
func (*HealthCheckOK) SetPayload ¶
func (o *HealthCheckOK) SetPayload(payload interface{})
SetPayload sets the payload to the health check o k response
func (*HealthCheckOK) WithPayload ¶
func (o *HealthCheckOK) WithPayload(payload interface{}) *HealthCheckOK
WithPayload adds the payload to the health check o k response
func (*HealthCheckOK) WriteResponse ¶
func (o *HealthCheckOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type HealthCheckParams ¶
HealthCheckParams contains all the bound params for the health check operation typically these are obtained from a http.Request
swagger:parameters healthCheck
func NewHealthCheckParams ¶
func NewHealthCheckParams() HealthCheckParams
NewHealthCheckParams creates a new HealthCheckParams object
There are no default values defined in the spec.
func (*HealthCheckParams) BindRequest ¶
func (o *HealthCheckParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewHealthCheckParams() beforehand.
type HealthCheckResponder ¶
type HealthCheckResponder interface { middleware.Responder HealthCheckResponder() }
func HealthCheckNotImplemented ¶
func HealthCheckNotImplemented() HealthCheckResponder
type HealthCheckURL ¶
type HealthCheckURL struct {
// contains filtered or unexported fields
}
HealthCheckURL generates an URL for the health check operation
func (*HealthCheckURL) Build ¶
func (o *HealthCheckURL) Build() (*url.URL, error)
Build a url path and query string
func (*HealthCheckURL) BuildFull ¶
func (o *HealthCheckURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*HealthCheckURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*HealthCheckURL) SetBasePath ¶
func (o *HealthCheckURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*HealthCheckURL) String ¶
func (o *HealthCheckURL) String() string
String returns the string representation of the path with query string
func (*HealthCheckURL) StringFull ¶
func (o *HealthCheckURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*HealthCheckURL) WithBasePath ¶
func (o *HealthCheckURL) WithBasePath(bp string) *HealthCheckURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type Info ¶
type Info struct { Context *middleware.Context Handler InfoHandler }
Info swagger:route GET /info info
getting actual user session and system configurations
func NewInfo ¶
func NewInfo(ctx *middleware.Context, handler InfoHandler) *Info
NewInfo creates a new http.Handler for the info operation
type InfoDefault ¶
type InfoDefault struct { /* In: Body */ Payload *model.Error `json:"body,omitempty"` // contains filtered or unexported fields }
InfoDefault General errors using same model as used by go-swagger for validation errors.
swagger:response infoDefault
func NewInfoDefault ¶
func NewInfoDefault(code int) *InfoDefault
NewInfoDefault creates InfoDefault with default headers values
func (*InfoDefault) InfoResponder ¶
func (o *InfoDefault) InfoResponder()
func (*InfoDefault) SetPayload ¶
func (o *InfoDefault) SetPayload(payload *model.Error)
SetPayload sets the payload to the info default response
func (*InfoDefault) SetStatusCode ¶
func (o *InfoDefault) SetStatusCode(code int)
SetStatusCode sets the status to the info default response
func (*InfoDefault) WithPayload ¶
func (o *InfoDefault) WithPayload(payload *model.Error) *InfoDefault
WithPayload adds the payload to the info default response
func (*InfoDefault) WithStatusCode ¶
func (o *InfoDefault) WithStatusCode(code int) *InfoDefault
WithStatusCode adds the status to the info default response
func (*InfoDefault) WriteResponse ¶
func (o *InfoDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type InfoHandler ¶
type InfoHandler interface {
Handle(InfoParams, *app.UserSession) InfoResponder
}
InfoHandler interface for that can handle valid info params
type InfoHandlerFunc ¶
type InfoHandlerFunc func(InfoParams, *app.UserSession) InfoResponder
InfoHandlerFunc turns a function with the right signature into a info handler
func (InfoHandlerFunc) Handle ¶
func (fn InfoHandlerFunc) Handle(params InfoParams, principal *app.UserSession) InfoResponder
Handle executing the request and returning a response
type InfoNotImplementedResponder ¶
type InfoNotImplementedResponder struct {
middleware.Responder
}
func (*InfoNotImplementedResponder) InfoResponder ¶
func (*InfoNotImplementedResponder) InfoResponder()
type InfoOK ¶
InfoOK response
swagger:response infoOK
func (*InfoOK) InfoResponder ¶
func (o *InfoOK) InfoResponder()
func (*InfoOK) SetPayload ¶
SetPayload sets the payload to the info o k response
func (*InfoOK) WithPayload ¶
WithPayload adds the payload to the info o k response
func (*InfoOK) WriteResponse ¶
func (o *InfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type InfoParams ¶
InfoParams contains all the bound params for the info operation typically these are obtained from a http.Request
swagger:parameters info
func NewInfoParams ¶
func NewInfoParams() InfoParams
NewInfoParams creates a new InfoParams object
There are no default values defined in the spec.
func (*InfoParams) BindRequest ¶
func (o *InfoParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewInfoParams() beforehand.
type InfoResponder ¶
type InfoResponder interface { middleware.Responder InfoResponder() }
func InfoNotImplemented ¶
func InfoNotImplemented() InfoResponder
type InfoURL ¶
type InfoURL struct {
// contains filtered or unexported fields
}
InfoURL generates an URL for the info operation
func (*InfoURL) SetBasePath ¶
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*InfoURL) StringFull ¶
StringFull returns the string representation of a complete url
func (*InfoURL) WithBasePath ¶
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ListCategories ¶
type ListCategories struct { Context *middleware.Context Handler ListCategoriesHandler }
ListCategories swagger:route GET /categories listCategories
get full list of available categories
func NewListCategories ¶
func NewListCategories(ctx *middleware.Context, handler ListCategoriesHandler) *ListCategories
NewListCategories creates a new http.Handler for the list categories operation
func (*ListCategories) ServeHTTP ¶
func (o *ListCategories) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListCategoriesDefault ¶
type ListCategoriesDefault struct { /* In: Body */ Payload *model.Error `json:"body,omitempty"` // contains filtered or unexported fields }
ListCategoriesDefault General errors using same model as used by go-swagger for validation errors.
swagger:response listCategoriesDefault
func NewListCategoriesDefault ¶
func NewListCategoriesDefault(code int) *ListCategoriesDefault
NewListCategoriesDefault creates ListCategoriesDefault with default headers values
func (*ListCategoriesDefault) ListCategoriesResponder ¶
func (o *ListCategoriesDefault) ListCategoriesResponder()
func (*ListCategoriesDefault) SetPayload ¶
func (o *ListCategoriesDefault) SetPayload(payload *model.Error)
SetPayload sets the payload to the list categories default response
func (*ListCategoriesDefault) SetStatusCode ¶
func (o *ListCategoriesDefault) SetStatusCode(code int)
SetStatusCode sets the status to the list categories default response
func (*ListCategoriesDefault) WithPayload ¶
func (o *ListCategoriesDefault) WithPayload(payload *model.Error) *ListCategoriesDefault
WithPayload adds the payload to the list categories default response
func (*ListCategoriesDefault) WithStatusCode ¶
func (o *ListCategoriesDefault) WithStatusCode(code int) *ListCategoriesDefault
WithStatusCode adds the status to the list categories default response
func (*ListCategoriesDefault) WriteResponse ¶
func (o *ListCategoriesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListCategoriesHandler ¶
type ListCategoriesHandler interface {
Handle(ListCategoriesParams, *app.UserSession) ListCategoriesResponder
}
ListCategoriesHandler interface for that can handle valid list categories params
type ListCategoriesHandlerFunc ¶
type ListCategoriesHandlerFunc func(ListCategoriesParams, *app.UserSession) ListCategoriesResponder
ListCategoriesHandlerFunc turns a function with the right signature into a list categories handler
func (ListCategoriesHandlerFunc) Handle ¶
func (fn ListCategoriesHandlerFunc) Handle(params ListCategoriesParams, principal *app.UserSession) ListCategoriesResponder
Handle executing the request and returning a response
type ListCategoriesNotImplementedResponder ¶
type ListCategoriesNotImplementedResponder struct {
middleware.Responder
}
func (*ListCategoriesNotImplementedResponder) ListCategoriesResponder ¶
func (*ListCategoriesNotImplementedResponder) ListCategoriesResponder()
type ListCategoriesOK ¶
ListCategoriesOK List with all categories
swagger:response listCategoriesOK
func NewListCategoriesOK ¶
func NewListCategoriesOK() *ListCategoriesOK
NewListCategoriesOK creates ListCategoriesOK with default headers values
func (*ListCategoriesOK) ListCategoriesResponder ¶
func (o *ListCategoriesOK) ListCategoriesResponder()
func (*ListCategoriesOK) SetPayload ¶
func (o *ListCategoriesOK) SetPayload(payload []*model.Category)
SetPayload sets the payload to the list categories o k response
func (*ListCategoriesOK) WithPayload ¶
func (o *ListCategoriesOK) WithPayload(payload []*model.Category) *ListCategoriesOK
WithPayload adds the payload to the list categories o k response
func (*ListCategoriesOK) WriteResponse ¶
func (o *ListCategoriesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListCategoriesParams ¶
ListCategoriesParams contains all the bound params for the list categories operation typically these are obtained from a http.Request
swagger:parameters listCategories
func NewListCategoriesParams ¶
func NewListCategoriesParams() ListCategoriesParams
NewListCategoriesParams creates a new ListCategoriesParams object
There are no default values defined in the spec.
func (*ListCategoriesParams) BindRequest ¶
func (o *ListCategoriesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewListCategoriesParams() beforehand.
type ListCategoriesResponder ¶
type ListCategoriesResponder interface { middleware.Responder ListCategoriesResponder() }
func ListCategoriesNotImplemented ¶
func ListCategoriesNotImplemented() ListCategoriesResponder
type ListCategoriesURL ¶
type ListCategoriesURL struct {
// contains filtered or unexported fields
}
ListCategoriesURL generates an URL for the list categories operation
func (*ListCategoriesURL) Build ¶
func (o *ListCategoriesURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListCategoriesURL) BuildFull ¶
func (o *ListCategoriesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListCategoriesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListCategoriesURL) SetBasePath ¶
func (o *ListCategoriesURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ListCategoriesURL) String ¶
func (o *ListCategoriesURL) String() string
String returns the string representation of the path with query string
func (*ListCategoriesURL) StringFull ¶
func (o *ListCategoriesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListCategoriesURL) WithBasePath ¶
func (o *ListCategoriesURL) WithBasePath(bp string) *ListCategoriesURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ListIdentifiers ¶
type ListIdentifiers struct { Context *middleware.Context Handler ListIdentifiersHandler }
ListIdentifiers swagger:route GET /identifiers listIdentifiers
get full list of available identifiers
func NewListIdentifiers ¶
func NewListIdentifiers(ctx *middleware.Context, handler ListIdentifiersHandler) *ListIdentifiers
NewListIdentifiers creates a new http.Handler for the list identifiers operation
func (*ListIdentifiers) ServeHTTP ¶
func (o *ListIdentifiers) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListIdentifiersDefault ¶
type ListIdentifiersDefault struct { /* In: Body */ Payload *model.Error `json:"body,omitempty"` // contains filtered or unexported fields }
ListIdentifiersDefault General errors using same model as used by go-swagger for validation errors.
swagger:response listIdentifiersDefault
func NewListIdentifiersDefault ¶
func NewListIdentifiersDefault(code int) *ListIdentifiersDefault
NewListIdentifiersDefault creates ListIdentifiersDefault with default headers values
func (*ListIdentifiersDefault) ListIdentifiersResponder ¶
func (o *ListIdentifiersDefault) ListIdentifiersResponder()
func (*ListIdentifiersDefault) SetPayload ¶
func (o *ListIdentifiersDefault) SetPayload(payload *model.Error)
SetPayload sets the payload to the list identifiers default response
func (*ListIdentifiersDefault) SetStatusCode ¶
func (o *ListIdentifiersDefault) SetStatusCode(code int)
SetStatusCode sets the status to the list identifiers default response
func (*ListIdentifiersDefault) WithPayload ¶
func (o *ListIdentifiersDefault) WithPayload(payload *model.Error) *ListIdentifiersDefault
WithPayload adds the payload to the list identifiers default response
func (*ListIdentifiersDefault) WithStatusCode ¶
func (o *ListIdentifiersDefault) WithStatusCode(code int) *ListIdentifiersDefault
WithStatusCode adds the status to the list identifiers default response
func (*ListIdentifiersDefault) WriteResponse ¶
func (o *ListIdentifiersDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListIdentifiersHandler ¶
type ListIdentifiersHandler interface {
Handle(ListIdentifiersParams, *app.UserSession) ListIdentifiersResponder
}
ListIdentifiersHandler interface for that can handle valid list identifiers params
type ListIdentifiersHandlerFunc ¶
type ListIdentifiersHandlerFunc func(ListIdentifiersParams, *app.UserSession) ListIdentifiersResponder
ListIdentifiersHandlerFunc turns a function with the right signature into a list identifiers handler
func (ListIdentifiersHandlerFunc) Handle ¶
func (fn ListIdentifiersHandlerFunc) Handle(params ListIdentifiersParams, principal *app.UserSession) ListIdentifiersResponder
Handle executing the request and returning a response
type ListIdentifiersNotImplementedResponder ¶
type ListIdentifiersNotImplementedResponder struct {
middleware.Responder
}
func (*ListIdentifiersNotImplementedResponder) ListIdentifiersResponder ¶
func (*ListIdentifiersNotImplementedResponder) ListIdentifiersResponder()
type ListIdentifiersOK ¶
type ListIdentifiersOK struct { /* In: Body */ Payload []*model.Identifier `json:"body,omitempty"` }
ListIdentifiersOK List with all identifiers
swagger:response listIdentifiersOK
func NewListIdentifiersOK ¶
func NewListIdentifiersOK() *ListIdentifiersOK
NewListIdentifiersOK creates ListIdentifiersOK with default headers values
func (*ListIdentifiersOK) ListIdentifiersResponder ¶
func (o *ListIdentifiersOK) ListIdentifiersResponder()
func (*ListIdentifiersOK) SetPayload ¶
func (o *ListIdentifiersOK) SetPayload(payload []*model.Identifier)
SetPayload sets the payload to the list identifiers o k response
func (*ListIdentifiersOK) WithPayload ¶
func (o *ListIdentifiersOK) WithPayload(payload []*model.Identifier) *ListIdentifiersOK
WithPayload adds the payload to the list identifiers o k response
func (*ListIdentifiersOK) WriteResponse ¶
func (o *ListIdentifiersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListIdentifiersParams ¶
type ListIdentifiersParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Minimum: 1 In: query */ CategoryID *int64 }
ListIdentifiersParams contains all the bound params for the list identifiers operation typically these are obtained from a http.Request
swagger:parameters listIdentifiers
func NewListIdentifiersParams ¶
func NewListIdentifiersParams() ListIdentifiersParams
NewListIdentifiersParams creates a new ListIdentifiersParams object
There are no default values defined in the spec.
func (*ListIdentifiersParams) BindRequest ¶
func (o *ListIdentifiersParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewListIdentifiersParams() beforehand.
type ListIdentifiersResponder ¶
type ListIdentifiersResponder interface { middleware.Responder ListIdentifiersResponder() }
func ListIdentifiersNotImplemented ¶
func ListIdentifiersNotImplemented() ListIdentifiersResponder
type ListIdentifiersURL ¶
type ListIdentifiersURL struct { CategoryID *int64 // contains filtered or unexported fields }
ListIdentifiersURL generates an URL for the list identifiers operation
func (*ListIdentifiersURL) Build ¶
func (o *ListIdentifiersURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListIdentifiersURL) BuildFull ¶
func (o *ListIdentifiersURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListIdentifiersURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListIdentifiersURL) SetBasePath ¶
func (o *ListIdentifiersURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ListIdentifiersURL) String ¶
func (o *ListIdentifiersURL) String() string
String returns the string representation of the path with query string
func (*ListIdentifiersURL) StringFull ¶
func (o *ListIdentifiersURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListIdentifiersURL) WithBasePath ¶
func (o *ListIdentifiersURL) WithBasePath(bp string) *ListIdentifiersURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ListLocalization ¶
type ListLocalization struct { Context *middleware.Context Handler ListLocalizationHandler }
ListLocalization swagger:route GET /localizations listLocalization
get list localization sorted by user permission
func NewListLocalization ¶
func NewListLocalization(ctx *middleware.Context, handler ListLocalizationHandler) *ListLocalization
NewListLocalization creates a new http.Handler for the list localization operation
func (*ListLocalization) ServeHTTP ¶
func (o *ListLocalization) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListLocalizationDefault ¶
type ListLocalizationDefault struct { /* In: Body */ Payload *model.Error `json:"body,omitempty"` // contains filtered or unexported fields }
ListLocalizationDefault General errors using same model as used by go-swagger for validation errors.
swagger:response listLocalizationDefault
func NewListLocalizationDefault ¶
func NewListLocalizationDefault(code int) *ListLocalizationDefault
NewListLocalizationDefault creates ListLocalizationDefault with default headers values
func (*ListLocalizationDefault) ListLocalizationResponder ¶
func (o *ListLocalizationDefault) ListLocalizationResponder()
func (*ListLocalizationDefault) SetPayload ¶
func (o *ListLocalizationDefault) SetPayload(payload *model.Error)
SetPayload sets the payload to the list localization default response
func (*ListLocalizationDefault) SetStatusCode ¶
func (o *ListLocalizationDefault) SetStatusCode(code int)
SetStatusCode sets the status to the list localization default response
func (*ListLocalizationDefault) WithPayload ¶
func (o *ListLocalizationDefault) WithPayload(payload *model.Error) *ListLocalizationDefault
WithPayload adds the payload to the list localization default response
func (*ListLocalizationDefault) WithStatusCode ¶
func (o *ListLocalizationDefault) WithStatusCode(code int) *ListLocalizationDefault
WithStatusCode adds the status to the list localization default response
func (*ListLocalizationDefault) WriteResponse ¶
func (o *ListLocalizationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListLocalizationHandler ¶
type ListLocalizationHandler interface {
Handle(ListLocalizationParams, *app.UserSession) ListLocalizationResponder
}
ListLocalizationHandler interface for that can handle valid list localization params
type ListLocalizationHandlerFunc ¶
type ListLocalizationHandlerFunc func(ListLocalizationParams, *app.UserSession) ListLocalizationResponder
ListLocalizationHandlerFunc turns a function with the right signature into a list localization handler
func (ListLocalizationHandlerFunc) Handle ¶
func (fn ListLocalizationHandlerFunc) Handle(params ListLocalizationParams, principal *app.UserSession) ListLocalizationResponder
Handle executing the request and returning a response
type ListLocalizationNotImplementedResponder ¶
type ListLocalizationNotImplementedResponder struct {
middleware.Responder
}
func (*ListLocalizationNotImplementedResponder) ListLocalizationResponder ¶
func (*ListLocalizationNotImplementedResponder) ListLocalizationResponder()
type ListLocalizationOK ¶
type ListLocalizationOK struct { /* In: Body */ Payload []*model.Localization `json:"body,omitempty"` }
ListLocalizationOK List of localizations available for current user
swagger:response listLocalizationOK
func NewListLocalizationOK ¶
func NewListLocalizationOK() *ListLocalizationOK
NewListLocalizationOK creates ListLocalizationOK with default headers values
func (*ListLocalizationOK) ListLocalizationResponder ¶
func (o *ListLocalizationOK) ListLocalizationResponder()
func (*ListLocalizationOK) SetPayload ¶
func (o *ListLocalizationOK) SetPayload(payload []*model.Localization)
SetPayload sets the payload to the list localization o k response
func (*ListLocalizationOK) WithPayload ¶
func (o *ListLocalizationOK) WithPayload(payload []*model.Localization) *ListLocalizationOK
WithPayload adds the payload to the list localization o k response
func (*ListLocalizationOK) WriteResponse ¶
func (o *ListLocalizationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListLocalizationParams ¶
ListLocalizationParams contains all the bound params for the list localization operation typically these are obtained from a http.Request
swagger:parameters listLocalization
func NewListLocalizationParams ¶
func NewListLocalizationParams() ListLocalizationParams
NewListLocalizationParams creates a new ListLocalizationParams object
There are no default values defined in the spec.
func (*ListLocalizationParams) BindRequest ¶
func (o *ListLocalizationParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewListLocalizationParams() beforehand.
type ListLocalizationResponder ¶
type ListLocalizationResponder interface { middleware.Responder ListLocalizationResponder() }
func ListLocalizationNotImplemented ¶
func ListLocalizationNotImplemented() ListLocalizationResponder
type ListLocalizationURL ¶
type ListLocalizationURL struct {
// contains filtered or unexported fields
}
ListLocalizationURL generates an URL for the list localization operation
func (*ListLocalizationURL) Build ¶
func (o *ListLocalizationURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListLocalizationURL) BuildFull ¶
func (o *ListLocalizationURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListLocalizationURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListLocalizationURL) SetBasePath ¶
func (o *ListLocalizationURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ListLocalizationURL) String ¶
func (o *ListLocalizationURL) String() string
String returns the string representation of the path with query string
func (*ListLocalizationURL) StringFull ¶
func (o *ListLocalizationURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListLocalizationURL) WithBasePath ¶
func (o *ListLocalizationURL) WithBasePath(bp string) *ListLocalizationURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ListTranslationFiles ¶
type ListTranslationFiles struct { Context *middleware.Context Handler ListTranslationFilesHandler }
ListTranslationFiles swagger:route GET /translation/files listTranslationFiles
get full list of available translation files
func NewListTranslationFiles ¶
func NewListTranslationFiles(ctx *middleware.Context, handler ListTranslationFilesHandler) *ListTranslationFiles
NewListTranslationFiles creates a new http.Handler for the list translation files operation
func (*ListTranslationFiles) ServeHTTP ¶
func (o *ListTranslationFiles) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListTranslationFilesDefault ¶
type ListTranslationFilesDefault struct { /* In: Body */ Payload *model.Error `json:"body,omitempty"` // contains filtered or unexported fields }
ListTranslationFilesDefault General errors using same model as used by go-swagger for validation errors.
swagger:response listTranslationFilesDefault
func NewListTranslationFilesDefault ¶
func NewListTranslationFilesDefault(code int) *ListTranslationFilesDefault
NewListTranslationFilesDefault creates ListTranslationFilesDefault with default headers values
func (*ListTranslationFilesDefault) ListTranslationFilesResponder ¶
func (o *ListTranslationFilesDefault) ListTranslationFilesResponder()
func (*ListTranslationFilesDefault) SetPayload ¶
func (o *ListTranslationFilesDefault) SetPayload(payload *model.Error)
SetPayload sets the payload to the list translation files default response
func (*ListTranslationFilesDefault) SetStatusCode ¶
func (o *ListTranslationFilesDefault) SetStatusCode(code int)
SetStatusCode sets the status to the list translation files default response
func (*ListTranslationFilesDefault) WithPayload ¶
func (o *ListTranslationFilesDefault) WithPayload(payload *model.Error) *ListTranslationFilesDefault
WithPayload adds the payload to the list translation files default response
func (*ListTranslationFilesDefault) WithStatusCode ¶
func (o *ListTranslationFilesDefault) WithStatusCode(code int) *ListTranslationFilesDefault
WithStatusCode adds the status to the list translation files default response
func (*ListTranslationFilesDefault) WriteResponse ¶
func (o *ListTranslationFilesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListTranslationFilesHandler ¶
type ListTranslationFilesHandler interface {
Handle(ListTranslationFilesParams, *app.UserSession) ListTranslationFilesResponder
}
ListTranslationFilesHandler interface for that can handle valid list translation files params
type ListTranslationFilesHandlerFunc ¶
type ListTranslationFilesHandlerFunc func(ListTranslationFilesParams, *app.UserSession) ListTranslationFilesResponder
ListTranslationFilesHandlerFunc turns a function with the right signature into a list translation files handler
func (ListTranslationFilesHandlerFunc) Handle ¶
func (fn ListTranslationFilesHandlerFunc) Handle(params ListTranslationFilesParams, principal *app.UserSession) ListTranslationFilesResponder
Handle executing the request and returning a response
type ListTranslationFilesNotImplementedResponder ¶
type ListTranslationFilesNotImplementedResponder struct {
middleware.Responder
}
func (*ListTranslationFilesNotImplementedResponder) ListTranslationFilesResponder ¶
func (*ListTranslationFilesNotImplementedResponder) ListTranslationFilesResponder()
type ListTranslationFilesOK ¶
type ListTranslationFilesOK struct { /* In: Body */ Payload []*model.TranslationFile `json:"body,omitempty"` }
ListTranslationFilesOK List with all translation files
swagger:response listTranslationFilesOK
func NewListTranslationFilesOK ¶
func NewListTranslationFilesOK() *ListTranslationFilesOK
NewListTranslationFilesOK creates ListTranslationFilesOK with default headers values
func (*ListTranslationFilesOK) ListTranslationFilesResponder ¶
func (o *ListTranslationFilesOK) ListTranslationFilesResponder()
func (*ListTranslationFilesOK) SetPayload ¶
func (o *ListTranslationFilesOK) SetPayload(payload []*model.TranslationFile)
SetPayload sets the payload to the list translation files o k response
func (*ListTranslationFilesOK) WithPayload ¶
func (o *ListTranslationFilesOK) WithPayload(payload []*model.TranslationFile) *ListTranslationFilesOK
WithPayload adds the payload to the list translation files o k response
func (*ListTranslationFilesOK) WriteResponse ¶
func (o *ListTranslationFilesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListTranslationFilesParams ¶
type ListTranslationFilesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Minimum: 1 In: query */ LocalizationID *int64 /* In: query */ Platform *string }
ListTranslationFilesParams contains all the bound params for the list translation files operation typically these are obtained from a http.Request
swagger:parameters listTranslationFiles
func NewListTranslationFilesParams ¶
func NewListTranslationFilesParams() ListTranslationFilesParams
NewListTranslationFilesParams creates a new ListTranslationFilesParams object
There are no default values defined in the spec.
func (*ListTranslationFilesParams) BindRequest ¶
func (o *ListTranslationFilesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewListTranslationFilesParams() beforehand.
type ListTranslationFilesResponder ¶
type ListTranslationFilesResponder interface { middleware.Responder ListTranslationFilesResponder() }
func ListTranslationFilesNotImplemented ¶
func ListTranslationFilesNotImplemented() ListTranslationFilesResponder
type ListTranslationFilesURL ¶
type ListTranslationFilesURL struct { LocalizationID *int64 Platform *string // contains filtered or unexported fields }
ListTranslationFilesURL generates an URL for the list translation files operation
func (*ListTranslationFilesURL) Build ¶
func (o *ListTranslationFilesURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListTranslationFilesURL) BuildFull ¶
func (o *ListTranslationFilesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListTranslationFilesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListTranslationFilesURL) SetBasePath ¶
func (o *ListTranslationFilesURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ListTranslationFilesURL) String ¶
func (o *ListTranslationFilesURL) String() string
String returns the string representation of the path with query string
func (*ListTranslationFilesURL) StringFull ¶
func (o *ListTranslationFilesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListTranslationFilesURL) WithBasePath ¶
func (o *ListTranslationFilesURL) WithBasePath(bp string) *ListTranslationFilesURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ListTranslations ¶
type ListTranslations struct { Context *middleware.Context Handler ListTranslationsHandler }
ListTranslations swagger:route GET /translations listTranslations
get full list of available translations
func NewListTranslations ¶
func NewListTranslations(ctx *middleware.Context, handler ListTranslationsHandler) *ListTranslations
NewListTranslations creates a new http.Handler for the list translations operation
func (*ListTranslations) ServeHTTP ¶
func (o *ListTranslations) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListTranslationsDefault ¶
type ListTranslationsDefault struct { /* In: Body */ Payload *model.Error `json:"body,omitempty"` // contains filtered or unexported fields }
ListTranslationsDefault General errors using same model as used by go-swagger for validation errors.
swagger:response listTranslationsDefault
func NewListTranslationsDefault ¶
func NewListTranslationsDefault(code int) *ListTranslationsDefault
NewListTranslationsDefault creates ListTranslationsDefault with default headers values
func (*ListTranslationsDefault) ListTranslationsResponder ¶
func (o *ListTranslationsDefault) ListTranslationsResponder()
func (*ListTranslationsDefault) SetPayload ¶
func (o *ListTranslationsDefault) SetPayload(payload *model.Error)
SetPayload sets the payload to the list translations default response
func (*ListTranslationsDefault) SetStatusCode ¶
func (o *ListTranslationsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the list translations default response
func (*ListTranslationsDefault) WithPayload ¶
func (o *ListTranslationsDefault) WithPayload(payload *model.Error) *ListTranslationsDefault
WithPayload adds the payload to the list translations default response
func (*ListTranslationsDefault) WithStatusCode ¶
func (o *ListTranslationsDefault) WithStatusCode(code int) *ListTranslationsDefault
WithStatusCode adds the status to the list translations default response
func (*ListTranslationsDefault) WriteResponse ¶
func (o *ListTranslationsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListTranslationsHandler ¶
type ListTranslationsHandler interface {
Handle(ListTranslationsParams, *app.UserSession) ListTranslationsResponder
}
ListTranslationsHandler interface for that can handle valid list translations params
type ListTranslationsHandlerFunc ¶
type ListTranslationsHandlerFunc func(ListTranslationsParams, *app.UserSession) ListTranslationsResponder
ListTranslationsHandlerFunc turns a function with the right signature into a list translations handler
func (ListTranslationsHandlerFunc) Handle ¶
func (fn ListTranslationsHandlerFunc) Handle(params ListTranslationsParams, principal *app.UserSession) ListTranslationsResponder
Handle executing the request and returning a response
type ListTranslationsNotImplementedResponder ¶
type ListTranslationsNotImplementedResponder struct {
middleware.Responder
}
func (*ListTranslationsNotImplementedResponder) ListTranslationsResponder ¶
func (*ListTranslationsNotImplementedResponder) ListTranslationsResponder()
type ListTranslationsOK ¶
type ListTranslationsOK struct { /* In: Body */ Payload []*model.Translation `json:"body,omitempty"` }
ListTranslationsOK List with all translations
swagger:response listTranslationsOK
func NewListTranslationsOK ¶
func NewListTranslationsOK() *ListTranslationsOK
NewListTranslationsOK creates ListTranslationsOK with default headers values
func (*ListTranslationsOK) ListTranslationsResponder ¶
func (o *ListTranslationsOK) ListTranslationsResponder()
func (*ListTranslationsOK) SetPayload ¶
func (o *ListTranslationsOK) SetPayload(payload []*model.Translation)
SetPayload sets the payload to the list translations o k response
func (*ListTranslationsOK) WithPayload ¶
func (o *ListTranslationsOK) WithPayload(payload []*model.Translation) *ListTranslationsOK
WithPayload adds the payload to the list translations o k response
func (*ListTranslationsOK) WriteResponse ¶
func (o *ListTranslationsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListTranslationsParams ¶
type ListTranslationsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Minimum: 1 In: query */ LocalizationID *int64 }
ListTranslationsParams contains all the bound params for the list translations operation typically these are obtained from a http.Request
swagger:parameters listTranslations
func NewListTranslationsParams ¶
func NewListTranslationsParams() ListTranslationsParams
NewListTranslationsParams creates a new ListTranslationsParams object
There are no default values defined in the spec.
func (*ListTranslationsParams) BindRequest ¶
func (o *ListTranslationsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewListTranslationsParams() beforehand.
type ListTranslationsResponder ¶
type ListTranslationsResponder interface { middleware.Responder ListTranslationsResponder() }
func ListTranslationsNotImplemented ¶
func ListTranslationsNotImplemented() ListTranslationsResponder
type ListTranslationsURL ¶
type ListTranslationsURL struct { LocalizationID *int64 // contains filtered or unexported fields }
ListTranslationsURL generates an URL for the list translations operation
func (*ListTranslationsURL) Build ¶
func (o *ListTranslationsURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListTranslationsURL) BuildFull ¶
func (o *ListTranslationsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListTranslationsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListTranslationsURL) SetBasePath ¶
func (o *ListTranslationsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ListTranslationsURL) String ¶
func (o *ListTranslationsURL) String() string
String returns the string representation of the path with query string
func (*ListTranslationsURL) StringFull ¶
func (o *ListTranslationsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListTranslationsURL) WithBasePath ¶
func (o *ListTranslationsURL) WithBasePath(bp string) *ListTranslationsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ListUser ¶
type ListUser struct { Context *middleware.Context Handler ListUserHandler }
ListUser swagger:route GET /users listUser
get list user
func NewListUser ¶
func NewListUser(ctx *middleware.Context, handler ListUserHandler) *ListUser
NewListUser creates a new http.Handler for the list user operation
type ListUserDefault ¶
type ListUserDefault struct { /* In: Body */ Payload *model.Error `json:"body,omitempty"` // contains filtered or unexported fields }
ListUserDefault General errors using same model as used by go-swagger for validation errors.
swagger:response listUserDefault
func NewListUserDefault ¶
func NewListUserDefault(code int) *ListUserDefault
NewListUserDefault creates ListUserDefault with default headers values
func (*ListUserDefault) ListUserResponder ¶
func (o *ListUserDefault) ListUserResponder()
func (*ListUserDefault) SetPayload ¶
func (o *ListUserDefault) SetPayload(payload *model.Error)
SetPayload sets the payload to the list user default response
func (*ListUserDefault) SetStatusCode ¶
func (o *ListUserDefault) SetStatusCode(code int)
SetStatusCode sets the status to the list user default response
func (*ListUserDefault) WithPayload ¶
func (o *ListUserDefault) WithPayload(payload *model.Error) *ListUserDefault
WithPayload adds the payload to the list user default response
func (*ListUserDefault) WithStatusCode ¶
func (o *ListUserDefault) WithStatusCode(code int) *ListUserDefault
WithStatusCode adds the status to the list user default response
func (*ListUserDefault) WriteResponse ¶
func (o *ListUserDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListUserHandler ¶
type ListUserHandler interface {
Handle(ListUserParams, *app.UserSession) ListUserResponder
}
ListUserHandler interface for that can handle valid list user params
type ListUserHandlerFunc ¶
type ListUserHandlerFunc func(ListUserParams, *app.UserSession) ListUserResponder
ListUserHandlerFunc turns a function with the right signature into a list user handler
func (ListUserHandlerFunc) Handle ¶
func (fn ListUserHandlerFunc) Handle(params ListUserParams, principal *app.UserSession) ListUserResponder
Handle executing the request and returning a response
type ListUserNotImplementedResponder ¶
type ListUserNotImplementedResponder struct {
middleware.Responder
}
func (*ListUserNotImplementedResponder) ListUserResponder ¶
func (*ListUserNotImplementedResponder) ListUserResponder()
type ListUserOK ¶
ListUserOK List of all registred users
swagger:response listUserOK
func NewListUserOK ¶
func NewListUserOK() *ListUserOK
NewListUserOK creates ListUserOK with default headers values
func (*ListUserOK) ListUserResponder ¶
func (o *ListUserOK) ListUserResponder()
func (*ListUserOK) SetPayload ¶
func (o *ListUserOK) SetPayload(payload []*model.User)
SetPayload sets the payload to the list user o k response
func (*ListUserOK) WithPayload ¶
func (o *ListUserOK) WithPayload(payload []*model.User) *ListUserOK
WithPayload adds the payload to the list user o k response
func (*ListUserOK) WriteResponse ¶
func (o *ListUserOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListUserParams ¶
ListUserParams contains all the bound params for the list user operation typically these are obtained from a http.Request
swagger:parameters listUser
func NewListUserParams ¶
func NewListUserParams() ListUserParams
NewListUserParams creates a new ListUserParams object
There are no default values defined in the spec.
func (*ListUserParams) BindRequest ¶
func (o *ListUserParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewListUserParams() beforehand.
type ListUserResponder ¶
type ListUserResponder interface { middleware.Responder ListUserResponder() }
func ListUserNotImplemented ¶
func ListUserNotImplemented() ListUserResponder
type ListUserURL ¶
type ListUserURL struct {
// contains filtered or unexported fields
}
ListUserURL generates an URL for the list user operation
func (*ListUserURL) Build ¶
func (o *ListUserURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListUserURL) BuildFull ¶
func (o *ListUserURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListUserURL) SetBasePath ¶
func (o *ListUserURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ListUserURL) String ¶
func (o *ListUserURL) String() string
String returns the string representation of the path with query string
func (*ListUserURL) StringFull ¶
func (o *ListUserURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListUserURL) WithBasePath ¶
func (o *ListUserURL) WithBasePath(bp string) *ListUserURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type Login ¶
type Login struct { Context *middleware.Context Handler LoginHandler }
Login swagger:route POST /login login
login user by email and password
func NewLogin ¶
func NewLogin(ctx *middleware.Context, handler LoginHandler) *Login
NewLogin creates a new http.Handler for the login operation
type LoginBody ¶
type LoginBody struct { // email // Required: true // Max Length: 255 // Min Length: 1 // Pattern: ^[\x21-\x7F]{1,64}@[\x21-\x3F\x41-\x7F]+$ Email *string `json:"email"` // password // Required: true // Max Length: 100 // Min Length: 6 // Format: password Password *strfmt.Password `json:"password"` }
LoginBody login body
swagger:model LoginBody
func (*LoginBody) ContextValidate ¶
ContextValidate validates this login body based on context it is used
func (*LoginBody) MarshalBinary ¶
MarshalBinary interface implementation
func (*LoginBody) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*LoginBody) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type LoginDefault ¶
type LoginDefault struct { /* In: Body */ Payload *model.Error `json:"body,omitempty"` // contains filtered or unexported fields }
LoginDefault General errors using same model as used by go-swagger for validation errors.
swagger:response loginDefault
func NewLoginDefault ¶
func NewLoginDefault(code int) *LoginDefault
NewLoginDefault creates LoginDefault with default headers values
func (*LoginDefault) LoginResponder ¶
func (o *LoginDefault) LoginResponder()
func (*LoginDefault) SetPayload ¶
func (o *LoginDefault) SetPayload(payload *model.Error)
SetPayload sets the payload to the login default response
func (*LoginDefault) SetStatusCode ¶
func (o *LoginDefault) SetStatusCode(code int)
SetStatusCode sets the status to the login default response
func (*LoginDefault) WithPayload ¶
func (o *LoginDefault) WithPayload(payload *model.Error) *LoginDefault
WithPayload adds the payload to the login default response
func (*LoginDefault) WithStatusCode ¶
func (o *LoginDefault) WithStatusCode(code int) *LoginDefault
WithStatusCode adds the status to the login default response
func (*LoginDefault) WriteResponse ¶
func (o *LoginDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type LoginHandler ¶
type LoginHandler interface {
Handle(LoginParams) LoginResponder
}
LoginHandler interface for that can handle valid login params
type LoginHandlerFunc ¶
type LoginHandlerFunc func(LoginParams) LoginResponder
LoginHandlerFunc turns a function with the right signature into a login handler
func (LoginHandlerFunc) Handle ¶
func (fn LoginHandlerFunc) Handle(params LoginParams) LoginResponder
Handle executing the request and returning a response
type LoginNotImplementedResponder ¶
type LoginNotImplementedResponder struct {
middleware.Responder
}
func (*LoginNotImplementedResponder) LoginResponder ¶
func (*LoginNotImplementedResponder) LoginResponder()
type LoginOK ¶
type LoginOK struct { /* In: Body */ Payload *LoginOKBody `json:"body,omitempty"` }
LoginOK OK
swagger:response loginOK
func (*LoginOK) LoginResponder ¶
func (o *LoginOK) LoginResponder()
func (*LoginOK) SetPayload ¶
func (o *LoginOK) SetPayload(payload *LoginOKBody)
SetPayload sets the payload to the login o k response
func (*LoginOK) WithPayload ¶
func (o *LoginOK) WithPayload(payload *LoginOKBody) *LoginOK
WithPayload adds the payload to the login o k response
func (*LoginOK) WriteResponse ¶
func (o *LoginOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type LoginOKBody ¶
type LoginOKBody struct { // token // Required: true Token *string `json:"token"` // user // Required: true User *LoginOKBodyUser `json:"user"` }
LoginOKBody login o k body
swagger:model LoginOKBody
func (*LoginOKBody) ContextValidate ¶
ContextValidate validate this login o k body based on the context it is used
func (*LoginOKBody) MarshalBinary ¶
func (o *LoginOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LoginOKBody) UnmarshalBinary ¶
func (o *LoginOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*LoginOKBody) UnmarshalJSON ¶
func (o *LoginOKBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type LoginOKBodyUser ¶
type LoginOKBodyUser struct { // email // Required: true Email *string `json:"email"` // first name // Required: true FirstName *string `json:"first_name"` // role // Required: true Role *int64 `json:"role"` // second name // Required: true SecondName *string `json:"second_name"` // uuid id // Required: true UUIDID *string `json:"uuid_id"` }
LoginOKBodyUser login o k body user
swagger:model LoginOKBodyUser
func (*LoginOKBodyUser) ContextValidate ¶
ContextValidate validates this login o k body user based on context it is used
func (*LoginOKBodyUser) MarshalBinary ¶
func (o *LoginOKBodyUser) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LoginOKBodyUser) UnmarshalBinary ¶
func (o *LoginOKBodyUser) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*LoginOKBodyUser) UnmarshalJSON ¶
func (o *LoginOKBodyUser) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type LoginParams ¶
type LoginParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Args LoginBody }
LoginParams contains all the bound params for the login operation typically these are obtained from a http.Request
swagger:parameters login
func NewLoginParams ¶
func NewLoginParams() LoginParams
NewLoginParams creates a new LoginParams object
There are no default values defined in the spec.
func (*LoginParams) BindRequest ¶
func (o *LoginParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewLoginParams() beforehand.
type LoginResponder ¶
type LoginResponder interface { middleware.Responder LoginResponder() }
func LoginNotImplemented ¶
func LoginNotImplemented() LoginResponder
type LoginURL ¶
type LoginURL struct {
// contains filtered or unexported fields
}
LoginURL generates an URL for the login operation
func (*LoginURL) SetBasePath ¶
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*LoginURL) StringFull ¶
StringFull returns the string representation of a complete url
func (*LoginURL) WithBasePath ¶
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type LogoutUser ¶
type LogoutUser struct { Context *middleware.Context Handler LogoutUserHandler }
LogoutUser swagger:route POST /logout logoutUser
logout user, remove jwt session
func NewLogoutUser ¶
func NewLogoutUser(ctx *middleware.Context, handler LogoutUserHandler) *LogoutUser
NewLogoutUser creates a new http.Handler for the logout user operation
func (*LogoutUser) ServeHTTP ¶
func (o *LogoutUser) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type LogoutUserDefault ¶
type LogoutUserDefault struct { /* In: Body */ Payload *model.Error `json:"body,omitempty"` // contains filtered or unexported fields }
LogoutUserDefault General errors using same model as used by go-swagger for validation errors.
swagger:response logoutUserDefault
func NewLogoutUserDefault ¶
func NewLogoutUserDefault(code int) *LogoutUserDefault
NewLogoutUserDefault creates LogoutUserDefault with default headers values
func (*LogoutUserDefault) LogoutUserResponder ¶
func (o *LogoutUserDefault) LogoutUserResponder()
func (*LogoutUserDefault) SetPayload ¶
func (o *LogoutUserDefault) SetPayload(payload *model.Error)
SetPayload sets the payload to the logout user default response
func (*LogoutUserDefault) SetStatusCode ¶
func (o *LogoutUserDefault) SetStatusCode(code int)
SetStatusCode sets the status to the logout user default response
func (*LogoutUserDefault) WithPayload ¶
func (o *LogoutUserDefault) WithPayload(payload *model.Error) *LogoutUserDefault
WithPayload adds the payload to the logout user default response
func (*LogoutUserDefault) WithStatusCode ¶
func (o *LogoutUserDefault) WithStatusCode(code int) *LogoutUserDefault
WithStatusCode adds the status to the logout user default response
func (*LogoutUserDefault) WriteResponse ¶
func (o *LogoutUserDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type LogoutUserHandler ¶
type LogoutUserHandler interface {
Handle(LogoutUserParams, *app.UserSession) LogoutUserResponder
}
LogoutUserHandler interface for that can handle valid logout user params
type LogoutUserHandlerFunc ¶
type LogoutUserHandlerFunc func(LogoutUserParams, *app.UserSession) LogoutUserResponder
LogoutUserHandlerFunc turns a function with the right signature into a logout user handler
func (LogoutUserHandlerFunc) Handle ¶
func (fn LogoutUserHandlerFunc) Handle(params LogoutUserParams, principal *app.UserSession) LogoutUserResponder
Handle executing the request and returning a response
type LogoutUserNoContent ¶
type LogoutUserNoContent struct { }
LogoutUserNoContent No content in answer
swagger:response logoutUserNoContent
func NewLogoutUserNoContent ¶
func NewLogoutUserNoContent() *LogoutUserNoContent
NewLogoutUserNoContent creates LogoutUserNoContent with default headers values
func (*LogoutUserNoContent) LogoutUserResponder ¶
func (o *LogoutUserNoContent) LogoutUserResponder()
func (*LogoutUserNoContent) WriteResponse ¶
func (o *LogoutUserNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type LogoutUserNotImplementedResponder ¶
type LogoutUserNotImplementedResponder struct {
middleware.Responder
}
func (*LogoutUserNotImplementedResponder) LogoutUserResponder ¶
func (*LogoutUserNotImplementedResponder) LogoutUserResponder()
type LogoutUserParams ¶
LogoutUserParams contains all the bound params for the logout user operation typically these are obtained from a http.Request
swagger:parameters logoutUser
func NewLogoutUserParams ¶
func NewLogoutUserParams() LogoutUserParams
NewLogoutUserParams creates a new LogoutUserParams object
There are no default values defined in the spec.
func (*LogoutUserParams) BindRequest ¶
func (o *LogoutUserParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewLogoutUserParams() beforehand.
type LogoutUserResponder ¶
type LogoutUserResponder interface { middleware.Responder LogoutUserResponder() }
func LogoutUserNotImplemented ¶
func LogoutUserNotImplemented() LogoutUserResponder
type LogoutUserURL ¶
type LogoutUserURL struct {
// contains filtered or unexported fields
}
LogoutUserURL generates an URL for the logout user operation
func (*LogoutUserURL) Build ¶
func (o *LogoutUserURL) Build() (*url.URL, error)
Build a url path and query string
func (*LogoutUserURL) BuildFull ¶
func (o *LogoutUserURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*LogoutUserURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*LogoutUserURL) SetBasePath ¶
func (o *LogoutUserURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*LogoutUserURL) String ¶
func (o *LogoutUserURL) String() string
String returns the string representation of the path with query string
func (*LogoutUserURL) StringFull ¶
func (o *LogoutUserURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*LogoutUserURL) WithBasePath ¶
func (o *LogoutUserURL) WithBasePath(bp string) *LogoutUserURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type RegUser ¶
type RegUser struct { Context *middleware.Context Handler RegUserHandler }
RegUser swagger:route POST /user/register regUser
registration new user
func NewRegUser ¶
func NewRegUser(ctx *middleware.Context, handler RegUserHandler) *RegUser
NewRegUser creates a new http.Handler for the reg user operation
type RegUserBody ¶
type RegUserBody struct { // email // Required: true // Max Length: 255 // Min Length: 1 // Pattern: ^[\x21-\x7F]{1,64}@[\x21-\x3F\x41-\x7F]+$ Email *string `json:"email"` // first name // Required: true // Max Length: 100 // Min Length: 1 FirstName *string `json:"first_name"` // password // Required: true // Max Length: 100 // Min Length: 8 // Format: password Password *strfmt.Password `json:"password"` // repeat password // Required: true // Max Length: 100 // Min Length: 8 // Format: password RepeatPassword *strfmt.Password `json:"repeat_password"` // role // Required: true Role *string `json:"role"` // second name // Required: true // Max Length: 100 // Min Length: 1 SecondName *string `json:"second_name"` }
RegUserBody reg user body
swagger:model RegUserBody
func (*RegUserBody) ContextValidate ¶
ContextValidate validates this reg user body based on context it is used
func (*RegUserBody) MarshalBinary ¶
func (o *RegUserBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RegUserBody) UnmarshalBinary ¶
func (o *RegUserBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*RegUserBody) UnmarshalJSON ¶
func (o *RegUserBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type RegUserDefault ¶
type RegUserDefault struct { /* In: Body */ Payload *model.Error `json:"body,omitempty"` // contains filtered or unexported fields }
RegUserDefault General errors using same model as used by go-swagger for validation errors.
swagger:response regUserDefault
func NewRegUserDefault ¶
func NewRegUserDefault(code int) *RegUserDefault
NewRegUserDefault creates RegUserDefault with default headers values
func (*RegUserDefault) RegUserResponder ¶
func (o *RegUserDefault) RegUserResponder()
func (*RegUserDefault) SetPayload ¶
func (o *RegUserDefault) SetPayload(payload *model.Error)
SetPayload sets the payload to the reg user default response
func (*RegUserDefault) SetStatusCode ¶
func (o *RegUserDefault) SetStatusCode(code int)
SetStatusCode sets the status to the reg user default response
func (*RegUserDefault) WithPayload ¶
func (o *RegUserDefault) WithPayload(payload *model.Error) *RegUserDefault
WithPayload adds the payload to the reg user default response
func (*RegUserDefault) WithStatusCode ¶
func (o *RegUserDefault) WithStatusCode(code int) *RegUserDefault
WithStatusCode adds the status to the reg user default response
func (*RegUserDefault) WriteResponse ¶
func (o *RegUserDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RegUserHandler ¶
type RegUserHandler interface {
Handle(RegUserParams, *app.UserSession) RegUserResponder
}
RegUserHandler interface for that can handle valid reg user params
type RegUserHandlerFunc ¶
type RegUserHandlerFunc func(RegUserParams, *app.UserSession) RegUserResponder
RegUserHandlerFunc turns a function with the right signature into a reg user handler
func (RegUserHandlerFunc) Handle ¶
func (fn RegUserHandlerFunc) Handle(params RegUserParams, principal *app.UserSession) RegUserResponder
Handle executing the request and returning a response
type RegUserNoContent ¶
type RegUserNoContent struct { }
RegUserNoContent No content in answer
swagger:response regUserNoContent
func NewRegUserNoContent ¶
func NewRegUserNoContent() *RegUserNoContent
NewRegUserNoContent creates RegUserNoContent with default headers values
func (*RegUserNoContent) RegUserResponder ¶
func (o *RegUserNoContent) RegUserResponder()
func (*RegUserNoContent) WriteResponse ¶
func (o *RegUserNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RegUserNotImplementedResponder ¶
type RegUserNotImplementedResponder struct {
middleware.Responder
}
func (*RegUserNotImplementedResponder) RegUserResponder ¶
func (*RegUserNotImplementedResponder) RegUserResponder()
type RegUserParams ¶
type RegUserParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Args RegUserBody }
RegUserParams contains all the bound params for the reg user operation typically these are obtained from a http.Request
swagger:parameters regUser
func NewRegUserParams ¶
func NewRegUserParams() RegUserParams
NewRegUserParams creates a new RegUserParams object
There are no default values defined in the spec.
func (*RegUserParams) BindRequest ¶
func (o *RegUserParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewRegUserParams() beforehand.
type RegUserResponder ¶
type RegUserResponder interface { middleware.Responder RegUserResponder() }
func RegUserNotImplemented ¶
func RegUserNotImplemented() RegUserResponder
type RegUserURL ¶
type RegUserURL struct {
// contains filtered or unexported fields
}
RegUserURL generates an URL for the reg user operation
func (*RegUserURL) Build ¶
func (o *RegUserURL) Build() (*url.URL, error)
Build a url path and query string
func (*RegUserURL) BuildFull ¶
func (o *RegUserURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*RegUserURL) SetBasePath ¶
func (o *RegUserURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*RegUserURL) String ¶
func (o *RegUserURL) String() string
String returns the string representation of the path with query string
func (*RegUserURL) StringFull ¶
func (o *RegUserURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*RegUserURL) WithBasePath ¶
func (o *RegUserURL) WithBasePath(bp string) *RegUserURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type SettingStorage ¶
type SettingStorage struct { Context *middleware.Context Handler SettingStorageHandler }
SettingStorage swagger:route PUT /setting/storage settingStorage
settingStorage
func NewSettingStorage ¶
func NewSettingStorage(ctx *middleware.Context, handler SettingStorageHandler) *SettingStorage
NewSettingStorage creates a new http.Handler for the setting storage operation
func (*SettingStorage) ServeHTTP ¶
func (o *SettingStorage) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type SettingStorageBody ¶
type SettingStorageBody struct { // use Use int32 `json:"use,omitempty"` }
SettingStorageBody setting storage body
swagger:model SettingStorageBody
func (*SettingStorageBody) ContextValidate ¶
ContextValidate validates this setting storage body based on context it is used
func (*SettingStorageBody) MarshalBinary ¶
func (o *SettingStorageBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SettingStorageBody) UnmarshalBinary ¶
func (o *SettingStorageBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*SettingStorageBody) UnmarshalJSON ¶
func (o *SettingStorageBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type SettingStorageDefault ¶
type SettingStorageDefault struct { /* In: Body */ Payload *model.Error `json:"body,omitempty"` // contains filtered or unexported fields }
SettingStorageDefault General errors using same model as used by go-swagger for validation errors.
swagger:response settingStorageDefault
func NewSettingStorageDefault ¶
func NewSettingStorageDefault(code int) *SettingStorageDefault
NewSettingStorageDefault creates SettingStorageDefault with default headers values
func (*SettingStorageDefault) SetPayload ¶
func (o *SettingStorageDefault) SetPayload(payload *model.Error)
SetPayload sets the payload to the setting storage default response
func (*SettingStorageDefault) SetStatusCode ¶
func (o *SettingStorageDefault) SetStatusCode(code int)
SetStatusCode sets the status to the setting storage default response
func (*SettingStorageDefault) SettingStorageResponder ¶
func (o *SettingStorageDefault) SettingStorageResponder()
func (*SettingStorageDefault) WithPayload ¶
func (o *SettingStorageDefault) WithPayload(payload *model.Error) *SettingStorageDefault
WithPayload adds the payload to the setting storage default response
func (*SettingStorageDefault) WithStatusCode ¶
func (o *SettingStorageDefault) WithStatusCode(code int) *SettingStorageDefault
WithStatusCode adds the status to the setting storage default response
func (*SettingStorageDefault) WriteResponse ¶
func (o *SettingStorageDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SettingStorageHandler ¶
type SettingStorageHandler interface {
Handle(SettingStorageParams, *app.UserSession) SettingStorageResponder
}
SettingStorageHandler interface for that can handle valid setting storage params
type SettingStorageHandlerFunc ¶
type SettingStorageHandlerFunc func(SettingStorageParams, *app.UserSession) SettingStorageResponder
SettingStorageHandlerFunc turns a function with the right signature into a setting storage handler
func (SettingStorageHandlerFunc) Handle ¶
func (fn SettingStorageHandlerFunc) Handle(params SettingStorageParams, principal *app.UserSession) SettingStorageResponder
Handle executing the request and returning a response
type SettingStorageNoContent ¶
type SettingStorageNoContent struct { }
SettingStorageNoContent No content in answer
swagger:response settingStorageNoContent
func NewSettingStorageNoContent ¶
func NewSettingStorageNoContent() *SettingStorageNoContent
NewSettingStorageNoContent creates SettingStorageNoContent with default headers values
func (*SettingStorageNoContent) SettingStorageResponder ¶
func (o *SettingStorageNoContent) SettingStorageResponder()
func (*SettingStorageNoContent) WriteResponse ¶
func (o *SettingStorageNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SettingStorageNotImplementedResponder ¶
type SettingStorageNotImplementedResponder struct {
middleware.Responder
}
func (*SettingStorageNotImplementedResponder) SettingStorageResponder ¶
func (*SettingStorageNotImplementedResponder) SettingStorageResponder()
type SettingStorageParams ¶
type SettingStorageParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Args SettingStorageBody }
SettingStorageParams contains all the bound params for the setting storage operation typically these are obtained from a http.Request
swagger:parameters settingStorage
func NewSettingStorageParams ¶
func NewSettingStorageParams() SettingStorageParams
NewSettingStorageParams creates a new SettingStorageParams object
There are no default values defined in the spec.
func (*SettingStorageParams) BindRequest ¶
func (o *SettingStorageParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewSettingStorageParams() beforehand.
type SettingStorageResponder ¶
type SettingStorageResponder interface { middleware.Responder SettingStorageResponder() }
func SettingStorageNotImplemented ¶
func SettingStorageNotImplemented() SettingStorageResponder
type SettingStorageURL ¶
type SettingStorageURL struct {
// contains filtered or unexported fields
}
SettingStorageURL generates an URL for the setting storage operation
func (*SettingStorageURL) Build ¶
func (o *SettingStorageURL) Build() (*url.URL, error)
Build a url path and query string
func (*SettingStorageURL) BuildFull ¶
func (o *SettingStorageURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*SettingStorageURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*SettingStorageURL) SetBasePath ¶
func (o *SettingStorageURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*SettingStorageURL) String ¶
func (o *SettingStorageURL) String() string
String returns the string representation of the path with query string
func (*SettingStorageURL) StringFull ¶
func (o *SettingStorageURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*SettingStorageURL) WithBasePath ¶
func (o *SettingStorageURL) WithBasePath(bp string) *SettingStorageURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type SettingTranslation ¶
type SettingTranslation struct { Context *middleware.Context Handler SettingTranslationHandler }
SettingTranslation swagger:route PUT /setting/translation settingTranslation
settingTranslation
func NewSettingTranslation ¶
func NewSettingTranslation(ctx *middleware.Context, handler SettingTranslationHandler) *SettingTranslation
NewSettingTranslation creates a new http.Handler for the setting translation operation
func (*SettingTranslation) ServeHTTP ¶
func (o *SettingTranslation) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type SettingTranslationBody ¶
type SettingTranslationBody struct { // auto Auto bool `json:"auto,omitempty"` // main language // Min Length: 2 MainLanguage string `json:"main_language,omitempty"` // use Use int32 `json:"use,omitempty"` }
SettingTranslationBody setting translation body
swagger:model SettingTranslationBody
func (*SettingTranslationBody) ContextValidate ¶
func (o *SettingTranslationBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this setting translation body based on context it is used
func (*SettingTranslationBody) MarshalBinary ¶
func (o *SettingTranslationBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SettingTranslationBody) UnmarshalBinary ¶
func (o *SettingTranslationBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*SettingTranslationBody) UnmarshalJSON ¶
func (o *SettingTranslationBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type SettingTranslationDefault ¶
type SettingTranslationDefault struct { /* In: Body */ Payload *model.Error `json:"body,omitempty"` // contains filtered or unexported fields }
SettingTranslationDefault General errors using same model as used by go-swagger for validation errors.
swagger:response settingTranslationDefault
func NewSettingTranslationDefault ¶
func NewSettingTranslationDefault(code int) *SettingTranslationDefault
NewSettingTranslationDefault creates SettingTranslationDefault with default headers values
func (*SettingTranslationDefault) SetPayload ¶
func (o *SettingTranslationDefault) SetPayload(payload *model.Error)
SetPayload sets the payload to the setting translation default response
func (*SettingTranslationDefault) SetStatusCode ¶
func (o *SettingTranslationDefault) SetStatusCode(code int)
SetStatusCode sets the status to the setting translation default response
func (*SettingTranslationDefault) SettingTranslationResponder ¶
func (o *SettingTranslationDefault) SettingTranslationResponder()
func (*SettingTranslationDefault) WithPayload ¶
func (o *SettingTranslationDefault) WithPayload(payload *model.Error) *SettingTranslationDefault
WithPayload adds the payload to the setting translation default response
func (*SettingTranslationDefault) WithStatusCode ¶
func (o *SettingTranslationDefault) WithStatusCode(code int) *SettingTranslationDefault
WithStatusCode adds the status to the setting translation default response
func (*SettingTranslationDefault) WriteResponse ¶
func (o *SettingTranslationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SettingTranslationHandler ¶
type SettingTranslationHandler interface {
Handle(SettingTranslationParams, *app.UserSession) SettingTranslationResponder
}
SettingTranslationHandler interface for that can handle valid setting translation params
type SettingTranslationHandlerFunc ¶
type SettingTranslationHandlerFunc func(SettingTranslationParams, *app.UserSession) SettingTranslationResponder
SettingTranslationHandlerFunc turns a function with the right signature into a setting translation handler
func (SettingTranslationHandlerFunc) Handle ¶
func (fn SettingTranslationHandlerFunc) Handle(params SettingTranslationParams, principal *app.UserSession) SettingTranslationResponder
Handle executing the request and returning a response
type SettingTranslationNoContent ¶
type SettingTranslationNoContent struct { }
SettingTranslationNoContent No content in answer
swagger:response settingTranslationNoContent
func NewSettingTranslationNoContent ¶
func NewSettingTranslationNoContent() *SettingTranslationNoContent
NewSettingTranslationNoContent creates SettingTranslationNoContent with default headers values
func (*SettingTranslationNoContent) SettingTranslationResponder ¶
func (o *SettingTranslationNoContent) SettingTranslationResponder()
func (*SettingTranslationNoContent) WriteResponse ¶
func (o *SettingTranslationNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SettingTranslationNotImplementedResponder ¶
type SettingTranslationNotImplementedResponder struct {
middleware.Responder
}
func (*SettingTranslationNotImplementedResponder) SettingTranslationResponder ¶
func (*SettingTranslationNotImplementedResponder) SettingTranslationResponder()
type SettingTranslationParams ¶
type SettingTranslationParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Args SettingTranslationBody }
SettingTranslationParams contains all the bound params for the setting translation operation typically these are obtained from a http.Request
swagger:parameters settingTranslation
func NewSettingTranslationParams ¶
func NewSettingTranslationParams() SettingTranslationParams
NewSettingTranslationParams creates a new SettingTranslationParams object
There are no default values defined in the spec.
func (*SettingTranslationParams) BindRequest ¶
func (o *SettingTranslationParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewSettingTranslationParams() beforehand.
type SettingTranslationResponder ¶
type SettingTranslationResponder interface { middleware.Responder SettingTranslationResponder() }
func SettingTranslationNotImplemented ¶
func SettingTranslationNotImplemented() SettingTranslationResponder
type SettingTranslationURL ¶
type SettingTranslationURL struct {
// contains filtered or unexported fields
}
SettingTranslationURL generates an URL for the setting translation operation
func (*SettingTranslationURL) Build ¶
func (o *SettingTranslationURL) Build() (*url.URL, error)
Build a url path and query string
func (*SettingTranslationURL) BuildFull ¶
func (o *SettingTranslationURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*SettingTranslationURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*SettingTranslationURL) SetBasePath ¶
func (o *SettingTranslationURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*SettingTranslationURL) String ¶
func (o *SettingTranslationURL) String() string
String returns the string representation of the path with query string
func (*SettingTranslationURL) StringFull ¶
func (o *SettingTranslationURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*SettingTranslationURL) WithBasePath ¶
func (o *SettingTranslationURL) WithBasePath(bp string) *SettingTranslationURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type Settings ¶
type Settings struct { Context *middleware.Context Handler SettingsHandler }
Settings swagger:route GET /settings settings
settings
func NewSettings ¶
func NewSettings(ctx *middleware.Context, handler SettingsHandler) *Settings
NewSettings creates a new http.Handler for the settings operation
type SettingsDefault ¶
type SettingsDefault struct { /* In: Body */ Payload *model.Error `json:"body,omitempty"` // contains filtered or unexported fields }
SettingsDefault General errors using same model as used by go-swagger for validation errors.
swagger:response settingsDefault
func NewSettingsDefault ¶
func NewSettingsDefault(code int) *SettingsDefault
NewSettingsDefault creates SettingsDefault with default headers values
func (*SettingsDefault) SetPayload ¶
func (o *SettingsDefault) SetPayload(payload *model.Error)
SetPayload sets the payload to the settings default response
func (*SettingsDefault) SetStatusCode ¶
func (o *SettingsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the settings default response
func (*SettingsDefault) SettingsResponder ¶
func (o *SettingsDefault) SettingsResponder()
func (*SettingsDefault) WithPayload ¶
func (o *SettingsDefault) WithPayload(payload *model.Error) *SettingsDefault
WithPayload adds the payload to the settings default response
func (*SettingsDefault) WithStatusCode ¶
func (o *SettingsDefault) WithStatusCode(code int) *SettingsDefault
WithStatusCode adds the status to the settings default response
func (*SettingsDefault) WriteResponse ¶
func (o *SettingsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SettingsHandler ¶
type SettingsHandler interface {
Handle(SettingsParams, *app.UserSession) SettingsResponder
}
SettingsHandler interface for that can handle valid settings params
type SettingsHandlerFunc ¶
type SettingsHandlerFunc func(SettingsParams, *app.UserSession) SettingsResponder
SettingsHandlerFunc turns a function with the right signature into a settings handler
func (SettingsHandlerFunc) Handle ¶
func (fn SettingsHandlerFunc) Handle(params SettingsParams, principal *app.UserSession) SettingsResponder
Handle executing the request and returning a response
type SettingsNotImplementedResponder ¶
type SettingsNotImplementedResponder struct {
middleware.Responder
}
func (*SettingsNotImplementedResponder) SettingsResponder ¶
func (*SettingsNotImplementedResponder) SettingsResponder()
type SettingsOK ¶
type SettingsOK struct { /* In: Body */ Payload *SettingsOKBody `json:"body,omitempty"` }
SettingsOK get current settings full system (translation, storage, etc)
swagger:response settingsOK
func NewSettingsOK ¶
func NewSettingsOK() *SettingsOK
NewSettingsOK creates SettingsOK with default headers values
func (*SettingsOK) SetPayload ¶
func (o *SettingsOK) SetPayload(payload *SettingsOKBody)
SetPayload sets the payload to the settings o k response
func (*SettingsOK) SettingsResponder ¶
func (o *SettingsOK) SettingsResponder()
func (*SettingsOK) WithPayload ¶
func (o *SettingsOK) WithPayload(payload *SettingsOKBody) *SettingsOK
WithPayload adds the payload to the settings o k response
func (*SettingsOK) WriteResponse ¶
func (o *SettingsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SettingsOKBody ¶
type SettingsOKBody struct { // first launch // Required: true FirstLaunch bool `json:"first_launch"` // storage // Required: true Storage *model.StorageConfiguration `json:"storage"` // translation // Required: true Translation *model.TranslationConfiguration `json:"translation"` }
SettingsOKBody settings o k body
swagger:model SettingsOKBody
func (*SettingsOKBody) ContextValidate ¶
ContextValidate validate this settings o k body based on the context it is used
func (*SettingsOKBody) MarshalBinary ¶
func (o *SettingsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SettingsOKBody) UnmarshalBinary ¶
func (o *SettingsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*SettingsOKBody) UnmarshalJSON ¶
func (o *SettingsOKBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type SettingsParams ¶
SettingsParams contains all the bound params for the settings operation typically these are obtained from a http.Request
swagger:parameters settings
func NewSettingsParams ¶
func NewSettingsParams() SettingsParams
NewSettingsParams creates a new SettingsParams object
There are no default values defined in the spec.
func (*SettingsParams) BindRequest ¶
func (o *SettingsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewSettingsParams() beforehand.
type SettingsResponder ¶
type SettingsResponder interface { middleware.Responder SettingsResponder() }
func SettingsNotImplemented ¶
func SettingsNotImplemented() SettingsResponder
type SettingsURL ¶
type SettingsURL struct {
// contains filtered or unexported fields
}
SettingsURL generates an URL for the settings operation
func (*SettingsURL) Build ¶
func (o *SettingsURL) Build() (*url.URL, error)
Build a url path and query string
func (*SettingsURL) BuildFull ¶
func (o *SettingsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*SettingsURL) SetBasePath ¶
func (o *SettingsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*SettingsURL) String ¶
func (o *SettingsURL) String() string
String returns the string representation of the path with query string
func (*SettingsURL) StringFull ¶
func (o *SettingsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*SettingsURL) WithBasePath ¶
func (o *SettingsURL) WithBasePath(bp string) *SettingsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type Statistic ¶
type Statistic struct { Context *middleware.Context Handler StatisticHandler }
Statistic swagger:route GET /statistic statistic
get service statistic
func NewStatistic ¶
func NewStatistic(ctx *middleware.Context, handler StatisticHandler) *Statistic
NewStatistic creates a new http.Handler for the statistic operation
type StatisticDefault ¶
type StatisticDefault struct { /* In: Body */ Payload *model.Error `json:"body,omitempty"` // contains filtered or unexported fields }
StatisticDefault General errors using same model as used by go-swagger for validation errors.
swagger:response statisticDefault
func NewStatisticDefault ¶
func NewStatisticDefault(code int) *StatisticDefault
NewStatisticDefault creates StatisticDefault with default headers values
func (*StatisticDefault) SetPayload ¶
func (o *StatisticDefault) SetPayload(payload *model.Error)
SetPayload sets the payload to the statistic default response
func (*StatisticDefault) SetStatusCode ¶
func (o *StatisticDefault) SetStatusCode(code int)
SetStatusCode sets the status to the statistic default response
func (*StatisticDefault) StatisticResponder ¶
func (o *StatisticDefault) StatisticResponder()
func (*StatisticDefault) WithPayload ¶
func (o *StatisticDefault) WithPayload(payload *model.Error) *StatisticDefault
WithPayload adds the payload to the statistic default response
func (*StatisticDefault) WithStatusCode ¶
func (o *StatisticDefault) WithStatusCode(code int) *StatisticDefault
WithStatusCode adds the status to the statistic default response
func (*StatisticDefault) WriteResponse ¶
func (o *StatisticDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type StatisticHandler ¶
type StatisticHandler interface {
Handle(StatisticParams, *app.UserSession) StatisticResponder
}
StatisticHandler interface for that can handle valid statistic params
type StatisticHandlerFunc ¶
type StatisticHandlerFunc func(StatisticParams, *app.UserSession) StatisticResponder
StatisticHandlerFunc turns a function with the right signature into a statistic handler
func (StatisticHandlerFunc) Handle ¶
func (fn StatisticHandlerFunc) Handle(params StatisticParams, principal *app.UserSession) StatisticResponder
Handle executing the request and returning a response
type StatisticNotImplementedResponder ¶
type StatisticNotImplementedResponder struct {
middleware.Responder
}
func (*StatisticNotImplementedResponder) StatisticResponder ¶
func (*StatisticNotImplementedResponder) StatisticResponder()
type StatisticOK ¶
type StatisticOK struct { /* In: Body */ Payload *StatisticOKBody `json:"body,omitempty"` }
StatisticOK get service statistic
swagger:response statisticOK
func NewStatisticOK ¶
func NewStatisticOK() *StatisticOK
NewStatisticOK creates StatisticOK with default headers values
func (*StatisticOK) SetPayload ¶
func (o *StatisticOK) SetPayload(payload *StatisticOKBody)
SetPayload sets the payload to the statistic o k response
func (*StatisticOK) StatisticResponder ¶
func (o *StatisticOK) StatisticResponder()
func (*StatisticOK) WithPayload ¶
func (o *StatisticOK) WithPayload(payload *StatisticOKBody) *StatisticOK
WithPayload adds the payload to the statistic o k response
func (*StatisticOK) WriteResponse ¶
func (o *StatisticOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type StatisticOKBody ¶
type StatisticOKBody struct { // count categories // Required: true // Minimum: 0 CountCategories *int64 `json:"count_categories"` // count identifiers // Required: true // Minimum: 0 CountIdentifiers *int64 `json:"count_identifiers"` // count localizations // Required: true // Minimum: 0 CountLocalizations *int64 `json:"count_localizations"` // count users // Required: true // Minimum: 0 CountUsers *int64 `json:"count_users"` // stat completed translations // Required: true StatCompletedTranslations []*StatisticOKBodyStatCompletedTranslationsItems0 `json:"stat_completed_translations"` }
StatisticOKBody statistic o k body
swagger:model StatisticOKBody
func (*StatisticOKBody) ContextValidate ¶
ContextValidate validate this statistic o k body based on the context it is used
func (*StatisticOKBody) MarshalBinary ¶
func (o *StatisticOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StatisticOKBody) UnmarshalBinary ¶
func (o *StatisticOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*StatisticOKBody) UnmarshalJSON ¶
func (o *StatisticOKBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type StatisticOKBodyStatCompletedTranslationsItems0 ¶
type StatisticOKBodyStatCompletedTranslationsItems0 struct { // lang name // Required: true LangName *string `json:"lang_name"` // percentage // Required: true Percentage *float64 `json:"percentage"` }
StatisticOKBodyStatCompletedTranslationsItems0 statistic o k body stat completed translations items0
swagger:model StatisticOKBodyStatCompletedTranslationsItems0
func (*StatisticOKBodyStatCompletedTranslationsItems0) ContextValidate ¶
func (o *StatisticOKBodyStatCompletedTranslationsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this statistic o k body stat completed translations items0 based on context it is used
func (*StatisticOKBodyStatCompletedTranslationsItems0) MarshalBinary ¶
func (o *StatisticOKBodyStatCompletedTranslationsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StatisticOKBodyStatCompletedTranslationsItems0) UnmarshalBinary ¶
func (o *StatisticOKBodyStatCompletedTranslationsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*StatisticOKBodyStatCompletedTranslationsItems0) UnmarshalJSON ¶
func (o *StatisticOKBodyStatCompletedTranslationsItems0) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type StatisticParams ¶
StatisticParams contains all the bound params for the statistic operation typically these are obtained from a http.Request
swagger:parameters statistic
func NewStatisticParams ¶
func NewStatisticParams() StatisticParams
NewStatisticParams creates a new StatisticParams object
There are no default values defined in the spec.
func (*StatisticParams) BindRequest ¶
func (o *StatisticParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewStatisticParams() beforehand.
type StatisticResponder ¶
type StatisticResponder interface { middleware.Responder StatisticResponder() }
func StatisticNotImplemented ¶
func StatisticNotImplemented() StatisticResponder
type StatisticURL ¶
type StatisticURL struct {
// contains filtered or unexported fields
}
StatisticURL generates an URL for the statistic operation
func (*StatisticURL) Build ¶
func (o *StatisticURL) Build() (*url.URL, error)
Build a url path and query string
func (*StatisticURL) BuildFull ¶
func (o *StatisticURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*StatisticURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*StatisticURL) SetBasePath ¶
func (o *StatisticURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*StatisticURL) String ¶
func (o *StatisticURL) String() string
String returns the string representation of the path with query string
func (*StatisticURL) StringFull ¶
func (o *StatisticURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*StatisticURL) WithBasePath ¶
func (o *StatisticURL) WithBasePath(bp string) *StatisticURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type StatusTranslation ¶
type StatusTranslation struct { Context *middleware.Context Handler StatusTranslationHandler }
StatusTranslation swagger:route PUT /translation/{id}/status/{status} statusTranslation
change current status translation (hidden, draft, release)
func NewStatusTranslation ¶
func NewStatusTranslation(ctx *middleware.Context, handler StatusTranslationHandler) *StatusTranslation
NewStatusTranslation creates a new http.Handler for the status translation operation
func (*StatusTranslation) ServeHTTP ¶
func (o *StatusTranslation) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type StatusTranslationDefault ¶
type StatusTranslationDefault struct { /* In: Body */ Payload *model.Error `json:"body,omitempty"` // contains filtered or unexported fields }
StatusTranslationDefault General errors using same model as used by go-swagger for validation errors.
swagger:response statusTranslationDefault
func NewStatusTranslationDefault ¶
func NewStatusTranslationDefault(code int) *StatusTranslationDefault
NewStatusTranslationDefault creates StatusTranslationDefault with default headers values
func (*StatusTranslationDefault) SetPayload ¶
func (o *StatusTranslationDefault) SetPayload(payload *model.Error)
SetPayload sets the payload to the status translation default response
func (*StatusTranslationDefault) SetStatusCode ¶
func (o *StatusTranslationDefault) SetStatusCode(code int)
SetStatusCode sets the status to the status translation default response
func (*StatusTranslationDefault) StatusTranslationResponder ¶
func (o *StatusTranslationDefault) StatusTranslationResponder()
func (*StatusTranslationDefault) WithPayload ¶
func (o *StatusTranslationDefault) WithPayload(payload *model.Error) *StatusTranslationDefault
WithPayload adds the payload to the status translation default response
func (*StatusTranslationDefault) WithStatusCode ¶
func (o *StatusTranslationDefault) WithStatusCode(code int) *StatusTranslationDefault
WithStatusCode adds the status to the status translation default response
func (*StatusTranslationDefault) WriteResponse ¶
func (o *StatusTranslationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type StatusTranslationHandler ¶
type StatusTranslationHandler interface {
Handle(StatusTranslationParams, *app.UserSession) StatusTranslationResponder
}
StatusTranslationHandler interface for that can handle valid status translation params
type StatusTranslationHandlerFunc ¶
type StatusTranslationHandlerFunc func(StatusTranslationParams, *app.UserSession) StatusTranslationResponder
StatusTranslationHandlerFunc turns a function with the right signature into a status translation handler
func (StatusTranslationHandlerFunc) Handle ¶
func (fn StatusTranslationHandlerFunc) Handle(params StatusTranslationParams, principal *app.UserSession) StatusTranslationResponder
Handle executing the request and returning a response
type StatusTranslationNoContent ¶
type StatusTranslationNoContent struct { }
StatusTranslationNoContent No content in answer
swagger:response statusTranslationNoContent
func NewStatusTranslationNoContent ¶
func NewStatusTranslationNoContent() *StatusTranslationNoContent
NewStatusTranslationNoContent creates StatusTranslationNoContent with default headers values
func (*StatusTranslationNoContent) StatusTranslationResponder ¶
func (o *StatusTranslationNoContent) StatusTranslationResponder()
func (*StatusTranslationNoContent) WriteResponse ¶
func (o *StatusTranslationNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type StatusTranslationNotImplementedResponder ¶
type StatusTranslationNotImplementedResponder struct {
middleware.Responder
}
func (*StatusTranslationNotImplementedResponder) StatusTranslationResponder ¶
func (*StatusTranslationNotImplementedResponder) StatusTranslationResponder()
type StatusTranslationParams ¶
type StatusTranslationParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true Minimum: 1 In: path */ ID int64 /* Required: true Minimum: 0 In: path */ Status int64 }
StatusTranslationParams contains all the bound params for the status translation operation typically these are obtained from a http.Request
swagger:parameters statusTranslation
func NewStatusTranslationParams ¶
func NewStatusTranslationParams() StatusTranslationParams
NewStatusTranslationParams creates a new StatusTranslationParams object
There are no default values defined in the spec.
func (*StatusTranslationParams) BindRequest ¶
func (o *StatusTranslationParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewStatusTranslationParams() beforehand.
type StatusTranslationResponder ¶
type StatusTranslationResponder interface { middleware.Responder StatusTranslationResponder() }
func StatusTranslationNotImplemented ¶
func StatusTranslationNotImplemented() StatusTranslationResponder
type StatusTranslationURL ¶
type StatusTranslationURL struct { ID int64 Status int64 // contains filtered or unexported fields }
StatusTranslationURL generates an URL for the status translation operation
func (*StatusTranslationURL) Build ¶
func (o *StatusTranslationURL) Build() (*url.URL, error)
Build a url path and query string
func (*StatusTranslationURL) BuildFull ¶
func (o *StatusTranslationURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*StatusTranslationURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*StatusTranslationURL) SetBasePath ¶
func (o *StatusTranslationURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*StatusTranslationURL) String ¶
func (o *StatusTranslationURL) String() string
String returns the string representation of the path with query string
func (*StatusTranslationURL) StringFull ¶
func (o *StatusTranslationURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*StatusTranslationURL) WithBasePath ¶
func (o *StatusTranslationURL) WithBasePath(bp string) *StatusTranslationURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type SupportedLanguages ¶
type SupportedLanguages struct { Context *middleware.Context Handler SupportedLanguagesHandler }
SupportedLanguages swagger:route GET /supported-languages supportedLanguages
supported-languages
func NewSupportedLanguages ¶
func NewSupportedLanguages(ctx *middleware.Context, handler SupportedLanguagesHandler) *SupportedLanguages
NewSupportedLanguages creates a new http.Handler for the supported languages operation
func (*SupportedLanguages) ServeHTTP ¶
func (o *SupportedLanguages) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type SupportedLanguagesDefault ¶
type SupportedLanguagesDefault struct { /* In: Body */ Payload *model.Error `json:"body,omitempty"` // contains filtered or unexported fields }
SupportedLanguagesDefault General errors using same model as used by go-swagger for validation errors.
swagger:response supportedLanguagesDefault
func NewSupportedLanguagesDefault ¶
func NewSupportedLanguagesDefault(code int) *SupportedLanguagesDefault
NewSupportedLanguagesDefault creates SupportedLanguagesDefault with default headers values
func (*SupportedLanguagesDefault) SetPayload ¶
func (o *SupportedLanguagesDefault) SetPayload(payload *model.Error)
SetPayload sets the payload to the supported languages default response
func (*SupportedLanguagesDefault) SetStatusCode ¶
func (o *SupportedLanguagesDefault) SetStatusCode(code int)
SetStatusCode sets the status to the supported languages default response
func (*SupportedLanguagesDefault) SupportedLanguagesResponder ¶
func (o *SupportedLanguagesDefault) SupportedLanguagesResponder()
func (*SupportedLanguagesDefault) WithPayload ¶
func (o *SupportedLanguagesDefault) WithPayload(payload *model.Error) *SupportedLanguagesDefault
WithPayload adds the payload to the supported languages default response
func (*SupportedLanguagesDefault) WithStatusCode ¶
func (o *SupportedLanguagesDefault) WithStatusCode(code int) *SupportedLanguagesDefault
WithStatusCode adds the status to the supported languages default response
func (*SupportedLanguagesDefault) WriteResponse ¶
func (o *SupportedLanguagesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SupportedLanguagesHandler ¶
type SupportedLanguagesHandler interface {
Handle(SupportedLanguagesParams, *app.UserSession) SupportedLanguagesResponder
}
SupportedLanguagesHandler interface for that can handle valid supported languages params
type SupportedLanguagesHandlerFunc ¶
type SupportedLanguagesHandlerFunc func(SupportedLanguagesParams, *app.UserSession) SupportedLanguagesResponder
SupportedLanguagesHandlerFunc turns a function with the right signature into a supported languages handler
func (SupportedLanguagesHandlerFunc) Handle ¶
func (fn SupportedLanguagesHandlerFunc) Handle(params SupportedLanguagesParams, principal *app.UserSession) SupportedLanguagesResponder
Handle executing the request and returning a response
type SupportedLanguagesNotImplementedResponder ¶
type SupportedLanguagesNotImplementedResponder struct {
middleware.Responder
}
func (*SupportedLanguagesNotImplementedResponder) SupportedLanguagesResponder ¶
func (*SupportedLanguagesNotImplementedResponder) SupportedLanguagesResponder()
type SupportedLanguagesOK ¶
type SupportedLanguagesOK struct { /* In: Body */ Payload []*model.Language `json:"body,omitempty"` }
SupportedLanguagesOK get list of all supported languages
swagger:response supportedLanguagesOK
func NewSupportedLanguagesOK ¶
func NewSupportedLanguagesOK() *SupportedLanguagesOK
NewSupportedLanguagesOK creates SupportedLanguagesOK with default headers values
func (*SupportedLanguagesOK) SetPayload ¶
func (o *SupportedLanguagesOK) SetPayload(payload []*model.Language)
SetPayload sets the payload to the supported languages o k response
func (*SupportedLanguagesOK) SupportedLanguagesResponder ¶
func (o *SupportedLanguagesOK) SupportedLanguagesResponder()
func (*SupportedLanguagesOK) WithPayload ¶
func (o *SupportedLanguagesOK) WithPayload(payload []*model.Language) *SupportedLanguagesOK
WithPayload adds the payload to the supported languages o k response
func (*SupportedLanguagesOK) WriteResponse ¶
func (o *SupportedLanguagesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SupportedLanguagesParams ¶
type SupportedLanguagesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
SupportedLanguagesParams contains all the bound params for the supported languages operation typically these are obtained from a http.Request
swagger:parameters supportedLanguages
func NewSupportedLanguagesParams ¶
func NewSupportedLanguagesParams() SupportedLanguagesParams
NewSupportedLanguagesParams creates a new SupportedLanguagesParams object
There are no default values defined in the spec.
func (*SupportedLanguagesParams) BindRequest ¶
func (o *SupportedLanguagesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewSupportedLanguagesParams() beforehand.
type SupportedLanguagesResponder ¶
type SupportedLanguagesResponder interface { middleware.Responder SupportedLanguagesResponder() }
func SupportedLanguagesNotImplemented ¶
func SupportedLanguagesNotImplemented() SupportedLanguagesResponder
type SupportedLanguagesURL ¶
type SupportedLanguagesURL struct {
// contains filtered or unexported fields
}
SupportedLanguagesURL generates an URL for the supported languages operation
func (*SupportedLanguagesURL) Build ¶
func (o *SupportedLanguagesURL) Build() (*url.URL, error)
Build a url path and query string
func (*SupportedLanguagesURL) BuildFull ¶
func (o *SupportedLanguagesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*SupportedLanguagesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*SupportedLanguagesURL) SetBasePath ¶
func (o *SupportedLanguagesURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*SupportedLanguagesURL) String ¶
func (o *SupportedLanguagesURL) String() string
String returns the string representation of the path with query string
func (*SupportedLanguagesURL) StringFull ¶
func (o *SupportedLanguagesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*SupportedLanguagesURL) WithBasePath ¶
func (o *SupportedLanguagesURL) WithBasePath(bp string) *SupportedLanguagesURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type UpdateCategory ¶
type UpdateCategory struct { Context *middleware.Context Handler UpdateCategoryHandler }
UpdateCategory swagger:route PUT /category/{id} updateCategory
update category
func NewUpdateCategory ¶
func NewUpdateCategory(ctx *middleware.Context, handler UpdateCategoryHandler) *UpdateCategory
NewUpdateCategory creates a new http.Handler for the update category operation
func (*UpdateCategory) ServeHTTP ¶
func (o *UpdateCategory) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateCategoryBody ¶
type UpdateCategoryBody struct { // name // Required: true // Max Length: 255 // Min Length: 1 Name *string `json:"name"` }
UpdateCategoryBody update category body
swagger:model UpdateCategoryBody
func (*UpdateCategoryBody) ContextValidate ¶
ContextValidate validates this update category body based on context it is used
func (*UpdateCategoryBody) MarshalBinary ¶
func (o *UpdateCategoryBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCategoryBody) UnmarshalBinary ¶
func (o *UpdateCategoryBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateCategoryBody) UnmarshalJSON ¶
func (o *UpdateCategoryBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type UpdateCategoryDefault ¶
type UpdateCategoryDefault struct { /* In: Body */ Payload *model.Error `json:"body,omitempty"` // contains filtered or unexported fields }
UpdateCategoryDefault General errors using same model as used by go-swagger for validation errors.
swagger:response updateCategoryDefault
func NewUpdateCategoryDefault ¶
func NewUpdateCategoryDefault(code int) *UpdateCategoryDefault
NewUpdateCategoryDefault creates UpdateCategoryDefault with default headers values
func (*UpdateCategoryDefault) SetPayload ¶
func (o *UpdateCategoryDefault) SetPayload(payload *model.Error)
SetPayload sets the payload to the update category default response
func (*UpdateCategoryDefault) SetStatusCode ¶
func (o *UpdateCategoryDefault) SetStatusCode(code int)
SetStatusCode sets the status to the update category default response
func (*UpdateCategoryDefault) UpdateCategoryResponder ¶
func (o *UpdateCategoryDefault) UpdateCategoryResponder()
func (*UpdateCategoryDefault) WithPayload ¶
func (o *UpdateCategoryDefault) WithPayload(payload *model.Error) *UpdateCategoryDefault
WithPayload adds the payload to the update category default response
func (*UpdateCategoryDefault) WithStatusCode ¶
func (o *UpdateCategoryDefault) WithStatusCode(code int) *UpdateCategoryDefault
WithStatusCode adds the status to the update category default response
func (*UpdateCategoryDefault) WriteResponse ¶
func (o *UpdateCategoryDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateCategoryHandler ¶
type UpdateCategoryHandler interface {
Handle(UpdateCategoryParams, *app.UserSession) UpdateCategoryResponder
}
UpdateCategoryHandler interface for that can handle valid update category params
type UpdateCategoryHandlerFunc ¶
type UpdateCategoryHandlerFunc func(UpdateCategoryParams, *app.UserSession) UpdateCategoryResponder
UpdateCategoryHandlerFunc turns a function with the right signature into a update category handler
func (UpdateCategoryHandlerFunc) Handle ¶
func (fn UpdateCategoryHandlerFunc) Handle(params UpdateCategoryParams, principal *app.UserSession) UpdateCategoryResponder
Handle executing the request and returning a response
type UpdateCategoryNoContent ¶
type UpdateCategoryNoContent struct { }
UpdateCategoryNoContent No content in answer
swagger:response updateCategoryNoContent
func NewUpdateCategoryNoContent ¶
func NewUpdateCategoryNoContent() *UpdateCategoryNoContent
NewUpdateCategoryNoContent creates UpdateCategoryNoContent with default headers values
func (*UpdateCategoryNoContent) UpdateCategoryResponder ¶
func (o *UpdateCategoryNoContent) UpdateCategoryResponder()
func (*UpdateCategoryNoContent) WriteResponse ¶
func (o *UpdateCategoryNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateCategoryNotImplementedResponder ¶
type UpdateCategoryNotImplementedResponder struct {
middleware.Responder
}
func (*UpdateCategoryNotImplementedResponder) UpdateCategoryResponder ¶
func (*UpdateCategoryNotImplementedResponder) UpdateCategoryResponder()
type UpdateCategoryParams ¶
type UpdateCategoryParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Args UpdateCategoryBody /* Required: true Minimum: 1 In: path */ ID int64 }
UpdateCategoryParams contains all the bound params for the update category operation typically these are obtained from a http.Request
swagger:parameters updateCategory
func NewUpdateCategoryParams ¶
func NewUpdateCategoryParams() UpdateCategoryParams
NewUpdateCategoryParams creates a new UpdateCategoryParams object
There are no default values defined in the spec.
func (*UpdateCategoryParams) BindRequest ¶
func (o *UpdateCategoryParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewUpdateCategoryParams() beforehand.
type UpdateCategoryResponder ¶
type UpdateCategoryResponder interface { middleware.Responder UpdateCategoryResponder() }
func UpdateCategoryNotImplemented ¶
func UpdateCategoryNotImplemented() UpdateCategoryResponder
type UpdateCategoryURL ¶
type UpdateCategoryURL struct { ID int64 // contains filtered or unexported fields }
UpdateCategoryURL generates an URL for the update category operation
func (*UpdateCategoryURL) Build ¶
func (o *UpdateCategoryURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateCategoryURL) BuildFull ¶
func (o *UpdateCategoryURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateCategoryURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateCategoryURL) SetBasePath ¶
func (o *UpdateCategoryURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*UpdateCategoryURL) String ¶
func (o *UpdateCategoryURL) String() string
String returns the string representation of the path with query string
func (*UpdateCategoryURL) StringFull ¶
func (o *UpdateCategoryURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateCategoryURL) WithBasePath ¶
func (o *UpdateCategoryURL) WithBasePath(bp string) *UpdateCategoryURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type UpdateIdentifier ¶
type UpdateIdentifier struct { Context *middleware.Context Handler UpdateIdentifierHandler }
UpdateIdentifier swagger:route PUT /identifier/{id} updateIdentifier
update identifier fields
func NewUpdateIdentifier ¶
func NewUpdateIdentifier(ctx *middleware.Context, handler UpdateIdentifierHandler) *UpdateIdentifier
NewUpdateIdentifier creates a new http.Handler for the update identifier operation
func (*UpdateIdentifier) ServeHTTP ¶
func (o *UpdateIdentifier) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateIdentifierBody ¶
type UpdateIdentifierBody struct { // category id CategoryID int64 `json:"category_id,omitempty"` // description Description string `json:"description,omitempty"` // name // Required: true // Max Length: 255 // Min Length: 1 Name *string `json:"name"` // parent id ParentID int64 `json:"parent_id,omitempty"` // platforms Platforms []string `json:"platforms"` // text plural TextPlural string `json:"text_plural,omitempty"` // text singular TextSingular string `json:"text_singular,omitempty"` }
UpdateIdentifierBody update identifier body
swagger:model UpdateIdentifierBody
func (*UpdateIdentifierBody) ContextValidate ¶
ContextValidate validates this update identifier body based on context it is used
func (*UpdateIdentifierBody) MarshalBinary ¶
func (o *UpdateIdentifierBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateIdentifierBody) UnmarshalBinary ¶
func (o *UpdateIdentifierBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateIdentifierBody) UnmarshalJSON ¶
func (o *UpdateIdentifierBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type UpdateIdentifierDefault ¶
type UpdateIdentifierDefault struct { /* In: Body */ Payload *model.Error `json:"body,omitempty"` // contains filtered or unexported fields }
UpdateIdentifierDefault General errors using same model as used by go-swagger for validation errors.
swagger:response updateIdentifierDefault
func NewUpdateIdentifierDefault ¶
func NewUpdateIdentifierDefault(code int) *UpdateIdentifierDefault
NewUpdateIdentifierDefault creates UpdateIdentifierDefault with default headers values
func (*UpdateIdentifierDefault) SetPayload ¶
func (o *UpdateIdentifierDefault) SetPayload(payload *model.Error)
SetPayload sets the payload to the update identifier default response
func (*UpdateIdentifierDefault) SetStatusCode ¶
func (o *UpdateIdentifierDefault) SetStatusCode(code int)
SetStatusCode sets the status to the update identifier default response
func (*UpdateIdentifierDefault) UpdateIdentifierResponder ¶
func (o *UpdateIdentifierDefault) UpdateIdentifierResponder()
func (*UpdateIdentifierDefault) WithPayload ¶
func (o *UpdateIdentifierDefault) WithPayload(payload *model.Error) *UpdateIdentifierDefault
WithPayload adds the payload to the update identifier default response
func (*UpdateIdentifierDefault) WithStatusCode ¶
func (o *UpdateIdentifierDefault) WithStatusCode(code int) *UpdateIdentifierDefault
WithStatusCode adds the status to the update identifier default response
func (*UpdateIdentifierDefault) WriteResponse ¶
func (o *UpdateIdentifierDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateIdentifierHandler ¶
type UpdateIdentifierHandler interface {
Handle(UpdateIdentifierParams, *app.UserSession) UpdateIdentifierResponder
}
UpdateIdentifierHandler interface for that can handle valid update identifier params
type UpdateIdentifierHandlerFunc ¶
type UpdateIdentifierHandlerFunc func(UpdateIdentifierParams, *app.UserSession) UpdateIdentifierResponder
UpdateIdentifierHandlerFunc turns a function with the right signature into a update identifier handler
func (UpdateIdentifierHandlerFunc) Handle ¶
func (fn UpdateIdentifierHandlerFunc) Handle(params UpdateIdentifierParams, principal *app.UserSession) UpdateIdentifierResponder
Handle executing the request and returning a response
type UpdateIdentifierNoContent ¶
type UpdateIdentifierNoContent struct { }
UpdateIdentifierNoContent No content in answer
swagger:response updateIdentifierNoContent
func NewUpdateIdentifierNoContent ¶
func NewUpdateIdentifierNoContent() *UpdateIdentifierNoContent
NewUpdateIdentifierNoContent creates UpdateIdentifierNoContent with default headers values
func (*UpdateIdentifierNoContent) UpdateIdentifierResponder ¶
func (o *UpdateIdentifierNoContent) UpdateIdentifierResponder()
func (*UpdateIdentifierNoContent) WriteResponse ¶
func (o *UpdateIdentifierNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateIdentifierNotImplementedResponder ¶
type UpdateIdentifierNotImplementedResponder struct {
middleware.Responder
}
func (*UpdateIdentifierNotImplementedResponder) UpdateIdentifierResponder ¶
func (*UpdateIdentifierNotImplementedResponder) UpdateIdentifierResponder()
type UpdateIdentifierParams ¶
type UpdateIdentifierParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Args UpdateIdentifierBody /* Required: true Minimum: 1 In: path */ ID int64 }
UpdateIdentifierParams contains all the bound params for the update identifier operation typically these are obtained from a http.Request
swagger:parameters updateIdentifier
func NewUpdateIdentifierParams ¶
func NewUpdateIdentifierParams() UpdateIdentifierParams
NewUpdateIdentifierParams creates a new UpdateIdentifierParams object
There are no default values defined in the spec.
func (*UpdateIdentifierParams) BindRequest ¶
func (o *UpdateIdentifierParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewUpdateIdentifierParams() beforehand.
type UpdateIdentifierResponder ¶
type UpdateIdentifierResponder interface { middleware.Responder UpdateIdentifierResponder() }
func UpdateIdentifierNotImplemented ¶
func UpdateIdentifierNotImplemented() UpdateIdentifierResponder
type UpdateIdentifierURL ¶
type UpdateIdentifierURL struct { ID int64 // contains filtered or unexported fields }
UpdateIdentifierURL generates an URL for the update identifier operation
func (*UpdateIdentifierURL) Build ¶
func (o *UpdateIdentifierURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateIdentifierURL) BuildFull ¶
func (o *UpdateIdentifierURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateIdentifierURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateIdentifierURL) SetBasePath ¶
func (o *UpdateIdentifierURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*UpdateIdentifierURL) String ¶
func (o *UpdateIdentifierURL) String() string
String returns the string representation of the path with query string
func (*UpdateIdentifierURL) StringFull ¶
func (o *UpdateIdentifierURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateIdentifierURL) WithBasePath ¶
func (o *UpdateIdentifierURL) WithBasePath(bp string) *UpdateIdentifierURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type UpdateTranslation ¶
type UpdateTranslation struct { Context *middleware.Context Handler UpdateTranslationHandler }
UpdateTranslation swagger:route PUT /translation/{id} updateTranslation
update translation
func NewUpdateTranslation ¶
func NewUpdateTranslation(ctx *middleware.Context, handler UpdateTranslationHandler) *UpdateTranslation
NewUpdateTranslation creates a new http.Handler for the update translation operation
func (*UpdateTranslation) ServeHTTP ¶
func (o *UpdateTranslation) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateTranslationBody ¶
type UpdateTranslationBody struct { // plural Plural string `json:"plural,omitempty"` // singular // Required: true Singular *string `json:"singular"` }
UpdateTranslationBody update translation body
swagger:model UpdateTranslationBody
func (*UpdateTranslationBody) ContextValidate ¶
ContextValidate validates this update translation body based on context it is used
func (*UpdateTranslationBody) MarshalBinary ¶
func (o *UpdateTranslationBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateTranslationBody) UnmarshalBinary ¶
func (o *UpdateTranslationBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateTranslationBody) UnmarshalJSON ¶
func (o *UpdateTranslationBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type UpdateTranslationDefault ¶
type UpdateTranslationDefault struct { /* In: Body */ Payload *model.Error `json:"body,omitempty"` // contains filtered or unexported fields }
UpdateTranslationDefault General errors using same model as used by go-swagger for validation errors.
swagger:response updateTranslationDefault
func NewUpdateTranslationDefault ¶
func NewUpdateTranslationDefault(code int) *UpdateTranslationDefault
NewUpdateTranslationDefault creates UpdateTranslationDefault with default headers values
func (*UpdateTranslationDefault) SetPayload ¶
func (o *UpdateTranslationDefault) SetPayload(payload *model.Error)
SetPayload sets the payload to the update translation default response
func (*UpdateTranslationDefault) SetStatusCode ¶
func (o *UpdateTranslationDefault) SetStatusCode(code int)
SetStatusCode sets the status to the update translation default response
func (*UpdateTranslationDefault) UpdateTranslationResponder ¶
func (o *UpdateTranslationDefault) UpdateTranslationResponder()
func (*UpdateTranslationDefault) WithPayload ¶
func (o *UpdateTranslationDefault) WithPayload(payload *model.Error) *UpdateTranslationDefault
WithPayload adds the payload to the update translation default response
func (*UpdateTranslationDefault) WithStatusCode ¶
func (o *UpdateTranslationDefault) WithStatusCode(code int) *UpdateTranslationDefault
WithStatusCode adds the status to the update translation default response
func (*UpdateTranslationDefault) WriteResponse ¶
func (o *UpdateTranslationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateTranslationHandler ¶
type UpdateTranslationHandler interface {
Handle(UpdateTranslationParams, *app.UserSession) UpdateTranslationResponder
}
UpdateTranslationHandler interface for that can handle valid update translation params
type UpdateTranslationHandlerFunc ¶
type UpdateTranslationHandlerFunc func(UpdateTranslationParams, *app.UserSession) UpdateTranslationResponder
UpdateTranslationHandlerFunc turns a function with the right signature into a update translation handler
func (UpdateTranslationHandlerFunc) Handle ¶
func (fn UpdateTranslationHandlerFunc) Handle(params UpdateTranslationParams, principal *app.UserSession) UpdateTranslationResponder
Handle executing the request and returning a response
type UpdateTranslationNoContent ¶
type UpdateTranslationNoContent struct { }
UpdateTranslationNoContent No content in answer
swagger:response updateTranslationNoContent
func NewUpdateTranslationNoContent ¶
func NewUpdateTranslationNoContent() *UpdateTranslationNoContent
NewUpdateTranslationNoContent creates UpdateTranslationNoContent with default headers values
func (*UpdateTranslationNoContent) UpdateTranslationResponder ¶
func (o *UpdateTranslationNoContent) UpdateTranslationResponder()
func (*UpdateTranslationNoContent) WriteResponse ¶
func (o *UpdateTranslationNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateTranslationNotImplementedResponder ¶
type UpdateTranslationNotImplementedResponder struct {
middleware.Responder
}
func (*UpdateTranslationNotImplementedResponder) UpdateTranslationResponder ¶
func (*UpdateTranslationNotImplementedResponder) UpdateTranslationResponder()
type UpdateTranslationParams ¶
type UpdateTranslationParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Args UpdateTranslationBody /* Required: true Minimum: 1 In: path */ ID int64 }
UpdateTranslationParams contains all the bound params for the update translation operation typically these are obtained from a http.Request
swagger:parameters updateTranslation
func NewUpdateTranslationParams ¶
func NewUpdateTranslationParams() UpdateTranslationParams
NewUpdateTranslationParams creates a new UpdateTranslationParams object
There are no default values defined in the spec.
func (*UpdateTranslationParams) BindRequest ¶
func (o *UpdateTranslationParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewUpdateTranslationParams() beforehand.
type UpdateTranslationResponder ¶
type UpdateTranslationResponder interface { middleware.Responder UpdateTranslationResponder() }
func UpdateTranslationNotImplemented ¶
func UpdateTranslationNotImplemented() UpdateTranslationResponder
type UpdateTranslationURL ¶
type UpdateTranslationURL struct { ID int64 // contains filtered or unexported fields }
UpdateTranslationURL generates an URL for the update translation operation
func (*UpdateTranslationURL) Build ¶
func (o *UpdateTranslationURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateTranslationURL) BuildFull ¶
func (o *UpdateTranslationURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateTranslationURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateTranslationURL) SetBasePath ¶
func (o *UpdateTranslationURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*UpdateTranslationURL) String ¶
func (o *UpdateTranslationURL) String() string
String returns the string representation of the path with query string
func (*UpdateTranslationURL) StringFull ¶
func (o *UpdateTranslationURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateTranslationURL) WithBasePath ¶
func (o *UpdateTranslationURL) WithBasePath(bp string) *UpdateTranslationURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type UserChangePassword ¶
type UserChangePassword struct { Context *middleware.Context Handler UserChangePasswordHandler }
UserChangePassword swagger:route PUT /user/change-password userChangePassword
user change password
func NewUserChangePassword ¶
func NewUserChangePassword(ctx *middleware.Context, handler UserChangePasswordHandler) *UserChangePassword
NewUserChangePassword creates a new http.Handler for the user change password operation
func (*UserChangePassword) ServeHTTP ¶
func (o *UserChangePassword) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UserChangePasswordBody ¶
type UserChangePasswordBody struct { // new password // Required: true // Max Length: 100 // Min Length: 8 NewPassword *string `json:"new_password"` // old password // Required: true // Max Length: 100 // Min Length: 8 OldPassword *string `json:"old_password"` // repeat password // Required: true // Max Length: 100 // Min Length: 8 RepeatPassword *string `json:"repeat_password"` }
UserChangePasswordBody user change password body
swagger:model UserChangePasswordBody
func (*UserChangePasswordBody) ContextValidate ¶
func (o *UserChangePasswordBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this user change password body based on context it is used
func (*UserChangePasswordBody) MarshalBinary ¶
func (o *UserChangePasswordBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserChangePasswordBody) UnmarshalBinary ¶
func (o *UserChangePasswordBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UserChangePasswordBody) UnmarshalJSON ¶
func (o *UserChangePasswordBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type UserChangePasswordDefault ¶
type UserChangePasswordDefault struct { /* In: Body */ Payload *model.Error `json:"body,omitempty"` // contains filtered or unexported fields }
UserChangePasswordDefault General errors using same model as used by go-swagger for validation errors.
swagger:response userChangePasswordDefault
func NewUserChangePasswordDefault ¶
func NewUserChangePasswordDefault(code int) *UserChangePasswordDefault
NewUserChangePasswordDefault creates UserChangePasswordDefault with default headers values
func (*UserChangePasswordDefault) SetPayload ¶
func (o *UserChangePasswordDefault) SetPayload(payload *model.Error)
SetPayload sets the payload to the user change password default response
func (*UserChangePasswordDefault) SetStatusCode ¶
func (o *UserChangePasswordDefault) SetStatusCode(code int)
SetStatusCode sets the status to the user change password default response
func (*UserChangePasswordDefault) UserChangePasswordResponder ¶
func (o *UserChangePasswordDefault) UserChangePasswordResponder()
func (*UserChangePasswordDefault) WithPayload ¶
func (o *UserChangePasswordDefault) WithPayload(payload *model.Error) *UserChangePasswordDefault
WithPayload adds the payload to the user change password default response
func (*UserChangePasswordDefault) WithStatusCode ¶
func (o *UserChangePasswordDefault) WithStatusCode(code int) *UserChangePasswordDefault
WithStatusCode adds the status to the user change password default response
func (*UserChangePasswordDefault) WriteResponse ¶
func (o *UserChangePasswordDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UserChangePasswordHandler ¶
type UserChangePasswordHandler interface {
Handle(UserChangePasswordParams, *app.UserSession) UserChangePasswordResponder
}
UserChangePasswordHandler interface for that can handle valid user change password params
type UserChangePasswordHandlerFunc ¶
type UserChangePasswordHandlerFunc func(UserChangePasswordParams, *app.UserSession) UserChangePasswordResponder
UserChangePasswordHandlerFunc turns a function with the right signature into a user change password handler
func (UserChangePasswordHandlerFunc) Handle ¶
func (fn UserChangePasswordHandlerFunc) Handle(params UserChangePasswordParams, principal *app.UserSession) UserChangePasswordResponder
Handle executing the request and returning a response
type UserChangePasswordNoContent ¶
type UserChangePasswordNoContent struct { }
UserChangePasswordNoContent No content in answer
swagger:response userChangePasswordNoContent
func NewUserChangePasswordNoContent ¶
func NewUserChangePasswordNoContent() *UserChangePasswordNoContent
NewUserChangePasswordNoContent creates UserChangePasswordNoContent with default headers values
func (*UserChangePasswordNoContent) UserChangePasswordResponder ¶
func (o *UserChangePasswordNoContent) UserChangePasswordResponder()
func (*UserChangePasswordNoContent) WriteResponse ¶
func (o *UserChangePasswordNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UserChangePasswordNotImplementedResponder ¶
type UserChangePasswordNotImplementedResponder struct {
middleware.Responder
}
func (*UserChangePasswordNotImplementedResponder) UserChangePasswordResponder ¶
func (*UserChangePasswordNotImplementedResponder) UserChangePasswordResponder()
type UserChangePasswordParams ¶
type UserChangePasswordParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Args UserChangePasswordBody }
UserChangePasswordParams contains all the bound params for the user change password operation typically these are obtained from a http.Request
swagger:parameters userChangePassword
func NewUserChangePasswordParams ¶
func NewUserChangePasswordParams() UserChangePasswordParams
NewUserChangePasswordParams creates a new UserChangePasswordParams object
There are no default values defined in the spec.
func (*UserChangePasswordParams) BindRequest ¶
func (o *UserChangePasswordParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewUserChangePasswordParams() beforehand.
type UserChangePasswordResponder ¶
type UserChangePasswordResponder interface { middleware.Responder UserChangePasswordResponder() }
func UserChangePasswordNotImplemented ¶
func UserChangePasswordNotImplemented() UserChangePasswordResponder
type UserChangePasswordURL ¶
type UserChangePasswordURL struct {
// contains filtered or unexported fields
}
UserChangePasswordURL generates an URL for the user change password operation
func (*UserChangePasswordURL) Build ¶
func (o *UserChangePasswordURL) Build() (*url.URL, error)
Build a url path and query string
func (*UserChangePasswordURL) BuildFull ¶
func (o *UserChangePasswordURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UserChangePasswordURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UserChangePasswordURL) SetBasePath ¶
func (o *UserChangePasswordURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*UserChangePasswordURL) String ¶
func (o *UserChangePasswordURL) String() string
String returns the string representation of the path with query string
func (*UserChangePasswordURL) StringFull ¶
func (o *UserChangePasswordURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UserChangePasswordURL) WithBasePath ¶
func (o *UserChangePasswordURL) WithBasePath(bp string) *UserChangePasswordURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type UserChangeProfile ¶
type UserChangeProfile struct { Context *middleware.Context Handler UserChangeProfileHandler }
UserChangeProfile swagger:route PUT /user/change-profile userChangeProfile
user change profile
func NewUserChangeProfile ¶
func NewUserChangeProfile(ctx *middleware.Context, handler UserChangeProfileHandler) *UserChangeProfile
NewUserChangeProfile creates a new http.Handler for the user change profile operation
func (*UserChangeProfile) ServeHTTP ¶
func (o *UserChangeProfile) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UserChangeProfileBody ¶
type UserChangeProfileBody struct { // email // Required: true // Max Length: 100 // Min Length: 1 Email *string `json:"email"` // first name // Required: true // Max Length: 100 // Min Length: 1 FirstName *string `json:"first_name"` // role // Enum: [admin moderator translator user] Role *string `json:"role,omitempty"` // second name // Required: true // Max Length: 100 // Min Length: 1 SecondName *string `json:"second_name"` // status // Enum: [active not active banned] Status *string `json:"status,omitempty"` // user id UserID int64 `json:"user_id,omitempty"` }
UserChangeProfileBody user change profile body
swagger:model UserChangeProfileBody
func (*UserChangeProfileBody) ContextValidate ¶
ContextValidate validates this user change profile body based on context it is used
func (*UserChangeProfileBody) MarshalBinary ¶
func (o *UserChangeProfileBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserChangeProfileBody) UnmarshalBinary ¶
func (o *UserChangeProfileBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UserChangeProfileBody) UnmarshalJSON ¶
func (o *UserChangeProfileBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type UserChangeProfileDefault ¶
type UserChangeProfileDefault struct { /* In: Body */ Payload *model.Error `json:"body,omitempty"` // contains filtered or unexported fields }
UserChangeProfileDefault General errors using same model as used by go-swagger for validation errors.
swagger:response userChangeProfileDefault
func NewUserChangeProfileDefault ¶
func NewUserChangeProfileDefault(code int) *UserChangeProfileDefault
NewUserChangeProfileDefault creates UserChangeProfileDefault with default headers values
func (*UserChangeProfileDefault) SetPayload ¶
func (o *UserChangeProfileDefault) SetPayload(payload *model.Error)
SetPayload sets the payload to the user change profile default response
func (*UserChangeProfileDefault) SetStatusCode ¶
func (o *UserChangeProfileDefault) SetStatusCode(code int)
SetStatusCode sets the status to the user change profile default response
func (*UserChangeProfileDefault) UserChangeProfileResponder ¶
func (o *UserChangeProfileDefault) UserChangeProfileResponder()
func (*UserChangeProfileDefault) WithPayload ¶
func (o *UserChangeProfileDefault) WithPayload(payload *model.Error) *UserChangeProfileDefault
WithPayload adds the payload to the user change profile default response
func (*UserChangeProfileDefault) WithStatusCode ¶
func (o *UserChangeProfileDefault) WithStatusCode(code int) *UserChangeProfileDefault
WithStatusCode adds the status to the user change profile default response
func (*UserChangeProfileDefault) WriteResponse ¶
func (o *UserChangeProfileDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UserChangeProfileHandler ¶
type UserChangeProfileHandler interface {
Handle(UserChangeProfileParams, *app.UserSession) UserChangeProfileResponder
}
UserChangeProfileHandler interface for that can handle valid user change profile params
type UserChangeProfileHandlerFunc ¶
type UserChangeProfileHandlerFunc func(UserChangeProfileParams, *app.UserSession) UserChangeProfileResponder
UserChangeProfileHandlerFunc turns a function with the right signature into a user change profile handler
func (UserChangeProfileHandlerFunc) Handle ¶
func (fn UserChangeProfileHandlerFunc) Handle(params UserChangeProfileParams, principal *app.UserSession) UserChangeProfileResponder
Handle executing the request and returning a response
type UserChangeProfileNoContent ¶
type UserChangeProfileNoContent struct { }
UserChangeProfileNoContent No content in answer
swagger:response userChangeProfileNoContent
func NewUserChangeProfileNoContent ¶
func NewUserChangeProfileNoContent() *UserChangeProfileNoContent
NewUserChangeProfileNoContent creates UserChangeProfileNoContent with default headers values
func (*UserChangeProfileNoContent) UserChangeProfileResponder ¶
func (o *UserChangeProfileNoContent) UserChangeProfileResponder()
func (*UserChangeProfileNoContent) WriteResponse ¶
func (o *UserChangeProfileNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UserChangeProfileNotImplementedResponder ¶
type UserChangeProfileNotImplementedResponder struct {
middleware.Responder
}
func (*UserChangeProfileNotImplementedResponder) UserChangeProfileResponder ¶
func (*UserChangeProfileNotImplementedResponder) UserChangeProfileResponder()
type UserChangeProfileParams ¶
type UserChangeProfileParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Args UserChangeProfileBody }
UserChangeProfileParams contains all the bound params for the user change profile operation typically these are obtained from a http.Request
swagger:parameters userChangeProfile
func NewUserChangeProfileParams ¶
func NewUserChangeProfileParams() UserChangeProfileParams
NewUserChangeProfileParams creates a new UserChangeProfileParams object
There are no default values defined in the spec.
func (*UserChangeProfileParams) BindRequest ¶
func (o *UserChangeProfileParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewUserChangeProfileParams() beforehand.
type UserChangeProfileResponder ¶
type UserChangeProfileResponder interface { middleware.Responder UserChangeProfileResponder() }
func UserChangeProfileNotImplemented ¶
func UserChangeProfileNotImplemented() UserChangeProfileResponder
type UserChangeProfileURL ¶
type UserChangeProfileURL struct {
// contains filtered or unexported fields
}
UserChangeProfileURL generates an URL for the user change profile operation
func (*UserChangeProfileURL) Build ¶
func (o *UserChangeProfileURL) Build() (*url.URL, error)
Build a url path and query string
func (*UserChangeProfileURL) BuildFull ¶
func (o *UserChangeProfileURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UserChangeProfileURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UserChangeProfileURL) SetBasePath ¶
func (o *UserChangeProfileURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*UserChangeProfileURL) String ¶
func (o *UserChangeProfileURL) String() string
String returns the string representation of the path with query string
func (*UserChangeProfileURL) StringFull ¶
func (o *UserChangeProfileURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UserChangeProfileURL) WithBasePath ¶
func (o *UserChangeProfileURL) WithBasePath(bp string) *UserChangeProfileURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type UserChangeStatus ¶
type UserChangeStatus struct { Context *middleware.Context Handler UserChangeStatusHandler }
UserChangeStatus swagger:route PUT /user/change-status userChangeStatus
user change status
func NewUserChangeStatus ¶
func NewUserChangeStatus(ctx *middleware.Context, handler UserChangeStatusHandler) *UserChangeStatus
NewUserChangeStatus creates a new http.Handler for the user change status operation
func (*UserChangeStatus) ServeHTTP ¶
func (o *UserChangeStatus) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UserChangeStatusBody ¶
type UserChangeStatusBody struct { // status // Required: true Status *int64 `json:"status"` // user id // Required: true UserID *int64 `json:"user_id"` }
UserChangeStatusBody user change status body
swagger:model UserChangeStatusBody
func (*UserChangeStatusBody) ContextValidate ¶
ContextValidate validates this user change status body based on context it is used
func (*UserChangeStatusBody) MarshalBinary ¶
func (o *UserChangeStatusBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserChangeStatusBody) UnmarshalBinary ¶
func (o *UserChangeStatusBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UserChangeStatusBody) UnmarshalJSON ¶
func (o *UserChangeStatusBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type UserChangeStatusDefault ¶
type UserChangeStatusDefault struct { /* In: Body */ Payload *model.Error `json:"body,omitempty"` // contains filtered or unexported fields }
UserChangeStatusDefault General errors using same model as used by go-swagger for validation errors.
swagger:response userChangeStatusDefault
func NewUserChangeStatusDefault ¶
func NewUserChangeStatusDefault(code int) *UserChangeStatusDefault
NewUserChangeStatusDefault creates UserChangeStatusDefault with default headers values
func (*UserChangeStatusDefault) SetPayload ¶
func (o *UserChangeStatusDefault) SetPayload(payload *model.Error)
SetPayload sets the payload to the user change status default response
func (*UserChangeStatusDefault) SetStatusCode ¶
func (o *UserChangeStatusDefault) SetStatusCode(code int)
SetStatusCode sets the status to the user change status default response
func (*UserChangeStatusDefault) UserChangeStatusResponder ¶
func (o *UserChangeStatusDefault) UserChangeStatusResponder()
func (*UserChangeStatusDefault) WithPayload ¶
func (o *UserChangeStatusDefault) WithPayload(payload *model.Error) *UserChangeStatusDefault
WithPayload adds the payload to the user change status default response
func (*UserChangeStatusDefault) WithStatusCode ¶
func (o *UserChangeStatusDefault) WithStatusCode(code int) *UserChangeStatusDefault
WithStatusCode adds the status to the user change status default response
func (*UserChangeStatusDefault) WriteResponse ¶
func (o *UserChangeStatusDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UserChangeStatusHandler ¶
type UserChangeStatusHandler interface {
Handle(UserChangeStatusParams, *app.UserSession) UserChangeStatusResponder
}
UserChangeStatusHandler interface for that can handle valid user change status params
type UserChangeStatusHandlerFunc ¶
type UserChangeStatusHandlerFunc func(UserChangeStatusParams, *app.UserSession) UserChangeStatusResponder
UserChangeStatusHandlerFunc turns a function with the right signature into a user change status handler
func (UserChangeStatusHandlerFunc) Handle ¶
func (fn UserChangeStatusHandlerFunc) Handle(params UserChangeStatusParams, principal *app.UserSession) UserChangeStatusResponder
Handle executing the request and returning a response
type UserChangeStatusNoContent ¶
type UserChangeStatusNoContent struct { }
UserChangeStatusNoContent No content in answer
swagger:response userChangeStatusNoContent
func NewUserChangeStatusNoContent ¶
func NewUserChangeStatusNoContent() *UserChangeStatusNoContent
NewUserChangeStatusNoContent creates UserChangeStatusNoContent with default headers values
func (*UserChangeStatusNoContent) UserChangeStatusResponder ¶
func (o *UserChangeStatusNoContent) UserChangeStatusResponder()
func (*UserChangeStatusNoContent) WriteResponse ¶
func (o *UserChangeStatusNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UserChangeStatusNotImplementedResponder ¶
type UserChangeStatusNotImplementedResponder struct {
middleware.Responder
}
func (*UserChangeStatusNotImplementedResponder) UserChangeStatusResponder ¶
func (*UserChangeStatusNotImplementedResponder) UserChangeStatusResponder()
type UserChangeStatusParams ¶
type UserChangeStatusParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Args UserChangeStatusBody }
UserChangeStatusParams contains all the bound params for the user change status operation typically these are obtained from a http.Request
swagger:parameters userChangeStatus
func NewUserChangeStatusParams ¶
func NewUserChangeStatusParams() UserChangeStatusParams
NewUserChangeStatusParams creates a new UserChangeStatusParams object
There are no default values defined in the spec.
func (*UserChangeStatusParams) BindRequest ¶
func (o *UserChangeStatusParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewUserChangeStatusParams() beforehand.
type UserChangeStatusResponder ¶
type UserChangeStatusResponder interface { middleware.Responder UserChangeStatusResponder() }
func UserChangeStatusNotImplemented ¶
func UserChangeStatusNotImplemented() UserChangeStatusResponder
type UserChangeStatusURL ¶
type UserChangeStatusURL struct {
// contains filtered or unexported fields
}
UserChangeStatusURL generates an URL for the user change status operation
func (*UserChangeStatusURL) Build ¶
func (o *UserChangeStatusURL) Build() (*url.URL, error)
Build a url path and query string
func (*UserChangeStatusURL) BuildFull ¶
func (o *UserChangeStatusURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UserChangeStatusURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UserChangeStatusURL) SetBasePath ¶
func (o *UserChangeStatusURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*UserChangeStatusURL) String ¶
func (o *UserChangeStatusURL) String() string
String returns the string representation of the path with query string
func (*UserChangeStatusURL) StringFull ¶
func (o *UserChangeStatusURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UserChangeStatusURL) WithBasePath ¶
func (o *UserChangeStatusURL) WithBasePath(bp string) *UserChangeStatusURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type UserMe ¶
type UserMe struct { Context *middleware.Context Handler UserMeHandler }
UserMe swagger:route GET /user/me userMe
get own user information
func NewUserMe ¶
func NewUserMe(ctx *middleware.Context, handler UserMeHandler) *UserMe
NewUserMe creates a new http.Handler for the user me operation
type UserMeDefault ¶
type UserMeDefault struct { /* In: Body */ Payload *model.Error `json:"body,omitempty"` // contains filtered or unexported fields }
UserMeDefault General errors using same model as used by go-swagger for validation errors.
swagger:response userMeDefault
func NewUserMeDefault ¶
func NewUserMeDefault(code int) *UserMeDefault
NewUserMeDefault creates UserMeDefault with default headers values
func (*UserMeDefault) SetPayload ¶
func (o *UserMeDefault) SetPayload(payload *model.Error)
SetPayload sets the payload to the user me default response
func (*UserMeDefault) SetStatusCode ¶
func (o *UserMeDefault) SetStatusCode(code int)
SetStatusCode sets the status to the user me default response
func (*UserMeDefault) UserMeResponder ¶
func (o *UserMeDefault) UserMeResponder()
func (*UserMeDefault) WithPayload ¶
func (o *UserMeDefault) WithPayload(payload *model.Error) *UserMeDefault
WithPayload adds the payload to the user me default response
func (*UserMeDefault) WithStatusCode ¶
func (o *UserMeDefault) WithStatusCode(code int) *UserMeDefault
WithStatusCode adds the status to the user me default response
func (*UserMeDefault) WriteResponse ¶
func (o *UserMeDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UserMeHandler ¶
type UserMeHandler interface {
Handle(UserMeParams, *app.UserSession) UserMeResponder
}
UserMeHandler interface for that can handle valid user me params
type UserMeHandlerFunc ¶
type UserMeHandlerFunc func(UserMeParams, *app.UserSession) UserMeResponder
UserMeHandlerFunc turns a function with the right signature into a user me handler
func (UserMeHandlerFunc) Handle ¶
func (fn UserMeHandlerFunc) Handle(params UserMeParams, principal *app.UserSession) UserMeResponder
Handle executing the request and returning a response
type UserMeNotImplementedResponder ¶
type UserMeNotImplementedResponder struct {
middleware.Responder
}
func (*UserMeNotImplementedResponder) UserMeResponder ¶
func (*UserMeNotImplementedResponder) UserMeResponder()
type UserMeOK ¶
UserMeOK user model
swagger:response userMeOK
func NewUserMeOK ¶
func NewUserMeOK() *UserMeOK
NewUserMeOK creates UserMeOK with default headers values
func (*UserMeOK) SetPayload ¶
SetPayload sets the payload to the user me o k response
func (*UserMeOK) UserMeResponder ¶
func (o *UserMeOK) UserMeResponder()
func (*UserMeOK) WithPayload ¶
WithPayload adds the payload to the user me o k response
func (*UserMeOK) WriteResponse ¶
func (o *UserMeOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UserMeParams ¶
UserMeParams contains all the bound params for the user me operation typically these are obtained from a http.Request
swagger:parameters userMe
func NewUserMeParams ¶
func NewUserMeParams() UserMeParams
NewUserMeParams creates a new UserMeParams object
There are no default values defined in the spec.
func (*UserMeParams) BindRequest ¶
func (o *UserMeParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewUserMeParams() beforehand.
type UserMeResponder ¶
type UserMeResponder interface { middleware.Responder UserMeResponder() }
func UserMeNotImplemented ¶
func UserMeNotImplemented() UserMeResponder
type UserMeURL ¶
type UserMeURL struct {
// contains filtered or unexported fields
}
UserMeURL generates an URL for the user me operation
func (*UserMeURL) SetBasePath ¶
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*UserMeURL) StringFull ¶
StringFull returns the string representation of a complete url
func (*UserMeURL) WithBasePath ¶
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type Version ¶
type Version struct { Context *middleware.Context Handler VersionHandler }
Version swagger:route GET /version version
get actual version of translation files ( 0 - web, 1 - ios, 2 - android) or translations (3 - get last updated date)
func NewVersion ¶
func NewVersion(ctx *middleware.Context, handler VersionHandler) *Version
NewVersion creates a new http.Handler for the version operation
type VersionDefault ¶
type VersionDefault struct { /* In: Body */ Payload *model.Error `json:"body,omitempty"` // contains filtered or unexported fields }
VersionDefault General errors using same model as used by go-swagger for validation errors.
swagger:response versionDefault
func NewVersionDefault ¶
func NewVersionDefault(code int) *VersionDefault
NewVersionDefault creates VersionDefault with default headers values
func (*VersionDefault) SetPayload ¶
func (o *VersionDefault) SetPayload(payload *model.Error)
SetPayload sets the payload to the version default response
func (*VersionDefault) SetStatusCode ¶
func (o *VersionDefault) SetStatusCode(code int)
SetStatusCode sets the status to the version default response
func (*VersionDefault) VersionResponder ¶
func (o *VersionDefault) VersionResponder()
func (*VersionDefault) WithPayload ¶
func (o *VersionDefault) WithPayload(payload *model.Error) *VersionDefault
WithPayload adds the payload to the version default response
func (*VersionDefault) WithStatusCode ¶
func (o *VersionDefault) WithStatusCode(code int) *VersionDefault
WithStatusCode adds the status to the version default response
func (*VersionDefault) WriteResponse ¶
func (o *VersionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VersionHandler ¶
type VersionHandler interface {
Handle(VersionParams, *app.UserSession) VersionResponder
}
VersionHandler interface for that can handle valid version params
type VersionHandlerFunc ¶
type VersionHandlerFunc func(VersionParams, *app.UserSession) VersionResponder
VersionHandlerFunc turns a function with the right signature into a version handler
func (VersionHandlerFunc) Handle ¶
func (fn VersionHandlerFunc) Handle(params VersionParams, principal *app.UserSession) VersionResponder
Handle executing the request and returning a response
type VersionNotImplementedResponder ¶
type VersionNotImplementedResponder struct {
middleware.Responder
}
func (*VersionNotImplementedResponder) VersionResponder ¶
func (*VersionNotImplementedResponder) VersionResponder()
type VersionOK ¶
VersionOK List of all actual version translations
swagger:response versionOK
func NewVersionOK ¶
func NewVersionOK() *VersionOK
NewVersionOK creates VersionOK with default headers values
func (*VersionOK) SetPayload ¶
SetPayload sets the payload to the version o k response
func (*VersionOK) VersionResponder ¶
func (o *VersionOK) VersionResponder()
func (*VersionOK) WithPayload ¶
WithPayload adds the payload to the version o k response
func (*VersionOK) WriteResponse ¶
func (o *VersionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VersionParams ¶
type VersionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Minimum: 1 In: query */ LocalizationID *int64 /* Minimum: -1 In: query Default: -1 */ Platform *int64 }
VersionParams contains all the bound params for the version operation typically these are obtained from a http.Request
swagger:parameters version
func NewVersionParams ¶
func NewVersionParams() VersionParams
NewVersionParams creates a new VersionParams object with the default values initialized.
func (*VersionParams) BindRequest ¶
func (o *VersionParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewVersionParams() beforehand.
type VersionResponder ¶
type VersionResponder interface { middleware.Responder VersionResponder() }
func VersionNotImplemented ¶
func VersionNotImplemented() VersionResponder
type VersionURL ¶
type VersionURL struct { LocalizationID *int64 Platform *int64 // contains filtered or unexported fields }
VersionURL generates an URL for the version operation
func (*VersionURL) Build ¶
func (o *VersionURL) Build() (*url.URL, error)
Build a url path and query string
func (*VersionURL) BuildFull ¶
func (o *VersionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*VersionURL) SetBasePath ¶
func (o *VersionURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*VersionURL) String ¶
func (o *VersionURL) String() string
String returns the string representation of the path with query string
func (*VersionURL) StringFull ¶
func (o *VersionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*VersionURL) WithBasePath ¶
func (o *VersionURL) WithBasePath(bp string) *VersionURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
Source Files
¶
- auto_translation.go
- auto_translation_parameters.go
- auto_translation_responses.go
- auto_translation_urlbuilder.go
- create_category.go
- create_category_parameters.go
- create_category_responses.go
- create_category_urlbuilder.go
- create_identifier.go
- create_identifier_parameters.go
- create_identifier_responses.go
- create_identifier_urlbuilder.go
- create_localization.go
- create_localization_parameters.go
- create_localization_responses.go
- create_localization_urlbuilder.go
- create_translation.go
- create_translation_files.go
- create_translation_files_parameters.go
- create_translation_files_responses.go
- create_translation_files_urlbuilder.go
- create_translation_parameters.go
- create_translation_responses.go
- create_translation_urlbuilder.go
- delete_category.go
- delete_category_parameters.go
- delete_category_responses.go
- delete_category_urlbuilder.go
- delete_identifier.go
- delete_identifier_parameters.go
- delete_identifier_responses.go
- delete_identifier_urlbuilder.go
- delete_localization.go
- delete_localization_parameters.go
- delete_localization_responses.go
- delete_localization_urlbuilder.go
- delete_translation.go
- delete_translation_file.go
- delete_translation_file_parameters.go
- delete_translation_file_responses.go
- delete_translation_file_urlbuilder.go
- delete_translation_parameters.go
- delete_translation_responses.go
- delete_translation_urlbuilder.go
- freon_frontend_api.go
- health_check.go
- health_check_parameters.go
- health_check_responses.go
- health_check_urlbuilder.go
- info.go
- info_parameters.go
- info_responses.go
- info_urlbuilder.go
- list_categories.go
- list_categories_parameters.go
- list_categories_responses.go
- list_categories_urlbuilder.go
- list_identifiers.go
- list_identifiers_parameters.go
- list_identifiers_responses.go
- list_identifiers_urlbuilder.go
- list_localization.go
- list_localization_parameters.go
- list_localization_responses.go
- list_localization_urlbuilder.go
- list_translation_files.go
- list_translation_files_parameters.go
- list_translation_files_responses.go
- list_translation_files_urlbuilder.go
- list_translations.go
- list_translations_parameters.go
- list_translations_responses.go
- list_translations_urlbuilder.go
- list_user.go
- list_user_parameters.go
- list_user_responses.go
- list_user_urlbuilder.go
- login.go
- login_parameters.go
- login_responses.go
- login_urlbuilder.go
- logout_user.go
- logout_user_parameters.go
- logout_user_responses.go
- logout_user_urlbuilder.go
- reg_user.go
- reg_user_parameters.go
- reg_user_responses.go
- reg_user_urlbuilder.go
- setting_storage.go
- setting_storage_parameters.go
- setting_storage_responses.go
- setting_storage_urlbuilder.go
- setting_translation.go
- setting_translation_parameters.go
- setting_translation_responses.go
- setting_translation_urlbuilder.go
- settings.go
- settings_parameters.go
- settings_responses.go
- settings_urlbuilder.go
- statistic.go
- statistic_parameters.go
- statistic_responses.go
- statistic_urlbuilder.go
- status_translation.go
- status_translation_parameters.go
- status_translation_responses.go
- status_translation_urlbuilder.go
- supported_languages.go
- supported_languages_parameters.go
- supported_languages_responses.go
- supported_languages_urlbuilder.go
- update_category.go
- update_category_parameters.go
- update_category_responses.go
- update_category_urlbuilder.go
- update_identifier.go
- update_identifier_parameters.go
- update_identifier_responses.go
- update_identifier_urlbuilder.go
- update_translation.go
- update_translation_parameters.go
- update_translation_responses.go
- update_translation_urlbuilder.go
- user_change_password.go
- user_change_password_parameters.go
- user_change_password_responses.go
- user_change_password_urlbuilder.go
- user_change_profile.go
- user_change_profile_parameters.go
- user_change_profile_responses.go
- user_change_profile_urlbuilder.go
- user_change_status.go
- user_change_status_parameters.go
- user_change_status_responses.go
- user_change_status_urlbuilder.go
- user_me.go
- user_me_parameters.go
- user_me_responses.go
- user_me_urlbuilder.go
- version.go
- version_parameters.go
- version_responses.go
- version_urlbuilder.go