v1api

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

type ApiListServiceStatusRequest

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

func (ApiListServiceStatusRequest) Cursor

func (ApiListServiceStatusRequest) Execute

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

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

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

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

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

func (NullableListServiceStatus200Response) IsSet

func (NullableListServiceStatus200Response) MarshalJSON

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

func (*NullableListServiceStatus200Response) Set

func (*NullableListServiceStatus200Response) UnmarshalJSON

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

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

Jump to

Keyboard shortcuts

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