Versions in this module Expand all Collapse all v2 v2.0.1 Nov 7, 2022 v2.0.0 Nov 7, 2022 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 + SettingsApi *SettingsApiService + 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 ApiArchiveRequest struct + ApiService *SettingsApiService + func (r ApiArchiveRequest) Execute() (*http.Response, error) + type ApiCreateRequest struct + ApiService *SettingsApiService + func (r ApiCreateRequest) Execute() (*SettingsResponse, *http.Response, error) + func (r ApiCreateRequest) SettingsRequest(settingsRequest SettingsRequest) ApiCreateRequest + type ApiGetByIDRequest struct + ApiService *SettingsApiService + func (r ApiGetByIDRequest) Execute() (*SettingsResponse, *http.Response, error) + type ApiUpdateRequest struct + ApiService *SettingsApiService + func (r ApiUpdateRequest) Execute() (*SettingsResponse, *http.Response, error) + func (r ApiUpdateRequest) SettingsPatchRequest(settingsPatchRequest SettingsPatchRequest) ApiUpdateRequest + 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 Error struct + Category string + Context *map[string][]string + CorrelationId string + Errors []ErrorDetail + Links *map[string]string + Message string + SubCategory *string + func NewError(message string, correlationId string, category string) *Error + func NewErrorWithDefaults() *Error + func (o *Error) GetCategory() string + func (o *Error) GetCategoryOk() (*string, bool) + func (o *Error) GetContext() map[string][]string + func (o *Error) GetContextOk() (*map[string][]string, bool) + func (o *Error) GetCorrelationId() string + func (o *Error) GetCorrelationIdOk() (*string, bool) + func (o *Error) GetErrors() []ErrorDetail + func (o *Error) GetErrorsOk() ([]ErrorDetail, bool) + func (o *Error) GetLinks() map[string]string + func (o *Error) GetLinksOk() (*map[string]string, bool) + func (o *Error) GetMessage() string + func (o *Error) GetMessageOk() (*string, bool) + func (o *Error) GetSubCategory() string + func (o *Error) GetSubCategoryOk() (*string, bool) + func (o *Error) HasContext() bool + func (o *Error) HasErrors() bool + func (o *Error) HasLinks() bool + func (o *Error) HasSubCategory() bool + func (o *Error) SetCategory(v string) + func (o *Error) SetContext(v map[string][]string) + func (o *Error) SetCorrelationId(v string) + func (o *Error) SetErrors(v []ErrorDetail) + func (o *Error) SetLinks(v map[string]string) + func (o *Error) SetMessage(v string) + func (o *Error) SetSubCategory(v string) + func (o Error) MarshalJSON() ([]byte, error) + type ErrorDetail struct + Code *string + Context *map[string][]string + In *string + Message string + SubCategory *string + func NewErrorDetail(message string) *ErrorDetail + func NewErrorDetailWithDefaults() *ErrorDetail + func (o *ErrorDetail) GetCode() string + func (o *ErrorDetail) GetCodeOk() (*string, bool) + func (o *ErrorDetail) GetContext() map[string][]string + func (o *ErrorDetail) GetContextOk() (*map[string][]string, bool) + func (o *ErrorDetail) GetIn() string + func (o *ErrorDetail) GetInOk() (*string, bool) + func (o *ErrorDetail) GetMessage() string + func (o *ErrorDetail) GetMessageOk() (*string, bool) + func (o *ErrorDetail) GetSubCategory() string + func (o *ErrorDetail) GetSubCategoryOk() (*string, bool) + func (o *ErrorDetail) HasCode() bool + func (o *ErrorDetail) HasContext() bool + func (o *ErrorDetail) HasIn() bool + func (o *ErrorDetail) HasSubCategory() bool + func (o *ErrorDetail) SetCode(v string) + func (o *ErrorDetail) SetContext(v map[string][]string) + func (o *ErrorDetail) SetIn(v string) + func (o *ErrorDetail) SetMessage(v string) + func (o *ErrorDetail) SetSubCategory(v string) + func (o ErrorDetail) MarshalJSON() ([]byte, error) + type GenericOpenAPIError struct + func (e GenericOpenAPIError) Body() []byte + func (e GenericOpenAPIError) Error() string + func (e GenericOpenAPIError) Model() interface{} + 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 NullableError struct + func NewNullableError(val *Error) *NullableError + func (v *NullableError) Set(val *Error) + func (v *NullableError) UnmarshalJSON(src []byte) error + func (v *NullableError) Unset() + func (v NullableError) Get() *Error + func (v NullableError) IsSet() bool + func (v NullableError) MarshalJSON() ([]byte, error) + type NullableErrorDetail struct + func NewNullableErrorDetail(val *ErrorDetail) *NullableErrorDetail + func (v *NullableErrorDetail) Set(val *ErrorDetail) + func (v *NullableErrorDetail) UnmarshalJSON(src []byte) error + func (v *NullableErrorDetail) Unset() + func (v NullableErrorDetail) Get() *ErrorDetail + func (v NullableErrorDetail) IsSet() bool + func (v NullableErrorDetail) 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 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 NullableSettingsPatchRequest struct + func NewNullableSettingsPatchRequest(val *SettingsPatchRequest) *NullableSettingsPatchRequest + func (v *NullableSettingsPatchRequest) Set(val *SettingsPatchRequest) + func (v *NullableSettingsPatchRequest) UnmarshalJSON(src []byte) error + func (v *NullableSettingsPatchRequest) Unset() + func (v NullableSettingsPatchRequest) Get() *SettingsPatchRequest + func (v NullableSettingsPatchRequest) IsSet() bool + func (v NullableSettingsPatchRequest) MarshalJSON() ([]byte, error) + type NullableSettingsRequest struct + func NewNullableSettingsRequest(val *SettingsRequest) *NullableSettingsRequest + func (v *NullableSettingsRequest) Set(val *SettingsRequest) + func (v *NullableSettingsRequest) UnmarshalJSON(src []byte) error + func (v *NullableSettingsRequest) Unset() + func (v NullableSettingsRequest) Get() *SettingsRequest + func (v NullableSettingsRequest) IsSet() bool + func (v NullableSettingsRequest) MarshalJSON() ([]byte, error) + type NullableSettingsResponse struct + func NewNullableSettingsResponse(val *SettingsResponse) *NullableSettingsResponse + func (v *NullableSettingsResponse) Set(val *SettingsResponse) + func (v *NullableSettingsResponse) UnmarshalJSON(src []byte) error + func (v *NullableSettingsResponse) Unset() + func (v NullableSettingsResponse) Get() *SettingsResponse + func (v NullableSettingsResponse) IsSet() bool + func (v NullableSettingsResponse) 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 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 SettingsApiService service + func (a *SettingsApiService) Archive(ctx context.Context, appId int32) ApiArchiveRequest + func (a *SettingsApiService) ArchiveExecute(r ApiArchiveRequest) (*http.Response, error) + func (a *SettingsApiService) Create(ctx context.Context, appId int32) ApiCreateRequest + func (a *SettingsApiService) CreateExecute(r ApiCreateRequest) (*SettingsResponse, *http.Response, error) + func (a *SettingsApiService) GetByID(ctx context.Context, appId int32) ApiGetByIDRequest + func (a *SettingsApiService) GetByIDExecute(r ApiGetByIDRequest) (*SettingsResponse, *http.Response, error) + func (a *SettingsApiService) Update(ctx context.Context, appId int32) ApiUpdateRequest + func (a *SettingsApiService) UpdateExecute(r ApiUpdateRequest) (*SettingsResponse, *http.Response, error) + type SettingsPatchRequest struct + Height *int32 + IsReady *bool + Name *string + SupportsCustomObjects *bool + Url *string + Width *int32 + func NewSettingsPatchRequest() *SettingsPatchRequest + func NewSettingsPatchRequestWithDefaults() *SettingsPatchRequest + func (o *SettingsPatchRequest) GetHeight() int32 + func (o *SettingsPatchRequest) GetHeightOk() (*int32, bool) + func (o *SettingsPatchRequest) GetIsReady() bool + func (o *SettingsPatchRequest) GetIsReadyOk() (*bool, bool) + func (o *SettingsPatchRequest) GetName() string + func (o *SettingsPatchRequest) GetNameOk() (*string, bool) + func (o *SettingsPatchRequest) GetSupportsCustomObjects() bool + func (o *SettingsPatchRequest) GetSupportsCustomObjectsOk() (*bool, bool) + func (o *SettingsPatchRequest) GetUrl() string + func (o *SettingsPatchRequest) GetUrlOk() (*string, bool) + func (o *SettingsPatchRequest) GetWidth() int32 + func (o *SettingsPatchRequest) GetWidthOk() (*int32, bool) + func (o *SettingsPatchRequest) HasHeight() bool + func (o *SettingsPatchRequest) HasIsReady() bool + func (o *SettingsPatchRequest) HasName() bool + func (o *SettingsPatchRequest) HasSupportsCustomObjects() bool + func (o *SettingsPatchRequest) HasUrl() bool + func (o *SettingsPatchRequest) HasWidth() bool + func (o *SettingsPatchRequest) SetHeight(v int32) + func (o *SettingsPatchRequest) SetIsReady(v bool) + func (o *SettingsPatchRequest) SetName(v string) + func (o *SettingsPatchRequest) SetSupportsCustomObjects(v bool) + func (o *SettingsPatchRequest) SetUrl(v string) + func (o *SettingsPatchRequest) SetWidth(v int32) + func (o SettingsPatchRequest) MarshalJSON() ([]byte, error) + type SettingsRequest struct + Height *int32 + IsReady *bool + Name string + SupportsCustomObjects *bool + Url string + Width *int32 + func NewSettingsRequest(name string, url string) *SettingsRequest + func NewSettingsRequestWithDefaults() *SettingsRequest + func (o *SettingsRequest) GetHeight() int32 + func (o *SettingsRequest) GetHeightOk() (*int32, bool) + func (o *SettingsRequest) GetIsReady() bool + func (o *SettingsRequest) GetIsReadyOk() (*bool, bool) + func (o *SettingsRequest) GetName() string + func (o *SettingsRequest) GetNameOk() (*string, bool) + func (o *SettingsRequest) GetSupportsCustomObjects() bool + func (o *SettingsRequest) GetSupportsCustomObjectsOk() (*bool, bool) + func (o *SettingsRequest) GetUrl() string + func (o *SettingsRequest) GetUrlOk() (*string, bool) + func (o *SettingsRequest) GetWidth() int32 + func (o *SettingsRequest) GetWidthOk() (*int32, bool) + func (o *SettingsRequest) HasHeight() bool + func (o *SettingsRequest) HasIsReady() bool + func (o *SettingsRequest) HasSupportsCustomObjects() bool + func (o *SettingsRequest) HasWidth() bool + func (o *SettingsRequest) SetHeight(v int32) + func (o *SettingsRequest) SetIsReady(v bool) + func (o *SettingsRequest) SetName(v string) + func (o *SettingsRequest) SetSupportsCustomObjects(v bool) + func (o *SettingsRequest) SetUrl(v string) + func (o *SettingsRequest) SetWidth(v int32) + func (o SettingsRequest) MarshalJSON() ([]byte, error) + type SettingsResponse struct + CreatedAt time.Time + Height int32 + IsReady bool + Name string + SupportsCustomObjects bool + UpdatedAt time.Time + Url string + Width int32 + func NewSettingsResponse(name string, url string, height int32, width int32, isReady bool, ...) *SettingsResponse + func NewSettingsResponseWithDefaults() *SettingsResponse + func (o *SettingsResponse) GetCreatedAt() time.Time + func (o *SettingsResponse) GetCreatedAtOk() (*time.Time, bool) + func (o *SettingsResponse) GetHeight() int32 + func (o *SettingsResponse) GetHeightOk() (*int32, bool) + func (o *SettingsResponse) GetIsReady() bool + func (o *SettingsResponse) GetIsReadyOk() (*bool, bool) + func (o *SettingsResponse) GetName() string + func (o *SettingsResponse) GetNameOk() (*string, bool) + func (o *SettingsResponse) GetSupportsCustomObjects() bool + func (o *SettingsResponse) GetSupportsCustomObjectsOk() (*bool, bool) + func (o *SettingsResponse) GetUpdatedAt() time.Time + func (o *SettingsResponse) GetUpdatedAtOk() (*time.Time, bool) + func (o *SettingsResponse) GetUrl() string + func (o *SettingsResponse) GetUrlOk() (*string, bool) + func (o *SettingsResponse) GetWidth() int32 + func (o *SettingsResponse) GetWidthOk() (*int32, bool) + func (o *SettingsResponse) SetCreatedAt(v time.Time) + func (o *SettingsResponse) SetHeight(v int32) + func (o *SettingsResponse) SetIsReady(v bool) + func (o *SettingsResponse) SetName(v string) + func (o *SettingsResponse) SetSupportsCustomObjects(v bool) + func (o *SettingsResponse) SetUpdatedAt(v time.Time) + func (o *SettingsResponse) SetUrl(v string) + func (o *SettingsResponse) SetWidth(v int32) + func (o SettingsResponse) MarshalJSON() ([]byte, error)