item

package
v0.0.0-...-cb8fef0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2017 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const GetItemsNameImagesImageNameNotFoundCode int = 404

GetItemsNameImagesImageNameNotFoundCode is the HTTP code returned for type GetItemsNameImagesImageNameNotFound

View Source
const GetItemsNameImagesImageNameOKCode int = 200

GetItemsNameImagesImageNameOKCode is the HTTP code returned for type GetItemsNameImagesImageNameOK

View Source
const GetItemsNameImagesOKCode int = 200

GetItemsNameImagesOKCode is the HTTP code returned for type GetItemsNameImagesOK

View Source
const GetItemsNameNotFoundCode int = 404

GetItemsNameNotFoundCode is the HTTP code returned for type GetItemsNameNotFound

View Source
const GetItemsNameOKCode int = 200

GetItemsNameOKCode is the HTTP code returned for type GetItemsNameOK

View Source
const GetItemsOKCode int = 200

GetItemsOKCode is the HTTP code returned for type GetItemsOK

View Source
const PostItemsConflictCode int = 409

PostItemsConflictCode is the HTTP code returned for type PostItemsConflict

View Source
const PostItemsCreatedCode int = 201

PostItemsCreatedCode is the HTTP code returned for type PostItemsCreated

View Source
const PostItemsNameImagesConflictCode int = 409

PostItemsNameImagesConflictCode is the HTTP code returned for type PostItemsNameImagesConflict

View Source
const PostItemsNameImagesCreatedCode int = 201

PostItemsNameImagesCreatedCode is the HTTP code returned for type PostItemsNameImagesCreated

View Source
const PutItemsNameImagesImageNameNoContentCode int = 204

PutItemsNameImagesImageNameNoContentCode is the HTTP code returned for type PutItemsNameImagesImageNameNoContent

View Source
const PutItemsNameImagesImageNameNotFoundCode int = 404

PutItemsNameImagesImageNameNotFoundCode is the HTTP code returned for type PutItemsNameImagesImageNameNotFound

View Source
const PutItemsNameNoContentCode int = 204

PutItemsNameNoContentCode is the HTTP code returned for type PutItemsNameNoContent

View Source
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

func (*GetItems) ServeHTTP

func (o *GetItems) ServeHTTP(rw http.ResponseWriter, r *http.Request)

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

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

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

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

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

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

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

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

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

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

func (o *GetItemsNameImagesImageNameURL) Must(u *url.URL, err error) *url.URL

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

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

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

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

func (o *GetItemsNameImagesURL) Must(u *url.URL, err error) *url.URL

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

type GetItemsNameOK struct {

	/*
	  In: Body
	*/
	Payload *models.Item `json:"body,omitempty"`
}

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

func (o *GetItemsNameURL) Must(u *url.URL, err error) *url.URL

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

type GetItemsOK struct {

	/*
	  In: Body
	*/
	Payload []*models.Item `json:"body,omitempty"`
}

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) Must

func (o *GetItemsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

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

func (*PostItems) ServeHTTP

func (o *PostItems) ServeHTTP(rw http.ResponseWriter, r *http.Request)

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

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

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

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

func (o *PostItemsNameImagesURL) Must(u *url.URL, err error) *url.URL

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

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

func (o *PostItemsURL) Must(u *url.URL, err error) *url.URL

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

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

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

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

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

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

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

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

func (o *PutItemsNameImagesImageNameURL) Must(u *url.URL, err error) *url.URL

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

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

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

func (o *PutItemsNameURL) Must(u *url.URL, err error) *url.URL

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL