Versions in this module Expand all Collapse all v1 v1.0.0 Nov 22, 2021 Changes in this version + var ContextAPIKeys = contextKey("apiKeys") + var ContextAccessToken = contextKey("accesstoken") + var ContextBasicAuth = contextKey("basic") + var ContextHttpSignatureAuth = contextKey("httpsignature") + var ContextOAuth2 = contextKey("token") + var ContextOperationServerIndices = contextKey("serverOperationIndices") + var ContextOperationServerVariables = contextKey("serverOperationVariables") + var ContextServerIndex = contextKey("serverIndex") + var ContextServerVariables = contextKey("serverVariables") + func CacheExpires(r *http.Response) time.Time + func PtrBool(v bool) *bool + func PtrFloat32(v float32) *float32 + func PtrFloat64(v float64) *float64 + func PtrInt(v int) *int + func PtrInt32(v int32) *int32 + func PtrInt64(v int64) *int64 + func PtrString(v string) *string + func PtrTime(v time.Time) *time.Time + type APIClient struct + EventsApi EventsApi + func NewAPIClient(cfg *Configuration) *APIClient + func (c *APIClient) GetConfig() *Configuration + type APIKey struct + Key string + Prefix string + type APIResponse struct + Message string + Method string + Operation string + Payload []byte + RequestURL string + func NewAPIResponse(r *http.Response) *APIResponse + func NewAPIResponseWithError(errorMessage string) *APIResponse + type ApiAction struct + Name *string + Request Request + Response Response + Timestamp time.Time + UserInfo UserInfo + func NewApiAction(timestamp time.Time, userInfo UserInfo, response Response, request Request) *ApiAction + func NewApiActionWithDefaults() *ApiAction + func (o *ApiAction) GetName() string + func (o *ApiAction) GetNameOk() (*string, bool) + func (o *ApiAction) GetRequest() Request + func (o *ApiAction) GetRequestOk() (*Request, bool) + func (o *ApiAction) GetResponse() Response + func (o *ApiAction) GetResponseOk() (*Response, bool) + func (o *ApiAction) GetTimestamp() time.Time + func (o *ApiAction) GetTimestampOk() (*time.Time, bool) + func (o *ApiAction) GetUserInfo() UserInfo + func (o *ApiAction) GetUserInfoOk() (*UserInfo, bool) + func (o *ApiAction) HasName() bool + func (o *ApiAction) SetName(v string) + func (o *ApiAction) SetRequest(v Request) + func (o *ApiAction) SetResponse(v Response) + func (o *ApiAction) SetTimestamp(v time.Time) + func (o *ApiAction) SetUserInfo(v UserInfo) + func (o ApiAction) MarshalJSON() ([]byte, error) + type ApiActionAllOf struct + Request Request + Response Response + func NewApiActionAllOf(response Response, request Request) *ApiActionAllOf + func NewApiActionAllOfWithDefaults() *ApiActionAllOf + func (o *ApiActionAllOf) GetRequest() Request + func (o *ApiActionAllOf) GetRequestOk() (*Request, bool) + func (o *ApiActionAllOf) GetResponse() Response + func (o *ApiActionAllOf) GetResponseOk() (*Response, bool) + func (o *ApiActionAllOf) SetRequest(v Request) + func (o *ApiActionAllOf) SetResponse(v Response) + func (o ApiActionAllOf) MarshalJSON() ([]byte, error) + type ApiEventsGetRequest struct + ApiService EventsApi + func (r ApiEventsGetRequest) Execute() ([]Event, *_nethttp.Response, error) + func (r ApiEventsGetRequest) From(from time.Time) ApiEventsGetRequest + func (r ApiEventsGetRequest) Limit(limit int32) ApiEventsGetRequest + func (r ApiEventsGetRequest) Order(order string) ApiEventsGetRequest + func (r ApiEventsGetRequest) To(to time.Time) ApiEventsGetRequest + func (r ApiEventsGetRequest) Uri(uri string) ApiEventsGetRequest + func (r ApiEventsGetRequest) Username(username string) ApiEventsGetRequest + func (r ApiEventsGetRequest) Verb(verb string) ApiEventsGetRequest + type BasicAuth struct + Password string + UserName string + type Configuration struct + Debug bool + DefaultHeader map[string]string + HTTPClient *http.Client + Host string + OperationServers map[string]ServerConfigurations + Scheme string + Servers ServerConfigurations + UserAgent string + func NewConfiguration() *Configuration + func (c *Configuration) AddDefaultHeader(key string, value string) + func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) + func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) + type Event struct + Name *string + Timestamp time.Time + UserInfo UserInfo + func NewEvent(timestamp time.Time, userInfo UserInfo) *Event + func NewEventWithDefaults() *Event + func (o *Event) GetName() string + func (o *Event) GetNameOk() (*string, bool) + func (o *Event) GetTimestamp() time.Time + func (o *Event) GetTimestampOk() (*time.Time, bool) + func (o *Event) GetUserInfo() UserInfo + func (o *Event) GetUserInfoOk() (*UserInfo, bool) + func (o *Event) HasName() bool + func (o *Event) SetName(v string) + func (o *Event) SetTimestamp(v time.Time) + func (o *Event) SetUserInfo(v UserInfo) + func (o Event) MarshalJSON() ([]byte, error) + type EventsApi interface + EventsGet func(ctx _context.Context) ApiEventsGetRequest + EventsGetExecute func(r ApiEventsGetRequest) ([]Event, *_nethttp.Response, error) + type EventsApiService service + func (a *EventsApiService) EventsGet(ctx _context.Context) ApiEventsGetRequest + func (a *EventsApiService) EventsGetExecute(r ApiEventsGetRequest) ([]Event, *_nethttp.Response, error) + type GenericOpenAPIError struct + func (e GenericOpenAPIError) Body() []byte + func (e GenericOpenAPIError) Error() string + func (e GenericOpenAPIError) Model() interface{} + type Headers struct + UserAgent string + func NewHeaders(userAgent string) *Headers + func NewHeadersWithDefaults() *Headers + func (o *Headers) GetUserAgent() string + func (o *Headers) GetUserAgentOk() (*string, bool) + func (o *Headers) SetUserAgent(v string) + func (o Headers) MarshalJSON() ([]byte, error) + type NullableApiAction struct + func NewNullableApiAction(val *ApiAction) *NullableApiAction + func (v *NullableApiAction) Set(val *ApiAction) + func (v *NullableApiAction) UnmarshalJSON(src []byte) error + func (v *NullableApiAction) Unset() + func (v NullableApiAction) Get() *ApiAction + func (v NullableApiAction) IsSet() bool + func (v NullableApiAction) MarshalJSON() ([]byte, error) + type NullableApiActionAllOf struct + func NewNullableApiActionAllOf(val *ApiActionAllOf) *NullableApiActionAllOf + func (v *NullableApiActionAllOf) Set(val *ApiActionAllOf) + func (v *NullableApiActionAllOf) UnmarshalJSON(src []byte) error + func (v *NullableApiActionAllOf) Unset() + func (v NullableApiActionAllOf) Get() *ApiActionAllOf + func (v NullableApiActionAllOf) IsSet() bool + func (v NullableApiActionAllOf) MarshalJSON() ([]byte, error) + type NullableBool struct + func NewNullableBool(val *bool) *NullableBool + func (v *NullableBool) Set(val *bool) + func (v *NullableBool) UnmarshalJSON(src []byte) error + func (v *NullableBool) Unset() + func (v NullableBool) Get() *bool + func (v NullableBool) IsSet() bool + func (v NullableBool) MarshalJSON() ([]byte, error) + type NullableEvent struct + func NewNullableEvent(val *Event) *NullableEvent + func (v *NullableEvent) Set(val *Event) + func (v *NullableEvent) UnmarshalJSON(src []byte) error + func (v *NullableEvent) Unset() + func (v NullableEvent) Get() *Event + func (v NullableEvent) IsSet() bool + func (v NullableEvent) MarshalJSON() ([]byte, error) + type NullableFloat32 struct + func NewNullableFloat32(val *float32) *NullableFloat32 + func (v *NullableFloat32) Set(val *float32) + func (v *NullableFloat32) UnmarshalJSON(src []byte) error + func (v *NullableFloat32) Unset() + func (v NullableFloat32) Get() *float32 + func (v NullableFloat32) IsSet() bool + func (v NullableFloat32) MarshalJSON() ([]byte, error) + type NullableFloat64 struct + func NewNullableFloat64(val *float64) *NullableFloat64 + func (v *NullableFloat64) Set(val *float64) + func (v *NullableFloat64) UnmarshalJSON(src []byte) error + func (v *NullableFloat64) Unset() + func (v NullableFloat64) Get() *float64 + func (v NullableFloat64) IsSet() bool + func (v NullableFloat64) MarshalJSON() ([]byte, error) + type NullableHeaders struct + func NewNullableHeaders(val *Headers) *NullableHeaders + func (v *NullableHeaders) Set(val *Headers) + func (v *NullableHeaders) UnmarshalJSON(src []byte) error + func (v *NullableHeaders) Unset() + func (v NullableHeaders) Get() *Headers + func (v NullableHeaders) IsSet() bool + func (v NullableHeaders) MarshalJSON() ([]byte, error) + type NullableInt struct + func NewNullableInt(val *int) *NullableInt + func (v *NullableInt) Set(val *int) + func (v *NullableInt) UnmarshalJSON(src []byte) error + func (v *NullableInt) Unset() + func (v NullableInt) Get() *int + func (v NullableInt) IsSet() bool + func (v NullableInt) MarshalJSON() ([]byte, error) + type NullableInt32 struct + func NewNullableInt32(val *int32) *NullableInt32 + func (v *NullableInt32) Set(val *int32) + func (v *NullableInt32) UnmarshalJSON(src []byte) error + func (v *NullableInt32) Unset() + func (v NullableInt32) Get() *int32 + func (v NullableInt32) IsSet() bool + func (v NullableInt32) MarshalJSON() ([]byte, error) + type NullableInt64 struct + func NewNullableInt64(val *int64) *NullableInt64 + func (v *NullableInt64) Set(val *int64) + func (v *NullableInt64) UnmarshalJSON(src []byte) error + func (v *NullableInt64) Unset() + func (v NullableInt64) Get() *int64 + func (v NullableInt64) IsSet() bool + func (v NullableInt64) MarshalJSON() ([]byte, error) + type NullableRequest struct + func NewNullableRequest(val *Request) *NullableRequest + func (v *NullableRequest) Set(val *Request) + func (v *NullableRequest) UnmarshalJSON(src []byte) error + func (v *NullableRequest) Unset() + func (v NullableRequest) Get() *Request + func (v NullableRequest) IsSet() bool + func (v NullableRequest) MarshalJSON() ([]byte, error) + type NullableResponse struct + func NewNullableResponse(val *Response) *NullableResponse + func (v *NullableResponse) Set(val *Response) + func (v *NullableResponse) UnmarshalJSON(src []byte) error + func (v *NullableResponse) Unset() + func (v NullableResponse) Get() *Response + func (v NullableResponse) IsSet() bool + func (v NullableResponse) MarshalJSON() ([]byte, error) + type NullableString struct + func NewNullableString(val *string) *NullableString + func (v *NullableString) Set(val *string) + func (v *NullableString) UnmarshalJSON(src []byte) error + func (v *NullableString) Unset() + func (v NullableString) Get() *string + func (v NullableString) IsSet() bool + func (v NullableString) MarshalJSON() ([]byte, error) + type NullableTime struct + func NewNullableTime(val *time.Time) *NullableTime + func (v *NullableTime) Set(val *time.Time) + func (v *NullableTime) UnmarshalJSON(src []byte) error + func (v *NullableTime) Unset() + func (v NullableTime) Get() *time.Time + func (v NullableTime) IsSet() bool + func (v NullableTime) MarshalJSON() ([]byte, error) + type NullableUserInfo struct + func NewNullableUserInfo(val *UserInfo) *NullableUserInfo + func (v *NullableUserInfo) Set(val *UserInfo) + func (v *NullableUserInfo) UnmarshalJSON(src []byte) error + func (v *NullableUserInfo) Unset() + func (v NullableUserInfo) Get() *UserInfo + func (v NullableUserInfo) IsSet() bool + func (v NullableUserInfo) MarshalJSON() ([]byte, error) + type Request struct + Headers Headers + Uri string + Verb string + func NewRequest(headers Headers, uri string, verb string) *Request + func NewRequestWithDefaults() *Request + func (o *Request) GetHeaders() Headers + func (o *Request) GetHeadersOk() (*Headers, bool) + func (o *Request) GetUri() string + func (o *Request) GetUriOk() (*string, bool) + func (o *Request) GetVerb() string + func (o *Request) GetVerbOk() (*string, bool) + func (o *Request) SetHeaders(v Headers) + func (o *Request) SetUri(v string) + func (o *Request) SetVerb(v string) + func (o Request) MarshalJSON() ([]byte, error) + type Response struct + ResourceId *string + StatusCode int32 + func NewResponse(statusCode int32) *Response + func NewResponseWithDefaults() *Response + func (o *Response) GetResourceId() string + func (o *Response) GetResourceIdOk() (*string, bool) + func (o *Response) GetStatusCode() int32 + func (o *Response) GetStatusCodeOk() (*int32, bool) + func (o *Response) HasResourceId() bool + func (o *Response) SetResourceId(v string) + func (o *Response) SetStatusCode(v int32) + func (o Response) MarshalJSON() ([]byte, error) + type ServerConfiguration struct + Description string + URL string + Variables map[string]ServerVariable + type ServerConfigurations []ServerConfiguration + func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) + type ServerVariable struct + DefaultValue string + Description string + EnumValues []string + type UserInfo struct + AccountId string + ClientId *string + Username string + func NewUserInfo(accountId string, username string) *UserInfo + func NewUserInfoWithDefaults() *UserInfo + func (o *UserInfo) GetAccountId() string + func (o *UserInfo) GetAccountIdOk() (*string, bool) + func (o *UserInfo) GetClientId() string + func (o *UserInfo) GetClientIdOk() (*string, bool) + func (o *UserInfo) GetUsername() string + func (o *UserInfo) GetUsernameOk() (*string, bool) + func (o *UserInfo) HasClientId() bool + func (o *UserInfo) SetAccountId(v string) + func (o *UserInfo) SetClientId(v string) + func (o *UserInfo) SetUsername(v string) + func (o UserInfo) MarshalJSON() ([]byte, error)