Documentation
¶
Index ¶
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func NewConfiguration() *config.Configuration
- func ParameterValueToString(obj interface{}, key string) string
- 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
- func (a *APIClient) DisableServiceRegional(ctx context.Context, region string, projectId string, serviceId string) ApiDisableServiceRegionalRequest
- func (a *APIClient) DisableServiceRegionalExecute(ctx context.Context, region string, projectId string, serviceId string) error
- func (a *APIClient) EnableServiceRegional(ctx context.Context, region string, projectId string, serviceId string) ApiEnableServiceRegionalRequest
- func (a *APIClient) EnableServiceRegionalExecute(ctx context.Context, region string, projectId string, serviceId string) error
- func (c *APIClient) GetConfig() *config.Configuration
- func (a *APIClient) GetServiceStatusRegional(ctx context.Context, region string, projectId string, serviceId string) ApiGetServiceStatusRegionalRequest
- func (a *APIClient) GetServiceStatusRegionalExecute(ctx context.Context, region string, projectId string, serviceId string) (*ServiceStatus, error)
- func (a *APIClient) ListServiceStatusRegional(ctx context.Context, region string, projectId string) ApiListServiceStatusRegionalRequest
- func (a *APIClient) ListServiceStatusRegionalExecute(ctx context.Context, region string, projectId string) (*ListServiceStatusRegional200Response, error)
- type 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) ToMap() (map[string]interface{}, error)
- type ApiDisableServiceRegionalRequest
- type ApiEnableServiceRegionalRequest
- type ApiGetServiceStatusRegionalRequest
- type ApiListServiceStatusRegionalRequest
- type 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) ToMap() (map[string]interface{}, error)
- type 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) ToMap() (map[string]interface{}, error)
- type DefaultApiService
- type 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) ToMap() (map[string]interface{}, error)
- type 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() *int64
- func (o *ErrorResponse) GetStatusOk() (*int64, 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 *int64)
- func (o *ErrorResponse) SetTimestamp(v *time.Time)
- func (o ErrorResponse) ToMap() (map[string]interface{}, error)
- type 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) ToMap() (map[string]interface{}, error)
- type MappedNullable
- type NullableActionError
- func (v NullableActionError) Get() *ActionError
- func (v NullableActionError) IsSet() bool
- func (v NullableActionError) MarshalJSON() ([]byte, error)
- func (v *NullableActionError) Set(val *ActionError)
- func (v *NullableActionError) UnmarshalJSON(src []byte) error
- func (v *NullableActionError) Unset()
- type NullableBool
- type NullableCheckService
- func (v NullableCheckService) Get() *CheckService
- func (v NullableCheckService) IsSet() bool
- func (v NullableCheckService) MarshalJSON() ([]byte, error)
- func (v *NullableCheckService) Set(val *CheckService)
- func (v *NullableCheckService) UnmarshalJSON(src []byte) error
- func (v *NullableCheckService) Unset()
- type NullableCloudService
- func (v NullableCloudService) Get() *CloudService
- func (v NullableCloudService) IsSet() bool
- func (v NullableCloudService) MarshalJSON() ([]byte, error)
- func (v *NullableCloudService) Set(val *CloudService)
- func (v *NullableCloudService) UnmarshalJSON(src []byte) error
- func (v *NullableCloudService) Unset()
- type NullableDependencies
- func (v NullableDependencies) Get() *Dependencies
- func (v NullableDependencies) IsSet() bool
- func (v NullableDependencies) MarshalJSON() ([]byte, error)
- func (v *NullableDependencies) Set(val *Dependencies)
- func (v *NullableDependencies) UnmarshalJSON(src []byte) error
- func (v *NullableDependencies) Unset()
- type NullableErrorResponse
- func (v NullableErrorResponse) Get() *ErrorResponse
- func (v NullableErrorResponse) IsSet() bool
- func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableErrorResponse) Set(val *ErrorResponse)
- func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableErrorResponse) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableListServiceStatusRegional200Response
- func (v NullableListServiceStatusRegional200Response) Get() *ListServiceStatusRegional200Response
- func (v NullableListServiceStatusRegional200Response) IsSet() bool
- func (v NullableListServiceStatusRegional200Response) MarshalJSON() ([]byte, error)
- func (v *NullableListServiceStatusRegional200Response) Set(val *ListServiceStatusRegional200Response)
- func (v *NullableListServiceStatusRegional200Response) UnmarshalJSON(src []byte) error
- func (v *NullableListServiceStatusRegional200Response) Unset()
- type NullableParameters
- type NullableParametersGeneral
- func (v NullableParametersGeneral) Get() *ParametersGeneral
- func (v NullableParametersGeneral) IsSet() bool
- func (v NullableParametersGeneral) MarshalJSON() ([]byte, error)
- func (v *NullableParametersGeneral) Set(val *ParametersGeneral)
- func (v *NullableParametersGeneral) UnmarshalJSON(src []byte) error
- func (v *NullableParametersGeneral) Unset()
- type NullableServiceStatus
- func (v NullableServiceStatus) Get() *ServiceStatus
- func (v NullableServiceStatus) IsSet() bool
- func (v NullableServiceStatus) MarshalJSON() ([]byte, error)
- func (v *NullableServiceStatus) Set(val *ServiceStatus)
- func (v *NullableServiceStatus) UnmarshalJSON(src []byte) error
- func (v *NullableServiceStatus) Unset()
- type NullableString
- type NullableTime
- type Parameters
- type 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) ToMap() (map[string]interface{}, error)
- type 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) ToMap() (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NewConfiguration ¶
func NewConfiguration() *config.Configuration
NewConfiguration returns a new Configuration object
func ParameterValueToString ¶
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct {
// contains filtered or unexported fields
}
APIClient manages communication with the STACKIT Service Enablement API API v2.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error)
NewAPIClient creates a new API client. Optionally receives configuration options
func (*APIClient) DisableServiceRegional ¶ added in v0.6.0
func (a *APIClient) DisableServiceRegional(ctx context.Context, region string, projectId string, serviceId string) ApiDisableServiceRegionalRequest
DisableServiceRegional: Method for DisableServiceRegional
disables the service in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region @param projectId @param serviceId @return ApiDisableServiceRegionalRequest
func (*APIClient) DisableServiceRegionalExecute ¶ added in v0.6.0
func (*APIClient) EnableServiceRegional ¶ added in v0.6.0
func (a *APIClient) EnableServiceRegional(ctx context.Context, region string, projectId string, serviceId string) ApiEnableServiceRegionalRequest
EnableServiceRegional: Method for EnableServiceRegional
enables the service in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region @param projectId @param serviceId @return ApiEnableServiceRegionalRequest
func (*APIClient) EnableServiceRegionalExecute ¶ added in v0.6.0
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *config.Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
func (*APIClient) GetServiceStatusRegional ¶ added in v0.6.0
func (a *APIClient) GetServiceStatusRegional(ctx context.Context, region string, projectId string, serviceId string) ApiGetServiceStatusRegionalRequest
GetServiceStatusRegional: Method for GetServiceStatusRegional
returns the current status of a service in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region @param projectId @param serviceId @return ApiGetServiceStatusRegionalRequest
func (*APIClient) GetServiceStatusRegionalExecute ¶ added in v0.6.0
func (*APIClient) ListServiceStatusRegional ¶ added in v0.6.0
func (a *APIClient) ListServiceStatusRegional(ctx context.Context, region string, projectId string) ApiListServiceStatusRegionalRequest
ListServiceStatusRegional: Method for ListServiceStatusRegional
returns a list of all available services for a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region @param projectId @return ApiListServiceStatusRegionalRequest
func (*APIClient) ListServiceStatusRegionalExecute ¶ added in v0.6.0
type ActionError ¶
type ActionError struct {
// the last action which was triggered on this service
Action *string `json:"action,omitempty"`
// the error code if provided by the service
Code *string `json:"code,omitempty"`
// the error reason provided by the service
Reason *string `json:"reason,omitempty"`
}
ActionError the last error for this service.
func NewActionError ¶ added in v0.3.0
func NewActionError() *ActionError
NewActionError instantiates a new ActionError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewActionErrorWithDefaults ¶ added in v0.3.0
func NewActionErrorWithDefaults() *ActionError
NewActionErrorWithDefaults instantiates a new ActionError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ActionError) GetAction ¶ added in v0.3.0
func (o *ActionError) GetAction() *string
GetAction returns the Action field value if set, zero value otherwise.
func (*ActionError) GetActionOk ¶ added in v0.3.0
func (o *ActionError) GetActionOk() (*string, bool)
GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActionError) GetCode ¶ added in v0.3.0
func (o *ActionError) GetCode() *string
GetCode returns the Code field value if set, zero value otherwise.
func (*ActionError) GetCodeOk ¶ added in v0.3.0
func (o *ActionError) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActionError) GetReason ¶ added in v0.3.0
func (o *ActionError) GetReason() *string
GetReason returns the Reason field value if set, zero value otherwise.
func (*ActionError) GetReasonOk ¶ added in v0.3.0
func (o *ActionError) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActionError) HasAction ¶ added in v0.3.0
func (o *ActionError) HasAction() bool
HasAction returns a boolean if a field has been set.
func (*ActionError) HasCode ¶ added in v0.3.0
func (o *ActionError) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*ActionError) HasReason ¶ added in v0.3.0
func (o *ActionError) HasReason() bool
HasReason returns a boolean if a field has been set.
func (*ActionError) SetAction ¶ added in v0.3.0
func (o *ActionError) SetAction(v *string)
SetAction gets a reference to the given string and assigns it to the Action field.
func (*ActionError) SetCode ¶ added in v0.3.0
func (o *ActionError) SetCode(v *string)
SetCode gets a reference to the given string and assigns it to the Code field.
func (*ActionError) SetReason ¶ added in v0.3.0
func (o *ActionError) SetReason(v *string)
SetReason gets a reference to the given string and assigns it to the Reason field.
func (ActionError) ToMap ¶ added in v0.3.0
func (o ActionError) ToMap() (map[string]interface{}, error)
type ApiDisableServiceRegionalRequest ¶ added in v0.6.0
type ApiDisableServiceRegionalRequest struct {
// contains filtered or unexported fields
}
func (ApiDisableServiceRegionalRequest) Execute ¶ added in v0.6.0
func (r ApiDisableServiceRegionalRequest) Execute() error
type ApiEnableServiceRegionalRequest ¶ added in v0.6.0
type ApiEnableServiceRegionalRequest struct {
// contains filtered or unexported fields
}
func (ApiEnableServiceRegionalRequest) Execute ¶ added in v0.6.0
func (r ApiEnableServiceRegionalRequest) Execute() error
type ApiGetServiceStatusRegionalRequest ¶ added in v0.6.0
type ApiGetServiceStatusRegionalRequest struct {
// contains filtered or unexported fields
}
func (ApiGetServiceStatusRegionalRequest) Execute ¶ added in v0.6.0
func (r ApiGetServiceStatusRegionalRequest) Execute() (*ServiceStatus, error)
type ApiListServiceStatusRegionalRequest ¶ added in v0.6.0
type ApiListServiceStatusRegionalRequest struct {
// contains filtered or unexported fields
}
func (ApiListServiceStatusRegionalRequest) Cursor ¶ added in v0.6.0
func (r ApiListServiceStatusRegionalRequest) Cursor(cursor string) ApiListServiceStatusRegionalRequest
func (ApiListServiceStatusRegionalRequest) Execute ¶ added in v0.6.0
func (r ApiListServiceStatusRegionalRequest) Execute() (*ListServiceStatusRegional200Response, error)
type CheckService ¶ added in v0.6.0
type CheckService struct {
// the identifier of the resource e.g. projectID
Resource *string `json:"resource,omitempty"`
ResourceType *string `json:"resourceType,omitempty"`
// the id of the service
ServiceId *string `json:"serviceId,omitempty"`
}
CheckService struct for CheckService
func NewCheckService ¶ added in v0.6.0
func NewCheckService() *CheckService
NewCheckService instantiates a new CheckService object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCheckServiceWithDefaults ¶ added in v0.6.0
func NewCheckServiceWithDefaults() *CheckService
NewCheckServiceWithDefaults instantiates a new CheckService object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CheckService) GetResource ¶ added in v0.6.0
func (o *CheckService) GetResource() *string
GetResource returns the Resource field value if set, zero value otherwise.
func (*CheckService) GetResourceOk ¶ added in v0.6.0
func (o *CheckService) GetResourceOk() (*string, bool)
GetResourceOk returns a tuple with the Resource field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckService) GetResourceType ¶ added in v0.6.0
func (o *CheckService) GetResourceType() *string
GetResourceType returns the ResourceType field value if set, zero value otherwise.
func (*CheckService) GetResourceTypeOk ¶ added in v0.6.0
func (o *CheckService) GetResourceTypeOk() (*string, bool)
GetResourceTypeOk returns a tuple with the ResourceType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckService) GetServiceId ¶ added in v0.6.0
func (o *CheckService) GetServiceId() *string
GetServiceId returns the ServiceId field value if set, zero value otherwise.
func (*CheckService) GetServiceIdOk ¶ added in v0.6.0
func (o *CheckService) GetServiceIdOk() (*string, bool)
GetServiceIdOk returns a tuple with the ServiceId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckService) HasResource ¶ added in v0.6.0
func (o *CheckService) HasResource() bool
HasResource returns a boolean if a field has been set.
func (*CheckService) HasResourceType ¶ added in v0.6.0
func (o *CheckService) HasResourceType() bool
HasResourceType returns a boolean if a field has been set.
func (*CheckService) HasServiceId ¶ added in v0.6.0
func (o *CheckService) HasServiceId() bool
HasServiceId returns a boolean if a field has been set.
func (*CheckService) SetResource ¶ added in v0.6.0
func (o *CheckService) SetResource(v *string)
SetResource gets a reference to the given string and assigns it to the Resource field.
func (*CheckService) SetResourceType ¶ added in v0.6.0
func (o *CheckService) SetResourceType(v *string)
SetResourceType gets a reference to the given string and assigns it to the ResourceType field.
func (*CheckService) SetServiceId ¶ added in v0.6.0
func (o *CheckService) SetServiceId(v *string)
SetServiceId gets a reference to the given string and assigns it to the ServiceId field.
func (CheckService) ToMap ¶ added in v0.6.0
func (o CheckService) ToMap() (map[string]interface{}, error)
type CloudService ¶
type CloudService struct {
Dependencies *Dependencies `json:"dependencies,omitempty"`
Labels *map[string]string `json:"labels,omitempty"`
Scope *string `json:"scope,omitempty"`
// the id of the service
ServiceId *string `json:"serviceId,omitempty"`
}
CloudService struct for CloudService
func NewCloudService ¶ added in v0.3.0
func NewCloudService() *CloudService
NewCloudService instantiates a new CloudService object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCloudServiceWithDefaults ¶ added in v0.3.0
func NewCloudServiceWithDefaults() *CloudService
NewCloudServiceWithDefaults instantiates a new CloudService object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CloudService) GetDependencies ¶ added in v0.3.0
func (o *CloudService) GetDependencies() *Dependencies
GetDependencies returns the Dependencies field value if set, zero value otherwise.
func (*CloudService) GetDependenciesOk ¶ added in v0.3.0
func (o *CloudService) GetDependenciesOk() (*Dependencies, bool)
GetDependenciesOk returns a tuple with the Dependencies field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CloudService) GetLabels ¶ added in v0.3.0
func (o *CloudService) GetLabels() *map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*CloudService) GetLabelsOk ¶ added in v0.3.0
func (o *CloudService) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CloudService) GetScope ¶ added in v0.3.0
func (o *CloudService) GetScope() *string
GetScope returns the Scope field value if set, zero value otherwise.
func (*CloudService) GetScopeOk ¶ added in v0.3.0
func (o *CloudService) GetScopeOk() (*string, bool)
GetScopeOk returns a tuple with the Scope field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CloudService) GetServiceId ¶ added in v0.3.0
func (o *CloudService) GetServiceId() *string
GetServiceId returns the ServiceId field value if set, zero value otherwise.
func (*CloudService) GetServiceIdOk ¶ added in v0.3.0
func (o *CloudService) GetServiceIdOk() (*string, bool)
GetServiceIdOk returns a tuple with the ServiceId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CloudService) HasDependencies ¶ added in v0.3.0
func (o *CloudService) HasDependencies() bool
HasDependencies returns a boolean if a field has been set.
func (*CloudService) HasLabels ¶ added in v0.3.0
func (o *CloudService) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*CloudService) HasScope ¶ added in v0.3.0
func (o *CloudService) HasScope() bool
HasScope returns a boolean if a field has been set.
func (*CloudService) HasServiceId ¶ added in v0.3.0
func (o *CloudService) HasServiceId() bool
HasServiceId returns a boolean if a field has been set.
func (*CloudService) SetDependencies ¶ added in v0.3.0
func (o *CloudService) SetDependencies(v *Dependencies)
SetDependencies gets a reference to the given Dependencies and assigns it to the Dependencies field.
func (*CloudService) SetLabels ¶ added in v0.3.0
func (o *CloudService) SetLabels(v *map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*CloudService) SetScope ¶ added in v0.3.0
func (o *CloudService) SetScope(v *string)
SetScope gets a reference to the given string and assigns it to the Scope field.
func (*CloudService) SetServiceId ¶ added in v0.3.0
func (o *CloudService) SetServiceId(v *string)
SetServiceId gets a reference to the given string and assigns it to the ServiceId field.
func (CloudService) ToMap ¶ added in v0.3.0
func (o CloudService) ToMap() (map[string]interface{}, error)
type Dependencies ¶
type Dependencies struct {
// a list of service IDs which this service depend on. If the service is enabled, those service are enabled as well automatically.
Hard *[]string `json:"hard,omitempty"`
// a list of service IDs which this service depend on. When they are disabled a notification is sent.
Soft *[]string `json:"soft,omitempty"`
}
Dependencies struct for Dependencies
func NewDependencies ¶ added in v0.3.0
func NewDependencies() *Dependencies
NewDependencies instantiates a new Dependencies object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDependenciesWithDefaults ¶ added in v0.3.0
func NewDependenciesWithDefaults() *Dependencies
NewDependenciesWithDefaults instantiates a new Dependencies object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Dependencies) GetHard ¶ added in v0.3.0
func (o *Dependencies) GetHard() *[]string
GetHard returns the Hard field value if set, zero value otherwise.
func (*Dependencies) GetHardOk ¶ added in v0.3.0
func (o *Dependencies) GetHardOk() (*[]string, bool)
GetHardOk returns a tuple with the Hard field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dependencies) GetSoft ¶ added in v0.3.0
func (o *Dependencies) GetSoft() *[]string
GetSoft returns the Soft field value if set, zero value otherwise.
func (*Dependencies) GetSoftOk ¶ added in v0.3.0
func (o *Dependencies) GetSoftOk() (*[]string, bool)
GetSoftOk returns a tuple with the Soft field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dependencies) HasHard ¶ added in v0.3.0
func (o *Dependencies) HasHard() bool
HasHard returns a boolean if a field has been set.
func (*Dependencies) HasSoft ¶ added in v0.3.0
func (o *Dependencies) HasSoft() bool
HasSoft returns a boolean if a field has been set.
func (*Dependencies) SetHard ¶ added in v0.3.0
func (o *Dependencies) SetHard(v *[]string)
SetHard gets a reference to the given []string and assigns it to the Hard field.
func (*Dependencies) SetSoft ¶ added in v0.3.0
func (o *Dependencies) SetSoft(v *[]string)
SetSoft gets a reference to the given []string and assigns it to the Soft field.
func (Dependencies) ToMap ¶ added in v0.3.0
func (o Dependencies) ToMap() (map[string]interface{}, error)
type ErrorResponse ¶ added in v0.6.0
type ErrorResponse struct {
Error *string `json:"error,omitempty"`
Message *string `json:"message,omitempty"`
Path *string `json:"path,omitempty"`
// Can be cast to int32 without loss of precision.
Status *int64 `json:"status,omitempty"`
Timestamp *time.Time `json:"timestamp,omitempty"`
}
ErrorResponse struct for ErrorResponse
func NewErrorResponse ¶ added in v0.6.0
func NewErrorResponse() *ErrorResponse
NewErrorResponse instantiates a new ErrorResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorResponseWithDefaults ¶ added in v0.6.0
func NewErrorResponseWithDefaults() *ErrorResponse
NewErrorResponseWithDefaults instantiates a new ErrorResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ErrorResponse) GetError ¶ added in v0.6.0
func (o *ErrorResponse) GetError() *string
GetError returns the Error field value if set, zero value otherwise.
func (*ErrorResponse) GetErrorOk ¶ added in v0.6.0
func (o *ErrorResponse) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorResponse) GetMessage ¶ added in v0.6.0
func (o *ErrorResponse) GetMessage() *string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ErrorResponse) GetMessageOk ¶ added in v0.6.0
func (o *ErrorResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorResponse) GetPath ¶ added in v0.6.0
func (o *ErrorResponse) GetPath() *string
GetPath returns the Path field value if set, zero value otherwise.
func (*ErrorResponse) GetPathOk ¶ added in v0.6.0
func (o *ErrorResponse) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorResponse) GetStatus ¶ added in v0.6.0
func (o *ErrorResponse) GetStatus() *int64
GetStatus returns the Status field value if set, zero value otherwise.
func (*ErrorResponse) GetStatusOk ¶ added in v0.6.0
func (o *ErrorResponse) GetStatusOk() (*int64, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorResponse) GetTimestamp ¶ added in v0.6.0
func (o *ErrorResponse) GetTimestamp() *time.Time
GetTimestamp returns the Timestamp field value if set, zero value otherwise.
func (*ErrorResponse) GetTimestampOk ¶ added in v0.6.0
func (o *ErrorResponse) GetTimestampOk() (*time.Time, bool)
GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorResponse) HasError ¶ added in v0.6.0
func (o *ErrorResponse) HasError() bool
HasError returns a boolean if a field has been set.
func (*ErrorResponse) HasMessage ¶ added in v0.6.0
func (o *ErrorResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*ErrorResponse) HasPath ¶ added in v0.6.0
func (o *ErrorResponse) HasPath() bool
HasPath returns a boolean if a field has been set.
func (*ErrorResponse) HasStatus ¶ added in v0.6.0
func (o *ErrorResponse) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*ErrorResponse) HasTimestamp ¶ added in v0.6.0
func (o *ErrorResponse) HasTimestamp() bool
HasTimestamp returns a boolean if a field has been set.
func (*ErrorResponse) SetError ¶ added in v0.6.0
func (o *ErrorResponse) SetError(v *string)
SetError gets a reference to the given string and assigns it to the Error field.
func (*ErrorResponse) SetMessage ¶ added in v0.6.0
func (o *ErrorResponse) SetMessage(v *string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*ErrorResponse) SetPath ¶ added in v0.6.0
func (o *ErrorResponse) SetPath(v *string)
SetPath gets a reference to the given string and assigns it to the Path field.
func (*ErrorResponse) SetStatus ¶ added in v0.6.0
func (o *ErrorResponse) SetStatus(v *int64)
SetStatus gets a reference to the given int64 and assigns it to the Status field.
func (*ErrorResponse) SetTimestamp ¶ added in v0.6.0
func (o *ErrorResponse) SetTimestamp(v *time.Time)
SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.
func (ErrorResponse) ToMap ¶ added in v0.6.0
func (o ErrorResponse) ToMap() (map[string]interface{}, error)
type ListServiceStatusRegional200Response ¶ added in v0.6.0
type ListServiceStatusRegional200Response struct {
Items *[]ServiceStatus `json:"items,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
}
ListServiceStatusRegional200Response struct for ListServiceStatusRegional200Response
func NewListServiceStatusRegional200Response ¶ added in v0.6.0
func NewListServiceStatusRegional200Response() *ListServiceStatusRegional200Response
NewListServiceStatusRegional200Response instantiates a new ListServiceStatusRegional200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListServiceStatusRegional200ResponseWithDefaults ¶ added in v0.6.0
func NewListServiceStatusRegional200ResponseWithDefaults() *ListServiceStatusRegional200Response
NewListServiceStatusRegional200ResponseWithDefaults instantiates a new ListServiceStatusRegional200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListServiceStatusRegional200Response) GetItems ¶ added in v0.6.0
func (o *ListServiceStatusRegional200Response) GetItems() *[]ServiceStatus
GetItems returns the Items field value if set, zero value otherwise.
func (*ListServiceStatusRegional200Response) GetItemsOk ¶ added in v0.6.0
func (o *ListServiceStatusRegional200Response) GetItemsOk() (*[]ServiceStatus, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListServiceStatusRegional200Response) GetNextCursor ¶ added in v0.6.0
func (o *ListServiceStatusRegional200Response) GetNextCursor() *string
GetNextCursor returns the NextCursor field value if set, zero value otherwise.
func (*ListServiceStatusRegional200Response) GetNextCursorOk ¶ added in v0.6.0
func (o *ListServiceStatusRegional200Response) GetNextCursorOk() (*string, bool)
GetNextCursorOk returns a tuple with the NextCursor field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListServiceStatusRegional200Response) HasItems ¶ added in v0.6.0
func (o *ListServiceStatusRegional200Response) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*ListServiceStatusRegional200Response) HasNextCursor ¶ added in v0.6.0
func (o *ListServiceStatusRegional200Response) HasNextCursor() bool
HasNextCursor returns a boolean if a field has been set.
func (*ListServiceStatusRegional200Response) SetItems ¶ added in v0.6.0
func (o *ListServiceStatusRegional200Response) SetItems(v *[]ServiceStatus)
SetItems gets a reference to the given []ServiceStatus and assigns it to the Items field.
func (*ListServiceStatusRegional200Response) SetNextCursor ¶ added in v0.6.0
func (o *ListServiceStatusRegional200Response) SetNextCursor(v *string)
SetNextCursor gets a reference to the given string and assigns it to the NextCursor field.
func (ListServiceStatusRegional200Response) ToMap ¶ added in v0.6.0
func (o ListServiceStatusRegional200Response) ToMap() (map[string]interface{}, error)
type MappedNullable ¶
type NullableActionError ¶ added in v0.3.0
type NullableActionError struct {
// contains filtered or unexported fields
}
func NewNullableActionError ¶ added in v0.3.0
func NewNullableActionError(val *ActionError) *NullableActionError
func (NullableActionError) Get ¶ added in v0.3.0
func (v NullableActionError) Get() *ActionError
func (NullableActionError) IsSet ¶ added in v0.3.0
func (v NullableActionError) IsSet() bool
func (NullableActionError) MarshalJSON ¶ added in v0.3.0
func (v NullableActionError) MarshalJSON() ([]byte, error)
func (*NullableActionError) Set ¶ added in v0.3.0
func (v *NullableActionError) Set(val *ActionError)
func (*NullableActionError) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableActionError) UnmarshalJSON(src []byte) error
func (*NullableActionError) Unset ¶ added in v0.3.0
func (v *NullableActionError) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableCheckService ¶ added in v0.6.0
type NullableCheckService struct {
// contains filtered or unexported fields
}
func NewNullableCheckService ¶ added in v0.6.0
func NewNullableCheckService(val *CheckService) *NullableCheckService
func (NullableCheckService) Get ¶ added in v0.6.0
func (v NullableCheckService) Get() *CheckService
func (NullableCheckService) IsSet ¶ added in v0.6.0
func (v NullableCheckService) IsSet() bool
func (NullableCheckService) MarshalJSON ¶ added in v0.6.0
func (v NullableCheckService) MarshalJSON() ([]byte, error)
func (*NullableCheckService) Set ¶ added in v0.6.0
func (v *NullableCheckService) Set(val *CheckService)
func (*NullableCheckService) UnmarshalJSON ¶ added in v0.6.0
func (v *NullableCheckService) UnmarshalJSON(src []byte) error
func (*NullableCheckService) Unset ¶ added in v0.6.0
func (v *NullableCheckService) Unset()
type NullableCloudService ¶ added in v0.3.0
type NullableCloudService struct {
// contains filtered or unexported fields
}
func NewNullableCloudService ¶ added in v0.3.0
func NewNullableCloudService(val *CloudService) *NullableCloudService
func (NullableCloudService) Get ¶ added in v0.3.0
func (v NullableCloudService) Get() *CloudService
func (NullableCloudService) IsSet ¶ added in v0.3.0
func (v NullableCloudService) IsSet() bool
func (NullableCloudService) MarshalJSON ¶ added in v0.3.0
func (v NullableCloudService) MarshalJSON() ([]byte, error)
func (*NullableCloudService) Set ¶ added in v0.3.0
func (v *NullableCloudService) Set(val *CloudService)
func (*NullableCloudService) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableCloudService) UnmarshalJSON(src []byte) error
func (*NullableCloudService) Unset ¶ added in v0.3.0
func (v *NullableCloudService) Unset()
type NullableDependencies ¶ added in v0.3.0
type NullableDependencies struct {
// contains filtered or unexported fields
}
func NewNullableDependencies ¶ added in v0.3.0
func NewNullableDependencies(val *Dependencies) *NullableDependencies
func (NullableDependencies) Get ¶ added in v0.3.0
func (v NullableDependencies) Get() *Dependencies
func (NullableDependencies) IsSet ¶ added in v0.3.0
func (v NullableDependencies) IsSet() bool
func (NullableDependencies) MarshalJSON ¶ added in v0.3.0
func (v NullableDependencies) MarshalJSON() ([]byte, error)
func (*NullableDependencies) Set ¶ added in v0.3.0
func (v *NullableDependencies) Set(val *Dependencies)
func (*NullableDependencies) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableDependencies) UnmarshalJSON(src []byte) error
func (*NullableDependencies) Unset ¶ added in v0.3.0
func (v *NullableDependencies) Unset()
type NullableErrorResponse ¶ added in v0.6.0
type NullableErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableErrorResponse ¶ added in v0.6.0
func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse
func (NullableErrorResponse) Get ¶ added in v0.6.0
func (v NullableErrorResponse) Get() *ErrorResponse
func (NullableErrorResponse) IsSet ¶ added in v0.6.0
func (v NullableErrorResponse) IsSet() bool
func (NullableErrorResponse) MarshalJSON ¶ added in v0.6.0
func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableErrorResponse) Set ¶ added in v0.6.0
func (v *NullableErrorResponse) Set(val *ErrorResponse)
func (*NullableErrorResponse) UnmarshalJSON ¶ added in v0.6.0
func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableErrorResponse) Unset ¶ added in v0.6.0
func (v *NullableErrorResponse) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableListServiceStatusRegional200Response ¶ added in v0.6.0
type NullableListServiceStatusRegional200Response struct {
// contains filtered or unexported fields
}
func NewNullableListServiceStatusRegional200Response ¶ added in v0.6.0
func NewNullableListServiceStatusRegional200Response(val *ListServiceStatusRegional200Response) *NullableListServiceStatusRegional200Response
func (NullableListServiceStatusRegional200Response) IsSet ¶ added in v0.6.0
func (v NullableListServiceStatusRegional200Response) IsSet() bool
func (NullableListServiceStatusRegional200Response) MarshalJSON ¶ added in v0.6.0
func (v NullableListServiceStatusRegional200Response) MarshalJSON() ([]byte, error)
func (*NullableListServiceStatusRegional200Response) Set ¶ added in v0.6.0
func (v *NullableListServiceStatusRegional200Response) Set(val *ListServiceStatusRegional200Response)
func (*NullableListServiceStatusRegional200Response) UnmarshalJSON ¶ added in v0.6.0
func (v *NullableListServiceStatusRegional200Response) UnmarshalJSON(src []byte) error
func (*NullableListServiceStatusRegional200Response) Unset ¶ added in v0.6.0
func (v *NullableListServiceStatusRegional200Response) Unset()
type NullableParameters ¶ added in v0.3.0
type NullableParameters struct {
// contains filtered or unexported fields
}
func NewNullableParameters ¶ added in v0.3.0
func NewNullableParameters(val *Parameters) *NullableParameters
func (NullableParameters) Get ¶ added in v0.3.0
func (v NullableParameters) Get() *Parameters
func (NullableParameters) IsSet ¶ added in v0.3.0
func (v NullableParameters) IsSet() bool
func (NullableParameters) MarshalJSON ¶ added in v0.3.0
func (v NullableParameters) MarshalJSON() ([]byte, error)
func (*NullableParameters) Set ¶ added in v0.3.0
func (v *NullableParameters) Set(val *Parameters)
func (*NullableParameters) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableParameters) UnmarshalJSON(src []byte) error
func (*NullableParameters) Unset ¶ added in v0.3.0
func (v *NullableParameters) Unset()
type NullableParametersGeneral ¶ added in v0.3.0
type NullableParametersGeneral struct {
// contains filtered or unexported fields
}
func NewNullableParametersGeneral ¶ added in v0.3.0
func NewNullableParametersGeneral(val *ParametersGeneral) *NullableParametersGeneral
func (NullableParametersGeneral) Get ¶ added in v0.3.0
func (v NullableParametersGeneral) Get() *ParametersGeneral
func (NullableParametersGeneral) IsSet ¶ added in v0.3.0
func (v NullableParametersGeneral) IsSet() bool
func (NullableParametersGeneral) MarshalJSON ¶ added in v0.3.0
func (v NullableParametersGeneral) MarshalJSON() ([]byte, error)
func (*NullableParametersGeneral) Set ¶ added in v0.3.0
func (v *NullableParametersGeneral) Set(val *ParametersGeneral)
func (*NullableParametersGeneral) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableParametersGeneral) UnmarshalJSON(src []byte) error
func (*NullableParametersGeneral) Unset ¶ added in v0.3.0
func (v *NullableParametersGeneral) Unset()
type NullableServiceStatus ¶ added in v0.3.0
type NullableServiceStatus struct {
// contains filtered or unexported fields
}
func NewNullableServiceStatus ¶ added in v0.3.0
func NewNullableServiceStatus(val *ServiceStatus) *NullableServiceStatus
func (NullableServiceStatus) Get ¶ added in v0.3.0
func (v NullableServiceStatus) Get() *ServiceStatus
func (NullableServiceStatus) IsSet ¶ added in v0.3.0
func (v NullableServiceStatus) IsSet() bool
func (NullableServiceStatus) MarshalJSON ¶ added in v0.3.0
func (v NullableServiceStatus) MarshalJSON() ([]byte, error)
func (*NullableServiceStatus) Set ¶ added in v0.3.0
func (v *NullableServiceStatus) Set(val *ServiceStatus)
func (*NullableServiceStatus) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableServiceStatus) UnmarshalJSON(src []byte) error
func (*NullableServiceStatus) Unset ¶ added in v0.3.0
func (v *NullableServiceStatus) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type Parameters ¶
type Parameters struct {
General *ParametersGeneral `json:"general,omitempty"`
}
Parameters service parameters
func NewParameters ¶ added in v0.3.0
func NewParameters() *Parameters
NewParameters instantiates a new Parameters object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewParametersWithDefaults ¶ added in v0.3.0
func NewParametersWithDefaults() *Parameters
NewParametersWithDefaults instantiates a new Parameters object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Parameters) GetGeneral ¶ added in v0.3.0
func (o *Parameters) GetGeneral() *ParametersGeneral
GetGeneral returns the General field value if set, zero value otherwise.
func (*Parameters) GetGeneralOk ¶ added in v0.3.0
func (o *Parameters) GetGeneralOk() (*ParametersGeneral, bool)
GetGeneralOk returns a tuple with the General field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Parameters) HasGeneral ¶ added in v0.3.0
func (o *Parameters) HasGeneral() bool
HasGeneral returns a boolean if a field has been set.
func (*Parameters) SetGeneral ¶ added in v0.3.0
func (o *Parameters) SetGeneral(v *ParametersGeneral)
SetGeneral gets a reference to the given ParametersGeneral and assigns it to the General field.
func (Parameters) ToMap ¶ added in v0.3.0
func (o Parameters) ToMap() (map[string]interface{}, error)
type ParametersGeneral ¶
type ParametersGeneral struct {
OrganizationId *string `json:"organizationId,omitempty"`
ProjectName *string `json:"projectName,omitempty"`
ProjectScope *string `json:"projectScope,omitempty"`
}
ParametersGeneral struct for ParametersGeneral
func NewParametersGeneral ¶ added in v0.3.0
func NewParametersGeneral() *ParametersGeneral
NewParametersGeneral instantiates a new ParametersGeneral object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewParametersGeneralWithDefaults ¶ added in v0.3.0
func NewParametersGeneralWithDefaults() *ParametersGeneral
NewParametersGeneralWithDefaults instantiates a new ParametersGeneral object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ParametersGeneral) GetOrganizationId ¶ added in v0.3.0
func (o *ParametersGeneral) GetOrganizationId() *string
GetOrganizationId returns the OrganizationId field value if set, zero value otherwise.
func (*ParametersGeneral) GetOrganizationIdOk ¶ added in v0.3.0
func (o *ParametersGeneral) GetOrganizationIdOk() (*string, bool)
GetOrganizationIdOk returns a tuple with the OrganizationId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParametersGeneral) GetProjectName ¶ added in v0.3.0
func (o *ParametersGeneral) GetProjectName() *string
GetProjectName returns the ProjectName field value if set, zero value otherwise.
func (*ParametersGeneral) GetProjectNameOk ¶ added in v0.3.0
func (o *ParametersGeneral) GetProjectNameOk() (*string, bool)
GetProjectNameOk returns a tuple with the ProjectName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParametersGeneral) GetProjectScope ¶ added in v0.3.0
func (o *ParametersGeneral) GetProjectScope() *string
GetProjectScope returns the ProjectScope field value if set, zero value otherwise.
func (*ParametersGeneral) GetProjectScopeOk ¶ added in v0.3.0
func (o *ParametersGeneral) GetProjectScopeOk() (*string, bool)
GetProjectScopeOk returns a tuple with the ProjectScope field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParametersGeneral) HasOrganizationId ¶ added in v0.3.0
func (o *ParametersGeneral) HasOrganizationId() bool
HasOrganizationId returns a boolean if a field has been set.
func (*ParametersGeneral) HasProjectName ¶ added in v0.3.0
func (o *ParametersGeneral) HasProjectName() bool
HasProjectName returns a boolean if a field has been set.
func (*ParametersGeneral) HasProjectScope ¶ added in v0.3.0
func (o *ParametersGeneral) HasProjectScope() bool
HasProjectScope returns a boolean if a field has been set.
func (*ParametersGeneral) SetOrganizationId ¶ added in v0.3.0
func (o *ParametersGeneral) SetOrganizationId(v *string)
SetOrganizationId gets a reference to the given string and assigns it to the OrganizationId field.
func (*ParametersGeneral) SetProjectName ¶ added in v0.3.0
func (o *ParametersGeneral) SetProjectName(v *string)
SetProjectName gets a reference to the given string and assigns it to the ProjectName field.
func (*ParametersGeneral) SetProjectScope ¶ added in v0.3.0
func (o *ParametersGeneral) SetProjectScope(v *string)
SetProjectScope gets a reference to the given string and assigns it to the ProjectScope field.
func (ParametersGeneral) ToMap ¶ added in v0.3.0
func (o ParametersGeneral) ToMap() (map[string]interface{}, error)
type ServiceStatus ¶
type ServiceStatus struct {
Dependencies *Dependencies `json:"dependencies,omitempty"`
Enablement *string `json:"enablement,omitempty"`
Error *ActionError `json:"error,omitempty"`
Labels *map[string]string `json:"labels,omitempty"`
Lifecycle *string `json:"lifecycle,omitempty"`
Parameters *Parameters `json:"parameters,omitempty"`
Scope *string `json:"scope,omitempty"`
// the id of the service
ServiceId *string `json:"serviceId,omitempty"`
// the state of a service within a project
State *string `json:"state,omitempty"`
}
ServiceStatus struct for ServiceStatus
func NewServiceStatus ¶ added in v0.3.0
func NewServiceStatus() *ServiceStatus
NewServiceStatus instantiates a new ServiceStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServiceStatusWithDefaults ¶ added in v0.3.0
func NewServiceStatusWithDefaults() *ServiceStatus
NewServiceStatusWithDefaults instantiates a new ServiceStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServiceStatus) GetDependencies ¶ added in v0.3.0
func (o *ServiceStatus) GetDependencies() *Dependencies
GetDependencies returns the Dependencies field value if set, zero value otherwise.
func (*ServiceStatus) GetDependenciesOk ¶ added in v0.3.0
func (o *ServiceStatus) GetDependenciesOk() (*Dependencies, bool)
GetDependenciesOk returns a tuple with the Dependencies field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceStatus) GetEnablement ¶ added in v0.3.0
func (o *ServiceStatus) GetEnablement() *string
GetEnablement returns the Enablement field value if set, zero value otherwise.
func (*ServiceStatus) GetEnablementOk ¶ added in v0.3.0
func (o *ServiceStatus) GetEnablementOk() (*string, bool)
GetEnablementOk returns a tuple with the Enablement field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceStatus) GetError ¶ added in v0.3.0
func (o *ServiceStatus) GetError() *ActionError
GetError returns the Error field value if set, zero value otherwise.
func (*ServiceStatus) GetErrorOk ¶ added in v0.3.0
func (o *ServiceStatus) GetErrorOk() (*ActionError, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceStatus) GetLabels ¶ added in v0.3.0
func (o *ServiceStatus) GetLabels() *map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*ServiceStatus) GetLabelsOk ¶ added in v0.3.0
func (o *ServiceStatus) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceStatus) GetLifecycle ¶ added in v0.3.0
func (o *ServiceStatus) GetLifecycle() *string
GetLifecycle returns the Lifecycle field value if set, zero value otherwise.
func (*ServiceStatus) GetLifecycleOk ¶ added in v0.3.0
func (o *ServiceStatus) GetLifecycleOk() (*string, bool)
GetLifecycleOk returns a tuple with the Lifecycle field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceStatus) GetParameters ¶ added in v0.3.0
func (o *ServiceStatus) GetParameters() *Parameters
GetParameters returns the Parameters field value if set, zero value otherwise.
func (*ServiceStatus) GetParametersOk ¶ added in v0.3.0
func (o *ServiceStatus) GetParametersOk() (*Parameters, bool)
GetParametersOk returns a tuple with the Parameters field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceStatus) GetScope ¶ added in v0.3.0
func (o *ServiceStatus) GetScope() *string
GetScope returns the Scope field value if set, zero value otherwise.
func (*ServiceStatus) GetScopeOk ¶ added in v0.3.0
func (o *ServiceStatus) GetScopeOk() (*string, bool)
GetScopeOk returns a tuple with the Scope field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceStatus) GetServiceId ¶ added in v0.3.0
func (o *ServiceStatus) GetServiceId() *string
GetServiceId returns the ServiceId field value if set, zero value otherwise.
func (*ServiceStatus) GetServiceIdOk ¶ added in v0.3.0
func (o *ServiceStatus) GetServiceIdOk() (*string, bool)
GetServiceIdOk returns a tuple with the ServiceId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceStatus) GetState ¶ added in v0.3.0
func (o *ServiceStatus) GetState() *string
GetState returns the State field value if set, zero value otherwise.
func (*ServiceStatus) GetStateOk ¶ added in v0.3.0
func (o *ServiceStatus) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceStatus) HasDependencies ¶ added in v0.3.0
func (o *ServiceStatus) HasDependencies() bool
HasDependencies returns a boolean if a field has been set.
func (*ServiceStatus) HasEnablement ¶ added in v0.3.0
func (o *ServiceStatus) HasEnablement() bool
HasEnablement returns a boolean if a field has been set.
func (*ServiceStatus) HasError ¶ added in v0.3.0
func (o *ServiceStatus) HasError() bool
HasError returns a boolean if a field has been set.
func (*ServiceStatus) HasLabels ¶ added in v0.3.0
func (o *ServiceStatus) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*ServiceStatus) HasLifecycle ¶ added in v0.3.0
func (o *ServiceStatus) HasLifecycle() bool
HasLifecycle returns a boolean if a field has been set.
func (*ServiceStatus) HasParameters ¶ added in v0.3.0
func (o *ServiceStatus) HasParameters() bool
HasParameters returns a boolean if a field has been set.
func (*ServiceStatus) HasScope ¶ added in v0.3.0
func (o *ServiceStatus) HasScope() bool
HasScope returns a boolean if a field has been set.
func (*ServiceStatus) HasServiceId ¶ added in v0.3.0
func (o *ServiceStatus) HasServiceId() bool
HasServiceId returns a boolean if a field has been set.
func (*ServiceStatus) HasState ¶ added in v0.3.0
func (o *ServiceStatus) HasState() bool
HasState returns a boolean if a field has been set.
func (*ServiceStatus) SetDependencies ¶ added in v0.3.0
func (o *ServiceStatus) SetDependencies(v *Dependencies)
SetDependencies gets a reference to the given Dependencies and assigns it to the Dependencies field.
func (*ServiceStatus) SetEnablement ¶ added in v0.3.0
func (o *ServiceStatus) SetEnablement(v *string)
SetEnablement gets a reference to the given string and assigns it to the Enablement field.
func (*ServiceStatus) SetError ¶ added in v0.3.0
func (o *ServiceStatus) SetError(v *ActionError)
SetError gets a reference to the given ActionError and assigns it to the Error field.
func (*ServiceStatus) SetLabels ¶ added in v0.3.0
func (o *ServiceStatus) SetLabels(v *map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*ServiceStatus) SetLifecycle ¶ added in v0.3.0
func (o *ServiceStatus) SetLifecycle(v *string)
SetLifecycle gets a reference to the given string and assigns it to the Lifecycle field.
func (*ServiceStatus) SetParameters ¶ added in v0.3.0
func (o *ServiceStatus) SetParameters(v *Parameters)
SetParameters gets a reference to the given Parameters and assigns it to the Parameters field.
func (*ServiceStatus) SetScope ¶ added in v0.3.0
func (o *ServiceStatus) SetScope(v *string)
SetScope gets a reference to the given string and assigns it to the Scope field.
func (*ServiceStatus) SetServiceId ¶ added in v0.3.0
func (o *ServiceStatus) SetServiceId(v *string)
SetServiceId gets a reference to the given string and assigns it to the ServiceId field.
func (*ServiceStatus) SetState ¶ added in v0.3.0
func (o *ServiceStatus) SetState(v *string)
SetState gets a reference to the given string and assigns it to the State field.
func (ServiceStatus) ToMap ¶ added in v0.3.0
func (o ServiceStatus) ToMap() (map[string]interface{}, error)