Documentation ¶
Index ¶
- Constants
- type GetItems
- type GetItemsHandler
- type GetItemsHandlerFunc
- type GetItemsName
- type GetItemsNameHandler
- type GetItemsNameHandlerFunc
- type GetItemsNameImages
- type GetItemsNameImagesHandler
- type GetItemsNameImagesHandlerFunc
- type GetItemsNameImagesImageName
- type GetItemsNameImagesImageNameHandler
- type GetItemsNameImagesImageNameHandlerFunc
- type GetItemsNameImagesImageNameNotFound
- type GetItemsNameImagesImageNameOK
- type GetItemsNameImagesImageNameParams
- type GetItemsNameImagesImageNameURL
- func (o *GetItemsNameImagesImageNameURL) Build() (*url.URL, error)
- func (o *GetItemsNameImagesImageNameURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetItemsNameImagesImageNameURL) Must(u *url.URL, err error) *url.URL
- func (o *GetItemsNameImagesImageNameURL) SetBasePath(bp string)
- func (o *GetItemsNameImagesImageNameURL) String() string
- func (o *GetItemsNameImagesImageNameURL) StringFull(scheme, host string) string
- func (o *GetItemsNameImagesImageNameURL) WithBasePath(bp string) *GetItemsNameImagesImageNameURL
- type GetItemsNameImagesOK
- type GetItemsNameImagesParams
- type GetItemsNameImagesURL
- func (o *GetItemsNameImagesURL) Build() (*url.URL, error)
- func (o *GetItemsNameImagesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetItemsNameImagesURL) Must(u *url.URL, err error) *url.URL
- func (o *GetItemsNameImagesURL) SetBasePath(bp string)
- func (o *GetItemsNameImagesURL) String() string
- func (o *GetItemsNameImagesURL) StringFull(scheme, host string) string
- func (o *GetItemsNameImagesURL) WithBasePath(bp string) *GetItemsNameImagesURL
- type GetItemsNameNotFound
- type GetItemsNameOK
- type GetItemsNameParams
- type GetItemsNameURL
- func (o *GetItemsNameURL) Build() (*url.URL, error)
- func (o *GetItemsNameURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetItemsNameURL) Must(u *url.URL, err error) *url.URL
- func (o *GetItemsNameURL) SetBasePath(bp string)
- func (o *GetItemsNameURL) String() string
- func (o *GetItemsNameURL) StringFull(scheme, host string) string
- func (o *GetItemsNameURL) WithBasePath(bp string) *GetItemsNameURL
- type GetItemsOK
- type GetItemsParams
- type GetItemsURL
- func (o *GetItemsURL) Build() (*url.URL, error)
- func (o *GetItemsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetItemsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetItemsURL) SetBasePath(bp string)
- func (o *GetItemsURL) String() string
- func (o *GetItemsURL) StringFull(scheme, host string) string
- func (o *GetItemsURL) WithBasePath(bp string) *GetItemsURL
- type PostItems
- type PostItemsConflict
- type PostItemsCreated
- type PostItemsHandler
- type PostItemsHandlerFunc
- type PostItemsNameImages
- type PostItemsNameImagesConflict
- type PostItemsNameImagesCreated
- type PostItemsNameImagesHandler
- type PostItemsNameImagesHandlerFunc
- type PostItemsNameImagesParams
- type PostItemsNameImagesURL
- func (o *PostItemsNameImagesURL) Build() (*url.URL, error)
- func (o *PostItemsNameImagesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostItemsNameImagesURL) Must(u *url.URL, err error) *url.URL
- func (o *PostItemsNameImagesURL) SetBasePath(bp string)
- func (o *PostItemsNameImagesURL) String() string
- func (o *PostItemsNameImagesURL) StringFull(scheme, host string) string
- func (o *PostItemsNameImagesURL) WithBasePath(bp string) *PostItemsNameImagesURL
- type PostItemsParams
- type PostItemsURL
- func (o *PostItemsURL) Build() (*url.URL, error)
- func (o *PostItemsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostItemsURL) Must(u *url.URL, err error) *url.URL
- func (o *PostItemsURL) SetBasePath(bp string)
- func (o *PostItemsURL) String() string
- func (o *PostItemsURL) StringFull(scheme, host string) string
- func (o *PostItemsURL) WithBasePath(bp string) *PostItemsURL
- type PutItemsName
- type PutItemsNameHandler
- type PutItemsNameHandlerFunc
- type PutItemsNameImagesImageName
- type PutItemsNameImagesImageNameHandler
- type PutItemsNameImagesImageNameHandlerFunc
- type PutItemsNameImagesImageNameNoContent
- type PutItemsNameImagesImageNameNotFound
- type PutItemsNameImagesImageNameParams
- type PutItemsNameImagesImageNameURL
- func (o *PutItemsNameImagesImageNameURL) Build() (*url.URL, error)
- func (o *PutItemsNameImagesImageNameURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PutItemsNameImagesImageNameURL) Must(u *url.URL, err error) *url.URL
- func (o *PutItemsNameImagesImageNameURL) SetBasePath(bp string)
- func (o *PutItemsNameImagesImageNameURL) String() string
- func (o *PutItemsNameImagesImageNameURL) StringFull(scheme, host string) string
- func (o *PutItemsNameImagesImageNameURL) WithBasePath(bp string) *PutItemsNameImagesImageNameURL
- type PutItemsNameNoContent
- type PutItemsNameNotFound
- type PutItemsNameParams
- type PutItemsNameURL
- func (o *PutItemsNameURL) Build() (*url.URL, error)
- func (o *PutItemsNameURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PutItemsNameURL) Must(u *url.URL, err error) *url.URL
- func (o *PutItemsNameURL) SetBasePath(bp string)
- func (o *PutItemsNameURL) String() string
- func (o *PutItemsNameURL) StringFull(scheme, host string) string
- func (o *PutItemsNameURL) WithBasePath(bp string) *PutItemsNameURL
Constants ¶
const GetItemsNameImagesImageNameNotFoundCode int = 404
GetItemsNameImagesImageNameNotFoundCode is the HTTP code returned for type GetItemsNameImagesImageNameNotFound
const GetItemsNameImagesImageNameOKCode int = 200
GetItemsNameImagesImageNameOKCode is the HTTP code returned for type GetItemsNameImagesImageNameOK
const GetItemsNameImagesOKCode int = 200
GetItemsNameImagesOKCode is the HTTP code returned for type GetItemsNameImagesOK
const GetItemsNameNotFoundCode int = 404
GetItemsNameNotFoundCode is the HTTP code returned for type GetItemsNameNotFound
const GetItemsNameOKCode int = 200
GetItemsNameOKCode is the HTTP code returned for type GetItemsNameOK
const GetItemsOKCode int = 200
GetItemsOKCode is the HTTP code returned for type GetItemsOK
const PostItemsConflictCode int = 409
PostItemsConflictCode is the HTTP code returned for type PostItemsConflict
const PostItemsCreatedCode int = 201
PostItemsCreatedCode is the HTTP code returned for type PostItemsCreated
const PostItemsNameImagesConflictCode int = 409
PostItemsNameImagesConflictCode is the HTTP code returned for type PostItemsNameImagesConflict
const PostItemsNameImagesCreatedCode int = 201
PostItemsNameImagesCreatedCode is the HTTP code returned for type PostItemsNameImagesCreated
const PutItemsNameImagesImageNameNoContentCode int = 204
PutItemsNameImagesImageNameNoContentCode is the HTTP code returned for type PutItemsNameImagesImageNameNoContent
const PutItemsNameImagesImageNameNotFoundCode int = 404
PutItemsNameImagesImageNameNotFoundCode is the HTTP code returned for type PutItemsNameImagesImageNameNotFound
const PutItemsNameNoContentCode int = 204
PutItemsNameNoContentCode is the HTTP code returned for type PutItemsNameNoContent
const PutItemsNameNotFoundCode int = 404
PutItemsNameNotFoundCode is the HTTP code returned for type PutItemsNameNotFound
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetItems ¶
type GetItems struct { Context *middleware.Context Handler GetItemsHandler }
GetItems swagger:route GET /items Item getItems
装備情報を取得
装備情報を取得する
カテゴリによる絞り込みが可能(e.g. グラフィック装備, 生産装備(裁縫))
func NewGetItems ¶
func NewGetItems(ctx *middleware.Context, handler GetItemsHandler) *GetItems
NewGetItems creates a new http.Handler for the get items operation
type GetItemsHandler ¶
type GetItemsHandler interface {
Handle(GetItemsParams) middleware.Responder
}
GetItemsHandler interface for that can handle valid get items params
type GetItemsHandlerFunc ¶
type GetItemsHandlerFunc func(GetItemsParams) middleware.Responder
GetItemsHandlerFunc turns a function with the right signature into a get items handler
func (GetItemsHandlerFunc) Handle ¶
func (fn GetItemsHandlerFunc) Handle(params GetItemsParams) middleware.Responder
Handle executing the request and returning a response
type GetItemsName ¶
type GetItemsName struct { Context *middleware.Context Handler GetItemsNameHandler }
GetItemsName swagger:route GET /items/{name} Item getItemsName
指定した名前の装備情報を取得
名前を指定して装備情報を取得する
func NewGetItemsName ¶
func NewGetItemsName(ctx *middleware.Context, handler GetItemsNameHandler) *GetItemsName
NewGetItemsName creates a new http.Handler for the get items name operation
func (*GetItemsName) ServeHTTP ¶
func (o *GetItemsName) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetItemsNameHandler ¶
type GetItemsNameHandler interface {
Handle(GetItemsNameParams) middleware.Responder
}
GetItemsNameHandler interface for that can handle valid get items name params
type GetItemsNameHandlerFunc ¶
type GetItemsNameHandlerFunc func(GetItemsNameParams) middleware.Responder
GetItemsNameHandlerFunc turns a function with the right signature into a get items name handler
func (GetItemsNameHandlerFunc) Handle ¶
func (fn GetItemsNameHandlerFunc) Handle(params GetItemsNameParams) middleware.Responder
Handle executing the request and returning a response
type GetItemsNameImages ¶
type GetItemsNameImages struct { Context *middleware.Context Handler GetItemsNameImagesHandler }
GetItemsNameImages swagger:route GET /items/{name}/images Item getItemsNameImages
染色用画像を取得
装備名を指定して染色用画像を取得する
func NewGetItemsNameImages ¶
func NewGetItemsNameImages(ctx *middleware.Context, handler GetItemsNameImagesHandler) *GetItemsNameImages
NewGetItemsNameImages creates a new http.Handler for the get items name images operation
func (*GetItemsNameImages) ServeHTTP ¶
func (o *GetItemsNameImages) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetItemsNameImagesHandler ¶
type GetItemsNameImagesHandler interface {
Handle(GetItemsNameImagesParams) middleware.Responder
}
GetItemsNameImagesHandler interface for that can handle valid get items name images params
type GetItemsNameImagesHandlerFunc ¶
type GetItemsNameImagesHandlerFunc func(GetItemsNameImagesParams) middleware.Responder
GetItemsNameImagesHandlerFunc turns a function with the right signature into a get items name images handler
func (GetItemsNameImagesHandlerFunc) Handle ¶
func (fn GetItemsNameImagesHandlerFunc) Handle(params GetItemsNameImagesParams) middleware.Responder
Handle executing the request and returning a response
type GetItemsNameImagesImageName ¶
type GetItemsNameImagesImageName struct { Context *middleware.Context Handler GetItemsNameImagesImageNameHandler }
GetItemsNameImagesImageName swagger:route GET /items/{name}/images/{image_name} Item getItemsNameImagesImageName
名前を指定して染色用画像を取得
指定された名前の装備の画像セットの中から、 さらに名前を指定して画像セットを取得する
func NewGetItemsNameImagesImageName ¶
func NewGetItemsNameImagesImageName(ctx *middleware.Context, handler GetItemsNameImagesImageNameHandler) *GetItemsNameImagesImageName
NewGetItemsNameImagesImageName creates a new http.Handler for the get items name images image name operation
func (*GetItemsNameImagesImageName) ServeHTTP ¶
func (o *GetItemsNameImagesImageName) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetItemsNameImagesImageNameHandler ¶
type GetItemsNameImagesImageNameHandler interface {
Handle(GetItemsNameImagesImageNameParams) middleware.Responder
}
GetItemsNameImagesImageNameHandler interface for that can handle valid get items name images image name params
type GetItemsNameImagesImageNameHandlerFunc ¶
type GetItemsNameImagesImageNameHandlerFunc func(GetItemsNameImagesImageNameParams) middleware.Responder
GetItemsNameImagesImageNameHandlerFunc turns a function with the right signature into a get items name images image name handler
func (GetItemsNameImagesImageNameHandlerFunc) Handle ¶
func (fn GetItemsNameImagesImageNameHandlerFunc) Handle(params GetItemsNameImagesImageNameParams) middleware.Responder
Handle executing the request and returning a response
type GetItemsNameImagesImageNameNotFound ¶
type GetItemsNameImagesImageNameNotFound struct { }
GetItemsNameImagesImageNameNotFound 指定された名前の画像セットが存在しない
swagger:response getItemsNameImagesImageNameNotFound
func NewGetItemsNameImagesImageNameNotFound ¶
func NewGetItemsNameImagesImageNameNotFound() *GetItemsNameImagesImageNameNotFound
NewGetItemsNameImagesImageNameNotFound creates GetItemsNameImagesImageNameNotFound with default headers values
func (*GetItemsNameImagesImageNameNotFound) WriteResponse ¶
func (o *GetItemsNameImagesImageNameNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetItemsNameImagesImageNameOK ¶
type GetItemsNameImagesImageNameOK struct { /* In: Body */ Payload []*models.ImageSet `json:"body,omitempty"` }
GetItemsNameImagesImageNameOK 画像セット
swagger:response getItemsNameImagesImageNameOK
func NewGetItemsNameImagesImageNameOK ¶
func NewGetItemsNameImagesImageNameOK() *GetItemsNameImagesImageNameOK
NewGetItemsNameImagesImageNameOK creates GetItemsNameImagesImageNameOK with default headers values
func (*GetItemsNameImagesImageNameOK) SetPayload ¶
func (o *GetItemsNameImagesImageNameOK) SetPayload(payload []*models.ImageSet)
SetPayload sets the payload to the get items name images image name o k response
func (*GetItemsNameImagesImageNameOK) WithPayload ¶
func (o *GetItemsNameImagesImageNameOK) WithPayload(payload []*models.ImageSet) *GetItemsNameImagesImageNameOK
WithPayload adds the payload to the get items name images image name o k response
func (*GetItemsNameImagesImageNameOK) WriteResponse ¶
func (o *GetItemsNameImagesImageNameOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetItemsNameImagesImageNameParams ¶
type GetItemsNameImagesImageNameParams struct { // HTTP Request Object HTTPRequest *http.Request /*画像セットの名前 Required: true In: path */ ImageName string /*装備の名前 Required: true In: path */ Name string }
GetItemsNameImagesImageNameParams contains all the bound params for the get items name images image name operation typically these are obtained from a http.Request
swagger:parameters GetItemsNameImagesImageName
func NewGetItemsNameImagesImageNameParams ¶
func NewGetItemsNameImagesImageNameParams() GetItemsNameImagesImageNameParams
NewGetItemsNameImagesImageNameParams creates a new GetItemsNameImagesImageNameParams object with the default values initialized.
func (*GetItemsNameImagesImageNameParams) BindRequest ¶
func (o *GetItemsNameImagesImageNameParams) 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
type GetItemsNameImagesImageNameURL ¶
type GetItemsNameImagesImageNameURL struct { ImageName string Name string // contains filtered or unexported fields }
GetItemsNameImagesImageNameURL generates an URL for the get items name images image name operation
func (*GetItemsNameImagesImageNameURL) Build ¶
func (o *GetItemsNameImagesImageNameURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetItemsNameImagesImageNameURL) BuildFull ¶
func (o *GetItemsNameImagesImageNameURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetItemsNameImagesImageNameURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetItemsNameImagesImageNameURL) SetBasePath ¶
func (o *GetItemsNameImagesImageNameURL) 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 (*GetItemsNameImagesImageNameURL) String ¶
func (o *GetItemsNameImagesImageNameURL) String() string
String returns the string representation of the path with query string
func (*GetItemsNameImagesImageNameURL) StringFull ¶
func (o *GetItemsNameImagesImageNameURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetItemsNameImagesImageNameURL) WithBasePath ¶
func (o *GetItemsNameImagesImageNameURL) WithBasePath(bp string) *GetItemsNameImagesImageNameURL
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 GetItemsNameImagesOK ¶
type GetItemsNameImagesOK struct { /* In: Body */ Payload []*models.ImageSet `json:"body,omitempty"` }
GetItemsNameImagesOK その装備に登録されている全ての染色用画像セット
swagger:response getItemsNameImagesOK
func NewGetItemsNameImagesOK ¶
func NewGetItemsNameImagesOK() *GetItemsNameImagesOK
NewGetItemsNameImagesOK creates GetItemsNameImagesOK with default headers values
func (*GetItemsNameImagesOK) SetPayload ¶
func (o *GetItemsNameImagesOK) SetPayload(payload []*models.ImageSet)
SetPayload sets the payload to the get items name images o k response
func (*GetItemsNameImagesOK) WithPayload ¶
func (o *GetItemsNameImagesOK) WithPayload(payload []*models.ImageSet) *GetItemsNameImagesOK
WithPayload adds the payload to the get items name images o k response
func (*GetItemsNameImagesOK) WriteResponse ¶
func (o *GetItemsNameImagesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetItemsNameImagesParams ¶
type GetItemsNameImagesParams struct { // HTTP Request Object HTTPRequest *http.Request /*装備名 Required: true In: path */ Name string }
GetItemsNameImagesParams contains all the bound params for the get items name images operation typically these are obtained from a http.Request
swagger:parameters GetItemsNameImages
func NewGetItemsNameImagesParams ¶
func NewGetItemsNameImagesParams() GetItemsNameImagesParams
NewGetItemsNameImagesParams creates a new GetItemsNameImagesParams object with the default values initialized.
func (*GetItemsNameImagesParams) BindRequest ¶
func (o *GetItemsNameImagesParams) 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
type GetItemsNameImagesURL ¶
type GetItemsNameImagesURL struct { Name string // contains filtered or unexported fields }
GetItemsNameImagesURL generates an URL for the get items name images operation
func (*GetItemsNameImagesURL) Build ¶
func (o *GetItemsNameImagesURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetItemsNameImagesURL) BuildFull ¶
func (o *GetItemsNameImagesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetItemsNameImagesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetItemsNameImagesURL) SetBasePath ¶
func (o *GetItemsNameImagesURL) 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 (*GetItemsNameImagesURL) String ¶
func (o *GetItemsNameImagesURL) String() string
String returns the string representation of the path with query string
func (*GetItemsNameImagesURL) StringFull ¶
func (o *GetItemsNameImagesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetItemsNameImagesURL) WithBasePath ¶
func (o *GetItemsNameImagesURL) WithBasePath(bp string) *GetItemsNameImagesURL
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 GetItemsNameNotFound ¶
type GetItemsNameNotFound struct { }
GetItemsNameNotFound 指定された名前の装備情報が存在しない
swagger:response getItemsNameNotFound
func NewGetItemsNameNotFound ¶
func NewGetItemsNameNotFound() *GetItemsNameNotFound
NewGetItemsNameNotFound creates GetItemsNameNotFound with default headers values
func (*GetItemsNameNotFound) WriteResponse ¶
func (o *GetItemsNameNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetItemsNameOK ¶
GetItemsNameOK 指定した名前の装備情報
swagger:response getItemsNameOK
func NewGetItemsNameOK ¶
func NewGetItemsNameOK() *GetItemsNameOK
NewGetItemsNameOK creates GetItemsNameOK with default headers values
func (*GetItemsNameOK) SetPayload ¶
func (o *GetItemsNameOK) SetPayload(payload *models.Item)
SetPayload sets the payload to the get items name o k response
func (*GetItemsNameOK) WithPayload ¶
func (o *GetItemsNameOK) WithPayload(payload *models.Item) *GetItemsNameOK
WithPayload adds the payload to the get items name o k response
func (*GetItemsNameOK) WriteResponse ¶
func (o *GetItemsNameOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetItemsNameParams ¶
type GetItemsNameParams struct { // HTTP Request Object HTTPRequest *http.Request /*取得したい装備情報の名前 Required: true In: path */ Name string }
GetItemsNameParams contains all the bound params for the get items name operation typically these are obtained from a http.Request
swagger:parameters GetItemsName
func NewGetItemsNameParams ¶
func NewGetItemsNameParams() GetItemsNameParams
NewGetItemsNameParams creates a new GetItemsNameParams object with the default values initialized.
func (*GetItemsNameParams) BindRequest ¶
func (o *GetItemsNameParams) 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
type GetItemsNameURL ¶
type GetItemsNameURL struct { Name string // contains filtered or unexported fields }
GetItemsNameURL generates an URL for the get items name operation
func (*GetItemsNameURL) Build ¶
func (o *GetItemsNameURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetItemsNameURL) BuildFull ¶
func (o *GetItemsNameURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetItemsNameURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetItemsNameURL) SetBasePath ¶
func (o *GetItemsNameURL) 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 (*GetItemsNameURL) String ¶
func (o *GetItemsNameURL) String() string
String returns the string representation of the path with query string
func (*GetItemsNameURL) StringFull ¶
func (o *GetItemsNameURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetItemsNameURL) WithBasePath ¶
func (o *GetItemsNameURL) WithBasePath(bp string) *GetItemsNameURL
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 GetItemsOK ¶
GetItemsOK 装備情報
swagger:response getItemsOK
func NewGetItemsOK ¶
func NewGetItemsOK() *GetItemsOK
NewGetItemsOK creates GetItemsOK with default headers values
func (*GetItemsOK) SetPayload ¶
func (o *GetItemsOK) SetPayload(payload []*models.Item)
SetPayload sets the payload to the get items o k response
func (*GetItemsOK) WithPayload ¶
func (o *GetItemsOK) WithPayload(payload []*models.Item) *GetItemsOK
WithPayload adds the payload to the get items o k response
func (*GetItemsOK) WriteResponse ¶
func (o *GetItemsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetItemsParams ¶
type GetItemsParams struct { // HTTP Request Object HTTPRequest *http.Request /*装備のカテゴリ In: query */ Category *string }
GetItemsParams contains all the bound params for the get items operation typically these are obtained from a http.Request
swagger:parameters GetItems
func NewGetItemsParams ¶
func NewGetItemsParams() GetItemsParams
NewGetItemsParams creates a new GetItemsParams object with the default values initialized.
func (*GetItemsParams) BindRequest ¶
func (o *GetItemsParams) 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
type GetItemsURL ¶
type GetItemsURL struct { Category *string // contains filtered or unexported fields }
GetItemsURL generates an URL for the get items operation
func (*GetItemsURL) Build ¶
func (o *GetItemsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetItemsURL) BuildFull ¶
func (o *GetItemsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetItemsURL) SetBasePath ¶
func (o *GetItemsURL) 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 (*GetItemsURL) String ¶
func (o *GetItemsURL) String() string
String returns the string representation of the path with query string
func (*GetItemsURL) StringFull ¶
func (o *GetItemsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetItemsURL) WithBasePath ¶
func (o *GetItemsURL) WithBasePath(bp string) *GetItemsURL
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 PostItems ¶
type PostItems struct { Context *middleware.Context Handler PostItemsHandler }
PostItems swagger:route POST /items Item postItems
装備情報を追加
装備情報を新たに追加する
func NewPostItems ¶
func NewPostItems(ctx *middleware.Context, handler PostItemsHandler) *PostItems
NewPostItems creates a new http.Handler for the post items operation
type PostItemsConflict ¶
type PostItemsConflict struct { }
PostItemsConflict 同じ名前の装備情報が既に存在する
swagger:response postItemsConflict
func NewPostItemsConflict ¶
func NewPostItemsConflict() *PostItemsConflict
NewPostItemsConflict creates PostItemsConflict with default headers values
func (*PostItemsConflict) WriteResponse ¶
func (o *PostItemsConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostItemsCreated ¶
type PostItemsCreated struct { }
PostItemsCreated 作成に成功
swagger:response postItemsCreated
func NewPostItemsCreated ¶
func NewPostItemsCreated() *PostItemsCreated
NewPostItemsCreated creates PostItemsCreated with default headers values
func (*PostItemsCreated) WriteResponse ¶
func (o *PostItemsCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostItemsHandler ¶
type PostItemsHandler interface {
Handle(PostItemsParams, *models.Principal) middleware.Responder
}
PostItemsHandler interface for that can handle valid post items params
type PostItemsHandlerFunc ¶
type PostItemsHandlerFunc func(PostItemsParams, *models.Principal) middleware.Responder
PostItemsHandlerFunc turns a function with the right signature into a post items handler
func (PostItemsHandlerFunc) Handle ¶
func (fn PostItemsHandlerFunc) Handle(params PostItemsParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type PostItemsNameImages ¶
type PostItemsNameImages struct { Context *middleware.Context Handler PostItemsNameImagesHandler }
PostItemsNameImages swagger:route POST /items/{name}/images Item postItemsNameImages
染色用画像を追加
指定された名前の装備に新しい装備画像セットを追加
e.g. ハイキャスター装備にNFの画像セットを追加
func NewPostItemsNameImages ¶
func NewPostItemsNameImages(ctx *middleware.Context, handler PostItemsNameImagesHandler) *PostItemsNameImages
NewPostItemsNameImages creates a new http.Handler for the post items name images operation
func (*PostItemsNameImages) ServeHTTP ¶
func (o *PostItemsNameImages) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PostItemsNameImagesConflict ¶
type PostItemsNameImagesConflict struct { }
PostItemsNameImagesConflict 指定された名前の装備画像セットが既に存在する
swagger:response postItemsNameImagesConflict
func NewPostItemsNameImagesConflict ¶
func NewPostItemsNameImagesConflict() *PostItemsNameImagesConflict
NewPostItemsNameImagesConflict creates PostItemsNameImagesConflict with default headers values
func (*PostItemsNameImagesConflict) WriteResponse ¶
func (o *PostItemsNameImagesConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostItemsNameImagesCreated ¶
type PostItemsNameImagesCreated struct { }
PostItemsNameImagesCreated 追加に成功した
swagger:response postItemsNameImagesCreated
func NewPostItemsNameImagesCreated ¶
func NewPostItemsNameImagesCreated() *PostItemsNameImagesCreated
NewPostItemsNameImagesCreated creates PostItemsNameImagesCreated with default headers values
func (*PostItemsNameImagesCreated) WriteResponse ¶
func (o *PostItemsNameImagesCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostItemsNameImagesHandler ¶
type PostItemsNameImagesHandler interface {
Handle(PostItemsNameImagesParams, *models.Principal) middleware.Responder
}
PostItemsNameImagesHandler interface for that can handle valid post items name images params
type PostItemsNameImagesHandlerFunc ¶
type PostItemsNameImagesHandlerFunc func(PostItemsNameImagesParams, *models.Principal) middleware.Responder
PostItemsNameImagesHandlerFunc turns a function with the right signature into a post items name images handler
func (PostItemsNameImagesHandlerFunc) Handle ¶
func (fn PostItemsNameImagesHandlerFunc) Handle(params PostItemsNameImagesParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type PostItemsNameImagesParams ¶
type PostItemsNameImagesParams struct { // HTTP Request Object HTTPRequest *http.Request /*装備画像セット Required: true In: body */ Body *models.ImageSet /*装備名 Required: true In: path */ Name string }
PostItemsNameImagesParams contains all the bound params for the post items name images operation typically these are obtained from a http.Request
swagger:parameters PostItemsNameImages
func NewPostItemsNameImagesParams ¶
func NewPostItemsNameImagesParams() PostItemsNameImagesParams
NewPostItemsNameImagesParams creates a new PostItemsNameImagesParams object with the default values initialized.
func (*PostItemsNameImagesParams) BindRequest ¶
func (o *PostItemsNameImagesParams) 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
type PostItemsNameImagesURL ¶
type PostItemsNameImagesURL struct { Name string // contains filtered or unexported fields }
PostItemsNameImagesURL generates an URL for the post items name images operation
func (*PostItemsNameImagesURL) Build ¶
func (o *PostItemsNameImagesURL) Build() (*url.URL, error)
Build a url path and query string
func (*PostItemsNameImagesURL) BuildFull ¶
func (o *PostItemsNameImagesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PostItemsNameImagesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PostItemsNameImagesURL) SetBasePath ¶
func (o *PostItemsNameImagesURL) 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 (*PostItemsNameImagesURL) String ¶
func (o *PostItemsNameImagesURL) String() string
String returns the string representation of the path with query string
func (*PostItemsNameImagesURL) StringFull ¶
func (o *PostItemsNameImagesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PostItemsNameImagesURL) WithBasePath ¶
func (o *PostItemsNameImagesURL) WithBasePath(bp string) *PostItemsNameImagesURL
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 PostItemsParams ¶
type PostItemsParams struct { // HTTP Request Object HTTPRequest *http.Request /*追加したい装備情報 Required: true In: body */ Body *models.Item }
PostItemsParams contains all the bound params for the post items operation typically these are obtained from a http.Request
swagger:parameters PostItems
func NewPostItemsParams ¶
func NewPostItemsParams() PostItemsParams
NewPostItemsParams creates a new PostItemsParams object with the default values initialized.
func (*PostItemsParams) BindRequest ¶
func (o *PostItemsParams) 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
type PostItemsURL ¶
type PostItemsURL struct {
// contains filtered or unexported fields
}
PostItemsURL generates an URL for the post items operation
func (*PostItemsURL) Build ¶
func (o *PostItemsURL) Build() (*url.URL, error)
Build a url path and query string
func (*PostItemsURL) BuildFull ¶
func (o *PostItemsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PostItemsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PostItemsURL) SetBasePath ¶
func (o *PostItemsURL) 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 (*PostItemsURL) String ¶
func (o *PostItemsURL) String() string
String returns the string representation of the path with query string
func (*PostItemsURL) StringFull ¶
func (o *PostItemsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PostItemsURL) WithBasePath ¶
func (o *PostItemsURL) WithBasePath(bp string) *PostItemsURL
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 PutItemsName ¶
type PutItemsName struct { Context *middleware.Context Handler PutItemsNameHandler }
PutItemsName swagger:route PUT /items/{name} Item putItemsName
装備情報を更新
指定された名前の装備情報を更新する
func NewPutItemsName ¶
func NewPutItemsName(ctx *middleware.Context, handler PutItemsNameHandler) *PutItemsName
NewPutItemsName creates a new http.Handler for the put items name operation
func (*PutItemsName) ServeHTTP ¶
func (o *PutItemsName) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PutItemsNameHandler ¶
type PutItemsNameHandler interface {
Handle(PutItemsNameParams, *models.Principal) middleware.Responder
}
PutItemsNameHandler interface for that can handle valid put items name params
type PutItemsNameHandlerFunc ¶
type PutItemsNameHandlerFunc func(PutItemsNameParams, *models.Principal) middleware.Responder
PutItemsNameHandlerFunc turns a function with the right signature into a put items name handler
func (PutItemsNameHandlerFunc) Handle ¶
func (fn PutItemsNameHandlerFunc) Handle(params PutItemsNameParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type PutItemsNameImagesImageName ¶
type PutItemsNameImagesImageName struct { Context *middleware.Context Handler PutItemsNameImagesImageNameHandler }
PutItemsNameImagesImageName swagger:route PUT /items/{name}/images/{image_name} Item putItemsNameImagesImageName
染色用画像を更新
染色用画像を更新する
func NewPutItemsNameImagesImageName ¶
func NewPutItemsNameImagesImageName(ctx *middleware.Context, handler PutItemsNameImagesImageNameHandler) *PutItemsNameImagesImageName
NewPutItemsNameImagesImageName creates a new http.Handler for the put items name images image name operation
func (*PutItemsNameImagesImageName) ServeHTTP ¶
func (o *PutItemsNameImagesImageName) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PutItemsNameImagesImageNameHandler ¶
type PutItemsNameImagesImageNameHandler interface {
Handle(PutItemsNameImagesImageNameParams, *models.Principal) middleware.Responder
}
PutItemsNameImagesImageNameHandler interface for that can handle valid put items name images image name params
type PutItemsNameImagesImageNameHandlerFunc ¶
type PutItemsNameImagesImageNameHandlerFunc func(PutItemsNameImagesImageNameParams, *models.Principal) middleware.Responder
PutItemsNameImagesImageNameHandlerFunc turns a function with the right signature into a put items name images image name handler
func (PutItemsNameImagesImageNameHandlerFunc) Handle ¶
func (fn PutItemsNameImagesImageNameHandlerFunc) Handle(params PutItemsNameImagesImageNameParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type PutItemsNameImagesImageNameNoContent ¶
type PutItemsNameImagesImageNameNoContent struct { }
PutItemsNameImagesImageNameNoContent 更新に成功
swagger:response putItemsNameImagesImageNameNoContent
func NewPutItemsNameImagesImageNameNoContent ¶
func NewPutItemsNameImagesImageNameNoContent() *PutItemsNameImagesImageNameNoContent
NewPutItemsNameImagesImageNameNoContent creates PutItemsNameImagesImageNameNoContent with default headers values
func (*PutItemsNameImagesImageNameNoContent) WriteResponse ¶
func (o *PutItemsNameImagesImageNameNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutItemsNameImagesImageNameNotFound ¶
type PutItemsNameImagesImageNameNotFound struct { }
PutItemsNameImagesImageNameNotFound 指定された名前の染色用画像が存在しない
swagger:response putItemsNameImagesImageNameNotFound
func NewPutItemsNameImagesImageNameNotFound ¶
func NewPutItemsNameImagesImageNameNotFound() *PutItemsNameImagesImageNameNotFound
NewPutItemsNameImagesImageNameNotFound creates PutItemsNameImagesImageNameNotFound with default headers values
func (*PutItemsNameImagesImageNameNotFound) WriteResponse ¶
func (o *PutItemsNameImagesImageNameNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutItemsNameImagesImageNameParams ¶
type PutItemsNameImagesImageNameParams struct { // HTTP Request Object HTTPRequest *http.Request /*更新したい染色用画像の名前 Required: true In: path */ ImageName string /*更新する染色用画像がある装備名 Required: true In: path */ Name string }
PutItemsNameImagesImageNameParams contains all the bound params for the put items name images image name operation typically these are obtained from a http.Request
swagger:parameters PutItemsNameImagesImageName
func NewPutItemsNameImagesImageNameParams ¶
func NewPutItemsNameImagesImageNameParams() PutItemsNameImagesImageNameParams
NewPutItemsNameImagesImageNameParams creates a new PutItemsNameImagesImageNameParams object with the default values initialized.
func (*PutItemsNameImagesImageNameParams) BindRequest ¶
func (o *PutItemsNameImagesImageNameParams) 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
type PutItemsNameImagesImageNameURL ¶
type PutItemsNameImagesImageNameURL struct { ImageName string Name string // contains filtered or unexported fields }
PutItemsNameImagesImageNameURL generates an URL for the put items name images image name operation
func (*PutItemsNameImagesImageNameURL) Build ¶
func (o *PutItemsNameImagesImageNameURL) Build() (*url.URL, error)
Build a url path and query string
func (*PutItemsNameImagesImageNameURL) BuildFull ¶
func (o *PutItemsNameImagesImageNameURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PutItemsNameImagesImageNameURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PutItemsNameImagesImageNameURL) SetBasePath ¶
func (o *PutItemsNameImagesImageNameURL) 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 (*PutItemsNameImagesImageNameURL) String ¶
func (o *PutItemsNameImagesImageNameURL) String() string
String returns the string representation of the path with query string
func (*PutItemsNameImagesImageNameURL) StringFull ¶
func (o *PutItemsNameImagesImageNameURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PutItemsNameImagesImageNameURL) WithBasePath ¶
func (o *PutItemsNameImagesImageNameURL) WithBasePath(bp string) *PutItemsNameImagesImageNameURL
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 PutItemsNameNoContent ¶
type PutItemsNameNoContent struct { }
PutItemsNameNoContent 更新に成功した
swagger:response putItemsNameNoContent
func NewPutItemsNameNoContent ¶
func NewPutItemsNameNoContent() *PutItemsNameNoContent
NewPutItemsNameNoContent creates PutItemsNameNoContent with default headers values
func (*PutItemsNameNoContent) WriteResponse ¶
func (o *PutItemsNameNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutItemsNameNotFound ¶
type PutItemsNameNotFound struct { }
PutItemsNameNotFound 指定された名前の装備情報が存在しない
swagger:response putItemsNameNotFound
func NewPutItemsNameNotFound ¶
func NewPutItemsNameNotFound() *PutItemsNameNotFound
NewPutItemsNameNotFound creates PutItemsNameNotFound with default headers values
func (*PutItemsNameNotFound) WriteResponse ¶
func (o *PutItemsNameNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutItemsNameParams ¶
type PutItemsNameParams struct { // HTTP Request Object HTTPRequest *http.Request /*更新したい内容 Required: true In: body */ Body *models.Item /*更新したい装備の名前 Required: true In: path */ Name string }
PutItemsNameParams contains all the bound params for the put items name operation typically these are obtained from a http.Request
swagger:parameters PutItemsName
func NewPutItemsNameParams ¶
func NewPutItemsNameParams() PutItemsNameParams
NewPutItemsNameParams creates a new PutItemsNameParams object with the default values initialized.
func (*PutItemsNameParams) BindRequest ¶
func (o *PutItemsNameParams) 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
type PutItemsNameURL ¶
type PutItemsNameURL struct { Name string // contains filtered or unexported fields }
PutItemsNameURL generates an URL for the put items name operation
func (*PutItemsNameURL) Build ¶
func (o *PutItemsNameURL) Build() (*url.URL, error)
Build a url path and query string
func (*PutItemsNameURL) BuildFull ¶
func (o *PutItemsNameURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PutItemsNameURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PutItemsNameURL) SetBasePath ¶
func (o *PutItemsNameURL) 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 (*PutItemsNameURL) String ¶
func (o *PutItemsNameURL) String() string
String returns the string representation of the path with query string
func (*PutItemsNameURL) StringFull ¶
func (o *PutItemsNameURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PutItemsNameURL) WithBasePath ¶
func (o *PutItemsNameURL) WithBasePath(bp string) *PutItemsNameURL
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 ¶
- get_items.go
- get_items_name.go
- get_items_name_images.go
- get_items_name_images_image_name.go
- get_items_name_images_image_name_parameters.go
- get_items_name_images_image_name_responses.go
- get_items_name_images_image_name_urlbuilder.go
- get_items_name_images_parameters.go
- get_items_name_images_responses.go
- get_items_name_images_urlbuilder.go
- get_items_name_parameters.go
- get_items_name_responses.go
- get_items_name_urlbuilder.go
- get_items_parameters.go
- get_items_responses.go
- get_items_urlbuilder.go
- post_items.go
- post_items_name_images.go
- post_items_name_images_parameters.go
- post_items_name_images_responses.go
- post_items_name_images_urlbuilder.go
- post_items_parameters.go
- post_items_responses.go
- post_items_urlbuilder.go
- put_items_name.go
- put_items_name_images_image_name.go
- put_items_name_images_image_name_parameters.go
- put_items_name_images_image_name_responses.go
- put_items_name_images_image_name_urlbuilder.go
- put_items_name_parameters.go
- put_items_name_responses.go
- put_items_name_urlbuilder.go