Timer

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: Apache-2.0 Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIClient

type APIClient struct {

	// API Services
	TimerGetApi     *TimerGetApiService
	TimerSearchApi  *TimerSearchApiService
	TimerStartApi   *TimerStartApiService
	TimerStopApi    *TimerStopApiService
	TimerUpdateApi  *TimerUpdateApiService
	TimersDeleteApi *TimersDeleteApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Nudsf_Timer API v1.0.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

type Configuration

type Configuration struct {
	MetricsHook openapi.RequestMetricsHook
	// contains filtered or unexported fields
}

func NewConfiguration

func NewConfiguration() *Configuration

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

func (*Configuration) BasePath

func (c *Configuration) BasePath() string

func (*Configuration) DefaultHeader

func (c *Configuration) DefaultHeader() map[string]string

func (*Configuration) HTTPClient

func (c *Configuration) HTTPClient() *http.Client

func (*Configuration) Host

func (c *Configuration) Host() string

func (*Configuration) Metrics

func (*Configuration) SetBasePath

func (c *Configuration) SetBasePath(apiRoot string)

func (*Configuration) SetHTTPClient

func (c *Configuration) SetHTTPClient(client *http.Client)

func (*Configuration) SetHost

func (c *Configuration) SetHost(host string)

func (*Configuration) SetMetrics

func (c *Configuration) SetMetrics(h openapi.RequestMetricsHook)

func (*Configuration) SetUserAgent

func (c *Configuration) SetUserAgent(userAgent string)

func (*Configuration) UserAgent

func (c *Configuration) UserAgent() string

type CreateOrModifyTimerError

type CreateOrModifyTimerError struct {
	ProblemDetails models.ProblemDetails
}

type CreateOrModifyTimerRequest

type CreateOrModifyTimerRequest struct {
	RealmId           *string
	StorageId         *string
	TimerId           *string
	Timer             *models.Timer
	SupportedFeatures *string
}

CreateOrModifyTimerRequest

func (*CreateOrModifyTimerRequest) SetRealmId

func (r *CreateOrModifyTimerRequest) SetRealmId(RealmId string)

func (*CreateOrModifyTimerRequest) SetStorageId

func (r *CreateOrModifyTimerRequest) SetStorageId(StorageId string)

func (*CreateOrModifyTimerRequest) SetSupportedFeatures

func (r *CreateOrModifyTimerRequest) SetSupportedFeatures(SupportedFeatures string)

func (*CreateOrModifyTimerRequest) SetTimer

func (r *CreateOrModifyTimerRequest) SetTimer(Timer models.Timer)

func (*CreateOrModifyTimerRequest) SetTimerId

func (r *CreateOrModifyTimerRequest) SetTimerId(TimerId string)

type CreateOrModifyTimerResponse

type CreateOrModifyTimerResponse struct {
}

type CreateOrModifyTimerTimerExpiryPostError

type CreateOrModifyTimerTimerExpiryPostError struct {
	ProblemDetails models.ProblemDetails
}

type CreateOrModifyTimerTimerExpiryPostRequest

type CreateOrModifyTimerTimerExpiryPostRequest struct {
	Timer *models.Timer
}

CreateOrModifyTimerTimerExpiryPostRequest

func (*CreateOrModifyTimerTimerExpiryPostRequest) SetTimer

type CreateOrModifyTimerTimerExpiryPostResponse

type CreateOrModifyTimerTimerExpiryPostResponse struct {
}

type DeleteTimerError

type DeleteTimerError struct {
	ProblemDetails models.ProblemDetails
}

type DeleteTimerRequest

type DeleteTimerRequest struct {
	RealmId           *string
	StorageId         *string
	TimerId           *string
	SupportedFeatures *string
}

DeleteTimerRequest

func (*DeleteTimerRequest) SetRealmId

func (r *DeleteTimerRequest) SetRealmId(RealmId string)

func (*DeleteTimerRequest) SetStorageId

func (r *DeleteTimerRequest) SetStorageId(StorageId string)

func (*DeleteTimerRequest) SetSupportedFeatures

func (r *DeleteTimerRequest) SetSupportedFeatures(SupportedFeatures string)

func (*DeleteTimerRequest) SetTimerId

func (r *DeleteTimerRequest) SetTimerId(TimerId string)

type DeleteTimerResponse

type DeleteTimerResponse struct {
}

type DeleteTimersError

type DeleteTimersError struct {
	ProblemDetails models.ProblemDetails
}

type DeleteTimersRequest

type DeleteTimersRequest struct {
	RealmId           *string
	StorageId         *string
	SupportedFeatures *string
	Filter            *models.SearchExpression
	ExpiredFilter     *string
}

DeleteTimersRequest

func (*DeleteTimersRequest) SetExpiredFilter

func (r *DeleteTimersRequest) SetExpiredFilter(ExpiredFilter string)

func (*DeleteTimersRequest) SetFilter

func (r *DeleteTimersRequest) SetFilter(Filter models.SearchExpression)

func (*DeleteTimersRequest) SetRealmId

func (r *DeleteTimersRequest) SetRealmId(RealmId string)

func (*DeleteTimersRequest) SetStorageId

func (r *DeleteTimersRequest) SetStorageId(StorageId string)

func (*DeleteTimersRequest) SetSupportedFeatures

func (r *DeleteTimersRequest) SetSupportedFeatures(SupportedFeatures string)

type DeleteTimersResponse

type DeleteTimersResponse struct {
	TimerIdList models.TimerIdList
}

type GetTimerError

type GetTimerError struct {
	ProblemDetails models.ProblemDetails
}

type GetTimerRequest

type GetTimerRequest struct {
	RealmId           *string
	StorageId         *string
	TimerId           *string
	SupportedFeatures *string
}

GetTimerRequest

func (*GetTimerRequest) SetRealmId

func (r *GetTimerRequest) SetRealmId(RealmId string)

func (*GetTimerRequest) SetStorageId

func (r *GetTimerRequest) SetStorageId(StorageId string)

func (*GetTimerRequest) SetSupportedFeatures

func (r *GetTimerRequest) SetSupportedFeatures(SupportedFeatures string)

func (*GetTimerRequest) SetTimerId

func (r *GetTimerRequest) SetTimerId(TimerId string)

type GetTimerResponse

type GetTimerResponse struct {
	Timer models.Timer
}

type SearchTimerError

type SearchTimerError struct {
	ProblemDetails models.ProblemDetails
}

type SearchTimerRequest

type SearchTimerRequest struct {
	RealmId           *string
	StorageId         *string
	Filter            *models.SearchExpression
	ExpiredFilter     *string
	SupportedFeatures *string
}

SearchTimerRequest

func (*SearchTimerRequest) SetExpiredFilter

func (r *SearchTimerRequest) SetExpiredFilter(ExpiredFilter string)

func (*SearchTimerRequest) SetFilter

func (r *SearchTimerRequest) SetFilter(Filter models.SearchExpression)

func (*SearchTimerRequest) SetRealmId

func (r *SearchTimerRequest) SetRealmId(RealmId string)

func (*SearchTimerRequest) SetStorageId

func (r *SearchTimerRequest) SetStorageId(StorageId string)

func (*SearchTimerRequest) SetSupportedFeatures

func (r *SearchTimerRequest) SetSupportedFeatures(SupportedFeatures string)

type SearchTimerResponse

type SearchTimerResponse struct {
	TimerIdList models.TimerIdList
}

type TimerGetApiService

type TimerGetApiService service

func (*TimerGetApiService) GetTimer

type TimerSearchApiService

type TimerSearchApiService service

func (*TimerSearchApiService) SearchTimer

type TimerStartApiService

type TimerStartApiService service

func (*TimerStartApiService) CreateOrModifyTimer

type TimerStopApiService

type TimerStopApiService service

func (*TimerStopApiService) DeleteTimer

type TimerUpdateApiService

type TimerUpdateApiService service

func (*TimerUpdateApiService) UpdateTimer

type TimersDeleteApiService

type TimersDeleteApiService service

func (*TimersDeleteApiService) DeleteTimers

type UpdateTimerError

type UpdateTimerError struct {
	ProblemDetails models.ProblemDetails
}

type UpdateTimerRequest

type UpdateTimerRequest struct {
	RealmId           *string
	StorageId         *string
	TimerId           *string
	PatchItem         []models.PatchItem
	SupportedFeatures *string
}

UpdateTimerRequest

func (*UpdateTimerRequest) SetPatchItem

func (r *UpdateTimerRequest) SetPatchItem(PatchItem []models.PatchItem)

func (*UpdateTimerRequest) SetRealmId

func (r *UpdateTimerRequest) SetRealmId(RealmId string)

func (*UpdateTimerRequest) SetStorageId

func (r *UpdateTimerRequest) SetStorageId(StorageId string)

func (*UpdateTimerRequest) SetSupportedFeatures

func (r *UpdateTimerRequest) SetSupportedFeatures(SupportedFeatures string)

func (*UpdateTimerRequest) SetTimerId

func (r *UpdateTimerRequest) SetTimerId(TimerId string)

type UpdateTimerResponse

type UpdateTimerResponse struct {
	PatchResult models.PatchResult
}

Jump to

Keyboard shortcuts

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