Documentation
¶
Overview ¶
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Index ¶
- Variables
- 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
- type APIResponse
- 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) MarshalJSON() ([]byte, error)
- 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 ApiDisableServiceRequest
- type ApiEnableServiceRequest
- type ApiGetServiceStatusRequest
- type ApiListServiceStatusRequest
- 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) MarshalJSON() ([]byte, error)
- 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 DefaultAPI
- type DefaultAPIService
- func (a *DefaultAPIService) DisableService(ctx context.Context, projectId string, serviceId string) ApiDisableServiceRequest
- func (a *DefaultAPIService) DisableServiceExecute(r ApiDisableServiceRequest) error
- func (a *DefaultAPIService) EnableService(ctx context.Context, projectId string, serviceId string) ApiEnableServiceRequest
- func (a *DefaultAPIService) EnableServiceExecute(r ApiEnableServiceRequest) error
- func (a *DefaultAPIService) GetServiceStatus(ctx context.Context, projectId string, serviceId string) ApiGetServiceStatusRequest
- func (a *DefaultAPIService) GetServiceStatusExecute(r ApiGetServiceStatusRequest) (*ServiceStatus, error)
- func (a *DefaultAPIService) ListServiceStatus(ctx context.Context, projectId string) ApiListServiceStatusRequest
- func (a *DefaultAPIService) ListServiceStatusExecute(r ApiListServiceStatusRequest) (*ListServiceStatus200Response, error)
- type DefaultAPIServiceMock
- func (a DefaultAPIServiceMock) DisableService(ctx context.Context, projectId string, serviceId string) ApiDisableServiceRequest
- func (a DefaultAPIServiceMock) DisableServiceExecute(r ApiDisableServiceRequest) error
- func (a DefaultAPIServiceMock) EnableService(ctx context.Context, projectId string, serviceId string) ApiEnableServiceRequest
- func (a DefaultAPIServiceMock) EnableServiceExecute(r ApiEnableServiceRequest) error
- func (a DefaultAPIServiceMock) GetServiceStatus(ctx context.Context, projectId string, serviceId string) ApiGetServiceStatusRequest
- func (a DefaultAPIServiceMock) GetServiceStatusExecute(r ApiGetServiceStatusRequest) (*ServiceStatus, error)
- func (a DefaultAPIServiceMock) ListServiceStatus(ctx context.Context, projectId string) ApiListServiceStatusRequest
- func (a DefaultAPIServiceMock) ListServiceStatusExecute(r ApiListServiceStatusRequest) (*ListServiceStatus200Response, error)
- 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) MarshalJSON() ([]byte, error)
- func (o *Dependencies) SetHard(v []string)
- func (o *Dependencies) SetSoft(v []string)
- func (o Dependencies) ToMap() (map[string]interface{}, error)
- type ListServiceStatus200Response
- func (o *ListServiceStatus200Response) GetItems() []ServiceStatus
- func (o *ListServiceStatus200Response) GetItemsOk() ([]ServiceStatus, bool)
- func (o *ListServiceStatus200Response) GetNextCursor() string
- func (o *ListServiceStatus200Response) GetNextCursorOk() (*string, bool)
- func (o *ListServiceStatus200Response) HasItems() bool
- func (o *ListServiceStatus200Response) HasNextCursor() bool
- func (o ListServiceStatus200Response) MarshalJSON() ([]byte, error)
- func (o *ListServiceStatus200Response) SetItems(v []ServiceStatus)
- func (o *ListServiceStatus200Response) SetNextCursor(v string)
- func (o ListServiceStatus200Response) 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 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 NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableListServiceStatus200Response
- func (v NullableListServiceStatus200Response) Get() *ListServiceStatus200Response
- func (v NullableListServiceStatus200Response) IsSet() bool
- func (v NullableListServiceStatus200Response) MarshalJSON() ([]byte, error)
- func (v *NullableListServiceStatus200Response) Set(val *ListServiceStatus200Response)
- func (v *NullableListServiceStatus200Response) UnmarshalJSON(src []byte) error
- func (v *NullableListServiceStatus200Response) 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
- func (o *Parameters) GetGeneral() ParametersGeneral
- func (o *Parameters) GetGeneralOk() (*ParametersGeneral, bool)
- func (o *Parameters) HasGeneral() bool
- func (o Parameters) MarshalJSON() ([]byte, error)
- func (o *Parameters) SetGeneral(v ParametersGeneral)
- func (o Parameters) ToMap() (map[string]interface{}, error)
- func (o *Parameters) UnmarshalJSON(data []byte) (err error)
- 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) MarshalJSON() ([]byte, error)
- 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) MarshalJSON() ([]byte, error)
- 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 ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
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 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 {
DefaultAPI DefaultAPI
// contains filtered or unexported fields
}
APIClient manages communication with the STACKIT Service Enablement API API v1.1 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. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
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
type APIResponse ¶
type APIResponse struct {
*http.Response `json:"-"`
Message string `json:"message,omitempty"`
// Operation is the name of the OpenAPI operation.
Operation string `json:"operation,omitempty"`
// RequestURL is the request URL. This value is always available, even if the
// embedded *http.Response is nil.
RequestURL string `json:"url,omitempty"`
// Method is the HTTP method used for the request. This value is always
// available, even if the embedded *http.Response is nil.
Method string `json:"method,omitempty"`
// Payload holds the contents of the response body (which may be nil or empty).
// This is provided here as the raw response.Body() reader will have already
// been drained.
Payload []byte `json:"-"`
}
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
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 ¶
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 ¶
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 ¶
func (o *ActionError) GetAction() string
GetAction returns the Action field value if set, zero value otherwise.
func (*ActionError) GetActionOk ¶
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 ¶
func (o *ActionError) GetCode() string
GetCode returns the Code field value if set, zero value otherwise.
func (*ActionError) GetCodeOk ¶
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 ¶
func (o *ActionError) GetReason() string
GetReason returns the Reason field value if set, zero value otherwise.
func (*ActionError) GetReasonOk ¶
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 ¶
func (o *ActionError) HasAction() bool
HasAction returns a boolean if a field has been set.
func (*ActionError) HasCode ¶
func (o *ActionError) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*ActionError) HasReason ¶
func (o *ActionError) HasReason() bool
HasReason returns a boolean if a field has been set.
func (ActionError) MarshalJSON ¶
func (o ActionError) MarshalJSON() ([]byte, error)
func (*ActionError) SetAction ¶
func (o *ActionError) SetAction(v string)
SetAction gets a reference to the given string and assigns it to the Action field.
func (*ActionError) SetCode ¶
func (o *ActionError) SetCode(v string)
SetCode gets a reference to the given string and assigns it to the Code field.
func (*ActionError) SetReason ¶
func (o *ActionError) SetReason(v string)
SetReason gets a reference to the given string and assigns it to the Reason field.
func (ActionError) ToMap ¶
func (o ActionError) ToMap() (map[string]interface{}, error)
type ApiDisableServiceRequest ¶
type ApiDisableServiceRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDisableServiceRequest) Execute ¶
func (r ApiDisableServiceRequest) Execute() error
type ApiEnableServiceRequest ¶
type ApiEnableServiceRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiEnableServiceRequest) Execute ¶
func (r ApiEnableServiceRequest) Execute() error
type ApiGetServiceStatusRequest ¶
type ApiGetServiceStatusRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetServiceStatusRequest) Execute ¶
func (r ApiGetServiceStatusRequest) Execute() (*ServiceStatus, error)
type ApiListServiceStatusRequest ¶
type ApiListServiceStatusRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListServiceStatusRequest) Cursor ¶
func (r ApiListServiceStatusRequest) Cursor(cursor string) ApiListServiceStatusRequest
func (ApiListServiceStatusRequest) Execute ¶
func (r ApiListServiceStatusRequest) Execute() (*ListServiceStatus200Response, 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" validate:"regexp=^[a-zA-Z0-9][a-zA-Z0-9._-]{1,254}$"`
}
CloudService struct for CloudService
func NewCloudService ¶
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 ¶
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 ¶
func (o *CloudService) GetDependencies() Dependencies
GetDependencies returns the Dependencies field value if set, zero value otherwise.
func (*CloudService) GetDependenciesOk ¶
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 ¶
func (o *CloudService) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*CloudService) GetLabelsOk ¶
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 ¶
func (o *CloudService) GetScope() string
GetScope returns the Scope field value if set, zero value otherwise.
func (*CloudService) GetScopeOk ¶
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 ¶
func (o *CloudService) GetServiceId() string
GetServiceId returns the ServiceId field value if set, zero value otherwise.
func (*CloudService) GetServiceIdOk ¶
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 ¶
func (o *CloudService) HasDependencies() bool
HasDependencies returns a boolean if a field has been set.
func (*CloudService) HasLabels ¶
func (o *CloudService) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*CloudService) HasScope ¶
func (o *CloudService) HasScope() bool
HasScope returns a boolean if a field has been set.
func (*CloudService) HasServiceId ¶
func (o *CloudService) HasServiceId() bool
HasServiceId returns a boolean if a field has been set.
func (CloudService) MarshalJSON ¶
func (o CloudService) MarshalJSON() ([]byte, error)
func (*CloudService) SetDependencies ¶
func (o *CloudService) SetDependencies(v Dependencies)
SetDependencies gets a reference to the given Dependencies and assigns it to the Dependencies field.
func (*CloudService) SetLabels ¶
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 ¶
func (o *CloudService) SetScope(v string)
SetScope gets a reference to the given string and assigns it to the Scope field.
func (*CloudService) SetServiceId ¶
func (o *CloudService) SetServiceId(v string)
SetServiceId gets a reference to the given string and assigns it to the ServiceId field.
func (CloudService) ToMap ¶
func (o CloudService) ToMap() (map[string]interface{}, error)
type DefaultAPI ¶
type DefaultAPI interface {
/*
DisableService Method for DisableService
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 projectId
@param serviceId
@return ApiDisableServiceRequest
*/
DisableService(ctx context.Context, projectId string, serviceId string) ApiDisableServiceRequest
// DisableServiceExecute executes the request
DisableServiceExecute(r ApiDisableServiceRequest) error
/*
EnableService Method for EnableService
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 projectId
@param serviceId
@return ApiEnableServiceRequest
*/
EnableService(ctx context.Context, projectId string, serviceId string) ApiEnableServiceRequest
// EnableServiceExecute executes the request
EnableServiceExecute(r ApiEnableServiceRequest) error
/*
GetServiceStatus Method for GetServiceStatus
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 projectId
@param serviceId
@return ApiGetServiceStatusRequest
*/
GetServiceStatus(ctx context.Context, projectId string, serviceId string) ApiGetServiceStatusRequest
// GetServiceStatusExecute executes the request
// @return ServiceStatus
GetServiceStatusExecute(r ApiGetServiceStatusRequest) (*ServiceStatus, error)
/*
ListServiceStatus Method for ListServiceStatus
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 projectId
@return ApiListServiceStatusRequest
*/
ListServiceStatus(ctx context.Context, projectId string) ApiListServiceStatusRequest
// ListServiceStatusExecute executes the request
// @return ListServiceStatus200Response
ListServiceStatusExecute(r ApiListServiceStatusRequest) (*ListServiceStatus200Response, error)
}
type DefaultAPIService ¶
type DefaultAPIService service
DefaultAPIService DefaultAPI service
func (*DefaultAPIService) DisableService ¶
func (a *DefaultAPIService) DisableService(ctx context.Context, projectId string, serviceId string) ApiDisableServiceRequest
DisableService Method for DisableService
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 projectId @param serviceId @return ApiDisableServiceRequest
func (*DefaultAPIService) DisableServiceExecute ¶
func (a *DefaultAPIService) DisableServiceExecute(r ApiDisableServiceRequest) error
Execute executes the request
func (*DefaultAPIService) EnableService ¶
func (a *DefaultAPIService) EnableService(ctx context.Context, projectId string, serviceId string) ApiEnableServiceRequest
EnableService Method for EnableService
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 projectId @param serviceId @return ApiEnableServiceRequest
func (*DefaultAPIService) EnableServiceExecute ¶
func (a *DefaultAPIService) EnableServiceExecute(r ApiEnableServiceRequest) error
Execute executes the request
func (*DefaultAPIService) GetServiceStatus ¶
func (a *DefaultAPIService) GetServiceStatus(ctx context.Context, projectId string, serviceId string) ApiGetServiceStatusRequest
GetServiceStatus Method for GetServiceStatus
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 projectId @param serviceId @return ApiGetServiceStatusRequest
func (*DefaultAPIService) GetServiceStatusExecute ¶
func (a *DefaultAPIService) GetServiceStatusExecute(r ApiGetServiceStatusRequest) (*ServiceStatus, error)
Execute executes the request
@return ServiceStatus
func (*DefaultAPIService) ListServiceStatus ¶
func (a *DefaultAPIService) ListServiceStatus(ctx context.Context, projectId string) ApiListServiceStatusRequest
ListServiceStatus Method for ListServiceStatus
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 projectId @return ApiListServiceStatusRequest
func (*DefaultAPIService) ListServiceStatusExecute ¶
func (a *DefaultAPIService) ListServiceStatusExecute(r ApiListServiceStatusRequest) (*ListServiceStatus200Response, error)
Execute executes the request
@return ListServiceStatus200Response
type DefaultAPIServiceMock ¶
type DefaultAPIServiceMock struct {
// DisableServiceExecuteMock can be populated to implement the behavior of the DisableServiceExecute function of this mock
DisableServiceExecuteMock *func(r ApiDisableServiceRequest) error
// EnableServiceExecuteMock can be populated to implement the behavior of the EnableServiceExecute function of this mock
EnableServiceExecuteMock *func(r ApiEnableServiceRequest) error
// GetServiceStatusExecuteMock can be populated to implement the behavior of the GetServiceStatusExecute function of this mock
GetServiceStatusExecuteMock *func(r ApiGetServiceStatusRequest) (*ServiceStatus, error)
// ListServiceStatusExecuteMock can be populated to implement the behavior of the ListServiceStatusExecute function of this mock
ListServiceStatusExecuteMock *func(r ApiListServiceStatusRequest) (*ListServiceStatus200Response, error)
}
DefaultAPIServiceMock is meant to be used for testing only as a replacement for DefaultAPIService. By default all FooExecute() implementations are a no-op. Behavior of the mock can be customized by populating the callbacks in this struct.
func (DefaultAPIServiceMock) DisableService ¶
func (a DefaultAPIServiceMock) DisableService(ctx context.Context, projectId string, serviceId string) ApiDisableServiceRequest
func (DefaultAPIServiceMock) DisableServiceExecute ¶
func (a DefaultAPIServiceMock) DisableServiceExecute(r ApiDisableServiceRequest) error
DisableServiceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DisableServiceExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) EnableService ¶
func (a DefaultAPIServiceMock) EnableService(ctx context.Context, projectId string, serviceId string) ApiEnableServiceRequest
func (DefaultAPIServiceMock) EnableServiceExecute ¶
func (a DefaultAPIServiceMock) EnableServiceExecute(r ApiEnableServiceRequest) error
EnableServiceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the EnableServiceExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetServiceStatus ¶
func (a DefaultAPIServiceMock) GetServiceStatus(ctx context.Context, projectId string, serviceId string) ApiGetServiceStatusRequest
func (DefaultAPIServiceMock) GetServiceStatusExecute ¶
func (a DefaultAPIServiceMock) GetServiceStatusExecute(r ApiGetServiceStatusRequest) (*ServiceStatus, error)
GetServiceStatusExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetServiceStatusExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListServiceStatus ¶
func (a DefaultAPIServiceMock) ListServiceStatus(ctx context.Context, projectId string) ApiListServiceStatusRequest
func (DefaultAPIServiceMock) ListServiceStatusExecute ¶
func (a DefaultAPIServiceMock) ListServiceStatusExecute(r ApiListServiceStatusRequest) (*ListServiceStatus200Response, error)
ListServiceStatusExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListServiceStatusExecuteMock field in the DefaultAPIServiceMock struct.
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 ¶
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 ¶
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 ¶
func (o *Dependencies) GetHard() []string
GetHard returns the Hard field value if set, zero value otherwise.
func (*Dependencies) GetHardOk ¶
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 ¶
func (o *Dependencies) GetSoft() []string
GetSoft returns the Soft field value if set, zero value otherwise.
func (*Dependencies) GetSoftOk ¶
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 ¶
func (o *Dependencies) HasHard() bool
HasHard returns a boolean if a field has been set.
func (*Dependencies) HasSoft ¶
func (o *Dependencies) HasSoft() bool
HasSoft returns a boolean if a field has been set.
func (Dependencies) MarshalJSON ¶
func (o Dependencies) MarshalJSON() ([]byte, error)
func (*Dependencies) SetHard ¶
func (o *Dependencies) SetHard(v []string)
SetHard gets a reference to the given []string and assigns it to the Hard field.
func (*Dependencies) SetSoft ¶
func (o *Dependencies) SetSoft(v []string)
SetSoft gets a reference to the given []string and assigns it to the Soft field.
func (Dependencies) ToMap ¶
func (o Dependencies) ToMap() (map[string]interface{}, error)
type ListServiceStatus200Response ¶
type ListServiceStatus200Response struct {
Items []ServiceStatus `json:"items,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
}
ListServiceStatus200Response struct for ListServiceStatus200Response
func NewListServiceStatus200Response ¶
func NewListServiceStatus200Response() *ListServiceStatus200Response
NewListServiceStatus200Response instantiates a new ListServiceStatus200Response 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 NewListServiceStatus200ResponseWithDefaults ¶
func NewListServiceStatus200ResponseWithDefaults() *ListServiceStatus200Response
NewListServiceStatus200ResponseWithDefaults instantiates a new ListServiceStatus200Response 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 (*ListServiceStatus200Response) GetItems ¶
func (o *ListServiceStatus200Response) GetItems() []ServiceStatus
GetItems returns the Items field value if set, zero value otherwise.
func (*ListServiceStatus200Response) GetItemsOk ¶
func (o *ListServiceStatus200Response) 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 (*ListServiceStatus200Response) GetNextCursor ¶
func (o *ListServiceStatus200Response) GetNextCursor() string
GetNextCursor returns the NextCursor field value if set, zero value otherwise.
func (*ListServiceStatus200Response) GetNextCursorOk ¶
func (o *ListServiceStatus200Response) 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 (*ListServiceStatus200Response) HasItems ¶
func (o *ListServiceStatus200Response) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*ListServiceStatus200Response) HasNextCursor ¶
func (o *ListServiceStatus200Response) HasNextCursor() bool
HasNextCursor returns a boolean if a field has been set.
func (ListServiceStatus200Response) MarshalJSON ¶
func (o ListServiceStatus200Response) MarshalJSON() ([]byte, error)
func (*ListServiceStatus200Response) SetItems ¶
func (o *ListServiceStatus200Response) SetItems(v []ServiceStatus)
SetItems gets a reference to the given []ServiceStatus and assigns it to the Items field.
func (*ListServiceStatus200Response) SetNextCursor ¶
func (o *ListServiceStatus200Response) SetNextCursor(v string)
SetNextCursor gets a reference to the given string and assigns it to the NextCursor field.
func (ListServiceStatus200Response) ToMap ¶
func (o ListServiceStatus200Response) ToMap() (map[string]interface{}, error)
type MappedNullable ¶
type NullableActionError ¶
type NullableActionError struct {
// contains filtered or unexported fields
}
func NewNullableActionError ¶
func NewNullableActionError(val *ActionError) *NullableActionError
func (NullableActionError) Get ¶
func (v NullableActionError) Get() *ActionError
func (NullableActionError) IsSet ¶
func (v NullableActionError) IsSet() bool
func (NullableActionError) MarshalJSON ¶
func (v NullableActionError) MarshalJSON() ([]byte, error)
func (*NullableActionError) Set ¶
func (v *NullableActionError) Set(val *ActionError)
func (*NullableActionError) UnmarshalJSON ¶
func (v *NullableActionError) UnmarshalJSON(src []byte) error
func (*NullableActionError) Unset ¶
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 NullableCloudService ¶
type NullableCloudService struct {
// contains filtered or unexported fields
}
func NewNullableCloudService ¶
func NewNullableCloudService(val *CloudService) *NullableCloudService
func (NullableCloudService) Get ¶
func (v NullableCloudService) Get() *CloudService
func (NullableCloudService) IsSet ¶
func (v NullableCloudService) IsSet() bool
func (NullableCloudService) MarshalJSON ¶
func (v NullableCloudService) MarshalJSON() ([]byte, error)
func (*NullableCloudService) Set ¶
func (v *NullableCloudService) Set(val *CloudService)
func (*NullableCloudService) UnmarshalJSON ¶
func (v *NullableCloudService) UnmarshalJSON(src []byte) error
func (*NullableCloudService) Unset ¶
func (v *NullableCloudService) Unset()
type NullableDependencies ¶
type NullableDependencies struct {
// contains filtered or unexported fields
}
func NewNullableDependencies ¶
func NewNullableDependencies(val *Dependencies) *NullableDependencies
func (NullableDependencies) Get ¶
func (v NullableDependencies) Get() *Dependencies
func (NullableDependencies) IsSet ¶
func (v NullableDependencies) IsSet() bool
func (NullableDependencies) MarshalJSON ¶
func (v NullableDependencies) MarshalJSON() ([]byte, error)
func (*NullableDependencies) Set ¶
func (v *NullableDependencies) Set(val *Dependencies)
func (*NullableDependencies) UnmarshalJSON ¶
func (v *NullableDependencies) UnmarshalJSON(src []byte) error
func (*NullableDependencies) Unset ¶
func (v *NullableDependencies) 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 NullableListServiceStatus200Response ¶
type NullableListServiceStatus200Response struct {
// contains filtered or unexported fields
}
func NewNullableListServiceStatus200Response ¶
func NewNullableListServiceStatus200Response(val *ListServiceStatus200Response) *NullableListServiceStatus200Response
func (NullableListServiceStatus200Response) Get ¶
func (v NullableListServiceStatus200Response) Get() *ListServiceStatus200Response
func (NullableListServiceStatus200Response) IsSet ¶
func (v NullableListServiceStatus200Response) IsSet() bool
func (NullableListServiceStatus200Response) MarshalJSON ¶
func (v NullableListServiceStatus200Response) MarshalJSON() ([]byte, error)
func (*NullableListServiceStatus200Response) Set ¶
func (v *NullableListServiceStatus200Response) Set(val *ListServiceStatus200Response)
func (*NullableListServiceStatus200Response) UnmarshalJSON ¶
func (v *NullableListServiceStatus200Response) UnmarshalJSON(src []byte) error
func (*NullableListServiceStatus200Response) Unset ¶
func (v *NullableListServiceStatus200Response) Unset()
type NullableParameters ¶
type NullableParameters struct {
// contains filtered or unexported fields
}
func NewNullableParameters ¶
func NewNullableParameters(val *Parameters) *NullableParameters
func (NullableParameters) Get ¶
func (v NullableParameters) Get() *Parameters
func (NullableParameters) IsSet ¶
func (v NullableParameters) IsSet() bool
func (NullableParameters) MarshalJSON ¶
func (v NullableParameters) MarshalJSON() ([]byte, error)
func (*NullableParameters) Set ¶
func (v *NullableParameters) Set(val *Parameters)
func (*NullableParameters) UnmarshalJSON ¶
func (v *NullableParameters) UnmarshalJSON(src []byte) error
func (*NullableParameters) Unset ¶
func (v *NullableParameters) Unset()
type NullableParametersGeneral ¶
type NullableParametersGeneral struct {
// contains filtered or unexported fields
}
func NewNullableParametersGeneral ¶
func NewNullableParametersGeneral(val *ParametersGeneral) *NullableParametersGeneral
func (NullableParametersGeneral) Get ¶
func (v NullableParametersGeneral) Get() *ParametersGeneral
func (NullableParametersGeneral) IsSet ¶
func (v NullableParametersGeneral) IsSet() bool
func (NullableParametersGeneral) MarshalJSON ¶
func (v NullableParametersGeneral) MarshalJSON() ([]byte, error)
func (*NullableParametersGeneral) Set ¶
func (v *NullableParametersGeneral) Set(val *ParametersGeneral)
func (*NullableParametersGeneral) UnmarshalJSON ¶
func (v *NullableParametersGeneral) UnmarshalJSON(src []byte) error
func (*NullableParametersGeneral) Unset ¶
func (v *NullableParametersGeneral) Unset()
type NullableServiceStatus ¶
type NullableServiceStatus struct {
// contains filtered or unexported fields
}
func NewNullableServiceStatus ¶
func NewNullableServiceStatus(val *ServiceStatus) *NullableServiceStatus
func (NullableServiceStatus) Get ¶
func (v NullableServiceStatus) Get() *ServiceStatus
func (NullableServiceStatus) IsSet ¶
func (v NullableServiceStatus) IsSet() bool
func (NullableServiceStatus) MarshalJSON ¶
func (v NullableServiceStatus) MarshalJSON() ([]byte, error)
func (*NullableServiceStatus) Set ¶
func (v *NullableServiceStatus) Set(val *ServiceStatus)
func (*NullableServiceStatus) UnmarshalJSON ¶
func (v *NullableServiceStatus) UnmarshalJSON(src []byte) error
func (*NullableServiceStatus) Unset ¶
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"`
AdditionalProperties map[string]interface{}
}
Parameters service parameters
func NewParameters ¶
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 ¶
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 ¶
func (o *Parameters) GetGeneral() ParametersGeneral
GetGeneral returns the General field value if set, zero value otherwise.
func (*Parameters) GetGeneralOk ¶
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 ¶
func (o *Parameters) HasGeneral() bool
HasGeneral returns a boolean if a field has been set.
func (Parameters) MarshalJSON ¶
func (o Parameters) MarshalJSON() ([]byte, error)
func (*Parameters) SetGeneral ¶
func (o *Parameters) SetGeneral(v ParametersGeneral)
SetGeneral gets a reference to the given ParametersGeneral and assigns it to the General field.
func (Parameters) ToMap ¶
func (o Parameters) ToMap() (map[string]interface{}, error)
func (*Parameters) UnmarshalJSON ¶
func (o *Parameters) UnmarshalJSON(data []byte) (err 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 ¶
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 ¶
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 ¶
func (o *ParametersGeneral) GetOrganizationId() string
GetOrganizationId returns the OrganizationId field value if set, zero value otherwise.
func (*ParametersGeneral) GetOrganizationIdOk ¶
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 ¶
func (o *ParametersGeneral) GetProjectName() string
GetProjectName returns the ProjectName field value if set, zero value otherwise.
func (*ParametersGeneral) GetProjectNameOk ¶
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 ¶
func (o *ParametersGeneral) GetProjectScope() string
GetProjectScope returns the ProjectScope field value if set, zero value otherwise.
func (*ParametersGeneral) GetProjectScopeOk ¶
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 ¶
func (o *ParametersGeneral) HasOrganizationId() bool
HasOrganizationId returns a boolean if a field has been set.
func (*ParametersGeneral) HasProjectName ¶
func (o *ParametersGeneral) HasProjectName() bool
HasProjectName returns a boolean if a field has been set.
func (*ParametersGeneral) HasProjectScope ¶
func (o *ParametersGeneral) HasProjectScope() bool
HasProjectScope returns a boolean if a field has been set.
func (ParametersGeneral) MarshalJSON ¶
func (o ParametersGeneral) MarshalJSON() ([]byte, error)
func (*ParametersGeneral) SetOrganizationId ¶
func (o *ParametersGeneral) SetOrganizationId(v string)
SetOrganizationId gets a reference to the given string and assigns it to the OrganizationId field.
func (*ParametersGeneral) SetProjectName ¶
func (o *ParametersGeneral) SetProjectName(v string)
SetProjectName gets a reference to the given string and assigns it to the ProjectName field.
func (*ParametersGeneral) SetProjectScope ¶
func (o *ParametersGeneral) SetProjectScope(v string)
SetProjectScope gets a reference to the given string and assigns it to the ProjectScope field.
func (ParametersGeneral) ToMap ¶
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" validate:"regexp=^[a-zA-Z0-9][a-zA-Z0-9._-]{1,254}$"`
// the state of a service within a project
State *string `json:"state,omitempty"`
}
ServiceStatus struct for ServiceStatus
func NewServiceStatus ¶
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 ¶
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 ¶
func (o *ServiceStatus) GetDependencies() Dependencies
GetDependencies returns the Dependencies field value if set, zero value otherwise.
func (*ServiceStatus) GetDependenciesOk ¶
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 ¶
func (o *ServiceStatus) GetEnablement() string
GetEnablement returns the Enablement field value if set, zero value otherwise.
func (*ServiceStatus) GetEnablementOk ¶
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 ¶
func (o *ServiceStatus) GetError() ActionError
GetError returns the Error field value if set, zero value otherwise.
func (*ServiceStatus) GetErrorOk ¶
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 ¶
func (o *ServiceStatus) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*ServiceStatus) GetLabelsOk ¶
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 ¶
func (o *ServiceStatus) GetLifecycle() string
GetLifecycle returns the Lifecycle field value if set, zero value otherwise.
func (*ServiceStatus) GetLifecycleOk ¶
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 ¶
func (o *ServiceStatus) GetParameters() Parameters
GetParameters returns the Parameters field value if set, zero value otherwise.
func (*ServiceStatus) GetParametersOk ¶
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 ¶
func (o *ServiceStatus) GetScope() string
GetScope returns the Scope field value if set, zero value otherwise.
func (*ServiceStatus) GetScopeOk ¶
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 ¶
func (o *ServiceStatus) GetServiceId() string
GetServiceId returns the ServiceId field value if set, zero value otherwise.
func (*ServiceStatus) GetServiceIdOk ¶
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 ¶
func (o *ServiceStatus) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*ServiceStatus) GetStateOk ¶
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 ¶
func (o *ServiceStatus) HasDependencies() bool
HasDependencies returns a boolean if a field has been set.
func (*ServiceStatus) HasEnablement ¶
func (o *ServiceStatus) HasEnablement() bool
HasEnablement returns a boolean if a field has been set.
func (*ServiceStatus) HasError ¶
func (o *ServiceStatus) HasError() bool
HasError returns a boolean if a field has been set.
func (*ServiceStatus) HasLabels ¶
func (o *ServiceStatus) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*ServiceStatus) HasLifecycle ¶
func (o *ServiceStatus) HasLifecycle() bool
HasLifecycle returns a boolean if a field has been set.
func (*ServiceStatus) HasParameters ¶
func (o *ServiceStatus) HasParameters() bool
HasParameters returns a boolean if a field has been set.
func (*ServiceStatus) HasScope ¶
func (o *ServiceStatus) HasScope() bool
HasScope returns a boolean if a field has been set.
func (*ServiceStatus) HasServiceId ¶
func (o *ServiceStatus) HasServiceId() bool
HasServiceId returns a boolean if a field has been set.
func (*ServiceStatus) HasState ¶
func (o *ServiceStatus) HasState() bool
HasState returns a boolean if a field has been set.
func (ServiceStatus) MarshalJSON ¶
func (o ServiceStatus) MarshalJSON() ([]byte, error)
func (*ServiceStatus) SetDependencies ¶
func (o *ServiceStatus) SetDependencies(v Dependencies)
SetDependencies gets a reference to the given Dependencies and assigns it to the Dependencies field.
func (*ServiceStatus) SetEnablement ¶
func (o *ServiceStatus) SetEnablement(v string)
SetEnablement gets a reference to the given string and assigns it to the Enablement field.
func (*ServiceStatus) SetError ¶
func (o *ServiceStatus) SetError(v ActionError)
SetError gets a reference to the given ActionError and assigns it to the Error field.
func (*ServiceStatus) SetLabels ¶
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 ¶
func (o *ServiceStatus) SetLifecycle(v string)
SetLifecycle gets a reference to the given string and assigns it to the Lifecycle field.
func (*ServiceStatus) SetParameters ¶
func (o *ServiceStatus) SetParameters(v Parameters)
SetParameters gets a reference to the given Parameters and assigns it to the Parameters field.
func (*ServiceStatus) SetScope ¶
func (o *ServiceStatus) SetScope(v string)
SetScope gets a reference to the given string and assigns it to the Scope field.
func (*ServiceStatus) SetServiceId ¶
func (o *ServiceStatus) SetServiceId(v string)
SetServiceId gets a reference to the given string and assigns it to the ServiceId field.
func (*ServiceStatus) SetState ¶
func (o *ServiceStatus) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (ServiceStatus) ToMap ¶
func (o ServiceStatus) ToMap() (map[string]interface{}, error)