v2api

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

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

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func NewConfiguration

func NewConfiguration() *config.Configuration

NewConfiguration returns a new Configuration object

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	DefaultAPI DefaultAPI
	// 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. 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 ApiDisableServiceRegionalRequest

type ApiDisableServiceRegionalRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDisableServiceRegionalRequest) Execute

type ApiEnableServiceRegionalRequest

type ApiEnableServiceRegionalRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiEnableServiceRegionalRequest) Execute

type ApiGetServiceStatusRegionalRequest

type ApiGetServiceStatusRegionalRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetServiceStatusRegionalRequest) Execute

type ApiListServiceStatusRegionalRequest

type ApiListServiceStatusRegionalRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListServiceStatusRegionalRequest) Cursor

func (ApiListServiceStatusRegionalRequest) Execute

type CheckService

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" validate:"regexp=^[a-zA-Z0-9][a-zA-Z0-9._-]{1,254}$"`
}

CheckService struct for CheckService

func NewCheckService

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

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

func (o *CheckService) GetResource() string

GetResource returns the Resource field value if set, zero value otherwise.

func (*CheckService) GetResourceOk

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

func (o *CheckService) GetResourceType() string

GetResourceType returns the ResourceType field value if set, zero value otherwise.

func (*CheckService) GetResourceTypeOk

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

func (o *CheckService) GetServiceId() string

GetServiceId returns the ServiceId field value if set, zero value otherwise.

func (*CheckService) GetServiceIdOk

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

func (o *CheckService) HasResource() bool

HasResource returns a boolean if a field has been set.

func (*CheckService) HasResourceType

func (o *CheckService) HasResourceType() bool

HasResourceType returns a boolean if a field has been set.

func (*CheckService) HasServiceId

func (o *CheckService) HasServiceId() bool

HasServiceId returns a boolean if a field has been set.

func (CheckService) MarshalJSON

func (o CheckService) MarshalJSON() ([]byte, error)

func (*CheckService) SetResource

func (o *CheckService) SetResource(v string)

SetResource gets a reference to the given string and assigns it to the Resource field.

func (*CheckService) SetResourceType

func (o *CheckService) SetResourceType(v string)

SetResourceType gets a reference to the given string and assigns it to the ResourceType field.

func (*CheckService) SetServiceId

func (o *CheckService) SetServiceId(v string)

SetServiceId gets a reference to the given string and assigns it to the ServiceId field.

func (CheckService) ToMap

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" 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 {

	/*
		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
	*/
	DisableServiceRegional(ctx context.Context, region string, projectId string, serviceId string) ApiDisableServiceRegionalRequest

	// DisableServiceRegionalExecute executes the request
	DisableServiceRegionalExecute(r ApiDisableServiceRegionalRequest) error

	/*
		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
	*/
	EnableServiceRegional(ctx context.Context, region string, projectId string, serviceId string) ApiEnableServiceRegionalRequest

	// EnableServiceRegionalExecute executes the request
	EnableServiceRegionalExecute(r ApiEnableServiceRegionalRequest) error

	/*
		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
	*/
	GetServiceStatusRegional(ctx context.Context, region string, projectId string, serviceId string) ApiGetServiceStatusRegionalRequest

	// GetServiceStatusRegionalExecute executes the request
	//  @return ServiceStatus
	GetServiceStatusRegionalExecute(r ApiGetServiceStatusRegionalRequest) (*ServiceStatus, error)

	/*
		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
	*/
	ListServiceStatusRegional(ctx context.Context, region string, projectId string) ApiListServiceStatusRegionalRequest

	// ListServiceStatusRegionalExecute executes the request
	//  @return ListServiceStatusRegional200Response
	ListServiceStatusRegionalExecute(r ApiListServiceStatusRegionalRequest) (*ListServiceStatusRegional200Response, error)
}

type DefaultAPIService

type DefaultAPIService service

DefaultAPIService DefaultAPI service

func (*DefaultAPIService) DisableServiceRegional

func (a *DefaultAPIService) 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 (*DefaultAPIService) DisableServiceRegionalExecute

func (a *DefaultAPIService) DisableServiceRegionalExecute(r ApiDisableServiceRegionalRequest) error

Execute executes the request

func (*DefaultAPIService) EnableServiceRegional

func (a *DefaultAPIService) 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 (*DefaultAPIService) EnableServiceRegionalExecute

func (a *DefaultAPIService) EnableServiceRegionalExecute(r ApiEnableServiceRegionalRequest) error

Execute executes the request

func (*DefaultAPIService) GetServiceStatusRegional

func (a *DefaultAPIService) 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 (*DefaultAPIService) GetServiceStatusRegionalExecute

func (a *DefaultAPIService) GetServiceStatusRegionalExecute(r ApiGetServiceStatusRegionalRequest) (*ServiceStatus, error)

Execute executes the request

@return ServiceStatus

func (*DefaultAPIService) ListServiceStatusRegional

func (a *DefaultAPIService) 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 (*DefaultAPIService) ListServiceStatusRegionalExecute

Execute executes the request

@return ListServiceStatusRegional200Response

type DefaultAPIServiceMock

type DefaultAPIServiceMock struct {
	// DisableServiceRegionalExecuteMock can be populated to implement the behavior of the DisableServiceRegionalExecute function of this mock
	DisableServiceRegionalExecuteMock *func(r ApiDisableServiceRegionalRequest) error
	// EnableServiceRegionalExecuteMock can be populated to implement the behavior of the EnableServiceRegionalExecute function of this mock
	EnableServiceRegionalExecuteMock *func(r ApiEnableServiceRegionalRequest) error
	// GetServiceStatusRegionalExecuteMock can be populated to implement the behavior of the GetServiceStatusRegionalExecute function of this mock
	GetServiceStatusRegionalExecuteMock *func(r ApiGetServiceStatusRegionalRequest) (*ServiceStatus, error)
	// ListServiceStatusRegionalExecuteMock can be populated to implement the behavior of the ListServiceStatusRegionalExecute function of this mock
	ListServiceStatusRegionalExecuteMock *func(r ApiListServiceStatusRegionalRequest) (*ListServiceStatusRegional200Response, 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) DisableServiceRegional

func (a DefaultAPIServiceMock) DisableServiceRegional(ctx context.Context, region string, projectId string, serviceId string) ApiDisableServiceRegionalRequest

func (DefaultAPIServiceMock) DisableServiceRegionalExecute

func (a DefaultAPIServiceMock) DisableServiceRegionalExecute(r ApiDisableServiceRegionalRequest) error

DisableServiceRegionalExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DisableServiceRegionalExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) EnableServiceRegional

func (a DefaultAPIServiceMock) EnableServiceRegional(ctx context.Context, region string, projectId string, serviceId string) ApiEnableServiceRegionalRequest

func (DefaultAPIServiceMock) EnableServiceRegionalExecute

func (a DefaultAPIServiceMock) EnableServiceRegionalExecute(r ApiEnableServiceRegionalRequest) error

EnableServiceRegionalExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the EnableServiceRegionalExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetServiceStatusRegional

func (a DefaultAPIServiceMock) GetServiceStatusRegional(ctx context.Context, region string, projectId string, serviceId string) ApiGetServiceStatusRegionalRequest

func (DefaultAPIServiceMock) GetServiceStatusRegionalExecute

func (a DefaultAPIServiceMock) GetServiceStatusRegionalExecute(r ApiGetServiceStatusRegionalRequest) (*ServiceStatus, error)

GetServiceStatusRegionalExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetServiceStatusRegionalExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListServiceStatusRegional

func (a DefaultAPIServiceMock) ListServiceStatusRegional(ctx context.Context, region string, projectId string) ApiListServiceStatusRegionalRequest

func (DefaultAPIServiceMock) ListServiceStatusRegionalExecute

ListServiceStatusRegionalExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListServiceStatusRegionalExecuteMock 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 ErrorResponse

type ErrorResponse struct {
	Error     *string    `json:"error,omitempty"`
	Message   *string    `json:"message,omitempty"`
	Path      *string    `json:"path,omitempty"`
	Status    *int32     `json:"status,omitempty"`
	Timestamp *time.Time `json:"timestamp,omitempty"`
}

ErrorResponse struct for ErrorResponse

func NewErrorResponse

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

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

func (o *ErrorResponse) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*ErrorResponse) GetErrorOk

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

func (o *ErrorResponse) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ErrorResponse) GetMessageOk

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

func (o *ErrorResponse) GetPath() string

GetPath returns the Path field value if set, zero value otherwise.

func (*ErrorResponse) GetPathOk

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

func (o *ErrorResponse) GetStatus() int32

GetStatus returns the Status field value if set, zero value otherwise.

func (*ErrorResponse) GetStatusOk

func (o *ErrorResponse) GetStatusOk() (*int32, 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

func (o *ErrorResponse) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*ErrorResponse) GetTimestampOk

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

func (o *ErrorResponse) HasError() bool

HasError returns a boolean if a field has been set.

func (*ErrorResponse) HasMessage

func (o *ErrorResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*ErrorResponse) HasPath

func (o *ErrorResponse) HasPath() bool

HasPath returns a boolean if a field has been set.

func (*ErrorResponse) HasStatus

func (o *ErrorResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*ErrorResponse) HasTimestamp

func (o *ErrorResponse) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (ErrorResponse) MarshalJSON

func (o ErrorResponse) MarshalJSON() ([]byte, error)

func (*ErrorResponse) SetError

func (o *ErrorResponse) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*ErrorResponse) SetMessage

func (o *ErrorResponse) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*ErrorResponse) SetPath

func (o *ErrorResponse) SetPath(v string)

SetPath gets a reference to the given string and assigns it to the Path field.

func (*ErrorResponse) SetStatus

func (o *ErrorResponse) SetStatus(v int32)

SetStatus gets a reference to the given int32 and assigns it to the Status field.

func (*ErrorResponse) SetTimestamp

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

func (o ErrorResponse) ToMap() (map[string]interface{}, error)

type ListServiceStatusRegional200Response

type ListServiceStatusRegional200Response struct {
	Items      []ServiceStatus `json:"items,omitempty"`
	NextCursor *string         `json:"nextCursor,omitempty"`
}

ListServiceStatusRegional200Response struct for ListServiceStatusRegional200Response

func NewListServiceStatusRegional200Response

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

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

GetItems returns the Items field value if set, zero value otherwise.

func (*ListServiceStatusRegional200Response) GetItemsOk

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

func (o *ListServiceStatusRegional200Response) GetNextCursor() string

GetNextCursor returns the NextCursor field value if set, zero value otherwise.

func (*ListServiceStatusRegional200Response) GetNextCursorOk

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

HasItems returns a boolean if a field has been set.

func (*ListServiceStatusRegional200Response) HasNextCursor

func (o *ListServiceStatusRegional200Response) HasNextCursor() bool

HasNextCursor returns a boolean if a field has been set.

func (ListServiceStatusRegional200Response) MarshalJSON

func (o ListServiceStatusRegional200Response) MarshalJSON() ([]byte, error)

func (*ListServiceStatusRegional200Response) SetItems

SetItems gets a reference to the given []ServiceStatus and assigns it to the Items field.

func (*ListServiceStatusRegional200Response) SetNextCursor

func (o *ListServiceStatusRegional200Response) SetNextCursor(v string)

SetNextCursor gets a reference to the given string and assigns it to the NextCursor field.

func (ListServiceStatusRegional200Response) ToMap

func (o ListServiceStatusRegional200Response) ToMap() (map[string]interface{}, error)

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type NullableActionError

type NullableActionError struct {
	// contains filtered or unexported fields
}

func NewNullableActionError

func NewNullableActionError(val *ActionError) *NullableActionError

func (NullableActionError) Get

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 NullableCheckService

type NullableCheckService struct {
	// contains filtered or unexported fields
}

func NewNullableCheckService

func NewNullableCheckService(val *CheckService) *NullableCheckService

func (NullableCheckService) Get

func (NullableCheckService) IsSet

func (v NullableCheckService) IsSet() bool

func (NullableCheckService) MarshalJSON

func (v NullableCheckService) MarshalJSON() ([]byte, error)

func (*NullableCheckService) Set

func (v *NullableCheckService) Set(val *CheckService)

func (*NullableCheckService) UnmarshalJSON

func (v *NullableCheckService) UnmarshalJSON(src []byte) error

func (*NullableCheckService) Unset

func (v *NullableCheckService) Unset()

type NullableCloudService

type NullableCloudService struct {
	// contains filtered or unexported fields
}

func NewNullableCloudService

func NewNullableCloudService(val *CloudService) *NullableCloudService

func (NullableCloudService) Get

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 (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 NullableErrorResponse

type NullableErrorResponse struct {
	// contains filtered or unexported fields
}

func NewNullableErrorResponse

func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse

func (NullableErrorResponse) Get

func (NullableErrorResponse) IsSet

func (v NullableErrorResponse) IsSet() bool

func (NullableErrorResponse) MarshalJSON

func (v NullableErrorResponse) MarshalJSON() ([]byte, error)

func (*NullableErrorResponse) Set

func (v *NullableErrorResponse) Set(val *ErrorResponse)

func (*NullableErrorResponse) UnmarshalJSON

func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error

func (*NullableErrorResponse) Unset

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

type NullableListServiceStatusRegional200Response struct {
	// contains filtered or unexported fields
}

func (NullableListServiceStatusRegional200Response) Get

func (NullableListServiceStatusRegional200Response) IsSet

func (NullableListServiceStatusRegional200Response) MarshalJSON

func (*NullableListServiceStatusRegional200Response) Set

func (*NullableListServiceStatusRegional200Response) UnmarshalJSON

func (*NullableListServiceStatusRegional200Response) 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 (NullableParametersGeneral) IsSet

func (v NullableParametersGeneral) IsSet() bool

func (NullableParametersGeneral) MarshalJSON

func (v NullableParametersGeneral) MarshalJSON() ([]byte, error)

func (*NullableParametersGeneral) Set

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 (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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL