Documentation ¶
Index ¶
- Constants
- type DeleteCircuit
- type DeleteCircuitBadRequest
- type DeleteCircuitConflict
- type DeleteCircuitHandler
- type DeleteCircuitHandlerFunc
- type DeleteCircuitOK
- type DeleteCircuitParams
- type DeleteCircuitTooManyRequests
- func (o *DeleteCircuitTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DeleteCircuitTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteCircuitTooManyRequests
- func (o *DeleteCircuitTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteCircuitURL
- func (o *DeleteCircuitURL) Build() (*url.URL, error)
- func (o *DeleteCircuitURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteCircuitURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteCircuitURL) SetBasePath(bp string)
- func (o *DeleteCircuitURL) String() string
- func (o *DeleteCircuitURL) StringFull(scheme, host string) string
- func (o *DeleteCircuitURL) WithBasePath(bp string) *DeleteCircuitURL
- type DeleteCircuitUnauthorized
- type DetailCircuit
- type DetailCircuitHandler
- type DetailCircuitHandlerFunc
- type DetailCircuitNotFound
- type DetailCircuitOK
- type DetailCircuitParams
- type DetailCircuitTooManyRequests
- func (o *DetailCircuitTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DetailCircuitTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailCircuitTooManyRequests
- func (o *DetailCircuitTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DetailCircuitURL
- func (o *DetailCircuitURL) Build() (*url.URL, error)
- func (o *DetailCircuitURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DetailCircuitURL) Must(u *url.URL, err error) *url.URL
- func (o *DetailCircuitURL) SetBasePath(bp string)
- func (o *DetailCircuitURL) String() string
- func (o *DetailCircuitURL) StringFull(scheme, host string) string
- func (o *DetailCircuitURL) WithBasePath(bp string) *DetailCircuitURL
- type DetailCircuitUnauthorized
- type ListCircuits
- type ListCircuitsHandler
- type ListCircuitsHandlerFunc
- type ListCircuitsOK
- type ListCircuitsParams
- type ListCircuitsTooManyRequests
- func (o *ListCircuitsTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListCircuitsTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListCircuitsTooManyRequests
- func (o *ListCircuitsTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListCircuitsURL
- func (o *ListCircuitsURL) Build() (*url.URL, error)
- func (o *ListCircuitsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListCircuitsURL) Must(u *url.URL, err error) *url.URL
- func (o *ListCircuitsURL) SetBasePath(bp string)
- func (o *ListCircuitsURL) String() string
- func (o *ListCircuitsURL) StringFull(scheme, host string) string
- func (o *ListCircuitsURL) WithBasePath(bp string) *ListCircuitsURL
- type ListCircuitsUnauthorized
Constants ¶
const DeleteCircuitBadRequestCode int = 400
DeleteCircuitBadRequestCode is the HTTP code returned for type DeleteCircuitBadRequest
const DeleteCircuitConflictCode int = 409
DeleteCircuitConflictCode is the HTTP code returned for type DeleteCircuitConflict
const DeleteCircuitOKCode int = 200
DeleteCircuitOKCode is the HTTP code returned for type DeleteCircuitOK
const DeleteCircuitTooManyRequestsCode int = 429
DeleteCircuitTooManyRequestsCode is the HTTP code returned for type DeleteCircuitTooManyRequests
DeleteCircuitUnauthorizedCode is the HTTP code returned for type DeleteCircuitUnauthorized
const DetailCircuitNotFoundCode int = 404
DetailCircuitNotFoundCode is the HTTP code returned for type DetailCircuitNotFound
const DetailCircuitOKCode int = 200
DetailCircuitOKCode is the HTTP code returned for type DetailCircuitOK
const DetailCircuitTooManyRequestsCode int = 429
DetailCircuitTooManyRequestsCode is the HTTP code returned for type DetailCircuitTooManyRequests
DetailCircuitUnauthorizedCode is the HTTP code returned for type DetailCircuitUnauthorized
const ListCircuitsOKCode int = 200
ListCircuitsOKCode is the HTTP code returned for type ListCircuitsOK
const ListCircuitsTooManyRequestsCode int = 429
ListCircuitsTooManyRequestsCode is the HTTP code returned for type ListCircuitsTooManyRequests
ListCircuitsUnauthorizedCode is the HTTP code returned for type ListCircuitsUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteCircuit ¶
type DeleteCircuit struct { Context *middleware.Context Handler DeleteCircuitHandler }
DeleteCircuit swagger:route DELETE /circuits/{id} Circuit deleteCircuit
Delete a circuit ¶
Delete a circuit by id. Requires admin access.
func NewDeleteCircuit ¶
func NewDeleteCircuit(ctx *middleware.Context, handler DeleteCircuitHandler) *DeleteCircuit
NewDeleteCircuit creates a new http.Handler for the delete circuit operation
func (*DeleteCircuit) ServeHTTP ¶
func (o *DeleteCircuit) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteCircuitBadRequest ¶
type DeleteCircuitBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DeleteCircuitBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response deleteCircuitBadRequest
func NewDeleteCircuitBadRequest ¶
func NewDeleteCircuitBadRequest() *DeleteCircuitBadRequest
NewDeleteCircuitBadRequest creates DeleteCircuitBadRequest with default headers values
func (*DeleteCircuitBadRequest) SetPayload ¶
func (o *DeleteCircuitBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete circuit bad request response
func (*DeleteCircuitBadRequest) WithPayload ¶
func (o *DeleteCircuitBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteCircuitBadRequest
WithPayload adds the payload to the delete circuit bad request response
func (*DeleteCircuitBadRequest) WriteResponse ¶
func (o *DeleteCircuitBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteCircuitConflict ¶
type DeleteCircuitConflict struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DeleteCircuitConflict The resource requested to be removed/altered cannot be as it is referenced by another object.
swagger:response deleteCircuitConflict
func NewDeleteCircuitConflict ¶
func NewDeleteCircuitConflict() *DeleteCircuitConflict
NewDeleteCircuitConflict creates DeleteCircuitConflict with default headers values
func (*DeleteCircuitConflict) SetPayload ¶
func (o *DeleteCircuitConflict) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete circuit conflict response
func (*DeleteCircuitConflict) WithPayload ¶
func (o *DeleteCircuitConflict) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteCircuitConflict
WithPayload adds the payload to the delete circuit conflict response
func (*DeleteCircuitConflict) WriteResponse ¶
func (o *DeleteCircuitConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteCircuitHandler ¶
type DeleteCircuitHandler interface {
Handle(DeleteCircuitParams) middleware.Responder
}
DeleteCircuitHandler interface for that can handle valid delete circuit params
type DeleteCircuitHandlerFunc ¶
type DeleteCircuitHandlerFunc func(DeleteCircuitParams) middleware.Responder
DeleteCircuitHandlerFunc turns a function with the right signature into a delete circuit handler
func (DeleteCircuitHandlerFunc) Handle ¶
func (fn DeleteCircuitHandlerFunc) Handle(params DeleteCircuitParams) middleware.Responder
Handle executing the request and returning a response
type DeleteCircuitOK ¶
type DeleteCircuitOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
DeleteCircuitOK The delete request was successful and the resource has been removed
swagger:response deleteCircuitOK
func NewDeleteCircuitOK ¶
func NewDeleteCircuitOK() *DeleteCircuitOK
NewDeleteCircuitOK creates DeleteCircuitOK with default headers values
func (*DeleteCircuitOK) SetPayload ¶
func (o *DeleteCircuitOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the delete circuit o k response
func (*DeleteCircuitOK) WithPayload ¶
func (o *DeleteCircuitOK) WithPayload(payload *rest_model.Empty) *DeleteCircuitOK
WithPayload adds the payload to the delete circuit o k response
func (*DeleteCircuitOK) WriteResponse ¶
func (o *DeleteCircuitOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteCircuitParams ¶
type DeleteCircuitParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string /*A circuit delete object In: body */ Options *rest_model.CircuitDelete }
DeleteCircuitParams contains all the bound params for the delete circuit operation typically these are obtained from a http.Request
swagger:parameters deleteCircuit
func NewDeleteCircuitParams ¶
func NewDeleteCircuitParams() DeleteCircuitParams
NewDeleteCircuitParams creates a new DeleteCircuitParams object
There are no default values defined in the spec.
func (*DeleteCircuitParams) BindRequest ¶
func (o *DeleteCircuitParams) 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 NewDeleteCircuitParams() beforehand.
type DeleteCircuitTooManyRequests ¶ added in v0.31.0
type DeleteCircuitTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DeleteCircuitTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response deleteCircuitTooManyRequests
func NewDeleteCircuitTooManyRequests ¶ added in v0.31.0
func NewDeleteCircuitTooManyRequests() *DeleteCircuitTooManyRequests
NewDeleteCircuitTooManyRequests creates DeleteCircuitTooManyRequests with default headers values
func (*DeleteCircuitTooManyRequests) SetPayload ¶ added in v0.31.0
func (o *DeleteCircuitTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete circuit too many requests response
func (*DeleteCircuitTooManyRequests) WithPayload ¶ added in v0.31.0
func (o *DeleteCircuitTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteCircuitTooManyRequests
WithPayload adds the payload to the delete circuit too many requests response
func (*DeleteCircuitTooManyRequests) WriteResponse ¶ added in v0.31.0
func (o *DeleteCircuitTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteCircuitURL ¶
type DeleteCircuitURL struct { ID string // contains filtered or unexported fields }
DeleteCircuitURL generates an URL for the delete circuit operation
func (*DeleteCircuitURL) Build ¶
func (o *DeleteCircuitURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteCircuitURL) BuildFull ¶
func (o *DeleteCircuitURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteCircuitURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteCircuitURL) SetBasePath ¶
func (o *DeleteCircuitURL) 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 (*DeleteCircuitURL) String ¶
func (o *DeleteCircuitURL) String() string
String returns the string representation of the path with query string
func (*DeleteCircuitURL) StringFull ¶
func (o *DeleteCircuitURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteCircuitURL) WithBasePath ¶
func (o *DeleteCircuitURL) WithBasePath(bp string) *DeleteCircuitURL
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 DeleteCircuitUnauthorized ¶
type DeleteCircuitUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
DeleteCircuitUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response deleteCircuitUnauthorized
func NewDeleteCircuitUnauthorized ¶
func NewDeleteCircuitUnauthorized() *DeleteCircuitUnauthorized
NewDeleteCircuitUnauthorized creates DeleteCircuitUnauthorized with default headers values
func (*DeleteCircuitUnauthorized) SetPayload ¶
func (o *DeleteCircuitUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete circuit unauthorized response
func (*DeleteCircuitUnauthorized) WithPayload ¶
func (o *DeleteCircuitUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteCircuitUnauthorized
WithPayload adds the payload to the delete circuit unauthorized response
func (*DeleteCircuitUnauthorized) WriteResponse ¶
func (o *DeleteCircuitUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailCircuit ¶
type DetailCircuit struct { Context *middleware.Context Handler DetailCircuitHandler }
DetailCircuit swagger:route GET /circuits/{id} Circuit detailCircuit
Retrieves a single circuit ¶
Retrieves a single circuit by id. Requires admin access.
func NewDetailCircuit ¶
func NewDetailCircuit(ctx *middleware.Context, handler DetailCircuitHandler) *DetailCircuit
NewDetailCircuit creates a new http.Handler for the detail circuit operation
func (*DetailCircuit) ServeHTTP ¶
func (o *DetailCircuit) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DetailCircuitHandler ¶
type DetailCircuitHandler interface {
Handle(DetailCircuitParams) middleware.Responder
}
DetailCircuitHandler interface for that can handle valid detail circuit params
type DetailCircuitHandlerFunc ¶
type DetailCircuitHandlerFunc func(DetailCircuitParams) middleware.Responder
DetailCircuitHandlerFunc turns a function with the right signature into a detail circuit handler
func (DetailCircuitHandlerFunc) Handle ¶
func (fn DetailCircuitHandlerFunc) Handle(params DetailCircuitParams) middleware.Responder
Handle executing the request and returning a response
type DetailCircuitNotFound ¶
type DetailCircuitNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DetailCircuitNotFound The requested resource does not exist
swagger:response detailCircuitNotFound
func NewDetailCircuitNotFound ¶
func NewDetailCircuitNotFound() *DetailCircuitNotFound
NewDetailCircuitNotFound creates DetailCircuitNotFound with default headers values
func (*DetailCircuitNotFound) SetPayload ¶
func (o *DetailCircuitNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail circuit not found response
func (*DetailCircuitNotFound) WithPayload ¶
func (o *DetailCircuitNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailCircuitNotFound
WithPayload adds the payload to the detail circuit not found response
func (*DetailCircuitNotFound) WriteResponse ¶
func (o *DetailCircuitNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailCircuitOK ¶
type DetailCircuitOK struct { /* In: Body */ Payload *rest_model.DetailCircuitEnvelope `json:"body,omitempty"` }
DetailCircuitOK A single circuit
swagger:response detailCircuitOK
func NewDetailCircuitOK ¶
func NewDetailCircuitOK() *DetailCircuitOK
NewDetailCircuitOK creates DetailCircuitOK with default headers values
func (*DetailCircuitOK) SetPayload ¶
func (o *DetailCircuitOK) SetPayload(payload *rest_model.DetailCircuitEnvelope)
SetPayload sets the payload to the detail circuit o k response
func (*DetailCircuitOK) WithPayload ¶
func (o *DetailCircuitOK) WithPayload(payload *rest_model.DetailCircuitEnvelope) *DetailCircuitOK
WithPayload adds the payload to the detail circuit o k response
func (*DetailCircuitOK) WriteResponse ¶
func (o *DetailCircuitOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailCircuitParams ¶
type DetailCircuitParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string }
DetailCircuitParams contains all the bound params for the detail circuit operation typically these are obtained from a http.Request
swagger:parameters detailCircuit
func NewDetailCircuitParams ¶
func NewDetailCircuitParams() DetailCircuitParams
NewDetailCircuitParams creates a new DetailCircuitParams object
There are no default values defined in the spec.
func (*DetailCircuitParams) BindRequest ¶
func (o *DetailCircuitParams) 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 NewDetailCircuitParams() beforehand.
type DetailCircuitTooManyRequests ¶ added in v0.31.0
type DetailCircuitTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DetailCircuitTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response detailCircuitTooManyRequests
func NewDetailCircuitTooManyRequests ¶ added in v0.31.0
func NewDetailCircuitTooManyRequests() *DetailCircuitTooManyRequests
NewDetailCircuitTooManyRequests creates DetailCircuitTooManyRequests with default headers values
func (*DetailCircuitTooManyRequests) SetPayload ¶ added in v0.31.0
func (o *DetailCircuitTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail circuit too many requests response
func (*DetailCircuitTooManyRequests) WithPayload ¶ added in v0.31.0
func (o *DetailCircuitTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailCircuitTooManyRequests
WithPayload adds the payload to the detail circuit too many requests response
func (*DetailCircuitTooManyRequests) WriteResponse ¶ added in v0.31.0
func (o *DetailCircuitTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailCircuitURL ¶
type DetailCircuitURL struct { ID string // contains filtered or unexported fields }
DetailCircuitURL generates an URL for the detail circuit operation
func (*DetailCircuitURL) Build ¶
func (o *DetailCircuitURL) Build() (*url.URL, error)
Build a url path and query string
func (*DetailCircuitURL) BuildFull ¶
func (o *DetailCircuitURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DetailCircuitURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DetailCircuitURL) SetBasePath ¶
func (o *DetailCircuitURL) 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 (*DetailCircuitURL) String ¶
func (o *DetailCircuitURL) String() string
String returns the string representation of the path with query string
func (*DetailCircuitURL) StringFull ¶
func (o *DetailCircuitURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DetailCircuitURL) WithBasePath ¶
func (o *DetailCircuitURL) WithBasePath(bp string) *DetailCircuitURL
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 DetailCircuitUnauthorized ¶
type DetailCircuitUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
DetailCircuitUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response detailCircuitUnauthorized
func NewDetailCircuitUnauthorized ¶
func NewDetailCircuitUnauthorized() *DetailCircuitUnauthorized
NewDetailCircuitUnauthorized creates DetailCircuitUnauthorized with default headers values
func (*DetailCircuitUnauthorized) SetPayload ¶
func (o *DetailCircuitUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail circuit unauthorized response
func (*DetailCircuitUnauthorized) WithPayload ¶
func (o *DetailCircuitUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailCircuitUnauthorized
WithPayload adds the payload to the detail circuit unauthorized response
func (*DetailCircuitUnauthorized) WriteResponse ¶
func (o *DetailCircuitUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListCircuits ¶
type ListCircuits struct { Context *middleware.Context Handler ListCircuitsHandler }
ListCircuits swagger:route GET /circuits Circuit listCircuits
List circuits ¶
Retrieves a list of circuit resources; does not supports filtering, sorting, or pagination. Requires admin access.
func NewListCircuits ¶
func NewListCircuits(ctx *middleware.Context, handler ListCircuitsHandler) *ListCircuits
NewListCircuits creates a new http.Handler for the list circuits operation
func (*ListCircuits) ServeHTTP ¶
func (o *ListCircuits) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListCircuitsHandler ¶
type ListCircuitsHandler interface {
Handle(ListCircuitsParams) middleware.Responder
}
ListCircuitsHandler interface for that can handle valid list circuits params
type ListCircuitsHandlerFunc ¶
type ListCircuitsHandlerFunc func(ListCircuitsParams) middleware.Responder
ListCircuitsHandlerFunc turns a function with the right signature into a list circuits handler
func (ListCircuitsHandlerFunc) Handle ¶
func (fn ListCircuitsHandlerFunc) Handle(params ListCircuitsParams) middleware.Responder
Handle executing the request and returning a response
type ListCircuitsOK ¶
type ListCircuitsOK struct { /* In: Body */ Payload *rest_model.ListCircuitsEnvelope `json:"body,omitempty"` }
ListCircuitsOK A list of circuits
swagger:response listCircuitsOK
func NewListCircuitsOK ¶
func NewListCircuitsOK() *ListCircuitsOK
NewListCircuitsOK creates ListCircuitsOK with default headers values
func (*ListCircuitsOK) SetPayload ¶
func (o *ListCircuitsOK) SetPayload(payload *rest_model.ListCircuitsEnvelope)
SetPayload sets the payload to the list circuits o k response
func (*ListCircuitsOK) WithPayload ¶
func (o *ListCircuitsOK) WithPayload(payload *rest_model.ListCircuitsEnvelope) *ListCircuitsOK
WithPayload adds the payload to the list circuits o k response
func (*ListCircuitsOK) WriteResponse ¶
func (o *ListCircuitsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListCircuitsParams ¶
type ListCircuitsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ Filter *string /* In: query */ Limit *int64 /* In: query */ Offset *int64 }
ListCircuitsParams contains all the bound params for the list circuits operation typically these are obtained from a http.Request
swagger:parameters listCircuits
func NewListCircuitsParams ¶
func NewListCircuitsParams() ListCircuitsParams
NewListCircuitsParams creates a new ListCircuitsParams object
There are no default values defined in the spec.
func (*ListCircuitsParams) BindRequest ¶
func (o *ListCircuitsParams) 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 NewListCircuitsParams() beforehand.
type ListCircuitsTooManyRequests ¶ added in v0.31.0
type ListCircuitsTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ListCircuitsTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response listCircuitsTooManyRequests
func NewListCircuitsTooManyRequests ¶ added in v0.31.0
func NewListCircuitsTooManyRequests() *ListCircuitsTooManyRequests
NewListCircuitsTooManyRequests creates ListCircuitsTooManyRequests with default headers values
func (*ListCircuitsTooManyRequests) SetPayload ¶ added in v0.31.0
func (o *ListCircuitsTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list circuits too many requests response
func (*ListCircuitsTooManyRequests) WithPayload ¶ added in v0.31.0
func (o *ListCircuitsTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListCircuitsTooManyRequests
WithPayload adds the payload to the list circuits too many requests response
func (*ListCircuitsTooManyRequests) WriteResponse ¶ added in v0.31.0
func (o *ListCircuitsTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListCircuitsURL ¶
type ListCircuitsURL struct { Filter *string Limit *int64 Offset *int64 // contains filtered or unexported fields }
ListCircuitsURL generates an URL for the list circuits operation
func (*ListCircuitsURL) Build ¶
func (o *ListCircuitsURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListCircuitsURL) BuildFull ¶
func (o *ListCircuitsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListCircuitsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListCircuitsURL) SetBasePath ¶
func (o *ListCircuitsURL) 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 (*ListCircuitsURL) String ¶
func (o *ListCircuitsURL) String() string
String returns the string representation of the path with query string
func (*ListCircuitsURL) StringFull ¶
func (o *ListCircuitsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListCircuitsURL) WithBasePath ¶
func (o *ListCircuitsURL) WithBasePath(bp string) *ListCircuitsURL
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 ListCircuitsUnauthorized ¶
type ListCircuitsUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
ListCircuitsUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response listCircuitsUnauthorized
func NewListCircuitsUnauthorized ¶
func NewListCircuitsUnauthorized() *ListCircuitsUnauthorized
NewListCircuitsUnauthorized creates ListCircuitsUnauthorized with default headers values
func (*ListCircuitsUnauthorized) SetPayload ¶
func (o *ListCircuitsUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list circuits unauthorized response
func (*ListCircuitsUnauthorized) WithPayload ¶
func (o *ListCircuitsUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListCircuitsUnauthorized
WithPayload adds the payload to the list circuits unauthorized response
func (*ListCircuitsUnauthorized) WriteResponse ¶
func (o *ListCircuitsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- delete_circuit.go
- delete_circuit_parameters.go
- delete_circuit_responses.go
- delete_circuit_urlbuilder.go
- detail_circuit.go
- detail_circuit_parameters.go
- detail_circuit_responses.go
- detail_circuit_urlbuilder.go
- list_circuits.go
- list_circuits_parameters.go
- list_circuits_responses.go
- list_circuits_urlbuilder.go