Documentation ¶
Index ¶
- Constants
- type GetRosters
- type GetRostersHandler
- type GetRostersHandlerFunc
- type GetRostersID
- type GetRostersIDActive
- type GetRostersIDActiveHandler
- type GetRostersIDActiveHandlerFunc
- type GetRostersIDActiveInternalServerError
- func (o *GetRostersIDActiveInternalServerError) SetPayload(payload *models.Error)
- func (o *GetRostersIDActiveInternalServerError) WithPayload(payload *models.Error) *GetRostersIDActiveInternalServerError
- func (o *GetRostersIDActiveInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetRostersIDActiveNotFound
- type GetRostersIDActiveOK
- type GetRostersIDActiveParams
- type GetRostersIDActiveURL
- func (o *GetRostersIDActiveURL) Build() (*url.URL, error)
- func (o *GetRostersIDActiveURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetRostersIDActiveURL) Must(u *url.URL, err error) *url.URL
- func (o *GetRostersIDActiveURL) SetBasePath(bp string)
- func (o *GetRostersIDActiveURL) String() string
- func (o *GetRostersIDActiveURL) StringFull(scheme, host string) string
- func (o *GetRostersIDActiveURL) WithBasePath(bp string) *GetRostersIDActiveURL
- type GetRostersIDBenched
- type GetRostersIDBenchedHandler
- type GetRostersIDBenchedHandlerFunc
- type GetRostersIDBenchedInternalServerError
- func (o *GetRostersIDBenchedInternalServerError) SetPayload(payload *models.Error)
- func (o *GetRostersIDBenchedInternalServerError) WithPayload(payload *models.Error) *GetRostersIDBenchedInternalServerError
- func (o *GetRostersIDBenchedInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetRostersIDBenchedNotFound
- type GetRostersIDBenchedOK
- type GetRostersIDBenchedParams
- type GetRostersIDBenchedURL
- func (o *GetRostersIDBenchedURL) Build() (*url.URL, error)
- func (o *GetRostersIDBenchedURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetRostersIDBenchedURL) Must(u *url.URL, err error) *url.URL
- func (o *GetRostersIDBenchedURL) SetBasePath(bp string)
- func (o *GetRostersIDBenchedURL) String() string
- func (o *GetRostersIDBenchedURL) StringFull(scheme, host string) string
- func (o *GetRostersIDBenchedURL) WithBasePath(bp string) *GetRostersIDBenchedURL
- type GetRostersIDHandler
- type GetRostersIDHandlerFunc
- type GetRostersIDInternalServerError
- type GetRostersIDNotFound
- type GetRostersIDOK
- type GetRostersIDParams
- type GetRostersIDURL
- func (o *GetRostersIDURL) Build() (*url.URL, error)
- func (o *GetRostersIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetRostersIDURL) Must(u *url.URL, err error) *url.URL
- func (o *GetRostersIDURL) SetBasePath(bp string)
- func (o *GetRostersIDURL) String() string
- func (o *GetRostersIDURL) StringFull(scheme, host string) string
- func (o *GetRostersIDURL) WithBasePath(bp string) *GetRostersIDURL
- type GetRostersInternalServerError
- type GetRostersOK
- type GetRostersParams
- type GetRostersURL
- func (o *GetRostersURL) Build() (*url.URL, error)
- func (o *GetRostersURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetRostersURL) Must(u *url.URL, err error) *url.URL
- func (o *GetRostersURL) SetBasePath(bp string)
- func (o *GetRostersURL) String() string
- func (o *GetRostersURL) StringFull(scheme, host string) string
- func (o *GetRostersURL) WithBasePath(bp string) *GetRostersURL
Constants ¶
const GetRostersIDActiveInternalServerErrorCode int = 500
GetRostersIDActiveInternalServerErrorCode is the HTTP code returned for type GetRostersIDActiveInternalServerError
const GetRostersIDActiveNotFoundCode int = 404
GetRostersIDActiveNotFoundCode is the HTTP code returned for type GetRostersIDActiveNotFound
const GetRostersIDActiveOKCode int = 200
GetRostersIDActiveOKCode is the HTTP code returned for type GetRostersIDActiveOK
const GetRostersIDBenchedInternalServerErrorCode int = 500
GetRostersIDBenchedInternalServerErrorCode is the HTTP code returned for type GetRostersIDBenchedInternalServerError
const GetRostersIDBenchedNotFoundCode int = 404
GetRostersIDBenchedNotFoundCode is the HTTP code returned for type GetRostersIDBenchedNotFound
const GetRostersIDBenchedOKCode int = 200
GetRostersIDBenchedOKCode is the HTTP code returned for type GetRostersIDBenchedOK
const GetRostersIDInternalServerErrorCode int = 500
GetRostersIDInternalServerErrorCode is the HTTP code returned for type GetRostersIDInternalServerError
const GetRostersIDNotFoundCode int = 404
GetRostersIDNotFoundCode is the HTTP code returned for type GetRostersIDNotFound
const GetRostersIDOKCode int = 200
GetRostersIDOKCode is the HTTP code returned for type GetRostersIDOK
const GetRostersInternalServerErrorCode int = 500
GetRostersInternalServerErrorCode is the HTTP code returned for type GetRostersInternalServerError
const GetRostersOKCode int = 200
GetRostersOKCode is the HTTP code returned for type GetRostersOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetRosters ¶
type GetRosters struct { Context *middleware.Context Handler GetRostersHandler }
GetRosters swagger:route GET /rosters roster getRosters
Get a list of rosters ¶
Returns a full list of rosters on the server
func NewGetRosters ¶
func NewGetRosters(ctx *middleware.Context, handler GetRostersHandler) *GetRosters
NewGetRosters creates a new http.Handler for the get rosters operation
func (*GetRosters) ServeHTTP ¶
func (o *GetRosters) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetRostersHandler ¶
type GetRostersHandler interface {
Handle(GetRostersParams) middleware.Responder
}
GetRostersHandler interface for that can handle valid get rosters params
type GetRostersHandlerFunc ¶
type GetRostersHandlerFunc func(GetRostersParams) middleware.Responder
GetRostersHandlerFunc turns a function with the right signature into a get rosters handler
func (GetRostersHandlerFunc) Handle ¶
func (fn GetRostersHandlerFunc) Handle(params GetRostersParams) middleware.Responder
Handle executing the request and returning a response
type GetRostersID ¶
type GetRostersID struct { Context *middleware.Context Handler GetRostersIDHandler }
GetRostersID swagger:route GET /rosters/{id} roster getRostersId
Get a roster ¶
Returns a roster with all playes
func NewGetRostersID ¶
func NewGetRostersID(ctx *middleware.Context, handler GetRostersIDHandler) *GetRostersID
NewGetRostersID creates a new http.Handler for the get rosters ID operation
func (*GetRostersID) ServeHTTP ¶
func (o *GetRostersID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetRostersIDActive ¶
type GetRostersIDActive struct { Context *middleware.Context Handler GetRostersIDActiveHandler }
GetRostersIDActive swagger:route GET /rosters/{id}/active roster getRostersIdActive
Get a roster with active players only ¶
Returns a roster with active playes only
func NewGetRostersIDActive ¶
func NewGetRostersIDActive(ctx *middleware.Context, handler GetRostersIDActiveHandler) *GetRostersIDActive
NewGetRostersIDActive creates a new http.Handler for the get rosters ID active operation
func (*GetRostersIDActive) ServeHTTP ¶
func (o *GetRostersIDActive) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetRostersIDActiveHandler ¶
type GetRostersIDActiveHandler interface {
Handle(GetRostersIDActiveParams) middleware.Responder
}
GetRostersIDActiveHandler interface for that can handle valid get rosters ID active params
type GetRostersIDActiveHandlerFunc ¶
type GetRostersIDActiveHandlerFunc func(GetRostersIDActiveParams) middleware.Responder
GetRostersIDActiveHandlerFunc turns a function with the right signature into a get rosters ID active handler
func (GetRostersIDActiveHandlerFunc) Handle ¶
func (fn GetRostersIDActiveHandlerFunc) Handle(params GetRostersIDActiveParams) middleware.Responder
Handle executing the request and returning a response
type GetRostersIDActiveInternalServerError ¶
type GetRostersIDActiveInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetRostersIDActiveInternalServerError internal server error
swagger:response getRostersIdActiveInternalServerError
func NewGetRostersIDActiveInternalServerError ¶
func NewGetRostersIDActiveInternalServerError() *GetRostersIDActiveInternalServerError
NewGetRostersIDActiveInternalServerError creates GetRostersIDActiveInternalServerError with default headers values
func (*GetRostersIDActiveInternalServerError) SetPayload ¶
func (o *GetRostersIDActiveInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get rosters Id active internal server error response
func (*GetRostersIDActiveInternalServerError) WithPayload ¶
func (o *GetRostersIDActiveInternalServerError) WithPayload(payload *models.Error) *GetRostersIDActiveInternalServerError
WithPayload adds the payload to the get rosters Id active internal server error response
func (*GetRostersIDActiveInternalServerError) WriteResponse ¶
func (o *GetRostersIDActiveInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRostersIDActiveNotFound ¶
type GetRostersIDActiveNotFound struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetRostersIDActiveNotFound not found
swagger:response getRostersIdActiveNotFound
func NewGetRostersIDActiveNotFound ¶
func NewGetRostersIDActiveNotFound() *GetRostersIDActiveNotFound
NewGetRostersIDActiveNotFound creates GetRostersIDActiveNotFound with default headers values
func (*GetRostersIDActiveNotFound) SetPayload ¶
func (o *GetRostersIDActiveNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the get rosters Id active not found response
func (*GetRostersIDActiveNotFound) WithPayload ¶
func (o *GetRostersIDActiveNotFound) WithPayload(payload *models.Error) *GetRostersIDActiveNotFound
WithPayload adds the payload to the get rosters Id active not found response
func (*GetRostersIDActiveNotFound) WriteResponse ¶
func (o *GetRostersIDActiveNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRostersIDActiveOK ¶
GetRostersIDActiveOK successful operation
swagger:response getRostersIdActiveOK
func NewGetRostersIDActiveOK ¶
func NewGetRostersIDActiveOK() *GetRostersIDActiveOK
NewGetRostersIDActiveOK creates GetRostersIDActiveOK with default headers values
func (*GetRostersIDActiveOK) SetPayload ¶
func (o *GetRostersIDActiveOK) SetPayload(payload *models.Roster)
SetPayload sets the payload to the get rosters Id active o k response
func (*GetRostersIDActiveOK) WithPayload ¶
func (o *GetRostersIDActiveOK) WithPayload(payload *models.Roster) *GetRostersIDActiveOK
WithPayload adds the payload to the get rosters Id active o k response
func (*GetRostersIDActiveOK) WriteResponse ¶
func (o *GetRostersIDActiveOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRostersIDActiveParams ¶
type GetRostersIDActiveParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ID int64 }
GetRostersIDActiveParams contains all the bound params for the get rosters ID active operation typically these are obtained from a http.Request
swagger:parameters GetRostersIDActive
func NewGetRostersIDActiveParams ¶
func NewGetRostersIDActiveParams() GetRostersIDActiveParams
NewGetRostersIDActiveParams creates a new GetRostersIDActiveParams object no default values defined in spec.
func (*GetRostersIDActiveParams) BindRequest ¶
func (o *GetRostersIDActiveParams) 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 NewGetRostersIDActiveParams() beforehand.
type GetRostersIDActiveURL ¶
type GetRostersIDActiveURL struct { ID int64 // contains filtered or unexported fields }
GetRostersIDActiveURL generates an URL for the get rosters ID active operation
func (*GetRostersIDActiveURL) Build ¶
func (o *GetRostersIDActiveURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetRostersIDActiveURL) BuildFull ¶
func (o *GetRostersIDActiveURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetRostersIDActiveURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetRostersIDActiveURL) SetBasePath ¶
func (o *GetRostersIDActiveURL) 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 (*GetRostersIDActiveURL) String ¶
func (o *GetRostersIDActiveURL) String() string
String returns the string representation of the path with query string
func (*GetRostersIDActiveURL) StringFull ¶
func (o *GetRostersIDActiveURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetRostersIDActiveURL) WithBasePath ¶
func (o *GetRostersIDActiveURL) WithBasePath(bp string) *GetRostersIDActiveURL
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 GetRostersIDBenched ¶
type GetRostersIDBenched struct { Context *middleware.Context Handler GetRostersIDBenchedHandler }
GetRostersIDBenched swagger:route GET /rosters/{id}/benched roster getRostersIdBenched
Get a roster with benched players only ¶
Returns a roster with benched playes only
func NewGetRostersIDBenched ¶
func NewGetRostersIDBenched(ctx *middleware.Context, handler GetRostersIDBenchedHandler) *GetRostersIDBenched
NewGetRostersIDBenched creates a new http.Handler for the get rosters ID benched operation
func (*GetRostersIDBenched) ServeHTTP ¶
func (o *GetRostersIDBenched) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetRostersIDBenchedHandler ¶
type GetRostersIDBenchedHandler interface {
Handle(GetRostersIDBenchedParams) middleware.Responder
}
GetRostersIDBenchedHandler interface for that can handle valid get rosters ID benched params
type GetRostersIDBenchedHandlerFunc ¶
type GetRostersIDBenchedHandlerFunc func(GetRostersIDBenchedParams) middleware.Responder
GetRostersIDBenchedHandlerFunc turns a function with the right signature into a get rosters ID benched handler
func (GetRostersIDBenchedHandlerFunc) Handle ¶
func (fn GetRostersIDBenchedHandlerFunc) Handle(params GetRostersIDBenchedParams) middleware.Responder
Handle executing the request and returning a response
type GetRostersIDBenchedInternalServerError ¶
type GetRostersIDBenchedInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetRostersIDBenchedInternalServerError internal server error
swagger:response getRostersIdBenchedInternalServerError
func NewGetRostersIDBenchedInternalServerError ¶
func NewGetRostersIDBenchedInternalServerError() *GetRostersIDBenchedInternalServerError
NewGetRostersIDBenchedInternalServerError creates GetRostersIDBenchedInternalServerError with default headers values
func (*GetRostersIDBenchedInternalServerError) SetPayload ¶
func (o *GetRostersIDBenchedInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get rosters Id benched internal server error response
func (*GetRostersIDBenchedInternalServerError) WithPayload ¶
func (o *GetRostersIDBenchedInternalServerError) WithPayload(payload *models.Error) *GetRostersIDBenchedInternalServerError
WithPayload adds the payload to the get rosters Id benched internal server error response
func (*GetRostersIDBenchedInternalServerError) WriteResponse ¶
func (o *GetRostersIDBenchedInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRostersIDBenchedNotFound ¶
type GetRostersIDBenchedNotFound struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetRostersIDBenchedNotFound not found
swagger:response getRostersIdBenchedNotFound
func NewGetRostersIDBenchedNotFound ¶
func NewGetRostersIDBenchedNotFound() *GetRostersIDBenchedNotFound
NewGetRostersIDBenchedNotFound creates GetRostersIDBenchedNotFound with default headers values
func (*GetRostersIDBenchedNotFound) SetPayload ¶
func (o *GetRostersIDBenchedNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the get rosters Id benched not found response
func (*GetRostersIDBenchedNotFound) WithPayload ¶
func (o *GetRostersIDBenchedNotFound) WithPayload(payload *models.Error) *GetRostersIDBenchedNotFound
WithPayload adds the payload to the get rosters Id benched not found response
func (*GetRostersIDBenchedNotFound) WriteResponse ¶
func (o *GetRostersIDBenchedNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRostersIDBenchedOK ¶
GetRostersIDBenchedOK successful operation
swagger:response getRostersIdBenchedOK
func NewGetRostersIDBenchedOK ¶
func NewGetRostersIDBenchedOK() *GetRostersIDBenchedOK
NewGetRostersIDBenchedOK creates GetRostersIDBenchedOK with default headers values
func (*GetRostersIDBenchedOK) SetPayload ¶
func (o *GetRostersIDBenchedOK) SetPayload(payload *models.Roster)
SetPayload sets the payload to the get rosters Id benched o k response
func (*GetRostersIDBenchedOK) WithPayload ¶
func (o *GetRostersIDBenchedOK) WithPayload(payload *models.Roster) *GetRostersIDBenchedOK
WithPayload adds the payload to the get rosters Id benched o k response
func (*GetRostersIDBenchedOK) WriteResponse ¶
func (o *GetRostersIDBenchedOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRostersIDBenchedParams ¶
type GetRostersIDBenchedParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ID int64 }
GetRostersIDBenchedParams contains all the bound params for the get rosters ID benched operation typically these are obtained from a http.Request
swagger:parameters GetRostersIDBenched
func NewGetRostersIDBenchedParams ¶
func NewGetRostersIDBenchedParams() GetRostersIDBenchedParams
NewGetRostersIDBenchedParams creates a new GetRostersIDBenchedParams object no default values defined in spec.
func (*GetRostersIDBenchedParams) BindRequest ¶
func (o *GetRostersIDBenchedParams) 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 NewGetRostersIDBenchedParams() beforehand.
type GetRostersIDBenchedURL ¶
type GetRostersIDBenchedURL struct { ID int64 // contains filtered or unexported fields }
GetRostersIDBenchedURL generates an URL for the get rosters ID benched operation
func (*GetRostersIDBenchedURL) Build ¶
func (o *GetRostersIDBenchedURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetRostersIDBenchedURL) BuildFull ¶
func (o *GetRostersIDBenchedURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetRostersIDBenchedURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetRostersIDBenchedURL) SetBasePath ¶
func (o *GetRostersIDBenchedURL) 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 (*GetRostersIDBenchedURL) String ¶
func (o *GetRostersIDBenchedURL) String() string
String returns the string representation of the path with query string
func (*GetRostersIDBenchedURL) StringFull ¶
func (o *GetRostersIDBenchedURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetRostersIDBenchedURL) WithBasePath ¶
func (o *GetRostersIDBenchedURL) WithBasePath(bp string) *GetRostersIDBenchedURL
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 GetRostersIDHandler ¶
type GetRostersIDHandler interface {
Handle(GetRostersIDParams) middleware.Responder
}
GetRostersIDHandler interface for that can handle valid get rosters ID params
type GetRostersIDHandlerFunc ¶
type GetRostersIDHandlerFunc func(GetRostersIDParams) middleware.Responder
GetRostersIDHandlerFunc turns a function with the right signature into a get rosters ID handler
func (GetRostersIDHandlerFunc) Handle ¶
func (fn GetRostersIDHandlerFunc) Handle(params GetRostersIDParams) middleware.Responder
Handle executing the request and returning a response
type GetRostersIDInternalServerError ¶
type GetRostersIDInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetRostersIDInternalServerError internal server error
swagger:response getRostersIdInternalServerError
func NewGetRostersIDInternalServerError ¶
func NewGetRostersIDInternalServerError() *GetRostersIDInternalServerError
NewGetRostersIDInternalServerError creates GetRostersIDInternalServerError with default headers values
func (*GetRostersIDInternalServerError) SetPayload ¶
func (o *GetRostersIDInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get rosters Id internal server error response
func (*GetRostersIDInternalServerError) WithPayload ¶
func (o *GetRostersIDInternalServerError) WithPayload(payload *models.Error) *GetRostersIDInternalServerError
WithPayload adds the payload to the get rosters Id internal server error response
func (*GetRostersIDInternalServerError) WriteResponse ¶
func (o *GetRostersIDInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRostersIDNotFound ¶
GetRostersIDNotFound not found
swagger:response getRostersIdNotFound
func NewGetRostersIDNotFound ¶
func NewGetRostersIDNotFound() *GetRostersIDNotFound
NewGetRostersIDNotFound creates GetRostersIDNotFound with default headers values
func (*GetRostersIDNotFound) SetPayload ¶
func (o *GetRostersIDNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the get rosters Id not found response
func (*GetRostersIDNotFound) WithPayload ¶
func (o *GetRostersIDNotFound) WithPayload(payload *models.Error) *GetRostersIDNotFound
WithPayload adds the payload to the get rosters Id not found response
func (*GetRostersIDNotFound) WriteResponse ¶
func (o *GetRostersIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRostersIDOK ¶
GetRostersIDOK successful operation
swagger:response getRostersIdOK
func NewGetRostersIDOK ¶
func NewGetRostersIDOK() *GetRostersIDOK
NewGetRostersIDOK creates GetRostersIDOK with default headers values
func (*GetRostersIDOK) SetPayload ¶
func (o *GetRostersIDOK) SetPayload(payload *models.Roster)
SetPayload sets the payload to the get rosters Id o k response
func (*GetRostersIDOK) WithPayload ¶
func (o *GetRostersIDOK) WithPayload(payload *models.Roster) *GetRostersIDOK
WithPayload adds the payload to the get rosters Id o k response
func (*GetRostersIDOK) WriteResponse ¶
func (o *GetRostersIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRostersIDParams ¶
type GetRostersIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ID int64 }
GetRostersIDParams contains all the bound params for the get rosters ID operation typically these are obtained from a http.Request
swagger:parameters GetRostersID
func NewGetRostersIDParams ¶
func NewGetRostersIDParams() GetRostersIDParams
NewGetRostersIDParams creates a new GetRostersIDParams object no default values defined in spec.
func (*GetRostersIDParams) BindRequest ¶
func (o *GetRostersIDParams) 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 NewGetRostersIDParams() beforehand.
type GetRostersIDURL ¶
type GetRostersIDURL struct { ID int64 // contains filtered or unexported fields }
GetRostersIDURL generates an URL for the get rosters ID operation
func (*GetRostersIDURL) Build ¶
func (o *GetRostersIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetRostersIDURL) BuildFull ¶
func (o *GetRostersIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetRostersIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetRostersIDURL) SetBasePath ¶
func (o *GetRostersIDURL) 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 (*GetRostersIDURL) String ¶
func (o *GetRostersIDURL) String() string
String returns the string representation of the path with query string
func (*GetRostersIDURL) StringFull ¶
func (o *GetRostersIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetRostersIDURL) WithBasePath ¶
func (o *GetRostersIDURL) WithBasePath(bp string) *GetRostersIDURL
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 GetRostersInternalServerError ¶
type GetRostersInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetRostersInternalServerError internal server error
swagger:response getRostersInternalServerError
func NewGetRostersInternalServerError ¶
func NewGetRostersInternalServerError() *GetRostersInternalServerError
NewGetRostersInternalServerError creates GetRostersInternalServerError with default headers values
func (*GetRostersInternalServerError) SetPayload ¶
func (o *GetRostersInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get rosters internal server error response
func (*GetRostersInternalServerError) WithPayload ¶
func (o *GetRostersInternalServerError) WithPayload(payload *models.Error) *GetRostersInternalServerError
WithPayload adds the payload to the get rosters internal server error response
func (*GetRostersInternalServerError) WriteResponse ¶
func (o *GetRostersInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRostersOK ¶
type GetRostersOK struct { /* In: Body */ Payload models.AllRosters `json:"body,omitempty"` }
GetRostersOK successful operation
swagger:response getRostersOK
func NewGetRostersOK ¶
func NewGetRostersOK() *GetRostersOK
NewGetRostersOK creates GetRostersOK with default headers values
func (*GetRostersOK) SetPayload ¶
func (o *GetRostersOK) SetPayload(payload models.AllRosters)
SetPayload sets the payload to the get rosters o k response
func (*GetRostersOK) WithPayload ¶
func (o *GetRostersOK) WithPayload(payload models.AllRosters) *GetRostersOK
WithPayload adds the payload to the get rosters o k response
func (*GetRostersOK) WriteResponse ¶
func (o *GetRostersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRostersParams ¶
GetRostersParams contains all the bound params for the get rosters operation typically these are obtained from a http.Request
swagger:parameters GetRosters
func NewGetRostersParams ¶
func NewGetRostersParams() GetRostersParams
NewGetRostersParams creates a new GetRostersParams object no default values defined in spec.
func (*GetRostersParams) BindRequest ¶
func (o *GetRostersParams) 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 NewGetRostersParams() beforehand.
type GetRostersURL ¶
type GetRostersURL struct {
// contains filtered or unexported fields
}
GetRostersURL generates an URL for the get rosters operation
func (*GetRostersURL) Build ¶
func (o *GetRostersURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetRostersURL) BuildFull ¶
func (o *GetRostersURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetRostersURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetRostersURL) SetBasePath ¶
func (o *GetRostersURL) 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 (*GetRostersURL) String ¶
func (o *GetRostersURL) String() string
String returns the string representation of the path with query string
func (*GetRostersURL) StringFull ¶
func (o *GetRostersURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetRostersURL) WithBasePath ¶
func (o *GetRostersURL) WithBasePath(bp string) *GetRostersURL
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_rosters.go
- get_rosters_id.go
- get_rosters_id_active.go
- get_rosters_id_active_parameters.go
- get_rosters_id_active_responses.go
- get_rosters_id_active_urlbuilder.go
- get_rosters_id_benched.go
- get_rosters_id_benched_parameters.go
- get_rosters_id_benched_responses.go
- get_rosters_id_benched_urlbuilder.go
- get_rosters_id_parameters.go
- get_rosters_id_responses.go
- get_rosters_id_urlbuilder.go
- get_rosters_parameters.go
- get_rosters_responses.go
- get_rosters_urlbuilder.go