app_usage_events

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 ListAllAppUsageEventsOKCode int = 200

ListAllAppUsageEventsOKCode is the HTTP code returned for type ListAllAppUsageEventsOK

View Source
const PurgeAndReseedAppUsageEventsNoContentCode int = 204

PurgeAndReseedAppUsageEventsNoContentCode is the HTTP code returned for type PurgeAndReseedAppUsageEventsNoContent

View Source
const RetrieveAppUsageEventOKCode int = 200

RetrieveAppUsageEventOKCode is the HTTP code returned for type RetrieveAppUsageEventOK

Variables

This section is empty.

Functions

This section is empty.

Types

type ListAllAppUsageEvents

type ListAllAppUsageEvents struct {
	Context *middleware.Context
	Handler ListAllAppUsageEventsHandler
}

ListAllAppUsageEvents swagger:route GET /app_usage_events appUsageEvents listAllAppUsageEvents

List all App Usage Events

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

func NewListAllAppUsageEvents

func NewListAllAppUsageEvents(ctx *middleware.Context, handler ListAllAppUsageEventsHandler) *ListAllAppUsageEvents

NewListAllAppUsageEvents creates a new http.Handler for the list all app usage events operation

func (*ListAllAppUsageEvents) ServeHTTP

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

type ListAllAppUsageEventsHandler

type ListAllAppUsageEventsHandler interface {
	Handle(ListAllAppUsageEventsParams) middleware.Responder
}

ListAllAppUsageEventsHandler interface for that can handle valid list all app usage events params

type ListAllAppUsageEventsHandlerFunc

type ListAllAppUsageEventsHandlerFunc func(ListAllAppUsageEventsParams) middleware.Responder

ListAllAppUsageEventsHandlerFunc turns a function with the right signature into a list all app usage events handler

func (ListAllAppUsageEventsHandlerFunc) Handle

Handle executing the request and returning a response

type ListAllAppUsageEventsOK

type ListAllAppUsageEventsOK struct {

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

ListAllAppUsageEventsOK successful response

swagger:response listAllAppUsageEventsOK

func NewListAllAppUsageEventsOK

func NewListAllAppUsageEventsOK() *ListAllAppUsageEventsOK

NewListAllAppUsageEventsOK creates ListAllAppUsageEventsOK with default headers values

func (*ListAllAppUsageEventsOK) SetPayload

SetPayload sets the payload to the list all app usage events o k response

func (*ListAllAppUsageEventsOK) WithPayload

WithPayload adds the payload to the list all app usage events o k response

func (*ListAllAppUsageEventsOK) WriteResponse

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

WriteResponse to the client

type ListAllAppUsageEventsParams

type ListAllAppUsageEventsParams struct {

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

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

swagger:parameters listAllAppUsageEvents

func NewListAllAppUsageEventsParams

func NewListAllAppUsageEventsParams() ListAllAppUsageEventsParams

NewListAllAppUsageEventsParams creates a new ListAllAppUsageEventsParams object no default values defined in spec.

func (*ListAllAppUsageEventsParams) 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 NewListAllAppUsageEventsParams() beforehand.

type ListAllAppUsageEventsURL

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

ListAllAppUsageEventsURL generates an URL for the list all app usage events operation

func (*ListAllAppUsageEventsURL) Build

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

Build a url path and query string

func (*ListAllAppUsageEventsURL) BuildFull

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

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

func (*ListAllAppUsageEventsURL) Must

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

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

func (*ListAllAppUsageEventsURL) SetBasePath

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

func (o *ListAllAppUsageEventsURL) String() string

String returns the string representation of the path with query string

func (*ListAllAppUsageEventsURL) StringFull

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

StringFull returns the string representation of a complete url

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

type PurgeAndReseedAppUsageEvents struct {
	Context *middleware.Context
	Handler PurgeAndReseedAppUsageEventsHandler
}

PurgeAndReseedAppUsageEvents swagger:route POST /app_usage_events/destructively_purge_all_and_reseed_started_apps appUsageEvents purgeAndReseedAppUsageEvents

Purge and reseed App Usage Events

curl --insecure -i %s/v2/app_usage_events/destructively_purge_all_and_reseed_started_apps -X POST -H 'Authorization: %s'

func NewPurgeAndReseedAppUsageEvents

func NewPurgeAndReseedAppUsageEvents(ctx *middleware.Context, handler PurgeAndReseedAppUsageEventsHandler) *PurgeAndReseedAppUsageEvents

NewPurgeAndReseedAppUsageEvents creates a new http.Handler for the purge and reseed app usage events operation

func (*PurgeAndReseedAppUsageEvents) ServeHTTP

type PurgeAndReseedAppUsageEventsHandler

type PurgeAndReseedAppUsageEventsHandler interface {
	Handle(PurgeAndReseedAppUsageEventsParams) middleware.Responder
}

PurgeAndReseedAppUsageEventsHandler interface for that can handle valid purge and reseed app usage events params

type PurgeAndReseedAppUsageEventsHandlerFunc

type PurgeAndReseedAppUsageEventsHandlerFunc func(PurgeAndReseedAppUsageEventsParams) middleware.Responder

PurgeAndReseedAppUsageEventsHandlerFunc turns a function with the right signature into a purge and reseed app usage events handler

func (PurgeAndReseedAppUsageEventsHandlerFunc) Handle

Handle executing the request and returning a response

type PurgeAndReseedAppUsageEventsNoContent

type PurgeAndReseedAppUsageEventsNoContent struct {
}

PurgeAndReseedAppUsageEventsNoContent successful response

swagger:response purgeAndReseedAppUsageEventsNoContent

func NewPurgeAndReseedAppUsageEventsNoContent

func NewPurgeAndReseedAppUsageEventsNoContent() *PurgeAndReseedAppUsageEventsNoContent

NewPurgeAndReseedAppUsageEventsNoContent creates PurgeAndReseedAppUsageEventsNoContent with default headers values

func (*PurgeAndReseedAppUsageEventsNoContent) WriteResponse

WriteResponse to the client

type PurgeAndReseedAppUsageEventsParams

type PurgeAndReseedAppUsageEventsParams struct {

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

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

swagger:parameters purgeAndReseedAppUsageEvents

func NewPurgeAndReseedAppUsageEventsParams

func NewPurgeAndReseedAppUsageEventsParams() PurgeAndReseedAppUsageEventsParams

NewPurgeAndReseedAppUsageEventsParams creates a new PurgeAndReseedAppUsageEventsParams object no default values defined in spec.

func (*PurgeAndReseedAppUsageEventsParams) 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 NewPurgeAndReseedAppUsageEventsParams() beforehand.

type PurgeAndReseedAppUsageEventsURL

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

PurgeAndReseedAppUsageEventsURL generates an URL for the purge and reseed app usage events operation

func (*PurgeAndReseedAppUsageEventsURL) Build

Build a url path and query string

func (*PurgeAndReseedAppUsageEventsURL) BuildFull

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

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

func (*PurgeAndReseedAppUsageEventsURL) Must

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

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

func (*PurgeAndReseedAppUsageEventsURL) SetBasePath

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

String returns the string representation of the path with query string

func (*PurgeAndReseedAppUsageEventsURL) StringFull

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

StringFull returns the string representation of a complete url

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

type RetrieveAppUsageEvent struct {
	Context *middleware.Context
	Handler RetrieveAppUsageEventHandler
}

RetrieveAppUsageEvent swagger:route GET /app_usage_events/{guid} appUsageEvents retrieveAppUsageEvent

Retrieve a Particular App Usage Event

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

func NewRetrieveAppUsageEvent

func NewRetrieveAppUsageEvent(ctx *middleware.Context, handler RetrieveAppUsageEventHandler) *RetrieveAppUsageEvent

NewRetrieveAppUsageEvent creates a new http.Handler for the retrieve app usage event operation

func (*RetrieveAppUsageEvent) ServeHTTP

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

type RetrieveAppUsageEventHandler

type RetrieveAppUsageEventHandler interface {
	Handle(RetrieveAppUsageEventParams) middleware.Responder
}

RetrieveAppUsageEventHandler interface for that can handle valid retrieve app usage event params

type RetrieveAppUsageEventHandlerFunc

type RetrieveAppUsageEventHandlerFunc func(RetrieveAppUsageEventParams) middleware.Responder

RetrieveAppUsageEventHandlerFunc turns a function with the right signature into a retrieve app usage event handler

func (RetrieveAppUsageEventHandlerFunc) Handle

Handle executing the request and returning a response

type RetrieveAppUsageEventOK

type RetrieveAppUsageEventOK struct {

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

RetrieveAppUsageEventOK successful response

swagger:response retrieveAppUsageEventOK

func NewRetrieveAppUsageEventOK

func NewRetrieveAppUsageEventOK() *RetrieveAppUsageEventOK

NewRetrieveAppUsageEventOK creates RetrieveAppUsageEventOK with default headers values

func (*RetrieveAppUsageEventOK) SetPayload

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

func (*RetrieveAppUsageEventOK) WithPayload

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

func (*RetrieveAppUsageEventOK) WriteResponse

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

WriteResponse to the client

type RetrieveAppUsageEventParams

type RetrieveAppUsageEventParams struct {

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

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

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

swagger:parameters retrieveAppUsageEvent

func NewRetrieveAppUsageEventParams

func NewRetrieveAppUsageEventParams() RetrieveAppUsageEventParams

NewRetrieveAppUsageEventParams creates a new RetrieveAppUsageEventParams object no default values defined in spec.

func (*RetrieveAppUsageEventParams) 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 NewRetrieveAppUsageEventParams() beforehand.

type RetrieveAppUsageEventURL

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

RetrieveAppUsageEventURL generates an URL for the retrieve app usage event operation

func (*RetrieveAppUsageEventURL) Build

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

Build a url path and query string

func (*RetrieveAppUsageEventURL) BuildFull

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

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

func (*RetrieveAppUsageEventURL) Must

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

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

func (*RetrieveAppUsageEventURL) SetBasePath

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

func (o *RetrieveAppUsageEventURL) String() string

String returns the string representation of the path with query string

func (*RetrieveAppUsageEventURL) StringFull

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

StringFull returns the string representation of a complete url

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