roster

package
v0.0.0-...-3b1adbd Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const GetRostersIDActiveInternalServerErrorCode int = 500

GetRostersIDActiveInternalServerErrorCode is the HTTP code returned for type GetRostersIDActiveInternalServerError

View Source
const GetRostersIDActiveNotFoundCode int = 404

GetRostersIDActiveNotFoundCode is the HTTP code returned for type GetRostersIDActiveNotFound

View Source
const GetRostersIDActiveOKCode int = 200

GetRostersIDActiveOKCode is the HTTP code returned for type GetRostersIDActiveOK

View Source
const GetRostersIDBenchedInternalServerErrorCode int = 500

GetRostersIDBenchedInternalServerErrorCode is the HTTP code returned for type GetRostersIDBenchedInternalServerError

View Source
const GetRostersIDBenchedNotFoundCode int = 404

GetRostersIDBenchedNotFoundCode is the HTTP code returned for type GetRostersIDBenchedNotFound

View Source
const GetRostersIDBenchedOKCode int = 200

GetRostersIDBenchedOKCode is the HTTP code returned for type GetRostersIDBenchedOK

View Source
const GetRostersIDInternalServerErrorCode int = 500

GetRostersIDInternalServerErrorCode is the HTTP code returned for type GetRostersIDInternalServerError

View Source
const GetRostersIDNotFoundCode int = 404

GetRostersIDNotFoundCode is the HTTP code returned for type GetRostersIDNotFound

View Source
const GetRostersIDOKCode int = 200

GetRostersIDOKCode is the HTTP code returned for type GetRostersIDOK

View Source
const GetRostersInternalServerErrorCode int = 500

GetRostersInternalServerErrorCode is the HTTP code returned for type GetRostersInternalServerError

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

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

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

WithPayload adds the payload to the get rosters Id active internal server error response

func (*GetRostersIDActiveInternalServerError) WriteResponse

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

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

type GetRostersIDActiveOK struct {

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

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

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

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

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

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

WithPayload adds the payload to the get rosters Id benched internal server error response

func (*GetRostersIDBenchedInternalServerError) WriteResponse

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

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

type GetRostersIDBenchedOK struct {

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

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

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

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

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

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

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

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

type GetRostersIDNotFound struct {

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

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

type GetRostersIDOK struct {

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

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

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

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

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

type GetRostersParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

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

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

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

Jump to

Keyboard shortcuts

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