serviceenablement

package module
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 22 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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 ParameterValueToString

func ParameterValueToString(obj interface{}, key string) string

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 {
	// 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. Optionally receives configuration options

func (*APIClient) DisableService

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

func (a *APIClient) DisableServiceExecute(ctx context.Context, projectId string, serviceId string) error

func (*APIClient) EnableService

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

func (a *APIClient) EnableServiceExecute(ctx context.Context, projectId string, serviceId string) error

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *config.Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

func (*APIClient) GetServiceStatus

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

func (a *APIClient) GetServiceStatusExecute(ctx context.Context, projectId string, serviceId string) (*ServiceStatus, error)

func (*APIClient) ListServiceStatus

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

func (a *APIClient) ListServiceStatusExecute(ctx context.Context, projectId string) (*ListServiceStatus200Response, error)

type ActionError

type ActionError struct {
	// the last action which was triggered on this service
	Action *string `json:"action,omitempty"`
	// the error code if provided by the service
	Code *string `json:"code,omitempty"`
	// the error reason provided by the service
	Reason *string `json:"reason,omitempty"`
}

ActionError the last error for this service.

func NewActionError added in v0.3.0

func NewActionError() *ActionError

NewActionError instantiates a new ActionError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewActionErrorWithDefaults added in v0.3.0

func NewActionErrorWithDefaults() *ActionError

NewActionErrorWithDefaults instantiates a new ActionError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ActionError) GetAction added in v0.3.0

func (o *ActionError) GetAction() *string

GetAction returns the Action field value if set, zero value otherwise.

func (*ActionError) GetActionOk added in v0.3.0

func (o *ActionError) GetActionOk() (*string, bool)

GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionError) GetCode added in v0.3.0

func (o *ActionError) GetCode() *string

GetCode returns the Code field value if set, zero value otherwise.

func (*ActionError) GetCodeOk added in v0.3.0

func (o *ActionError) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionError) GetReason added in v0.3.0

func (o *ActionError) GetReason() *string

GetReason returns the Reason field value if set, zero value otherwise.

func (*ActionError) GetReasonOk added in v0.3.0

func (o *ActionError) GetReasonOk() (*string, bool)

GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionError) HasAction added in v0.3.0

func (o *ActionError) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*ActionError) HasCode added in v0.3.0

func (o *ActionError) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*ActionError) HasReason added in v0.3.0

func (o *ActionError) HasReason() bool

HasReason returns a boolean if a field has been set.

func (*ActionError) SetAction added in v0.3.0

func (o *ActionError) SetAction(v *string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*ActionError) SetCode added in v0.3.0

func (o *ActionError) SetCode(v *string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*ActionError) SetReason added in v0.3.0

func (o *ActionError) SetReason(v *string)

SetReason gets a reference to the given string and assigns it to the Reason field.

func (ActionError) ToMap added in v0.3.0

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

type ApiDisableServiceRequest

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

func (ApiDisableServiceRequest) Execute

func (r ApiDisableServiceRequest) Execute() error

type ApiEnableServiceRequest

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

func (ApiEnableServiceRequest) Execute

func (r ApiEnableServiceRequest) Execute() error

type ApiGetServiceStatusRequest

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

func (ApiGetServiceStatusRequest) Execute

type ApiListServiceStatusRequest

type ApiListServiceStatusRequest struct {
	// 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"`
}

CloudService struct for CloudService

func NewCloudService added in v0.3.0

func NewCloudService() *CloudService

NewCloudService instantiates a new CloudService object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCloudServiceWithDefaults added in v0.3.0

func NewCloudServiceWithDefaults() *CloudService

NewCloudServiceWithDefaults instantiates a new CloudService object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CloudService) GetDependencies added in v0.3.0

func (o *CloudService) GetDependencies() *Dependencies

GetDependencies returns the Dependencies field value if set, zero value otherwise.

func (*CloudService) GetDependenciesOk added in v0.3.0

func (o *CloudService) GetDependenciesOk() (*Dependencies, bool)

GetDependenciesOk returns a tuple with the Dependencies field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CloudService) GetLabels added in v0.3.0

func (o *CloudService) GetLabels() *map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*CloudService) GetLabelsOk added in v0.3.0

func (o *CloudService) GetLabelsOk() (*map[string]string, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CloudService) GetScope added in v0.3.0

func (o *CloudService) GetScope() *string

GetScope returns the Scope field value if set, zero value otherwise.

func (*CloudService) GetScopeOk added in v0.3.0

func (o *CloudService) GetScopeOk() (*string, bool)

GetScopeOk returns a tuple with the Scope field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CloudService) GetServiceId added in v0.3.0

func (o *CloudService) GetServiceId() *string

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

func (*CloudService) GetServiceIdOk added in v0.3.0

func (o *CloudService) GetServiceIdOk() (*string, bool)

GetServiceIdOk returns a tuple with the ServiceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CloudService) HasDependencies added in v0.3.0

func (o *CloudService) HasDependencies() bool

HasDependencies returns a boolean if a field has been set.

func (*CloudService) HasLabels added in v0.3.0

func (o *CloudService) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*CloudService) HasScope added in v0.3.0

func (o *CloudService) HasScope() bool

HasScope returns a boolean if a field has been set.

func (*CloudService) HasServiceId added in v0.3.0

func (o *CloudService) HasServiceId() bool

HasServiceId returns a boolean if a field has been set.

func (*CloudService) SetDependencies added in v0.3.0

func (o *CloudService) SetDependencies(v *Dependencies)

SetDependencies gets a reference to the given Dependencies and assigns it to the Dependencies field.

func (*CloudService) SetLabels added in v0.3.0

func (o *CloudService) SetLabels(v *map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.

func (*CloudService) SetScope added in v0.3.0

func (o *CloudService) SetScope(v *string)

SetScope gets a reference to the given string and assigns it to the Scope field.

func (*CloudService) SetServiceId added in v0.3.0

func (o *CloudService) SetServiceId(v *string)

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

func (CloudService) ToMap added in v0.3.0

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

type DefaultApiService

type DefaultApiService service

DefaultApiService DefaultApi service

type Dependencies

type Dependencies struct {
	// a list of service IDs which this service depend on. If the service is enabled, those service are enabled as well automatically.
	Hard *[]string `json:"hard,omitempty"`
	// a list of service IDs which this service depend on. When they are disabled a notification is sent.
	Soft *[]string `json:"soft,omitempty"`
}

Dependencies struct for Dependencies

func NewDependencies added in v0.3.0

func NewDependencies() *Dependencies

NewDependencies instantiates a new Dependencies object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDependenciesWithDefaults added in v0.3.0

func NewDependenciesWithDefaults() *Dependencies

NewDependenciesWithDefaults instantiates a new Dependencies object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Dependencies) GetHard added in v0.3.0

func (o *Dependencies) GetHard() *[]string

GetHard returns the Hard field value if set, zero value otherwise.

func (*Dependencies) GetHardOk added in v0.3.0

func (o *Dependencies) GetHardOk() (*[]string, bool)

GetHardOk returns a tuple with the Hard field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dependencies) GetSoft added in v0.3.0

func (o *Dependencies) GetSoft() *[]string

GetSoft returns the Soft field value if set, zero value otherwise.

func (*Dependencies) GetSoftOk added in v0.3.0

func (o *Dependencies) GetSoftOk() (*[]string, bool)

GetSoftOk returns a tuple with the Soft field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dependencies) HasHard added in v0.3.0

func (o *Dependencies) HasHard() bool

HasHard returns a boolean if a field has been set.

func (*Dependencies) HasSoft added in v0.3.0

func (o *Dependencies) HasSoft() bool

HasSoft returns a boolean if a field has been set.

func (*Dependencies) SetHard added in v0.3.0

func (o *Dependencies) SetHard(v *[]string)

SetHard gets a reference to the given []string and assigns it to the Hard field.

func (*Dependencies) SetSoft added in v0.3.0

func (o *Dependencies) SetSoft(v *[]string)

SetSoft gets a reference to the given []string and assigns it to the Soft field.

func (Dependencies) ToMap added in v0.3.0

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

type ListServiceStatus200Response

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

ListServiceStatus200Response struct for ListServiceStatus200Response

func NewListServiceStatus200Response added in v0.3.0

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 added in v0.3.0

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 added in v0.3.0

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

func (*ListServiceStatus200Response) GetItemsOk added in v0.3.0

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 added in v0.3.0

func (o *ListServiceStatus200Response) GetNextCursor() *string

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

func (*ListServiceStatus200Response) GetNextCursorOk added in v0.3.0

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 added in v0.3.0

func (o *ListServiceStatus200Response) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*ListServiceStatus200Response) HasNextCursor added in v0.3.0

func (o *ListServiceStatus200Response) HasNextCursor() bool

HasNextCursor returns a boolean if a field has been set.

func (*ListServiceStatus200Response) SetItems added in v0.3.0

func (o *ListServiceStatus200Response) SetItems(v *[]ServiceStatus)

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

func (*ListServiceStatus200Response) SetNextCursor added in v0.3.0

func (o *ListServiceStatus200Response) SetNextCursor(v *string)

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

func (ListServiceStatus200Response) ToMap added in v0.3.0

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

type MappedNullable

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

type NullableActionError added in v0.3.0

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

func NewNullableActionError added in v0.3.0

func NewNullableActionError(val *ActionError) *NullableActionError

func (NullableActionError) Get added in v0.3.0

func (NullableActionError) IsSet added in v0.3.0

func (v NullableActionError) IsSet() bool

func (NullableActionError) MarshalJSON added in v0.3.0

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

func (*NullableActionError) Set added in v0.3.0

func (v *NullableActionError) Set(val *ActionError)

func (*NullableActionError) UnmarshalJSON added in v0.3.0

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

func (*NullableActionError) Unset added in v0.3.0

func (v *NullableActionError) Unset()

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCloudService added in v0.3.0

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

func NewNullableCloudService added in v0.3.0

func NewNullableCloudService(val *CloudService) *NullableCloudService

func (NullableCloudService) Get added in v0.3.0

func (NullableCloudService) IsSet added in v0.3.0

func (v NullableCloudService) IsSet() bool

func (NullableCloudService) MarshalJSON added in v0.3.0

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

func (*NullableCloudService) Set added in v0.3.0

func (v *NullableCloudService) Set(val *CloudService)

func (*NullableCloudService) UnmarshalJSON added in v0.3.0

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

func (*NullableCloudService) Unset added in v0.3.0

func (v *NullableCloudService) Unset()

type NullableDependencies added in v0.3.0

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

func NewNullableDependencies added in v0.3.0

func NewNullableDependencies(val *Dependencies) *NullableDependencies

func (NullableDependencies) Get added in v0.3.0

func (NullableDependencies) IsSet added in v0.3.0

func (v NullableDependencies) IsSet() bool

func (NullableDependencies) MarshalJSON added in v0.3.0

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

func (*NullableDependencies) Set added in v0.3.0

func (v *NullableDependencies) Set(val *Dependencies)

func (*NullableDependencies) UnmarshalJSON added in v0.3.0

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

func (*NullableDependencies) Unset added in v0.3.0

func (v *NullableDependencies) Unset()

type 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 added in v0.3.0

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

func NewNullableListServiceStatus200Response added in v0.3.0

func NewNullableListServiceStatus200Response(val *ListServiceStatus200Response) *NullableListServiceStatus200Response

func (NullableListServiceStatus200Response) Get added in v0.3.0

func (NullableListServiceStatus200Response) IsSet added in v0.3.0

func (NullableListServiceStatus200Response) MarshalJSON added in v0.3.0

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

func (*NullableListServiceStatus200Response) Set added in v0.3.0

func (*NullableListServiceStatus200Response) UnmarshalJSON added in v0.3.0

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

func (*NullableListServiceStatus200Response) Unset added in v0.3.0

type NullableParameters added in v0.3.0

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

func NewNullableParameters added in v0.3.0

func NewNullableParameters(val *Parameters) *NullableParameters

func (NullableParameters) Get added in v0.3.0

func (v NullableParameters) Get() *Parameters

func (NullableParameters) IsSet added in v0.3.0

func (v NullableParameters) IsSet() bool

func (NullableParameters) MarshalJSON added in v0.3.0

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

func (*NullableParameters) Set added in v0.3.0

func (v *NullableParameters) Set(val *Parameters)

func (*NullableParameters) UnmarshalJSON added in v0.3.0

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

func (*NullableParameters) Unset added in v0.3.0

func (v *NullableParameters) Unset()

type NullableParametersGeneral added in v0.3.0

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

func NewNullableParametersGeneral added in v0.3.0

func NewNullableParametersGeneral(val *ParametersGeneral) *NullableParametersGeneral

func (NullableParametersGeneral) Get added in v0.3.0

func (NullableParametersGeneral) IsSet added in v0.3.0

func (v NullableParametersGeneral) IsSet() bool

func (NullableParametersGeneral) MarshalJSON added in v0.3.0

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

func (*NullableParametersGeneral) Set added in v0.3.0

func (*NullableParametersGeneral) UnmarshalJSON added in v0.3.0

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

func (*NullableParametersGeneral) Unset added in v0.3.0

func (v *NullableParametersGeneral) Unset()

type NullableServiceStatus added in v0.3.0

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

func NewNullableServiceStatus added in v0.3.0

func NewNullableServiceStatus(val *ServiceStatus) *NullableServiceStatus

func (NullableServiceStatus) Get added in v0.3.0

func (NullableServiceStatus) IsSet added in v0.3.0

func (v NullableServiceStatus) IsSet() bool

func (NullableServiceStatus) MarshalJSON added in v0.3.0

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

func (*NullableServiceStatus) Set added in v0.3.0

func (v *NullableServiceStatus) Set(val *ServiceStatus)

func (*NullableServiceStatus) UnmarshalJSON added in v0.3.0

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

func (*NullableServiceStatus) Unset added in v0.3.0

func (v *NullableServiceStatus) Unset()

type NullableString

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

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

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

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

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

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

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

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

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

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

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

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type Parameters

type Parameters struct {
	General *ParametersGeneral `json:"general,omitempty"`
}

Parameters service parameters

func NewParameters added in v0.3.0

func NewParameters() *Parameters

NewParameters instantiates a new Parameters object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewParametersWithDefaults added in v0.3.0

func NewParametersWithDefaults() *Parameters

NewParametersWithDefaults instantiates a new Parameters object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Parameters) GetGeneral added in v0.3.0

func (o *Parameters) GetGeneral() *ParametersGeneral

GetGeneral returns the General field value if set, zero value otherwise.

func (*Parameters) GetGeneralOk added in v0.3.0

func (o *Parameters) GetGeneralOk() (*ParametersGeneral, bool)

GetGeneralOk returns a tuple with the General field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Parameters) HasGeneral added in v0.3.0

func (o *Parameters) HasGeneral() bool

HasGeneral returns a boolean if a field has been set.

func (*Parameters) SetGeneral added in v0.3.0

func (o *Parameters) SetGeneral(v *ParametersGeneral)

SetGeneral gets a reference to the given ParametersGeneral and assigns it to the General field.

func (Parameters) ToMap added in v0.3.0

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

type ParametersGeneral

type ParametersGeneral struct {
	OrganizationId *string `json:"organizationId,omitempty"`
	ProjectName    *string `json:"projectName,omitempty"`
	ProjectScope   *string `json:"projectScope,omitempty"`
}

ParametersGeneral struct for ParametersGeneral

func NewParametersGeneral added in v0.3.0

func NewParametersGeneral() *ParametersGeneral

NewParametersGeneral instantiates a new ParametersGeneral object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewParametersGeneralWithDefaults added in v0.3.0

func NewParametersGeneralWithDefaults() *ParametersGeneral

NewParametersGeneralWithDefaults instantiates a new ParametersGeneral object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ParametersGeneral) GetOrganizationId added in v0.3.0

func (o *ParametersGeneral) GetOrganizationId() *string

GetOrganizationId returns the OrganizationId field value if set, zero value otherwise.

func (*ParametersGeneral) GetOrganizationIdOk added in v0.3.0

func (o *ParametersGeneral) GetOrganizationIdOk() (*string, bool)

GetOrganizationIdOk returns a tuple with the OrganizationId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ParametersGeneral) GetProjectName added in v0.3.0

func (o *ParametersGeneral) GetProjectName() *string

GetProjectName returns the ProjectName field value if set, zero value otherwise.

func (*ParametersGeneral) GetProjectNameOk added in v0.3.0

func (o *ParametersGeneral) GetProjectNameOk() (*string, bool)

GetProjectNameOk returns a tuple with the ProjectName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ParametersGeneral) GetProjectScope added in v0.3.0

func (o *ParametersGeneral) GetProjectScope() *string

GetProjectScope returns the ProjectScope field value if set, zero value otherwise.

func (*ParametersGeneral) GetProjectScopeOk added in v0.3.0

func (o *ParametersGeneral) GetProjectScopeOk() (*string, bool)

GetProjectScopeOk returns a tuple with the ProjectScope field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ParametersGeneral) HasOrganizationId added in v0.3.0

func (o *ParametersGeneral) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

func (*ParametersGeneral) HasProjectName added in v0.3.0

func (o *ParametersGeneral) HasProjectName() bool

HasProjectName returns a boolean if a field has been set.

func (*ParametersGeneral) HasProjectScope added in v0.3.0

func (o *ParametersGeneral) HasProjectScope() bool

HasProjectScope returns a boolean if a field has been set.

func (*ParametersGeneral) SetOrganizationId added in v0.3.0

func (o *ParametersGeneral) SetOrganizationId(v *string)

SetOrganizationId gets a reference to the given string and assigns it to the OrganizationId field.

func (*ParametersGeneral) SetProjectName added in v0.3.0

func (o *ParametersGeneral) SetProjectName(v *string)

SetProjectName gets a reference to the given string and assigns it to the ProjectName field.

func (*ParametersGeneral) SetProjectScope added in v0.3.0

func (o *ParametersGeneral) SetProjectScope(v *string)

SetProjectScope gets a reference to the given string and assigns it to the ProjectScope field.

func (ParametersGeneral) ToMap added in v0.3.0

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

type ServiceStatus

type ServiceStatus struct {
	Dependencies *Dependencies      `json:"dependencies,omitempty"`
	Enablement   *string            `json:"enablement,omitempty"`
	Error        *ActionError       `json:"error,omitempty"`
	Labels       *map[string]string `json:"labels,omitempty"`
	Lifecycle    *string            `json:"lifecycle,omitempty"`
	Parameters   *Parameters        `json:"parameters,omitempty"`
	Scope        *string            `json:"scope,omitempty"`
	// the id of the service
	ServiceId *string `json:"serviceId,omitempty"`
	// the state of a service within a project
	State *string `json:"state,omitempty"`
}

ServiceStatus struct for ServiceStatus

func NewServiceStatus added in v0.3.0

func NewServiceStatus() *ServiceStatus

NewServiceStatus instantiates a new ServiceStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewServiceStatusWithDefaults added in v0.3.0

func NewServiceStatusWithDefaults() *ServiceStatus

NewServiceStatusWithDefaults instantiates a new ServiceStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ServiceStatus) GetDependencies added in v0.3.0

func (o *ServiceStatus) GetDependencies() *Dependencies

GetDependencies returns the Dependencies field value if set, zero value otherwise.

func (*ServiceStatus) GetDependenciesOk added in v0.3.0

func (o *ServiceStatus) GetDependenciesOk() (*Dependencies, bool)

GetDependenciesOk returns a tuple with the Dependencies field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceStatus) GetEnablement added in v0.3.0

func (o *ServiceStatus) GetEnablement() *string

GetEnablement returns the Enablement field value if set, zero value otherwise.

func (*ServiceStatus) GetEnablementOk added in v0.3.0

func (o *ServiceStatus) GetEnablementOk() (*string, bool)

GetEnablementOk returns a tuple with the Enablement field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceStatus) GetError added in v0.3.0

func (o *ServiceStatus) GetError() *ActionError

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

func (*ServiceStatus) GetErrorOk added in v0.3.0

func (o *ServiceStatus) GetErrorOk() (*ActionError, bool)

GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceStatus) GetLabels added in v0.3.0

func (o *ServiceStatus) GetLabels() *map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*ServiceStatus) GetLabelsOk added in v0.3.0

func (o *ServiceStatus) GetLabelsOk() (*map[string]string, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceStatus) GetLifecycle added in v0.3.0

func (o *ServiceStatus) GetLifecycle() *string

GetLifecycle returns the Lifecycle field value if set, zero value otherwise.

func (*ServiceStatus) GetLifecycleOk added in v0.3.0

func (o *ServiceStatus) GetLifecycleOk() (*string, bool)

GetLifecycleOk returns a tuple with the Lifecycle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceStatus) GetParameters added in v0.3.0

func (o *ServiceStatus) GetParameters() *Parameters

GetParameters returns the Parameters field value if set, zero value otherwise.

func (*ServiceStatus) GetParametersOk added in v0.3.0

func (o *ServiceStatus) GetParametersOk() (*Parameters, bool)

GetParametersOk returns a tuple with the Parameters field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceStatus) GetScope added in v0.3.0

func (o *ServiceStatus) GetScope() *string

GetScope returns the Scope field value if set, zero value otherwise.

func (*ServiceStatus) GetScopeOk added in v0.3.0

func (o *ServiceStatus) GetScopeOk() (*string, bool)

GetScopeOk returns a tuple with the Scope field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceStatus) GetServiceId added in v0.3.0

func (o *ServiceStatus) GetServiceId() *string

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

func (*ServiceStatus) GetServiceIdOk added in v0.3.0

func (o *ServiceStatus) GetServiceIdOk() (*string, bool)

GetServiceIdOk returns a tuple with the ServiceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceStatus) GetState added in v0.3.0

func (o *ServiceStatus) GetState() *string

GetState returns the State field value if set, zero value otherwise.

func (*ServiceStatus) GetStateOk added in v0.3.0

func (o *ServiceStatus) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceStatus) HasDependencies added in v0.3.0

func (o *ServiceStatus) HasDependencies() bool

HasDependencies returns a boolean if a field has been set.

func (*ServiceStatus) HasEnablement added in v0.3.0

func (o *ServiceStatus) HasEnablement() bool

HasEnablement returns a boolean if a field has been set.

func (*ServiceStatus) HasError added in v0.3.0

func (o *ServiceStatus) HasError() bool

HasError returns a boolean if a field has been set.

func (*ServiceStatus) HasLabels added in v0.3.0

func (o *ServiceStatus) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*ServiceStatus) HasLifecycle added in v0.3.0

func (o *ServiceStatus) HasLifecycle() bool

HasLifecycle returns a boolean if a field has been set.

func (*ServiceStatus) HasParameters added in v0.3.0

func (o *ServiceStatus) HasParameters() bool

HasParameters returns a boolean if a field has been set.

func (*ServiceStatus) HasScope added in v0.3.0

func (o *ServiceStatus) HasScope() bool

HasScope returns a boolean if a field has been set.

func (*ServiceStatus) HasServiceId added in v0.3.0

func (o *ServiceStatus) HasServiceId() bool

HasServiceId returns a boolean if a field has been set.

func (*ServiceStatus) HasState added in v0.3.0

func (o *ServiceStatus) HasState() bool

HasState returns a boolean if a field has been set.

func (*ServiceStatus) SetDependencies added in v0.3.0

func (o *ServiceStatus) SetDependencies(v *Dependencies)

SetDependencies gets a reference to the given Dependencies and assigns it to the Dependencies field.

func (*ServiceStatus) SetEnablement added in v0.3.0

func (o *ServiceStatus) SetEnablement(v *string)

SetEnablement gets a reference to the given string and assigns it to the Enablement field.

func (*ServiceStatus) SetError added in v0.3.0

func (o *ServiceStatus) SetError(v *ActionError)

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

func (*ServiceStatus) SetLabels added in v0.3.0

func (o *ServiceStatus) SetLabels(v *map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.

func (*ServiceStatus) SetLifecycle added in v0.3.0

func (o *ServiceStatus) SetLifecycle(v *string)

SetLifecycle gets a reference to the given string and assigns it to the Lifecycle field.

func (*ServiceStatus) SetParameters added in v0.3.0

func (o *ServiceStatus) SetParameters(v *Parameters)

SetParameters gets a reference to the given Parameters and assigns it to the Parameters field.

func (*ServiceStatus) SetScope added in v0.3.0

func (o *ServiceStatus) SetScope(v *string)

SetScope gets a reference to the given string and assigns it to the Scope field.

func (*ServiceStatus) SetServiceId added in v0.3.0

func (o *ServiceStatus) SetServiceId(v *string)

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

func (*ServiceStatus) SetState added in v0.3.0

func (o *ServiceStatus) SetState(v *string)

SetState gets a reference to the given string and assigns it to the State field.

func (ServiceStatus) ToMap added in v0.3.0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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