Versions in this module Expand all Collapse all v1 v1.3.0 Mar 10, 2026 Changes in this version + var JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) + var XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) + func CacheExpires(r *http.Response) time.Time + func IsNil(i interface{}) bool + func NewConfiguration() *config.Configuration + 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 + DefaultAPI DefaultAPI + func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error) + func (c *APIClient) GetConfig() *config.Configuration + 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 ActionError struct + Action *string + Code *string + Reason *string + func NewActionError() *ActionError + func NewActionErrorWithDefaults() *ActionError + func (o *ActionError) GetAction() string + func (o *ActionError) GetActionOk() (*string, bool) + func (o *ActionError) GetCode() string + func (o *ActionError) GetCodeOk() (*string, bool) + func (o *ActionError) GetReason() string + func (o *ActionError) GetReasonOk() (*string, bool) + func (o *ActionError) HasAction() bool + func (o *ActionError) HasCode() bool + func (o *ActionError) HasReason() bool + func (o *ActionError) SetAction(v string) + func (o *ActionError) SetCode(v string) + func (o *ActionError) SetReason(v string) + func (o ActionError) MarshalJSON() ([]byte, error) + func (o ActionError) ToMap() (map[string]interface{}, error) + type ApiDisableServiceRegionalRequest struct + ApiService DefaultAPI + func (r ApiDisableServiceRegionalRequest) Execute() error + type ApiEnableServiceRegionalRequest struct + ApiService DefaultAPI + func (r ApiEnableServiceRegionalRequest) Execute() error + type ApiGetServiceStatusRegionalRequest struct + ApiService DefaultAPI + func (r ApiGetServiceStatusRegionalRequest) Execute() (*ServiceStatus, error) + type ApiListServiceStatusRegionalRequest struct + ApiService DefaultAPI + func (r ApiListServiceStatusRegionalRequest) Cursor(cursor string) ApiListServiceStatusRegionalRequest + func (r ApiListServiceStatusRegionalRequest) Execute() (*ListServiceStatusRegional200Response, error) + type CheckService struct + Resource *string + ResourceType *string + ServiceId *string + func NewCheckService() *CheckService + func NewCheckServiceWithDefaults() *CheckService + func (o *CheckService) GetResource() string + func (o *CheckService) GetResourceOk() (*string, bool) + func (o *CheckService) GetResourceType() string + func (o *CheckService) GetResourceTypeOk() (*string, bool) + func (o *CheckService) GetServiceId() string + func (o *CheckService) GetServiceIdOk() (*string, bool) + func (o *CheckService) HasResource() bool + func (o *CheckService) HasResourceType() bool + func (o *CheckService) HasServiceId() bool + func (o *CheckService) SetResource(v string) + func (o *CheckService) SetResourceType(v string) + func (o *CheckService) SetServiceId(v string) + func (o CheckService) MarshalJSON() ([]byte, error) + func (o CheckService) ToMap() (map[string]interface{}, error) + type CloudService struct + Dependencies *Dependencies + Labels *map[string]string + Scope *string + ServiceId *string + func NewCloudService() *CloudService + func NewCloudServiceWithDefaults() *CloudService + func (o *CloudService) GetDependencies() Dependencies + func (o *CloudService) GetDependenciesOk() (*Dependencies, bool) + func (o *CloudService) GetLabels() map[string]string + func (o *CloudService) GetLabelsOk() (*map[string]string, bool) + func (o *CloudService) GetScope() string + func (o *CloudService) GetScopeOk() (*string, bool) + func (o *CloudService) GetServiceId() string + func (o *CloudService) GetServiceIdOk() (*string, bool) + func (o *CloudService) HasDependencies() bool + func (o *CloudService) HasLabels() bool + func (o *CloudService) HasScope() bool + func (o *CloudService) HasServiceId() bool + func (o *CloudService) SetDependencies(v Dependencies) + func (o *CloudService) SetLabels(v map[string]string) + func (o *CloudService) SetScope(v string) + func (o *CloudService) SetServiceId(v string) + func (o CloudService) MarshalJSON() ([]byte, error) + func (o CloudService) ToMap() (map[string]interface{}, error) + type DefaultAPI interface + DisableServiceRegional func(ctx context.Context, region string, projectId string, serviceId string) ApiDisableServiceRegionalRequest + DisableServiceRegionalExecute func(r ApiDisableServiceRegionalRequest) error + EnableServiceRegional func(ctx context.Context, region string, projectId string, serviceId string) ApiEnableServiceRegionalRequest + EnableServiceRegionalExecute func(r ApiEnableServiceRegionalRequest) error + GetServiceStatusRegional func(ctx context.Context, region string, projectId string, serviceId string) ApiGetServiceStatusRegionalRequest + GetServiceStatusRegionalExecute func(r ApiGetServiceStatusRegionalRequest) (*ServiceStatus, error) + ListServiceStatusRegional func(ctx context.Context, region string, projectId string) ApiListServiceStatusRegionalRequest + ListServiceStatusRegionalExecute func(r ApiListServiceStatusRegionalRequest) (*ListServiceStatusRegional200Response, error) + type DefaultAPIService service + func (a *DefaultAPIService) DisableServiceRegional(ctx context.Context, region string, projectId string, serviceId string) ApiDisableServiceRegionalRequest + func (a *DefaultAPIService) DisableServiceRegionalExecute(r ApiDisableServiceRegionalRequest) error + func (a *DefaultAPIService) EnableServiceRegional(ctx context.Context, region string, projectId string, serviceId string) ApiEnableServiceRegionalRequest + func (a *DefaultAPIService) EnableServiceRegionalExecute(r ApiEnableServiceRegionalRequest) error + func (a *DefaultAPIService) GetServiceStatusRegional(ctx context.Context, region string, projectId string, serviceId string) ApiGetServiceStatusRegionalRequest + func (a *DefaultAPIService) GetServiceStatusRegionalExecute(r ApiGetServiceStatusRegionalRequest) (*ServiceStatus, error) + func (a *DefaultAPIService) ListServiceStatusRegional(ctx context.Context, region string, projectId string) ApiListServiceStatusRegionalRequest + func (a *DefaultAPIService) ListServiceStatusRegionalExecute(r ApiListServiceStatusRegionalRequest) (*ListServiceStatusRegional200Response, error) + type DefaultAPIServiceMock struct + DisableServiceRegionalExecuteMock *func(r ApiDisableServiceRegionalRequest) error + EnableServiceRegionalExecuteMock *func(r ApiEnableServiceRegionalRequest) error + GetServiceStatusRegionalExecuteMock *func(r ApiGetServiceStatusRegionalRequest) (*ServiceStatus, error) + ListServiceStatusRegionalExecuteMock *func(r ApiListServiceStatusRegionalRequest) (*ListServiceStatusRegional200Response, error) + func (a DefaultAPIServiceMock) DisableServiceRegional(ctx context.Context, region string, projectId string, serviceId string) ApiDisableServiceRegionalRequest + func (a DefaultAPIServiceMock) DisableServiceRegionalExecute(r ApiDisableServiceRegionalRequest) error + func (a DefaultAPIServiceMock) EnableServiceRegional(ctx context.Context, region string, projectId string, serviceId string) ApiEnableServiceRegionalRequest + func (a DefaultAPIServiceMock) EnableServiceRegionalExecute(r ApiEnableServiceRegionalRequest) error + func (a DefaultAPIServiceMock) GetServiceStatusRegional(ctx context.Context, region string, projectId string, serviceId string) ApiGetServiceStatusRegionalRequest + func (a DefaultAPIServiceMock) GetServiceStatusRegionalExecute(r ApiGetServiceStatusRegionalRequest) (*ServiceStatus, error) + func (a DefaultAPIServiceMock) ListServiceStatusRegional(ctx context.Context, region string, projectId string) ApiListServiceStatusRegionalRequest + func (a DefaultAPIServiceMock) ListServiceStatusRegionalExecute(r ApiListServiceStatusRegionalRequest) (*ListServiceStatusRegional200Response, error) + type Dependencies struct + Hard []string + Soft []string + func NewDependencies() *Dependencies + func NewDependenciesWithDefaults() *Dependencies + func (o *Dependencies) GetHard() []string + func (o *Dependencies) GetHardOk() ([]string, bool) + func (o *Dependencies) GetSoft() []string + func (o *Dependencies) GetSoftOk() ([]string, bool) + func (o *Dependencies) HasHard() bool + func (o *Dependencies) HasSoft() bool + func (o *Dependencies) SetHard(v []string) + func (o *Dependencies) SetSoft(v []string) + func (o Dependencies) MarshalJSON() ([]byte, error) + func (o Dependencies) ToMap() (map[string]interface{}, error) + type ErrorResponse struct + Error *string + Message *string + Path *string + Status *int32 + Timestamp *time.Time + func NewErrorResponse() *ErrorResponse + func NewErrorResponseWithDefaults() *ErrorResponse + func (o *ErrorResponse) GetError() string + func (o *ErrorResponse) GetErrorOk() (*string, bool) + func (o *ErrorResponse) GetMessage() string + func (o *ErrorResponse) GetMessageOk() (*string, bool) + func (o *ErrorResponse) GetPath() string + func (o *ErrorResponse) GetPathOk() (*string, bool) + func (o *ErrorResponse) GetStatus() int32 + func (o *ErrorResponse) GetStatusOk() (*int32, bool) + func (o *ErrorResponse) GetTimestamp() time.Time + func (o *ErrorResponse) GetTimestampOk() (*time.Time, bool) + func (o *ErrorResponse) HasError() bool + func (o *ErrorResponse) HasMessage() bool + func (o *ErrorResponse) HasPath() bool + func (o *ErrorResponse) HasStatus() bool + func (o *ErrorResponse) HasTimestamp() bool + func (o *ErrorResponse) SetError(v string) + func (o *ErrorResponse) SetMessage(v string) + func (o *ErrorResponse) SetPath(v string) + func (o *ErrorResponse) SetStatus(v int32) + func (o *ErrorResponse) SetTimestamp(v time.Time) + func (o ErrorResponse) MarshalJSON() ([]byte, error) + func (o ErrorResponse) ToMap() (map[string]interface{}, error) + type ListServiceStatusRegional200Response struct + Items []ServiceStatus + NextCursor *string + func NewListServiceStatusRegional200Response() *ListServiceStatusRegional200Response + func NewListServiceStatusRegional200ResponseWithDefaults() *ListServiceStatusRegional200Response + func (o *ListServiceStatusRegional200Response) GetItems() []ServiceStatus + func (o *ListServiceStatusRegional200Response) GetItemsOk() ([]ServiceStatus, bool) + func (o *ListServiceStatusRegional200Response) GetNextCursor() string + func (o *ListServiceStatusRegional200Response) GetNextCursorOk() (*string, bool) + func (o *ListServiceStatusRegional200Response) HasItems() bool + func (o *ListServiceStatusRegional200Response) HasNextCursor() bool + func (o *ListServiceStatusRegional200Response) SetItems(v []ServiceStatus) + func (o *ListServiceStatusRegional200Response) SetNextCursor(v string) + func (o ListServiceStatusRegional200Response) MarshalJSON() ([]byte, error) + func (o ListServiceStatusRegional200Response) ToMap() (map[string]interface{}, error) + type MappedNullable interface + ToMap func() (map[string]interface{}, error) + type NullableActionError struct + func NewNullableActionError(val *ActionError) *NullableActionError + func (v *NullableActionError) Set(val *ActionError) + func (v *NullableActionError) UnmarshalJSON(src []byte) error + func (v *NullableActionError) Unset() + func (v NullableActionError) Get() *ActionError + func (v NullableActionError) IsSet() bool + func (v NullableActionError) 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 NullableCheckService struct + func NewNullableCheckService(val *CheckService) *NullableCheckService + func (v *NullableCheckService) Set(val *CheckService) + func (v *NullableCheckService) UnmarshalJSON(src []byte) error + func (v *NullableCheckService) Unset() + func (v NullableCheckService) Get() *CheckService + func (v NullableCheckService) IsSet() bool + func (v NullableCheckService) MarshalJSON() ([]byte, error) + type NullableCloudService struct + func NewNullableCloudService(val *CloudService) *NullableCloudService + func (v *NullableCloudService) Set(val *CloudService) + func (v *NullableCloudService) UnmarshalJSON(src []byte) error + func (v *NullableCloudService) Unset() + func (v NullableCloudService) Get() *CloudService + func (v NullableCloudService) IsSet() bool + func (v NullableCloudService) MarshalJSON() ([]byte, error) + type NullableDependencies struct + func NewNullableDependencies(val *Dependencies) *NullableDependencies + func (v *NullableDependencies) Set(val *Dependencies) + func (v *NullableDependencies) UnmarshalJSON(src []byte) error + func (v *NullableDependencies) Unset() + func (v NullableDependencies) Get() *Dependencies + func (v NullableDependencies) IsSet() bool + func (v NullableDependencies) MarshalJSON() ([]byte, error) + type NullableErrorResponse struct + func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse + func (v *NullableErrorResponse) Set(val *ErrorResponse) + func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error + func (v *NullableErrorResponse) Unset() + func (v NullableErrorResponse) Get() *ErrorResponse + func (v NullableErrorResponse) IsSet() bool + func (v NullableErrorResponse) 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 NullableListServiceStatusRegional200Response struct + func NewNullableListServiceStatusRegional200Response(val *ListServiceStatusRegional200Response) *NullableListServiceStatusRegional200Response + func (v *NullableListServiceStatusRegional200Response) Set(val *ListServiceStatusRegional200Response) + func (v *NullableListServiceStatusRegional200Response) UnmarshalJSON(src []byte) error + func (v *NullableListServiceStatusRegional200Response) Unset() + func (v NullableListServiceStatusRegional200Response) Get() *ListServiceStatusRegional200Response + func (v NullableListServiceStatusRegional200Response) IsSet() bool + func (v NullableListServiceStatusRegional200Response) MarshalJSON() ([]byte, error) + type NullableParameters struct + func NewNullableParameters(val *Parameters) *NullableParameters + func (v *NullableParameters) Set(val *Parameters) + func (v *NullableParameters) UnmarshalJSON(src []byte) error + func (v *NullableParameters) Unset() + func (v NullableParameters) Get() *Parameters + func (v NullableParameters) IsSet() bool + func (v NullableParameters) MarshalJSON() ([]byte, error) + type NullableParametersGeneral struct + func NewNullableParametersGeneral(val *ParametersGeneral) *NullableParametersGeneral + func (v *NullableParametersGeneral) Set(val *ParametersGeneral) + func (v *NullableParametersGeneral) UnmarshalJSON(src []byte) error + func (v *NullableParametersGeneral) Unset() + func (v NullableParametersGeneral) Get() *ParametersGeneral + func (v NullableParametersGeneral) IsSet() bool + func (v NullableParametersGeneral) MarshalJSON() ([]byte, error) + type NullableServiceStatus struct + func NewNullableServiceStatus(val *ServiceStatus) *NullableServiceStatus + func (v *NullableServiceStatus) Set(val *ServiceStatus) + func (v *NullableServiceStatus) UnmarshalJSON(src []byte) error + func (v *NullableServiceStatus) Unset() + func (v NullableServiceStatus) Get() *ServiceStatus + func (v NullableServiceStatus) IsSet() bool + func (v NullableServiceStatus) 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 Parameters struct + AdditionalProperties map[string]interface{} + General *ParametersGeneral + func NewParameters() *Parameters + func NewParametersWithDefaults() *Parameters + func (o *Parameters) GetGeneral() ParametersGeneral + func (o *Parameters) GetGeneralOk() (*ParametersGeneral, bool) + func (o *Parameters) HasGeneral() bool + func (o *Parameters) SetGeneral(v ParametersGeneral) + func (o *Parameters) UnmarshalJSON(data []byte) (err error) + func (o Parameters) MarshalJSON() ([]byte, error) + func (o Parameters) ToMap() (map[string]interface{}, error) + type ParametersGeneral struct + OrganizationId *string + ProjectName *string + ProjectScope *string + func NewParametersGeneral() *ParametersGeneral + func NewParametersGeneralWithDefaults() *ParametersGeneral + func (o *ParametersGeneral) GetOrganizationId() string + func (o *ParametersGeneral) GetOrganizationIdOk() (*string, bool) + func (o *ParametersGeneral) GetProjectName() string + func (o *ParametersGeneral) GetProjectNameOk() (*string, bool) + func (o *ParametersGeneral) GetProjectScope() string + func (o *ParametersGeneral) GetProjectScopeOk() (*string, bool) + func (o *ParametersGeneral) HasOrganizationId() bool + func (o *ParametersGeneral) HasProjectName() bool + func (o *ParametersGeneral) HasProjectScope() bool + func (o *ParametersGeneral) SetOrganizationId(v string) + func (o *ParametersGeneral) SetProjectName(v string) + func (o *ParametersGeneral) SetProjectScope(v string) + func (o ParametersGeneral) MarshalJSON() ([]byte, error) + func (o ParametersGeneral) ToMap() (map[string]interface{}, error) + type ServiceStatus struct + Dependencies *Dependencies + Enablement *string + Error *ActionError + Labels *map[string]string + Lifecycle *string + Parameters *Parameters + Scope *string + ServiceId *string + State *string + func NewServiceStatus() *ServiceStatus + func NewServiceStatusWithDefaults() *ServiceStatus + func (o *ServiceStatus) GetDependencies() Dependencies + func (o *ServiceStatus) GetDependenciesOk() (*Dependencies, bool) + func (o *ServiceStatus) GetEnablement() string + func (o *ServiceStatus) GetEnablementOk() (*string, bool) + func (o *ServiceStatus) GetError() ActionError + func (o *ServiceStatus) GetErrorOk() (*ActionError, bool) + func (o *ServiceStatus) GetLabels() map[string]string + func (o *ServiceStatus) GetLabelsOk() (*map[string]string, bool) + func (o *ServiceStatus) GetLifecycle() string + func (o *ServiceStatus) GetLifecycleOk() (*string, bool) + func (o *ServiceStatus) GetParameters() Parameters + func (o *ServiceStatus) GetParametersOk() (*Parameters, bool) + func (o *ServiceStatus) GetScope() string + func (o *ServiceStatus) GetScopeOk() (*string, bool) + func (o *ServiceStatus) GetServiceId() string + func (o *ServiceStatus) GetServiceIdOk() (*string, bool) + func (o *ServiceStatus) GetState() string + func (o *ServiceStatus) GetStateOk() (*string, bool) + func (o *ServiceStatus) HasDependencies() bool + func (o *ServiceStatus) HasEnablement() bool + func (o *ServiceStatus) HasError() bool + func (o *ServiceStatus) HasLabels() bool + func (o *ServiceStatus) HasLifecycle() bool + func (o *ServiceStatus) HasParameters() bool + func (o *ServiceStatus) HasScope() bool + func (o *ServiceStatus) HasServiceId() bool + func (o *ServiceStatus) HasState() bool + func (o *ServiceStatus) SetDependencies(v Dependencies) + func (o *ServiceStatus) SetEnablement(v string) + func (o *ServiceStatus) SetError(v ActionError) + func (o *ServiceStatus) SetLabels(v map[string]string) + func (o *ServiceStatus) SetLifecycle(v string) + func (o *ServiceStatus) SetParameters(v Parameters) + func (o *ServiceStatus) SetScope(v string) + func (o *ServiceStatus) SetServiceId(v string) + func (o *ServiceStatus) SetState(v string) + func (o ServiceStatus) MarshalJSON() ([]byte, error) + func (o ServiceStatus) ToMap() (map[string]interface{}, error)