calendar

package
v0.0.0-...-c407d37 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const ShowAvailableMoveDatesBadRequestCode int = 400

ShowAvailableMoveDatesBadRequestCode is the HTTP code returned for type ShowAvailableMoveDatesBadRequest

View Source
const ShowAvailableMoveDatesForbiddenCode int = 403

ShowAvailableMoveDatesForbiddenCode is the HTTP code returned for type ShowAvailableMoveDatesForbidden

View Source
const ShowAvailableMoveDatesInternalServerErrorCode int = 500

ShowAvailableMoveDatesInternalServerErrorCode is the HTTP code returned for type ShowAvailableMoveDatesInternalServerError

View Source
const ShowAvailableMoveDatesOKCode int = 200

ShowAvailableMoveDatesOKCode is the HTTP code returned for type ShowAvailableMoveDatesOK

View Source
const ShowAvailableMoveDatesUnauthorizedCode int = 401

ShowAvailableMoveDatesUnauthorizedCode is the HTTP code returned for type ShowAvailableMoveDatesUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type ShowAvailableMoveDates

type ShowAvailableMoveDates struct {
	Context *middleware.Context
	Handler ShowAvailableMoveDatesHandler
}
ShowAvailableMoveDates swagger:route GET /calendar/available_move_dates calendar showAvailableMoveDates

Returns available dates for the move calendar

Returns available dates for the move calendar

func NewShowAvailableMoveDates

func NewShowAvailableMoveDates(ctx *middleware.Context, handler ShowAvailableMoveDatesHandler) *ShowAvailableMoveDates

NewShowAvailableMoveDates creates a new http.Handler for the show available move dates operation

func (*ShowAvailableMoveDates) ServeHTTP

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

type ShowAvailableMoveDatesBadRequest

type ShowAvailableMoveDatesBadRequest struct {
}

ShowAvailableMoveDatesBadRequest invalid request

swagger:response showAvailableMoveDatesBadRequest

func NewShowAvailableMoveDatesBadRequest

func NewShowAvailableMoveDatesBadRequest() *ShowAvailableMoveDatesBadRequest

NewShowAvailableMoveDatesBadRequest creates ShowAvailableMoveDatesBadRequest with default headers values

func (*ShowAvailableMoveDatesBadRequest) WriteResponse

func (o *ShowAvailableMoveDatesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ShowAvailableMoveDatesForbidden

type ShowAvailableMoveDatesForbidden struct {
}

ShowAvailableMoveDatesForbidden user is not authorized

swagger:response showAvailableMoveDatesForbidden

func NewShowAvailableMoveDatesForbidden

func NewShowAvailableMoveDatesForbidden() *ShowAvailableMoveDatesForbidden

NewShowAvailableMoveDatesForbidden creates ShowAvailableMoveDatesForbidden with default headers values

func (*ShowAvailableMoveDatesForbidden) WriteResponse

func (o *ShowAvailableMoveDatesForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ShowAvailableMoveDatesHandler

type ShowAvailableMoveDatesHandler interface {
	Handle(ShowAvailableMoveDatesParams) middleware.Responder
}

ShowAvailableMoveDatesHandler interface for that can handle valid show available move dates params

type ShowAvailableMoveDatesHandlerFunc

type ShowAvailableMoveDatesHandlerFunc func(ShowAvailableMoveDatesParams) middleware.Responder

ShowAvailableMoveDatesHandlerFunc turns a function with the right signature into a show available move dates handler

func (ShowAvailableMoveDatesHandlerFunc) Handle

Handle executing the request and returning a response

type ShowAvailableMoveDatesInternalServerError

type ShowAvailableMoveDatesInternalServerError struct {
}

ShowAvailableMoveDatesInternalServerError internal server error

swagger:response showAvailableMoveDatesInternalServerError

func NewShowAvailableMoveDatesInternalServerError

func NewShowAvailableMoveDatesInternalServerError() *ShowAvailableMoveDatesInternalServerError

NewShowAvailableMoveDatesInternalServerError creates ShowAvailableMoveDatesInternalServerError with default headers values

func (*ShowAvailableMoveDatesInternalServerError) WriteResponse

WriteResponse to the client

type ShowAvailableMoveDatesOK

type ShowAvailableMoveDatesOK struct {

	/*
	  In: Body
	*/
	Payload *internalmessages.AvailableMoveDates `json:"body,omitempty"`
}

ShowAvailableMoveDatesOK List of available dates

swagger:response showAvailableMoveDatesOK

func NewShowAvailableMoveDatesOK

func NewShowAvailableMoveDatesOK() *ShowAvailableMoveDatesOK

NewShowAvailableMoveDatesOK creates ShowAvailableMoveDatesOK with default headers values

func (*ShowAvailableMoveDatesOK) SetPayload

SetPayload sets the payload to the show available move dates o k response

func (*ShowAvailableMoveDatesOK) WithPayload

WithPayload adds the payload to the show available move dates o k response

func (*ShowAvailableMoveDatesOK) WriteResponse

func (o *ShowAvailableMoveDatesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ShowAvailableMoveDatesParams

type ShowAvailableMoveDatesParams struct {

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

	/*Look for future available dates starting from (and including) this date
	  Required: true
	  In: query
	*/
	StartDate strfmt.Date
}

ShowAvailableMoveDatesParams contains all the bound params for the show available move dates operation typically these are obtained from a http.Request

swagger:parameters showAvailableMoveDates

func NewShowAvailableMoveDatesParams

func NewShowAvailableMoveDatesParams() ShowAvailableMoveDatesParams

NewShowAvailableMoveDatesParams creates a new ShowAvailableMoveDatesParams object

There are no default values defined in the spec.

func (*ShowAvailableMoveDatesParams) 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 NewShowAvailableMoveDatesParams() beforehand.

type ShowAvailableMoveDatesURL

type ShowAvailableMoveDatesURL struct {
	StartDate strfmt.Date
	// contains filtered or unexported fields
}

ShowAvailableMoveDatesURL generates an URL for the show available move dates operation

func (*ShowAvailableMoveDatesURL) Build

func (o *ShowAvailableMoveDatesURL) Build() (*url.URL, error)

Build a url path and query string

func (*ShowAvailableMoveDatesURL) BuildFull

func (o *ShowAvailableMoveDatesURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ShowAvailableMoveDatesURL) Must

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

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

func (*ShowAvailableMoveDatesURL) SetBasePath

func (o *ShowAvailableMoveDatesURL) 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 (*ShowAvailableMoveDatesURL) String

func (o *ShowAvailableMoveDatesURL) String() string

String returns the string representation of the path with query string

func (*ShowAvailableMoveDatesURL) StringFull

func (o *ShowAvailableMoveDatesURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ShowAvailableMoveDatesURL) 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 ShowAvailableMoveDatesUnauthorized

type ShowAvailableMoveDatesUnauthorized struct {
}

ShowAvailableMoveDatesUnauthorized request requires user authentication

swagger:response showAvailableMoveDatesUnauthorized

func NewShowAvailableMoveDatesUnauthorized

func NewShowAvailableMoveDatesUnauthorized() *ShowAvailableMoveDatesUnauthorized

NewShowAvailableMoveDatesUnauthorized creates ShowAvailableMoveDatesUnauthorized with default headers values

func (*ShowAvailableMoveDatesUnauthorized) WriteResponse

WriteResponse to the client

Jump to

Keyboard shortcuts

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