service_usage_events_experimental

package
v0.0.0-...-7977c27 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const ListServiceUsageEventsOKCode int = 200

ListServiceUsageEventsOKCode is the HTTP code returned for type ListServiceUsageEventsOK

View Source
const PurgeAndReseedServiceUsageEventsNoContentCode int = 204

PurgeAndReseedServiceUsageEventsNoContentCode is the HTTP code returned for type PurgeAndReseedServiceUsageEventsNoContent

View Source
const RetrieveServiceUsageEventOKCode int = 200

RetrieveServiceUsageEventOKCode is the HTTP code returned for type RetrieveServiceUsageEventOK

Variables

This section is empty.

Functions

This section is empty.

Types

type ListServiceUsageEvents

type ListServiceUsageEvents struct {
	Context *middleware.Context
	Handler ListServiceUsageEventsHandler
}

ListServiceUsageEvents swagger:route GET /service_usage_events serviceUsageEventsExperimental listServiceUsageEvents

List Service Usage Events

curl --insecure -i %s/v2/service_usage_events -X GET -H 'Authorization: %s'

func NewListServiceUsageEvents

func NewListServiceUsageEvents(ctx *middleware.Context, handler ListServiceUsageEventsHandler) *ListServiceUsageEvents

NewListServiceUsageEvents creates a new http.Handler for the list service usage events operation

func (*ListServiceUsageEvents) ServeHTTP

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

type ListServiceUsageEventsHandler

type ListServiceUsageEventsHandler interface {
	Handle(ListServiceUsageEventsParams) middleware.Responder
}

ListServiceUsageEventsHandler interface for that can handle valid list service usage events params

type ListServiceUsageEventsHandlerFunc

type ListServiceUsageEventsHandlerFunc func(ListServiceUsageEventsParams) middleware.Responder

ListServiceUsageEventsHandlerFunc turns a function with the right signature into a list service usage events handler

func (ListServiceUsageEventsHandlerFunc) Handle

Handle executing the request and returning a response

type ListServiceUsageEventsOK

type ListServiceUsageEventsOK struct {

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

ListServiceUsageEventsOK successful response

swagger:response listServiceUsageEventsOK

func NewListServiceUsageEventsOK

func NewListServiceUsageEventsOK() *ListServiceUsageEventsOK

NewListServiceUsageEventsOK creates ListServiceUsageEventsOK with default headers values

func (*ListServiceUsageEventsOK) SetPayload

SetPayload sets the payload to the list service usage events o k response

func (*ListServiceUsageEventsOK) WithPayload

WithPayload adds the payload to the list service usage events o k response

func (*ListServiceUsageEventsOK) WriteResponse

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

WriteResponse to the client

type ListServiceUsageEventsParams

type ListServiceUsageEventsParams struct {

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

ListServiceUsageEventsParams contains all the bound params for the list service usage events operation typically these are obtained from a http.Request

swagger:parameters listServiceUsageEvents

func NewListServiceUsageEventsParams

func NewListServiceUsageEventsParams() ListServiceUsageEventsParams

NewListServiceUsageEventsParams creates a new ListServiceUsageEventsParams object no default values defined in spec.

func (*ListServiceUsageEventsParams) 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 NewListServiceUsageEventsParams() beforehand.

type ListServiceUsageEventsURL

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

ListServiceUsageEventsURL generates an URL for the list service usage events operation

func (*ListServiceUsageEventsURL) Build

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

Build a url path and query string

func (*ListServiceUsageEventsURL) BuildFull

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

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

func (*ListServiceUsageEventsURL) Must

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

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

func (*ListServiceUsageEventsURL) SetBasePath

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

func (o *ListServiceUsageEventsURL) String() string

String returns the string representation of the path with query string

func (*ListServiceUsageEventsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListServiceUsageEventsURL) 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 PurgeAndReseedServiceUsageEvents

type PurgeAndReseedServiceUsageEvents struct {
	Context *middleware.Context
	Handler PurgeAndReseedServiceUsageEventsHandler
}

PurgeAndReseedServiceUsageEvents swagger:route POST /service_usage_events/destructively_purge_all_and_reseed_existing_instances serviceUsageEventsExperimental purgeAndReseedServiceUsageEvents

Purge and reseed Service Usage Events

curl --insecure -i %s/v2/service_usage_events/destructively_purge_all_and_reseed_existing_instances -X POST -H 'Authorization: %s'

func NewPurgeAndReseedServiceUsageEvents

func NewPurgeAndReseedServiceUsageEvents(ctx *middleware.Context, handler PurgeAndReseedServiceUsageEventsHandler) *PurgeAndReseedServiceUsageEvents

NewPurgeAndReseedServiceUsageEvents creates a new http.Handler for the purge and reseed service usage events operation

func (*PurgeAndReseedServiceUsageEvents) ServeHTTP

type PurgeAndReseedServiceUsageEventsHandler

type PurgeAndReseedServiceUsageEventsHandler interface {
	Handle(PurgeAndReseedServiceUsageEventsParams) middleware.Responder
}

PurgeAndReseedServiceUsageEventsHandler interface for that can handle valid purge and reseed service usage events params

type PurgeAndReseedServiceUsageEventsHandlerFunc

type PurgeAndReseedServiceUsageEventsHandlerFunc func(PurgeAndReseedServiceUsageEventsParams) middleware.Responder

PurgeAndReseedServiceUsageEventsHandlerFunc turns a function with the right signature into a purge and reseed service usage events handler

func (PurgeAndReseedServiceUsageEventsHandlerFunc) Handle

Handle executing the request and returning a response

type PurgeAndReseedServiceUsageEventsNoContent

type PurgeAndReseedServiceUsageEventsNoContent struct {
}

PurgeAndReseedServiceUsageEventsNoContent successful response

swagger:response purgeAndReseedServiceUsageEventsNoContent

func NewPurgeAndReseedServiceUsageEventsNoContent

func NewPurgeAndReseedServiceUsageEventsNoContent() *PurgeAndReseedServiceUsageEventsNoContent

NewPurgeAndReseedServiceUsageEventsNoContent creates PurgeAndReseedServiceUsageEventsNoContent with default headers values

func (*PurgeAndReseedServiceUsageEventsNoContent) WriteResponse

WriteResponse to the client

type PurgeAndReseedServiceUsageEventsParams

type PurgeAndReseedServiceUsageEventsParams struct {

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

PurgeAndReseedServiceUsageEventsParams contains all the bound params for the purge and reseed service usage events operation typically these are obtained from a http.Request

swagger:parameters purgeAndReseedServiceUsageEvents

func NewPurgeAndReseedServiceUsageEventsParams

func NewPurgeAndReseedServiceUsageEventsParams() PurgeAndReseedServiceUsageEventsParams

NewPurgeAndReseedServiceUsageEventsParams creates a new PurgeAndReseedServiceUsageEventsParams object no default values defined in spec.

func (*PurgeAndReseedServiceUsageEventsParams) 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 NewPurgeAndReseedServiceUsageEventsParams() beforehand.

type PurgeAndReseedServiceUsageEventsURL

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

PurgeAndReseedServiceUsageEventsURL generates an URL for the purge and reseed service usage events operation

func (*PurgeAndReseedServiceUsageEventsURL) Build

Build a url path and query string

func (*PurgeAndReseedServiceUsageEventsURL) BuildFull

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

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

func (*PurgeAndReseedServiceUsageEventsURL) Must

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

func (*PurgeAndReseedServiceUsageEventsURL) SetBasePath

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

String returns the string representation of the path with query string

func (*PurgeAndReseedServiceUsageEventsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*PurgeAndReseedServiceUsageEventsURL) 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 RetrieveServiceUsageEvent

type RetrieveServiceUsageEvent struct {
	Context *middleware.Context
	Handler RetrieveServiceUsageEventHandler
}

RetrieveServiceUsageEvent swagger:route GET /service_usage_events/{guid} serviceUsageEventsExperimental retrieveServiceUsageEvent

Retrieve a Particular Service Usage Event

curl --insecure -i %s/v2/service_usage_events/{guid} -X GET -H 'Authorization: %s'

func NewRetrieveServiceUsageEvent

func NewRetrieveServiceUsageEvent(ctx *middleware.Context, handler RetrieveServiceUsageEventHandler) *RetrieveServiceUsageEvent

NewRetrieveServiceUsageEvent creates a new http.Handler for the retrieve service usage event operation

func (*RetrieveServiceUsageEvent) ServeHTTP

type RetrieveServiceUsageEventHandler

type RetrieveServiceUsageEventHandler interface {
	Handle(RetrieveServiceUsageEventParams) middleware.Responder
}

RetrieveServiceUsageEventHandler interface for that can handle valid retrieve service usage event params

type RetrieveServiceUsageEventHandlerFunc

type RetrieveServiceUsageEventHandlerFunc func(RetrieveServiceUsageEventParams) middleware.Responder

RetrieveServiceUsageEventHandlerFunc turns a function with the right signature into a retrieve service usage event handler

func (RetrieveServiceUsageEventHandlerFunc) Handle

Handle executing the request and returning a response

type RetrieveServiceUsageEventOK

type RetrieveServiceUsageEventOK struct {

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

RetrieveServiceUsageEventOK successful response

swagger:response retrieveServiceUsageEventOK

func NewRetrieveServiceUsageEventOK

func NewRetrieveServiceUsageEventOK() *RetrieveServiceUsageEventOK

NewRetrieveServiceUsageEventOK creates RetrieveServiceUsageEventOK with default headers values

func (*RetrieveServiceUsageEventOK) SetPayload

SetPayload sets the payload to the retrieve service usage event o k response

func (*RetrieveServiceUsageEventOK) WithPayload

WithPayload adds the payload to the retrieve service usage event o k response

func (*RetrieveServiceUsageEventOK) WriteResponse

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

WriteResponse to the client

type RetrieveServiceUsageEventParams

type RetrieveServiceUsageEventParams struct {

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

	/*The guid parameter is used as a part of the request URL: '/v2/service_usage_events/:guid'
	  Required: true
	  In: path
	*/
	GUID string
}

RetrieveServiceUsageEventParams contains all the bound params for the retrieve service usage event operation typically these are obtained from a http.Request

swagger:parameters retrieveServiceUsageEvent

func NewRetrieveServiceUsageEventParams

func NewRetrieveServiceUsageEventParams() RetrieveServiceUsageEventParams

NewRetrieveServiceUsageEventParams creates a new RetrieveServiceUsageEventParams object no default values defined in spec.

func (*RetrieveServiceUsageEventParams) 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 NewRetrieveServiceUsageEventParams() beforehand.

type RetrieveServiceUsageEventURL

type RetrieveServiceUsageEventURL struct {
	GUID string
	// contains filtered or unexported fields
}

RetrieveServiceUsageEventURL generates an URL for the retrieve service usage event operation

func (*RetrieveServiceUsageEventURL) Build

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

Build a url path and query string

func (*RetrieveServiceUsageEventURL) BuildFull

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

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

func (*RetrieveServiceUsageEventURL) Must

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

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

func (*RetrieveServiceUsageEventURL) SetBasePath

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

String returns the string representation of the path with query string

func (*RetrieveServiceUsageEventURL) StringFull

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

StringFull returns the string representation of a complete url

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

Jump to

Keyboard shortcuts

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