subscriptions

package
v0.1.17 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2018 License: Apache-2.0 Imports: 13 Imported by: 12

Documentation

Index

Constants

View Source
const AddSubscriptionBadRequestCode int = 400

AddSubscriptionBadRequestCode is the HTTP code returned for type AddSubscriptionBadRequest

View Source
const AddSubscriptionConflictCode int = 409

AddSubscriptionConflictCode is the HTTP code returned for type AddSubscriptionConflict

View Source
const AddSubscriptionCreatedCode int = 201

AddSubscriptionCreatedCode is the HTTP code returned for type AddSubscriptionCreated

View Source
const AddSubscriptionInternalServerErrorCode int = 500

AddSubscriptionInternalServerErrorCode is the HTTP code returned for type AddSubscriptionInternalServerError

View Source
const AddSubscriptionUnauthorizedCode int = 401

AddSubscriptionUnauthorizedCode is the HTTP code returned for type AddSubscriptionUnauthorized

View Source
const DeleteSubscriptionBadRequestCode int = 400

DeleteSubscriptionBadRequestCode is the HTTP code returned for type DeleteSubscriptionBadRequest

View Source
const DeleteSubscriptionInternalServerErrorCode int = 500

DeleteSubscriptionInternalServerErrorCode is the HTTP code returned for type DeleteSubscriptionInternalServerError

View Source
const DeleteSubscriptionNotFoundCode int = 404

DeleteSubscriptionNotFoundCode is the HTTP code returned for type DeleteSubscriptionNotFound

View Source
const DeleteSubscriptionOKCode int = 200

DeleteSubscriptionOKCode is the HTTP code returned for type DeleteSubscriptionOK

View Source
const GetSubscriptionBadRequestCode int = 400

GetSubscriptionBadRequestCode is the HTTP code returned for type GetSubscriptionBadRequest

View Source
const GetSubscriptionInternalServerErrorCode int = 500

GetSubscriptionInternalServerErrorCode is the HTTP code returned for type GetSubscriptionInternalServerError

View Source
const GetSubscriptionNotFoundCode int = 404

GetSubscriptionNotFoundCode is the HTTP code returned for type GetSubscriptionNotFound

View Source
const GetSubscriptionOKCode int = 200

GetSubscriptionOKCode is the HTTP code returned for type GetSubscriptionOK

View Source
const GetSubscriptionsBadRequestCode int = 400

GetSubscriptionsBadRequestCode is the HTTP code returned for type GetSubscriptionsBadRequest

View Source
const GetSubscriptionsInternalServerErrorCode int = 500

GetSubscriptionsInternalServerErrorCode is the HTTP code returned for type GetSubscriptionsInternalServerError

View Source
const GetSubscriptionsOKCode int = 200

GetSubscriptionsOKCode is the HTTP code returned for type GetSubscriptionsOK

View Source
const UpdateSubscriptionBadRequestCode int = 400

UpdateSubscriptionBadRequestCode is the HTTP code returned for type UpdateSubscriptionBadRequest

View Source
const UpdateSubscriptionInternalServerErrorCode int = 500

UpdateSubscriptionInternalServerErrorCode is the HTTP code returned for type UpdateSubscriptionInternalServerError

View Source
const UpdateSubscriptionNotFoundCode int = 404

UpdateSubscriptionNotFoundCode is the HTTP code returned for type UpdateSubscriptionNotFound

View Source
const UpdateSubscriptionOKCode int = 200

UpdateSubscriptionOKCode is the HTTP code returned for type UpdateSubscriptionOK

Variables

This section is empty.

Functions

This section is empty.

Types

type AddSubscription

type AddSubscription struct {
	Context *middleware.Context
	Handler AddSubscriptionHandler
}

AddSubscription swagger:route POST /subscriptions subscriptions addSubscription

Add a new subscription

func NewAddSubscription

func NewAddSubscription(ctx *middleware.Context, handler AddSubscriptionHandler) *AddSubscription

NewAddSubscription creates a new http.Handler for the add subscription operation

func (*AddSubscription) ServeHTTP

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

type AddSubscriptionBadRequest

type AddSubscriptionBadRequest struct {

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

AddSubscriptionBadRequest Invalid input

swagger:response addSubscriptionBadRequest

func NewAddSubscriptionBadRequest

func NewAddSubscriptionBadRequest() *AddSubscriptionBadRequest

NewAddSubscriptionBadRequest creates AddSubscriptionBadRequest with default headers values

func (*AddSubscriptionBadRequest) SetPayload

func (o *AddSubscriptionBadRequest) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add subscription bad request response

func (*AddSubscriptionBadRequest) WithPayload

func (o *AddSubscriptionBadRequest) WithPayload(payload *v1.Error) *AddSubscriptionBadRequest

WithPayload adds the payload to the add subscription bad request response

func (*AddSubscriptionBadRequest) WriteResponse

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

WriteResponse to the client

type AddSubscriptionConflict added in v0.1.13

type AddSubscriptionConflict struct {

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

AddSubscriptionConflict Already Exists

swagger:response addSubscriptionConflict

func NewAddSubscriptionConflict added in v0.1.13

func NewAddSubscriptionConflict() *AddSubscriptionConflict

NewAddSubscriptionConflict creates AddSubscriptionConflict with default headers values

func (*AddSubscriptionConflict) SetPayload added in v0.1.13

func (o *AddSubscriptionConflict) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add subscription conflict response

func (*AddSubscriptionConflict) WithPayload added in v0.1.13

func (o *AddSubscriptionConflict) WithPayload(payload *v1.Error) *AddSubscriptionConflict

WithPayload adds the payload to the add subscription conflict response

func (*AddSubscriptionConflict) WriteResponse added in v0.1.13

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

WriteResponse to the client

type AddSubscriptionCreated

type AddSubscriptionCreated struct {

	/*
	  In: Body
	*/
	Payload *v1.Subscription `json:"body,omitempty"`
}

AddSubscriptionCreated Subscription created

swagger:response addSubscriptionCreated

func NewAddSubscriptionCreated

func NewAddSubscriptionCreated() *AddSubscriptionCreated

NewAddSubscriptionCreated creates AddSubscriptionCreated with default headers values

func (*AddSubscriptionCreated) SetPayload

func (o *AddSubscriptionCreated) SetPayload(payload *v1.Subscription)

SetPayload sets the payload to the add subscription created response

func (*AddSubscriptionCreated) WithPayload

WithPayload adds the payload to the add subscription created response

func (*AddSubscriptionCreated) WriteResponse

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

WriteResponse to the client

type AddSubscriptionDefault

type AddSubscriptionDefault struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

AddSubscriptionDefault Unknown error

swagger:response addSubscriptionDefault

func NewAddSubscriptionDefault

func NewAddSubscriptionDefault(code int) *AddSubscriptionDefault

NewAddSubscriptionDefault creates AddSubscriptionDefault with default headers values

func (*AddSubscriptionDefault) SetPayload

func (o *AddSubscriptionDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add subscription default response

func (*AddSubscriptionDefault) SetStatusCode

func (o *AddSubscriptionDefault) SetStatusCode(code int)

SetStatusCode sets the status to the add subscription default response

func (*AddSubscriptionDefault) WithPayload

func (o *AddSubscriptionDefault) WithPayload(payload *v1.Error) *AddSubscriptionDefault

WithPayload adds the payload to the add subscription default response

func (*AddSubscriptionDefault) WithStatusCode

func (o *AddSubscriptionDefault) WithStatusCode(code int) *AddSubscriptionDefault

WithStatusCode adds the status to the add subscription default response

func (*AddSubscriptionDefault) WriteResponse

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

WriteResponse to the client

type AddSubscriptionHandler

type AddSubscriptionHandler interface {
	Handle(AddSubscriptionParams, interface{}) middleware.Responder
}

AddSubscriptionHandler interface for that can handle valid add subscription params

type AddSubscriptionHandlerFunc

type AddSubscriptionHandlerFunc func(AddSubscriptionParams, interface{}) middleware.Responder

AddSubscriptionHandlerFunc turns a function with the right signature into a add subscription handler

func (AddSubscriptionHandlerFunc) Handle

func (fn AddSubscriptionHandlerFunc) Handle(params AddSubscriptionParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type AddSubscriptionInternalServerError

type AddSubscriptionInternalServerError struct {

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

AddSubscriptionInternalServerError Internal server error

swagger:response addSubscriptionInternalServerError

func NewAddSubscriptionInternalServerError

func NewAddSubscriptionInternalServerError() *AddSubscriptionInternalServerError

NewAddSubscriptionInternalServerError creates AddSubscriptionInternalServerError with default headers values

func (*AddSubscriptionInternalServerError) SetPayload

func (o *AddSubscriptionInternalServerError) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add subscription internal server error response

func (*AddSubscriptionInternalServerError) WithPayload

WithPayload adds the payload to the add subscription internal server error response

func (*AddSubscriptionInternalServerError) WriteResponse

WriteResponse to the client

type AddSubscriptionParams

type AddSubscriptionParams struct {

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

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*subscription object
	  Required: true
	  In: body
	*/
	Body *v1.Subscription
}

AddSubscriptionParams contains all the bound params for the add subscription operation typically these are obtained from a http.Request

swagger:parameters addSubscription

func NewAddSubscriptionParams

func NewAddSubscriptionParams() AddSubscriptionParams

NewAddSubscriptionParams creates a new AddSubscriptionParams object no default values defined in spec.

func (*AddSubscriptionParams) BindRequest

func (o *AddSubscriptionParams) 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 NewAddSubscriptionParams() beforehand.

type AddSubscriptionURL

type AddSubscriptionURL struct {
	// contains filtered or unexported fields
}

AddSubscriptionURL generates an URL for the add subscription operation

func (*AddSubscriptionURL) Build

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

Build a url path and query string

func (*AddSubscriptionURL) BuildFull

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

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

func (*AddSubscriptionURL) Must

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

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

func (*AddSubscriptionURL) SetBasePath

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

func (o *AddSubscriptionURL) String() string

String returns the string representation of the path with query string

func (*AddSubscriptionURL) StringFull

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

StringFull returns the string representation of a complete url

func (*AddSubscriptionURL) WithBasePath

func (o *AddSubscriptionURL) WithBasePath(bp string) *AddSubscriptionURL

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 AddSubscriptionUnauthorized

type AddSubscriptionUnauthorized struct {

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

AddSubscriptionUnauthorized Unauthorized Request

swagger:response addSubscriptionUnauthorized

func NewAddSubscriptionUnauthorized

func NewAddSubscriptionUnauthorized() *AddSubscriptionUnauthorized

NewAddSubscriptionUnauthorized creates AddSubscriptionUnauthorized with default headers values

func (*AddSubscriptionUnauthorized) SetPayload

func (o *AddSubscriptionUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add subscription unauthorized response

func (*AddSubscriptionUnauthorized) WithPayload

WithPayload adds the payload to the add subscription unauthorized response

func (*AddSubscriptionUnauthorized) WriteResponse

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

WriteResponse to the client

type DeleteSubscription

type DeleteSubscription struct {
	Context *middleware.Context
	Handler DeleteSubscriptionHandler
}

DeleteSubscription swagger:route DELETE /subscriptions/{subscriptionName} subscriptions deleteSubscription

Deletes a subscription

func NewDeleteSubscription

func NewDeleteSubscription(ctx *middleware.Context, handler DeleteSubscriptionHandler) *DeleteSubscription

NewDeleteSubscription creates a new http.Handler for the delete subscription operation

func (*DeleteSubscription) ServeHTTP

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

type DeleteSubscriptionBadRequest

type DeleteSubscriptionBadRequest struct {

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

DeleteSubscriptionBadRequest Invalid ID supplied

swagger:response deleteSubscriptionBadRequest

func NewDeleteSubscriptionBadRequest

func NewDeleteSubscriptionBadRequest() *DeleteSubscriptionBadRequest

NewDeleteSubscriptionBadRequest creates DeleteSubscriptionBadRequest with default headers values

func (*DeleteSubscriptionBadRequest) SetPayload

func (o *DeleteSubscriptionBadRequest) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete subscription bad request response

func (*DeleteSubscriptionBadRequest) WithPayload

WithPayload adds the payload to the delete subscription bad request response

func (*DeleteSubscriptionBadRequest) WriteResponse

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

WriteResponse to the client

type DeleteSubscriptionDefault

type DeleteSubscriptionDefault struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

DeleteSubscriptionDefault Generic error response

swagger:response deleteSubscriptionDefault

func NewDeleteSubscriptionDefault

func NewDeleteSubscriptionDefault(code int) *DeleteSubscriptionDefault

NewDeleteSubscriptionDefault creates DeleteSubscriptionDefault with default headers values

func (*DeleteSubscriptionDefault) SetPayload

func (o *DeleteSubscriptionDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete subscription default response

func (*DeleteSubscriptionDefault) SetStatusCode

func (o *DeleteSubscriptionDefault) SetStatusCode(code int)

SetStatusCode sets the status to the delete subscription default response

func (*DeleteSubscriptionDefault) WithPayload

func (o *DeleteSubscriptionDefault) WithPayload(payload *v1.Error) *DeleteSubscriptionDefault

WithPayload adds the payload to the delete subscription default response

func (*DeleteSubscriptionDefault) WithStatusCode

func (o *DeleteSubscriptionDefault) WithStatusCode(code int) *DeleteSubscriptionDefault

WithStatusCode adds the status to the delete subscription default response

func (*DeleteSubscriptionDefault) WriteResponse

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

WriteResponse to the client

type DeleteSubscriptionHandler

type DeleteSubscriptionHandler interface {
	Handle(DeleteSubscriptionParams, interface{}) middleware.Responder
}

DeleteSubscriptionHandler interface for that can handle valid delete subscription params

type DeleteSubscriptionHandlerFunc

type DeleteSubscriptionHandlerFunc func(DeleteSubscriptionParams, interface{}) middleware.Responder

DeleteSubscriptionHandlerFunc turns a function with the right signature into a delete subscription handler

func (DeleteSubscriptionHandlerFunc) Handle

func (fn DeleteSubscriptionHandlerFunc) Handle(params DeleteSubscriptionParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type DeleteSubscriptionInternalServerError

type DeleteSubscriptionInternalServerError struct {

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

DeleteSubscriptionInternalServerError Internal server error

swagger:response deleteSubscriptionInternalServerError

func NewDeleteSubscriptionInternalServerError

func NewDeleteSubscriptionInternalServerError() *DeleteSubscriptionInternalServerError

NewDeleteSubscriptionInternalServerError creates DeleteSubscriptionInternalServerError with default headers values

func (*DeleteSubscriptionInternalServerError) SetPayload

func (o *DeleteSubscriptionInternalServerError) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete subscription internal server error response

func (*DeleteSubscriptionInternalServerError) WithPayload

WithPayload adds the payload to the delete subscription internal server error response

func (*DeleteSubscriptionInternalServerError) WriteResponse

WriteResponse to the client

type DeleteSubscriptionNotFound

type DeleteSubscriptionNotFound struct {

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

DeleteSubscriptionNotFound Subscription not found

swagger:response deleteSubscriptionNotFound

func NewDeleteSubscriptionNotFound

func NewDeleteSubscriptionNotFound() *DeleteSubscriptionNotFound

NewDeleteSubscriptionNotFound creates DeleteSubscriptionNotFound with default headers values

func (*DeleteSubscriptionNotFound) SetPayload

func (o *DeleteSubscriptionNotFound) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete subscription not found response

func (*DeleteSubscriptionNotFound) WithPayload

WithPayload adds the payload to the delete subscription not found response

func (*DeleteSubscriptionNotFound) WriteResponse

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

WriteResponse to the client

type DeleteSubscriptionOK

type DeleteSubscriptionOK struct {

	/*
	  In: Body
	*/
	Payload *v1.Subscription `json:"body,omitempty"`
}

DeleteSubscriptionOK successful operation

swagger:response deleteSubscriptionOK

func NewDeleteSubscriptionOK

func NewDeleteSubscriptionOK() *DeleteSubscriptionOK

NewDeleteSubscriptionOK creates DeleteSubscriptionOK with default headers values

func (*DeleteSubscriptionOK) SetPayload

func (o *DeleteSubscriptionOK) SetPayload(payload *v1.Subscription)

SetPayload sets the payload to the delete subscription o k response

func (*DeleteSubscriptionOK) WithPayload

func (o *DeleteSubscriptionOK) WithPayload(payload *v1.Subscription) *DeleteSubscriptionOK

WithPayload adds the payload to the delete subscription o k response

func (*DeleteSubscriptionOK) WriteResponse

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

WriteResponse to the client

type DeleteSubscriptionParams

type DeleteSubscriptionParams struct {

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

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*Name of the subscription to work on
	  Required: true
	  Pattern: ^[\w\d\-]+$
	  In: path
	*/
	SubscriptionName string
	/*Filter based on tags
	  In: query
	  Collection Format: multi
	*/
	Tags []string
}

DeleteSubscriptionParams contains all the bound params for the delete subscription operation typically these are obtained from a http.Request

swagger:parameters deleteSubscription

func NewDeleteSubscriptionParams

func NewDeleteSubscriptionParams() DeleteSubscriptionParams

NewDeleteSubscriptionParams creates a new DeleteSubscriptionParams object no default values defined in spec.

func (*DeleteSubscriptionParams) 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 NewDeleteSubscriptionParams() beforehand.

type DeleteSubscriptionURL

type DeleteSubscriptionURL struct {
	SubscriptionName string

	Tags []string
	// contains filtered or unexported fields
}

DeleteSubscriptionURL generates an URL for the delete subscription operation

func (*DeleteSubscriptionURL) Build

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

Build a url path and query string

func (*DeleteSubscriptionURL) BuildFull

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

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

func (*DeleteSubscriptionURL) Must

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

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

func (*DeleteSubscriptionURL) SetBasePath

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

func (o *DeleteSubscriptionURL) String() string

String returns the string representation of the path with query string

func (*DeleteSubscriptionURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteSubscriptionURL) WithBasePath

func (o *DeleteSubscriptionURL) WithBasePath(bp string) *DeleteSubscriptionURL

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 GetSubscription

type GetSubscription struct {
	Context *middleware.Context
	Handler GetSubscriptionHandler
}

GetSubscription swagger:route GET /subscriptions/{subscriptionName} subscriptions getSubscription

Find subscription by Name

Returns a single subscription

func NewGetSubscription

func NewGetSubscription(ctx *middleware.Context, handler GetSubscriptionHandler) *GetSubscription

NewGetSubscription creates a new http.Handler for the get subscription operation

func (*GetSubscription) ServeHTTP

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

type GetSubscriptionBadRequest

type GetSubscriptionBadRequest struct {

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

GetSubscriptionBadRequest Invalid Name supplied

swagger:response getSubscriptionBadRequest

func NewGetSubscriptionBadRequest

func NewGetSubscriptionBadRequest() *GetSubscriptionBadRequest

NewGetSubscriptionBadRequest creates GetSubscriptionBadRequest with default headers values

func (*GetSubscriptionBadRequest) SetPayload

func (o *GetSubscriptionBadRequest) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get subscription bad request response

func (*GetSubscriptionBadRequest) WithPayload

func (o *GetSubscriptionBadRequest) WithPayload(payload *v1.Error) *GetSubscriptionBadRequest

WithPayload adds the payload to the get subscription bad request response

func (*GetSubscriptionBadRequest) WriteResponse

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

WriteResponse to the client

type GetSubscriptionDefault

type GetSubscriptionDefault struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetSubscriptionDefault Unknown error

swagger:response getSubscriptionDefault

func NewGetSubscriptionDefault

func NewGetSubscriptionDefault(code int) *GetSubscriptionDefault

NewGetSubscriptionDefault creates GetSubscriptionDefault with default headers values

func (*GetSubscriptionDefault) SetPayload

func (o *GetSubscriptionDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get subscription default response

func (*GetSubscriptionDefault) SetStatusCode

func (o *GetSubscriptionDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get subscription default response

func (*GetSubscriptionDefault) WithPayload

func (o *GetSubscriptionDefault) WithPayload(payload *v1.Error) *GetSubscriptionDefault

WithPayload adds the payload to the get subscription default response

func (*GetSubscriptionDefault) WithStatusCode

func (o *GetSubscriptionDefault) WithStatusCode(code int) *GetSubscriptionDefault

WithStatusCode adds the status to the get subscription default response

func (*GetSubscriptionDefault) WriteResponse

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

WriteResponse to the client

type GetSubscriptionHandler

type GetSubscriptionHandler interface {
	Handle(GetSubscriptionParams, interface{}) middleware.Responder
}

GetSubscriptionHandler interface for that can handle valid get subscription params

type GetSubscriptionHandlerFunc

type GetSubscriptionHandlerFunc func(GetSubscriptionParams, interface{}) middleware.Responder

GetSubscriptionHandlerFunc turns a function with the right signature into a get subscription handler

func (GetSubscriptionHandlerFunc) Handle

func (fn GetSubscriptionHandlerFunc) Handle(params GetSubscriptionParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type GetSubscriptionInternalServerError

type GetSubscriptionInternalServerError struct {

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

GetSubscriptionInternalServerError Internal server error

swagger:response getSubscriptionInternalServerError

func NewGetSubscriptionInternalServerError

func NewGetSubscriptionInternalServerError() *GetSubscriptionInternalServerError

NewGetSubscriptionInternalServerError creates GetSubscriptionInternalServerError with default headers values

func (*GetSubscriptionInternalServerError) SetPayload

func (o *GetSubscriptionInternalServerError) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get subscription internal server error response

func (*GetSubscriptionInternalServerError) WithPayload

WithPayload adds the payload to the get subscription internal server error response

func (*GetSubscriptionInternalServerError) WriteResponse

WriteResponse to the client

type GetSubscriptionNotFound

type GetSubscriptionNotFound struct {

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

GetSubscriptionNotFound Subscription not found

swagger:response getSubscriptionNotFound

func NewGetSubscriptionNotFound

func NewGetSubscriptionNotFound() *GetSubscriptionNotFound

NewGetSubscriptionNotFound creates GetSubscriptionNotFound with default headers values

func (*GetSubscriptionNotFound) SetPayload

func (o *GetSubscriptionNotFound) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get subscription not found response

func (*GetSubscriptionNotFound) WithPayload

func (o *GetSubscriptionNotFound) WithPayload(payload *v1.Error) *GetSubscriptionNotFound

WithPayload adds the payload to the get subscription not found response

func (*GetSubscriptionNotFound) WriteResponse

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

WriteResponse to the client

type GetSubscriptionOK

type GetSubscriptionOK struct {

	/*
	  In: Body
	*/
	Payload *v1.Subscription `json:"body,omitempty"`
}

GetSubscriptionOK Successful operation

swagger:response getSubscriptionOK

func NewGetSubscriptionOK

func NewGetSubscriptionOK() *GetSubscriptionOK

NewGetSubscriptionOK creates GetSubscriptionOK with default headers values

func (*GetSubscriptionOK) SetPayload

func (o *GetSubscriptionOK) SetPayload(payload *v1.Subscription)

SetPayload sets the payload to the get subscription o k response

func (*GetSubscriptionOK) WithPayload

func (o *GetSubscriptionOK) WithPayload(payload *v1.Subscription) *GetSubscriptionOK

WithPayload adds the payload to the get subscription o k response

func (*GetSubscriptionOK) WriteResponse

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

WriteResponse to the client

type GetSubscriptionParams

type GetSubscriptionParams struct {

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

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*Name of the subscription to work on
	  Required: true
	  Pattern: ^[\w\d\-]+$
	  In: path
	*/
	SubscriptionName string
	/*Filter based on tags
	  In: query
	  Collection Format: multi
	*/
	Tags []string
}

GetSubscriptionParams contains all the bound params for the get subscription operation typically these are obtained from a http.Request

swagger:parameters getSubscription

func NewGetSubscriptionParams

func NewGetSubscriptionParams() GetSubscriptionParams

NewGetSubscriptionParams creates a new GetSubscriptionParams object no default values defined in spec.

func (*GetSubscriptionParams) BindRequest

func (o *GetSubscriptionParams) 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 NewGetSubscriptionParams() beforehand.

type GetSubscriptionURL

type GetSubscriptionURL struct {
	SubscriptionName string

	Tags []string
	// contains filtered or unexported fields
}

GetSubscriptionURL generates an URL for the get subscription operation

func (*GetSubscriptionURL) Build

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

Build a url path and query string

func (*GetSubscriptionURL) BuildFull

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

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

func (*GetSubscriptionURL) Must

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

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

func (*GetSubscriptionURL) SetBasePath

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

func (o *GetSubscriptionURL) String() string

String returns the string representation of the path with query string

func (*GetSubscriptionURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetSubscriptionURL) WithBasePath

func (o *GetSubscriptionURL) WithBasePath(bp string) *GetSubscriptionURL

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 GetSubscriptions

type GetSubscriptions struct {
	Context *middleware.Context
	Handler GetSubscriptionsHandler
}

GetSubscriptions swagger:route GET /subscriptions subscriptions getSubscriptions

List all existing subscriptions

func NewGetSubscriptions

func NewGetSubscriptions(ctx *middleware.Context, handler GetSubscriptionsHandler) *GetSubscriptions

NewGetSubscriptions creates a new http.Handler for the get subscriptions operation

func (*GetSubscriptions) ServeHTTP

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

type GetSubscriptionsBadRequest added in v0.1.13

type GetSubscriptionsBadRequest struct {

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

GetSubscriptionsBadRequest Bad Request

swagger:response getSubscriptionsBadRequest

func NewGetSubscriptionsBadRequest added in v0.1.13

func NewGetSubscriptionsBadRequest() *GetSubscriptionsBadRequest

NewGetSubscriptionsBadRequest creates GetSubscriptionsBadRequest with default headers values

func (*GetSubscriptionsBadRequest) SetPayload added in v0.1.13

func (o *GetSubscriptionsBadRequest) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get subscriptions bad request response

func (*GetSubscriptionsBadRequest) WithPayload added in v0.1.13

WithPayload adds the payload to the get subscriptions bad request response

func (*GetSubscriptionsBadRequest) WriteResponse added in v0.1.13

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

WriteResponse to the client

type GetSubscriptionsDefault

type GetSubscriptionsDefault struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetSubscriptionsDefault Unknown error

swagger:response getSubscriptionsDefault

func NewGetSubscriptionsDefault

func NewGetSubscriptionsDefault(code int) *GetSubscriptionsDefault

NewGetSubscriptionsDefault creates GetSubscriptionsDefault with default headers values

func (*GetSubscriptionsDefault) SetPayload

func (o *GetSubscriptionsDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get subscriptions default response

func (*GetSubscriptionsDefault) SetStatusCode

func (o *GetSubscriptionsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get subscriptions default response

func (*GetSubscriptionsDefault) WithPayload

func (o *GetSubscriptionsDefault) WithPayload(payload *v1.Error) *GetSubscriptionsDefault

WithPayload adds the payload to the get subscriptions default response

func (*GetSubscriptionsDefault) WithStatusCode

func (o *GetSubscriptionsDefault) WithStatusCode(code int) *GetSubscriptionsDefault

WithStatusCode adds the status to the get subscriptions default response

func (*GetSubscriptionsDefault) WriteResponse

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

WriteResponse to the client

type GetSubscriptionsHandler

type GetSubscriptionsHandler interface {
	Handle(GetSubscriptionsParams, interface{}) middleware.Responder
}

GetSubscriptionsHandler interface for that can handle valid get subscriptions params

type GetSubscriptionsHandlerFunc

type GetSubscriptionsHandlerFunc func(GetSubscriptionsParams, interface{}) middleware.Responder

GetSubscriptionsHandlerFunc turns a function with the right signature into a get subscriptions handler

func (GetSubscriptionsHandlerFunc) Handle

func (fn GetSubscriptionsHandlerFunc) Handle(params GetSubscriptionsParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type GetSubscriptionsInternalServerError

type GetSubscriptionsInternalServerError struct {

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

GetSubscriptionsInternalServerError Internal server error

swagger:response getSubscriptionsInternalServerError

func NewGetSubscriptionsInternalServerError

func NewGetSubscriptionsInternalServerError() *GetSubscriptionsInternalServerError

NewGetSubscriptionsInternalServerError creates GetSubscriptionsInternalServerError with default headers values

func (*GetSubscriptionsInternalServerError) SetPayload

func (o *GetSubscriptionsInternalServerError) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get subscriptions internal server error response

func (*GetSubscriptionsInternalServerError) WithPayload

WithPayload adds the payload to the get subscriptions internal server error response

func (*GetSubscriptionsInternalServerError) WriteResponse

WriteResponse to the client

type GetSubscriptionsOK

type GetSubscriptionsOK struct {

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

GetSubscriptionsOK Successful operation

swagger:response getSubscriptionsOK

func NewGetSubscriptionsOK

func NewGetSubscriptionsOK() *GetSubscriptionsOK

NewGetSubscriptionsOK creates GetSubscriptionsOK with default headers values

func (*GetSubscriptionsOK) SetPayload

func (o *GetSubscriptionsOK) SetPayload(payload []*v1.Subscription)

SetPayload sets the payload to the get subscriptions o k response

func (*GetSubscriptionsOK) WithPayload

func (o *GetSubscriptionsOK) WithPayload(payload []*v1.Subscription) *GetSubscriptionsOK

WithPayload adds the payload to the get subscriptions o k response

func (*GetSubscriptionsOK) WriteResponse

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

WriteResponse to the client

type GetSubscriptionsParams

type GetSubscriptionsParams struct {

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

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*Filter based on tags
	  In: query
	  Collection Format: multi
	*/
	Tags []string
}

GetSubscriptionsParams contains all the bound params for the get subscriptions operation typically these are obtained from a http.Request

swagger:parameters getSubscriptions

func NewGetSubscriptionsParams

func NewGetSubscriptionsParams() GetSubscriptionsParams

NewGetSubscriptionsParams creates a new GetSubscriptionsParams object no default values defined in spec.

func (*GetSubscriptionsParams) BindRequest

func (o *GetSubscriptionsParams) 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 NewGetSubscriptionsParams() beforehand.

type GetSubscriptionsURL

type GetSubscriptionsURL struct {
	Tags []string
	// contains filtered or unexported fields
}

GetSubscriptionsURL generates an URL for the get subscriptions operation

func (*GetSubscriptionsURL) Build

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

Build a url path and query string

func (*GetSubscriptionsURL) BuildFull

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

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

func (*GetSubscriptionsURL) Must

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

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

func (*GetSubscriptionsURL) SetBasePath

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

func (o *GetSubscriptionsURL) String() string

String returns the string representation of the path with query string

func (*GetSubscriptionsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetSubscriptionsURL) WithBasePath

func (o *GetSubscriptionsURL) WithBasePath(bp string) *GetSubscriptionsURL

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 UpdateSubscription added in v0.1.13

type UpdateSubscription struct {
	Context *middleware.Context
	Handler UpdateSubscriptionHandler
}

UpdateSubscription swagger:route PUT /subscriptions/{subscriptionName} subscriptions updateSubscription

Update subscription by Name

Updates a single subscription

func NewUpdateSubscription added in v0.1.13

func NewUpdateSubscription(ctx *middleware.Context, handler UpdateSubscriptionHandler) *UpdateSubscription

NewUpdateSubscription creates a new http.Handler for the update subscription operation

func (*UpdateSubscription) ServeHTTP added in v0.1.13

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

type UpdateSubscriptionBadRequest added in v0.1.13

type UpdateSubscriptionBadRequest struct {

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

UpdateSubscriptionBadRequest Invalid Name supplied

swagger:response updateSubscriptionBadRequest

func NewUpdateSubscriptionBadRequest added in v0.1.13

func NewUpdateSubscriptionBadRequest() *UpdateSubscriptionBadRequest

NewUpdateSubscriptionBadRequest creates UpdateSubscriptionBadRequest with default headers values

func (*UpdateSubscriptionBadRequest) SetPayload added in v0.1.13

func (o *UpdateSubscriptionBadRequest) SetPayload(payload *v1.Error)

SetPayload sets the payload to the update subscription bad request response

func (*UpdateSubscriptionBadRequest) WithPayload added in v0.1.13

WithPayload adds the payload to the update subscription bad request response

func (*UpdateSubscriptionBadRequest) WriteResponse added in v0.1.13

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

WriteResponse to the client

type UpdateSubscriptionDefault added in v0.1.13

type UpdateSubscriptionDefault struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

UpdateSubscriptionDefault Unknown error

swagger:response updateSubscriptionDefault

func NewUpdateSubscriptionDefault added in v0.1.13

func NewUpdateSubscriptionDefault(code int) *UpdateSubscriptionDefault

NewUpdateSubscriptionDefault creates UpdateSubscriptionDefault with default headers values

func (*UpdateSubscriptionDefault) SetPayload added in v0.1.13

func (o *UpdateSubscriptionDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the update subscription default response

func (*UpdateSubscriptionDefault) SetStatusCode added in v0.1.13

func (o *UpdateSubscriptionDefault) SetStatusCode(code int)

SetStatusCode sets the status to the update subscription default response

func (*UpdateSubscriptionDefault) WithPayload added in v0.1.13

func (o *UpdateSubscriptionDefault) WithPayload(payload *v1.Error) *UpdateSubscriptionDefault

WithPayload adds the payload to the update subscription default response

func (*UpdateSubscriptionDefault) WithStatusCode added in v0.1.13

func (o *UpdateSubscriptionDefault) WithStatusCode(code int) *UpdateSubscriptionDefault

WithStatusCode adds the status to the update subscription default response

func (*UpdateSubscriptionDefault) WriteResponse added in v0.1.13

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

WriteResponse to the client

type UpdateSubscriptionHandler added in v0.1.13

type UpdateSubscriptionHandler interface {
	Handle(UpdateSubscriptionParams, interface{}) middleware.Responder
}

UpdateSubscriptionHandler interface for that can handle valid update subscription params

type UpdateSubscriptionHandlerFunc added in v0.1.13

type UpdateSubscriptionHandlerFunc func(UpdateSubscriptionParams, interface{}) middleware.Responder

UpdateSubscriptionHandlerFunc turns a function with the right signature into a update subscription handler

func (UpdateSubscriptionHandlerFunc) Handle added in v0.1.13

func (fn UpdateSubscriptionHandlerFunc) Handle(params UpdateSubscriptionParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type UpdateSubscriptionInternalServerError added in v0.1.13

type UpdateSubscriptionInternalServerError struct {

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

UpdateSubscriptionInternalServerError Internal server error

swagger:response updateSubscriptionInternalServerError

func NewUpdateSubscriptionInternalServerError added in v0.1.13

func NewUpdateSubscriptionInternalServerError() *UpdateSubscriptionInternalServerError

NewUpdateSubscriptionInternalServerError creates UpdateSubscriptionInternalServerError with default headers values

func (*UpdateSubscriptionInternalServerError) SetPayload added in v0.1.13

func (o *UpdateSubscriptionInternalServerError) SetPayload(payload *v1.Error)

SetPayload sets the payload to the update subscription internal server error response

func (*UpdateSubscriptionInternalServerError) WithPayload added in v0.1.13

WithPayload adds the payload to the update subscription internal server error response

func (*UpdateSubscriptionInternalServerError) WriteResponse added in v0.1.13

WriteResponse to the client

type UpdateSubscriptionNotFound added in v0.1.13

type UpdateSubscriptionNotFound struct {

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

UpdateSubscriptionNotFound Subscription not found

swagger:response updateSubscriptionNotFound

func NewUpdateSubscriptionNotFound added in v0.1.13

func NewUpdateSubscriptionNotFound() *UpdateSubscriptionNotFound

NewUpdateSubscriptionNotFound creates UpdateSubscriptionNotFound with default headers values

func (*UpdateSubscriptionNotFound) SetPayload added in v0.1.13

func (o *UpdateSubscriptionNotFound) SetPayload(payload *v1.Error)

SetPayload sets the payload to the update subscription not found response

func (*UpdateSubscriptionNotFound) WithPayload added in v0.1.13

WithPayload adds the payload to the update subscription not found response

func (*UpdateSubscriptionNotFound) WriteResponse added in v0.1.13

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

WriteResponse to the client

type UpdateSubscriptionOK added in v0.1.13

type UpdateSubscriptionOK struct {

	/*
	  In: Body
	*/
	Payload *v1.Subscription `json:"body,omitempty"`
}

UpdateSubscriptionOK Successful operation

swagger:response updateSubscriptionOK

func NewUpdateSubscriptionOK added in v0.1.13

func NewUpdateSubscriptionOK() *UpdateSubscriptionOK

NewUpdateSubscriptionOK creates UpdateSubscriptionOK with default headers values

func (*UpdateSubscriptionOK) SetPayload added in v0.1.13

func (o *UpdateSubscriptionOK) SetPayload(payload *v1.Subscription)

SetPayload sets the payload to the update subscription o k response

func (*UpdateSubscriptionOK) WithPayload added in v0.1.13

func (o *UpdateSubscriptionOK) WithPayload(payload *v1.Subscription) *UpdateSubscriptionOK

WithPayload adds the payload to the update subscription o k response

func (*UpdateSubscriptionOK) WriteResponse added in v0.1.13

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

WriteResponse to the client

type UpdateSubscriptionParams added in v0.1.13

type UpdateSubscriptionParams struct {

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

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*subscription object
	  Required: true
	  In: body
	*/
	Body *v1.Subscription
	/*Name of the subscription to work on
	  Required: true
	  Pattern: ^[\w\d\-]+$
	  In: path
	*/
	SubscriptionName string
	/*Filter based on tags
	  In: query
	  Collection Format: multi
	*/
	Tags []string
}

UpdateSubscriptionParams contains all the bound params for the update subscription operation typically these are obtained from a http.Request

swagger:parameters updateSubscription

func NewUpdateSubscriptionParams added in v0.1.13

func NewUpdateSubscriptionParams() UpdateSubscriptionParams

NewUpdateSubscriptionParams creates a new UpdateSubscriptionParams object no default values defined in spec.

func (*UpdateSubscriptionParams) BindRequest added in v0.1.13

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 NewUpdateSubscriptionParams() beforehand.

type UpdateSubscriptionURL added in v0.1.13

type UpdateSubscriptionURL struct {
	SubscriptionName string

	Tags []string
	// contains filtered or unexported fields
}

UpdateSubscriptionURL generates an URL for the update subscription operation

func (*UpdateSubscriptionURL) Build added in v0.1.13

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

Build a url path and query string

func (*UpdateSubscriptionURL) BuildFull added in v0.1.13

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

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

func (*UpdateSubscriptionURL) Must added in v0.1.13

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

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

func (*UpdateSubscriptionURL) SetBasePath added in v0.1.13

func (o *UpdateSubscriptionURL) 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 (*UpdateSubscriptionURL) String added in v0.1.13

func (o *UpdateSubscriptionURL) String() string

String returns the string representation of the path with query string

func (*UpdateSubscriptionURL) StringFull added in v0.1.13

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

StringFull returns the string representation of a complete url

func (*UpdateSubscriptionURL) WithBasePath added in v0.1.13

func (o *UpdateSubscriptionURL) WithBasePath(bp string) *UpdateSubscriptionURL

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