v1api

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 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 Server Update Management API API v1.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 ApiCreateUpdateRequest

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

func (ApiCreateUpdateRequest) CreateUpdatePayload

func (r ApiCreateUpdateRequest) CreateUpdatePayload(createUpdatePayload CreateUpdatePayload) ApiCreateUpdateRequest

func (ApiCreateUpdateRequest) Execute

func (r ApiCreateUpdateRequest) Execute() (*Update, error)

type ApiCreateUpdateScheduleRequest

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

func (ApiCreateUpdateScheduleRequest) CreateUpdateSchedulePayload

func (r ApiCreateUpdateScheduleRequest) CreateUpdateSchedulePayload(createUpdateSchedulePayload CreateUpdateSchedulePayload) ApiCreateUpdateScheduleRequest

func (ApiCreateUpdateScheduleRequest) Execute

type ApiDeleteUpdateScheduleRequest

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

func (ApiDeleteUpdateScheduleRequest) Execute

type ApiDisableServiceRequest

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

func (ApiDisableServiceRequest) Execute

func (r ApiDisableServiceRequest) Execute() error

type ApiDisableServiceResourceRequest

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

func (ApiDisableServiceResourceRequest) Execute

type ApiEnableServiceRequest

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

func (ApiEnableServiceRequest) EnableServicePayload

func (r ApiEnableServiceRequest) EnableServicePayload(enableServicePayload EnableServicePayload) ApiEnableServiceRequest

func (ApiEnableServiceRequest) Execute

func (r ApiEnableServiceRequest) Execute() error

type ApiEnableServiceResourceRequest

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

func (ApiEnableServiceResourceRequest) EnableServiceResourcePayload

func (r ApiEnableServiceResourceRequest) EnableServiceResourcePayload(enableServiceResourcePayload EnableServiceResourcePayload) ApiEnableServiceResourceRequest

func (ApiEnableServiceResourceRequest) Execute

type ApiGetServiceResourceRequest

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

func (ApiGetServiceResourceRequest) Execute

type ApiGetUpdateRequest

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

func (ApiGetUpdateRequest) Execute

func (r ApiGetUpdateRequest) Execute() (*Update, error)

type ApiGetUpdateScheduleRequest

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

func (ApiGetUpdateScheduleRequest) Execute

type ApiListUpdatePoliciesRequest

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

func (ApiListUpdatePoliciesRequest) Execute

type ApiListUpdateSchedulesRequest

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

func (ApiListUpdateSchedulesRequest) Execute

type ApiListUpdatesRequest

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

func (ApiListUpdatesRequest) Execute

type ApiUpdateUpdateScheduleRequest

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

func (ApiUpdateUpdateScheduleRequest) Execute

func (ApiUpdateUpdateScheduleRequest) UpdateUpdateSchedulePayload

func (r ApiUpdateUpdateScheduleRequest) UpdateUpdateSchedulePayload(updateUpdateSchedulePayload UpdateUpdateSchedulePayload) ApiUpdateUpdateScheduleRequest

type CreateUpdatePayload

type CreateUpdatePayload struct {
	BackupBeforeUpdate *bool `json:"backupBeforeUpdate,omitempty"`
	MaintenanceWindow  int32 `json:"maintenanceWindow"`
}

CreateUpdatePayload struct for CreateUpdatePayload

func NewCreateUpdatePayload

func NewCreateUpdatePayload(maintenanceWindow int32) *CreateUpdatePayload

NewCreateUpdatePayload instantiates a new CreateUpdatePayload 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 NewCreateUpdatePayloadWithDefaults

func NewCreateUpdatePayloadWithDefaults() *CreateUpdatePayload

NewCreateUpdatePayloadWithDefaults instantiates a new CreateUpdatePayload 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 (*CreateUpdatePayload) GetBackupBeforeUpdate

func (o *CreateUpdatePayload) GetBackupBeforeUpdate() bool

GetBackupBeforeUpdate returns the BackupBeforeUpdate field value if set, zero value otherwise.

func (*CreateUpdatePayload) GetBackupBeforeUpdateOk

func (o *CreateUpdatePayload) GetBackupBeforeUpdateOk() (*bool, bool)

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

func (*CreateUpdatePayload) GetMaintenanceWindow

func (o *CreateUpdatePayload) GetMaintenanceWindow() int32

GetMaintenanceWindow returns the MaintenanceWindow field value

func (*CreateUpdatePayload) GetMaintenanceWindowOk

func (o *CreateUpdatePayload) GetMaintenanceWindowOk() (*int32, bool)

GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow field value and a boolean to check if the value has been set.

func (*CreateUpdatePayload) HasBackupBeforeUpdate

func (o *CreateUpdatePayload) HasBackupBeforeUpdate() bool

HasBackupBeforeUpdate returns a boolean if a field has been set.

func (CreateUpdatePayload) MarshalJSON

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

func (*CreateUpdatePayload) SetBackupBeforeUpdate

func (o *CreateUpdatePayload) SetBackupBeforeUpdate(v bool)

SetBackupBeforeUpdate gets a reference to the given bool and assigns it to the BackupBeforeUpdate field.

func (*CreateUpdatePayload) SetMaintenanceWindow

func (o *CreateUpdatePayload) SetMaintenanceWindow(v int32)

SetMaintenanceWindow sets field value

func (CreateUpdatePayload) ToMap

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

func (*CreateUpdatePayload) UnmarshalJSON

func (o *CreateUpdatePayload) UnmarshalJSON(data []byte) (err error)

type CreateUpdateSchedulePayload

type CreateUpdateSchedulePayload struct {
	Enabled           bool   `json:"enabled"`
	MaintenanceWindow int32  `json:"maintenanceWindow"`
	Name              string `json:"name"`
	Rrule             string `json:"rrule"`
}

CreateUpdateSchedulePayload struct for CreateUpdateSchedulePayload

func NewCreateUpdateSchedulePayload

func NewCreateUpdateSchedulePayload(enabled bool, maintenanceWindow int32, name string, rrule string) *CreateUpdateSchedulePayload

NewCreateUpdateSchedulePayload instantiates a new CreateUpdateSchedulePayload 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 NewCreateUpdateSchedulePayloadWithDefaults

func NewCreateUpdateSchedulePayloadWithDefaults() *CreateUpdateSchedulePayload

NewCreateUpdateSchedulePayloadWithDefaults instantiates a new CreateUpdateSchedulePayload 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 (*CreateUpdateSchedulePayload) GetEnabled

func (o *CreateUpdateSchedulePayload) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*CreateUpdateSchedulePayload) GetEnabledOk

func (o *CreateUpdateSchedulePayload) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.

func (*CreateUpdateSchedulePayload) GetMaintenanceWindow

func (o *CreateUpdateSchedulePayload) GetMaintenanceWindow() int32

GetMaintenanceWindow returns the MaintenanceWindow field value

func (*CreateUpdateSchedulePayload) GetMaintenanceWindowOk

func (o *CreateUpdateSchedulePayload) GetMaintenanceWindowOk() (*int32, bool)

GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow field value and a boolean to check if the value has been set.

func (*CreateUpdateSchedulePayload) GetName

func (o *CreateUpdateSchedulePayload) GetName() string

GetName returns the Name field value

func (*CreateUpdateSchedulePayload) GetNameOk

func (o *CreateUpdateSchedulePayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*CreateUpdateSchedulePayload) GetRrule

func (o *CreateUpdateSchedulePayload) GetRrule() string

GetRrule returns the Rrule field value

func (*CreateUpdateSchedulePayload) GetRruleOk

func (o *CreateUpdateSchedulePayload) GetRruleOk() (*string, bool)

GetRruleOk returns a tuple with the Rrule field value and a boolean to check if the value has been set.

func (CreateUpdateSchedulePayload) MarshalJSON

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

func (*CreateUpdateSchedulePayload) SetEnabled

func (o *CreateUpdateSchedulePayload) SetEnabled(v bool)

SetEnabled sets field value

func (*CreateUpdateSchedulePayload) SetMaintenanceWindow

func (o *CreateUpdateSchedulePayload) SetMaintenanceWindow(v int32)

SetMaintenanceWindow sets field value

func (*CreateUpdateSchedulePayload) SetName

func (o *CreateUpdateSchedulePayload) SetName(v string)

SetName sets field value

func (*CreateUpdateSchedulePayload) SetRrule

func (o *CreateUpdateSchedulePayload) SetRrule(v string)

SetRrule sets field value

func (CreateUpdateSchedulePayload) ToMap

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

func (*CreateUpdateSchedulePayload) UnmarshalJSON

func (o *CreateUpdateSchedulePayload) UnmarshalJSON(data []byte) (err error)

type DefaultAPI

type DefaultAPI interface {

	/*
		CreateUpdate create update

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId project id
		@param serverId server id
		@return ApiCreateUpdateRequest
	*/
	CreateUpdate(ctx context.Context, projectId string, serverId string) ApiCreateUpdateRequest

	// CreateUpdateExecute executes the request
	//  @return Update
	CreateUpdateExecute(r ApiCreateUpdateRequest) (*Update, error)

	/*
		CreateUpdateSchedule create update schedule

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId project id
		@param serverId server id
		@return ApiCreateUpdateScheduleRequest
	*/
	CreateUpdateSchedule(ctx context.Context, projectId string, serverId string) ApiCreateUpdateScheduleRequest

	// CreateUpdateScheduleExecute executes the request
	//  @return UpdateSchedule
	CreateUpdateScheduleExecute(r ApiCreateUpdateScheduleRequest) (*UpdateSchedule, error)

	/*
		DeleteUpdateSchedule delete update schedule

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId project id
		@param serverId server id
		@param scheduleId update schedule id
		@return ApiDeleteUpdateScheduleRequest
	*/
	DeleteUpdateSchedule(ctx context.Context, projectId string, serverId string, scheduleId string) ApiDeleteUpdateScheduleRequest

	// DeleteUpdateScheduleExecute executes the request
	DeleteUpdateScheduleExecute(r ApiDeleteUpdateScheduleRequest) error

	/*
		DisableService disable update service

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId project id
		@param serverId server id
		@return ApiDisableServiceRequest

		Deprecated
	*/
	DisableService(ctx context.Context, projectId string, serverId string) ApiDisableServiceRequest

	// DisableServiceExecute executes the request
	// Deprecated
	DisableServiceExecute(r ApiDisableServiceRequest) error

	/*
		DisableServiceResource disable update service

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId project id
		@param serverId server id
		@return ApiDisableServiceResourceRequest
	*/
	DisableServiceResource(ctx context.Context, projectId string, serverId string) ApiDisableServiceResourceRequest

	// DisableServiceResourceExecute executes the request
	DisableServiceResourceExecute(r ApiDisableServiceResourceRequest) error

	/*
		EnableService enable update service

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId project id
		@param serverId server id
		@return ApiEnableServiceRequest

		Deprecated
	*/
	EnableService(ctx context.Context, projectId string, serverId string) ApiEnableServiceRequest

	// EnableServiceExecute executes the request
	// Deprecated
	EnableServiceExecute(r ApiEnableServiceRequest) error

	/*
		EnableServiceResource enable update service

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId project id
		@param serverId server id
		@return ApiEnableServiceResourceRequest
	*/
	EnableServiceResource(ctx context.Context, projectId string, serverId string) ApiEnableServiceResourceRequest

	// EnableServiceResourceExecute executes the request
	EnableServiceResourceExecute(r ApiEnableServiceResourceRequest) error

	/*
		GetServiceResource get update service details

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId project id
		@param serverId server id
		@return ApiGetServiceResourceRequest
	*/
	GetServiceResource(ctx context.Context, projectId string, serverId string) ApiGetServiceResourceRequest

	// GetServiceResourceExecute executes the request
	//  @return GetUpdateServiceResponse
	GetServiceResourceExecute(r ApiGetServiceResourceRequest) (*GetUpdateServiceResponse, error)

	/*
		GetUpdate get update

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId project id
		@param serverId server id
		@param updateId id of the update
		@return ApiGetUpdateRequest
	*/
	GetUpdate(ctx context.Context, projectId string, serverId string, updateId string) ApiGetUpdateRequest

	// GetUpdateExecute executes the request
	//  @return Update
	GetUpdateExecute(r ApiGetUpdateRequest) (*Update, error)

	/*
		GetUpdateSchedule get single update schedule details

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId project id
		@param serverId server id
		@param scheduleId update schedule id
		@return ApiGetUpdateScheduleRequest
	*/
	GetUpdateSchedule(ctx context.Context, projectId string, serverId string, scheduleId string) ApiGetUpdateScheduleRequest

	// GetUpdateScheduleExecute executes the request
	//  @return UpdateSchedule
	GetUpdateScheduleExecute(r ApiGetUpdateScheduleRequest) (*UpdateSchedule, error)

	/*
		ListUpdatePolicies get list of update policies

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId project id
		@return ApiListUpdatePoliciesRequest
	*/
	ListUpdatePolicies(ctx context.Context, projectId string) ApiListUpdatePoliciesRequest

	// ListUpdatePoliciesExecute executes the request
	//  @return GetUpdatePoliciesResponse
	ListUpdatePoliciesExecute(r ApiListUpdatePoliciesRequest) (*GetUpdatePoliciesResponse, error)

	/*
		ListUpdateSchedules get list of update schedules

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId project id
		@param serverId server id
		@return ApiListUpdateSchedulesRequest
	*/
	ListUpdateSchedules(ctx context.Context, projectId string, serverId string) ApiListUpdateSchedulesRequest

	// ListUpdateSchedulesExecute executes the request
	//  @return GetUpdateSchedulesResponse
	ListUpdateSchedulesExecute(r ApiListUpdateSchedulesRequest) (*GetUpdateSchedulesResponse, error)

	/*
		ListUpdates get list of updates

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId project id
		@param serverId server id
		@return ApiListUpdatesRequest
	*/
	ListUpdates(ctx context.Context, projectId string, serverId string) ApiListUpdatesRequest

	// ListUpdatesExecute executes the request
	//  @return GetUpdatesListResponse
	ListUpdatesExecute(r ApiListUpdatesRequest) (*GetUpdatesListResponse, error)

	/*
		UpdateUpdateSchedule update update schedule

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId project id
		@param serverId server id
		@param scheduleId update schedule id
		@return ApiUpdateUpdateScheduleRequest
	*/
	UpdateUpdateSchedule(ctx context.Context, projectId string, serverId string, scheduleId string) ApiUpdateUpdateScheduleRequest

	// UpdateUpdateScheduleExecute executes the request
	//  @return UpdateSchedule
	UpdateUpdateScheduleExecute(r ApiUpdateUpdateScheduleRequest) (*UpdateSchedule, error)
}

type DefaultAPIService

type DefaultAPIService service

DefaultAPIService DefaultAPI service

func (*DefaultAPIService) CreateUpdate

func (a *DefaultAPIService) CreateUpdate(ctx context.Context, projectId string, serverId string) ApiCreateUpdateRequest

CreateUpdate create update

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@return ApiCreateUpdateRequest

func (*DefaultAPIService) CreateUpdateExecute

func (a *DefaultAPIService) CreateUpdateExecute(r ApiCreateUpdateRequest) (*Update, error)

Execute executes the request

@return Update

func (*DefaultAPIService) CreateUpdateSchedule

func (a *DefaultAPIService) CreateUpdateSchedule(ctx context.Context, projectId string, serverId string) ApiCreateUpdateScheduleRequest

CreateUpdateSchedule create update schedule

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@return ApiCreateUpdateScheduleRequest

func (*DefaultAPIService) CreateUpdateScheduleExecute

func (a *DefaultAPIService) CreateUpdateScheduleExecute(r ApiCreateUpdateScheduleRequest) (*UpdateSchedule, error)

Execute executes the request

@return UpdateSchedule

func (*DefaultAPIService) DeleteUpdateSchedule

func (a *DefaultAPIService) DeleteUpdateSchedule(ctx context.Context, projectId string, serverId string, scheduleId string) ApiDeleteUpdateScheduleRequest

DeleteUpdateSchedule delete update schedule

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@param scheduleId update schedule id
@return ApiDeleteUpdateScheduleRequest

func (*DefaultAPIService) DeleteUpdateScheduleExecute

func (a *DefaultAPIService) DeleteUpdateScheduleExecute(r ApiDeleteUpdateScheduleRequest) error

Execute executes the request

func (*DefaultAPIService) DisableService

func (a *DefaultAPIService) DisableService(ctx context.Context, projectId string, serverId string) ApiDisableServiceRequest

DisableService disable update service

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@return ApiDisableServiceRequest

Deprecated

func (*DefaultAPIService) DisableServiceExecute

func (a *DefaultAPIService) DisableServiceExecute(r ApiDisableServiceRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) DisableServiceResource

func (a *DefaultAPIService) DisableServiceResource(ctx context.Context, projectId string, serverId string) ApiDisableServiceResourceRequest

DisableServiceResource disable update service

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@return ApiDisableServiceResourceRequest

func (*DefaultAPIService) DisableServiceResourceExecute

func (a *DefaultAPIService) DisableServiceResourceExecute(r ApiDisableServiceResourceRequest) error

Execute executes the request

func (*DefaultAPIService) EnableService

func (a *DefaultAPIService) EnableService(ctx context.Context, projectId string, serverId string) ApiEnableServiceRequest

EnableService enable update service

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@return ApiEnableServiceRequest

Deprecated

func (*DefaultAPIService) EnableServiceExecute

func (a *DefaultAPIService) EnableServiceExecute(r ApiEnableServiceRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) EnableServiceResource

func (a *DefaultAPIService) EnableServiceResource(ctx context.Context, projectId string, serverId string) ApiEnableServiceResourceRequest

EnableServiceResource enable update service

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@return ApiEnableServiceResourceRequest

func (*DefaultAPIService) EnableServiceResourceExecute

func (a *DefaultAPIService) EnableServiceResourceExecute(r ApiEnableServiceResourceRequest) error

Execute executes the request

func (*DefaultAPIService) GetServiceResource

func (a *DefaultAPIService) GetServiceResource(ctx context.Context, projectId string, serverId string) ApiGetServiceResourceRequest

GetServiceResource get update service details

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@return ApiGetServiceResourceRequest

func (*DefaultAPIService) GetServiceResourceExecute

Execute executes the request

@return GetUpdateServiceResponse

func (*DefaultAPIService) GetUpdate

func (a *DefaultAPIService) GetUpdate(ctx context.Context, projectId string, serverId string, updateId string) ApiGetUpdateRequest

GetUpdate get update

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@param updateId id of the update
@return ApiGetUpdateRequest

func (*DefaultAPIService) GetUpdateExecute

func (a *DefaultAPIService) GetUpdateExecute(r ApiGetUpdateRequest) (*Update, error)

Execute executes the request

@return Update

func (*DefaultAPIService) GetUpdateSchedule

func (a *DefaultAPIService) GetUpdateSchedule(ctx context.Context, projectId string, serverId string, scheduleId string) ApiGetUpdateScheduleRequest

GetUpdateSchedule get single update schedule details

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@param scheduleId update schedule id
@return ApiGetUpdateScheduleRequest

func (*DefaultAPIService) GetUpdateScheduleExecute

func (a *DefaultAPIService) GetUpdateScheduleExecute(r ApiGetUpdateScheduleRequest) (*UpdateSchedule, error)

Execute executes the request

@return UpdateSchedule

func (*DefaultAPIService) ListUpdatePolicies

func (a *DefaultAPIService) ListUpdatePolicies(ctx context.Context, projectId string) ApiListUpdatePoliciesRequest

ListUpdatePolicies get list of update policies

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@return ApiListUpdatePoliciesRequest

func (*DefaultAPIService) ListUpdatePoliciesExecute

Execute executes the request

@return GetUpdatePoliciesResponse

func (*DefaultAPIService) ListUpdateSchedules

func (a *DefaultAPIService) ListUpdateSchedules(ctx context.Context, projectId string, serverId string) ApiListUpdateSchedulesRequest

ListUpdateSchedules get list of update schedules

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@return ApiListUpdateSchedulesRequest

func (*DefaultAPIService) ListUpdateSchedulesExecute

Execute executes the request

@return GetUpdateSchedulesResponse

func (*DefaultAPIService) ListUpdates

func (a *DefaultAPIService) ListUpdates(ctx context.Context, projectId string, serverId string) ApiListUpdatesRequest

ListUpdates get list of updates

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@return ApiListUpdatesRequest

func (*DefaultAPIService) ListUpdatesExecute

Execute executes the request

@return GetUpdatesListResponse

func (*DefaultAPIService) UpdateUpdateSchedule

func (a *DefaultAPIService) UpdateUpdateSchedule(ctx context.Context, projectId string, serverId string, scheduleId string) ApiUpdateUpdateScheduleRequest

UpdateUpdateSchedule update update schedule

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId project id
@param serverId server id
@param scheduleId update schedule id
@return ApiUpdateUpdateScheduleRequest

func (*DefaultAPIService) UpdateUpdateScheduleExecute

func (a *DefaultAPIService) UpdateUpdateScheduleExecute(r ApiUpdateUpdateScheduleRequest) (*UpdateSchedule, error)

Execute executes the request

@return UpdateSchedule

type DefaultAPIServiceMock

type DefaultAPIServiceMock struct {
	// CreateUpdateExecuteMock can be populated to implement the behavior of the CreateUpdateExecute function of this mock
	CreateUpdateExecuteMock *func(r ApiCreateUpdateRequest) (*Update, error)
	// CreateUpdateScheduleExecuteMock can be populated to implement the behavior of the CreateUpdateScheduleExecute function of this mock
	CreateUpdateScheduleExecuteMock *func(r ApiCreateUpdateScheduleRequest) (*UpdateSchedule, error)
	// DeleteUpdateScheduleExecuteMock can be populated to implement the behavior of the DeleteUpdateScheduleExecute function of this mock
	DeleteUpdateScheduleExecuteMock *func(r ApiDeleteUpdateScheduleRequest) error
	// Deprecated: DisableServiceExecuteMock can be populated to implement the behavior of the DisableServiceExecute function of this mock
	DisableServiceExecuteMock *func(r ApiDisableServiceRequest) error
	// DisableServiceResourceExecuteMock can be populated to implement the behavior of the DisableServiceResourceExecute function of this mock
	DisableServiceResourceExecuteMock *func(r ApiDisableServiceResourceRequest) error
	// Deprecated: EnableServiceExecuteMock can be populated to implement the behavior of the EnableServiceExecute function of this mock
	EnableServiceExecuteMock *func(r ApiEnableServiceRequest) error
	// EnableServiceResourceExecuteMock can be populated to implement the behavior of the EnableServiceResourceExecute function of this mock
	EnableServiceResourceExecuteMock *func(r ApiEnableServiceResourceRequest) error
	// GetServiceResourceExecuteMock can be populated to implement the behavior of the GetServiceResourceExecute function of this mock
	GetServiceResourceExecuteMock *func(r ApiGetServiceResourceRequest) (*GetUpdateServiceResponse, error)
	// GetUpdateExecuteMock can be populated to implement the behavior of the GetUpdateExecute function of this mock
	GetUpdateExecuteMock *func(r ApiGetUpdateRequest) (*Update, error)
	// GetUpdateScheduleExecuteMock can be populated to implement the behavior of the GetUpdateScheduleExecute function of this mock
	GetUpdateScheduleExecuteMock *func(r ApiGetUpdateScheduleRequest) (*UpdateSchedule, error)
	// ListUpdatePoliciesExecuteMock can be populated to implement the behavior of the ListUpdatePoliciesExecute function of this mock
	ListUpdatePoliciesExecuteMock *func(r ApiListUpdatePoliciesRequest) (*GetUpdatePoliciesResponse, error)
	// ListUpdateSchedulesExecuteMock can be populated to implement the behavior of the ListUpdateSchedulesExecute function of this mock
	ListUpdateSchedulesExecuteMock *func(r ApiListUpdateSchedulesRequest) (*GetUpdateSchedulesResponse, error)
	// ListUpdatesExecuteMock can be populated to implement the behavior of the ListUpdatesExecute function of this mock
	ListUpdatesExecuteMock *func(r ApiListUpdatesRequest) (*GetUpdatesListResponse, error)
	// UpdateUpdateScheduleExecuteMock can be populated to implement the behavior of the UpdateUpdateScheduleExecute function of this mock
	UpdateUpdateScheduleExecuteMock *func(r ApiUpdateUpdateScheduleRequest) (*UpdateSchedule, 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) CreateUpdate

func (a DefaultAPIServiceMock) CreateUpdate(ctx context.Context, projectId string, serverId string) ApiCreateUpdateRequest

func (DefaultAPIServiceMock) CreateUpdateExecute

func (a DefaultAPIServiceMock) CreateUpdateExecute(r ApiCreateUpdateRequest) (*Update, error)

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

func (DefaultAPIServiceMock) CreateUpdateSchedule

func (a DefaultAPIServiceMock) CreateUpdateSchedule(ctx context.Context, projectId string, serverId string) ApiCreateUpdateScheduleRequest

func (DefaultAPIServiceMock) CreateUpdateScheduleExecute

func (a DefaultAPIServiceMock) CreateUpdateScheduleExecute(r ApiCreateUpdateScheduleRequest) (*UpdateSchedule, error)

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

func (DefaultAPIServiceMock) DeleteUpdateSchedule

func (a DefaultAPIServiceMock) DeleteUpdateSchedule(ctx context.Context, projectId string, serverId string, scheduleId string) ApiDeleteUpdateScheduleRequest

func (DefaultAPIServiceMock) DeleteUpdateScheduleExecute

func (a DefaultAPIServiceMock) DeleteUpdateScheduleExecute(r ApiDeleteUpdateScheduleRequest) error

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

func (DefaultAPIServiceMock) DisableService

func (a DefaultAPIServiceMock) DisableService(ctx context.Context, projectId string, serverId string) ApiDisableServiceRequest

Deprecated

func (DefaultAPIServiceMock) DisableServiceExecute deprecated

func (a DefaultAPIServiceMock) DisableServiceExecute(r ApiDisableServiceRequest) error

Deprecated: 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) DisableServiceResource

func (a DefaultAPIServiceMock) DisableServiceResource(ctx context.Context, projectId string, serverId string) ApiDisableServiceResourceRequest

func (DefaultAPIServiceMock) DisableServiceResourceExecute

func (a DefaultAPIServiceMock) DisableServiceResourceExecute(r ApiDisableServiceResourceRequest) error

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

func (DefaultAPIServiceMock) EnableService

func (a DefaultAPIServiceMock) EnableService(ctx context.Context, projectId string, serverId string) ApiEnableServiceRequest

Deprecated

func (DefaultAPIServiceMock) EnableServiceExecute deprecated

func (a DefaultAPIServiceMock) EnableServiceExecute(r ApiEnableServiceRequest) error

Deprecated: 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) EnableServiceResource

func (a DefaultAPIServiceMock) EnableServiceResource(ctx context.Context, projectId string, serverId string) ApiEnableServiceResourceRequest

func (DefaultAPIServiceMock) EnableServiceResourceExecute

func (a DefaultAPIServiceMock) EnableServiceResourceExecute(r ApiEnableServiceResourceRequest) error

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

func (DefaultAPIServiceMock) GetServiceResource

func (a DefaultAPIServiceMock) GetServiceResource(ctx context.Context, projectId string, serverId string) ApiGetServiceResourceRequest

func (DefaultAPIServiceMock) GetServiceResourceExecute

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

func (DefaultAPIServiceMock) GetUpdate

func (a DefaultAPIServiceMock) GetUpdate(ctx context.Context, projectId string, serverId string, updateId string) ApiGetUpdateRequest

func (DefaultAPIServiceMock) GetUpdateExecute

func (a DefaultAPIServiceMock) GetUpdateExecute(r ApiGetUpdateRequest) (*Update, error)

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

func (DefaultAPIServiceMock) GetUpdateSchedule

func (a DefaultAPIServiceMock) GetUpdateSchedule(ctx context.Context, projectId string, serverId string, scheduleId string) ApiGetUpdateScheduleRequest

func (DefaultAPIServiceMock) GetUpdateScheduleExecute

func (a DefaultAPIServiceMock) GetUpdateScheduleExecute(r ApiGetUpdateScheduleRequest) (*UpdateSchedule, error)

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

func (DefaultAPIServiceMock) ListUpdatePolicies

func (a DefaultAPIServiceMock) ListUpdatePolicies(ctx context.Context, projectId string) ApiListUpdatePoliciesRequest

func (DefaultAPIServiceMock) ListUpdatePoliciesExecute

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

func (DefaultAPIServiceMock) ListUpdateSchedules

func (a DefaultAPIServiceMock) ListUpdateSchedules(ctx context.Context, projectId string, serverId string) ApiListUpdateSchedulesRequest

func (DefaultAPIServiceMock) ListUpdateSchedulesExecute

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

func (DefaultAPIServiceMock) ListUpdates

func (a DefaultAPIServiceMock) ListUpdates(ctx context.Context, projectId string, serverId string) ApiListUpdatesRequest

func (DefaultAPIServiceMock) ListUpdatesExecute

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

func (DefaultAPIServiceMock) UpdateUpdateSchedule

func (a DefaultAPIServiceMock) UpdateUpdateSchedule(ctx context.Context, projectId string, serverId string, scheduleId string) ApiUpdateUpdateScheduleRequest

func (DefaultAPIServiceMock) UpdateUpdateScheduleExecute

func (a DefaultAPIServiceMock) UpdateUpdateScheduleExecute(r ApiUpdateUpdateScheduleRequest) (*UpdateSchedule, error)

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

type EnableServicePayload

type EnableServicePayload struct {
	UpdatePolicyId *string `json:"updatePolicyId,omitempty"`
}

EnableServicePayload struct for EnableServicePayload

func NewEnableServicePayload

func NewEnableServicePayload() *EnableServicePayload

NewEnableServicePayload instantiates a new EnableServicePayload 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 NewEnableServicePayloadWithDefaults

func NewEnableServicePayloadWithDefaults() *EnableServicePayload

NewEnableServicePayloadWithDefaults instantiates a new EnableServicePayload 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 (*EnableServicePayload) GetUpdatePolicyId

func (o *EnableServicePayload) GetUpdatePolicyId() string

GetUpdatePolicyId returns the UpdatePolicyId field value if set, zero value otherwise.

func (*EnableServicePayload) GetUpdatePolicyIdOk

func (o *EnableServicePayload) GetUpdatePolicyIdOk() (*string, bool)

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

func (*EnableServicePayload) HasUpdatePolicyId

func (o *EnableServicePayload) HasUpdatePolicyId() bool

HasUpdatePolicyId returns a boolean if a field has been set.

func (EnableServicePayload) MarshalJSON

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

func (*EnableServicePayload) SetUpdatePolicyId

func (o *EnableServicePayload) SetUpdatePolicyId(v string)

SetUpdatePolicyId gets a reference to the given string and assigns it to the UpdatePolicyId field.

func (EnableServicePayload) ToMap

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

type EnableServiceResourcePayload

type EnableServiceResourcePayload struct {
	UpdatePolicyId *string `json:"updatePolicyId,omitempty"`
}

EnableServiceResourcePayload struct for EnableServiceResourcePayload

func NewEnableServiceResourcePayload

func NewEnableServiceResourcePayload() *EnableServiceResourcePayload

NewEnableServiceResourcePayload instantiates a new EnableServiceResourcePayload 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 NewEnableServiceResourcePayloadWithDefaults

func NewEnableServiceResourcePayloadWithDefaults() *EnableServiceResourcePayload

NewEnableServiceResourcePayloadWithDefaults instantiates a new EnableServiceResourcePayload 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 (*EnableServiceResourcePayload) GetUpdatePolicyId

func (o *EnableServiceResourcePayload) GetUpdatePolicyId() string

GetUpdatePolicyId returns the UpdatePolicyId field value if set, zero value otherwise.

func (*EnableServiceResourcePayload) GetUpdatePolicyIdOk

func (o *EnableServiceResourcePayload) GetUpdatePolicyIdOk() (*string, bool)

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

func (*EnableServiceResourcePayload) HasUpdatePolicyId

func (o *EnableServiceResourcePayload) HasUpdatePolicyId() bool

HasUpdatePolicyId returns a boolean if a field has been set.

func (EnableServiceResourcePayload) MarshalJSON

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

func (*EnableServiceResourcePayload) SetUpdatePolicyId

func (o *EnableServiceResourcePayload) SetUpdatePolicyId(v string)

SetUpdatePolicyId gets a reference to the given string and assigns it to the UpdatePolicyId field.

func (EnableServiceResourcePayload) ToMap

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

type GetUpdatePoliciesResponse

type GetUpdatePoliciesResponse struct {
	Items []UpdatePolicy `json:"items,omitempty"`
}

GetUpdatePoliciesResponse struct for GetUpdatePoliciesResponse

func NewGetUpdatePoliciesResponse

func NewGetUpdatePoliciesResponse() *GetUpdatePoliciesResponse

NewGetUpdatePoliciesResponse instantiates a new GetUpdatePoliciesResponse 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 NewGetUpdatePoliciesResponseWithDefaults

func NewGetUpdatePoliciesResponseWithDefaults() *GetUpdatePoliciesResponse

NewGetUpdatePoliciesResponseWithDefaults instantiates a new GetUpdatePoliciesResponse 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 (*GetUpdatePoliciesResponse) GetItems

func (o *GetUpdatePoliciesResponse) GetItems() []UpdatePolicy

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

func (*GetUpdatePoliciesResponse) GetItemsOk

func (o *GetUpdatePoliciesResponse) GetItemsOk() ([]UpdatePolicy, 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 (*GetUpdatePoliciesResponse) HasItems

func (o *GetUpdatePoliciesResponse) HasItems() bool

HasItems returns a boolean if a field has been set.

func (GetUpdatePoliciesResponse) MarshalJSON

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

func (*GetUpdatePoliciesResponse) SetItems

func (o *GetUpdatePoliciesResponse) SetItems(v []UpdatePolicy)

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

func (GetUpdatePoliciesResponse) ToMap

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

type GetUpdateSchedulesResponse

type GetUpdateSchedulesResponse struct {
	Items []UpdateSchedule `json:"items,omitempty"`
}

GetUpdateSchedulesResponse struct for GetUpdateSchedulesResponse

func NewGetUpdateSchedulesResponse

func NewGetUpdateSchedulesResponse() *GetUpdateSchedulesResponse

NewGetUpdateSchedulesResponse instantiates a new GetUpdateSchedulesResponse 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 NewGetUpdateSchedulesResponseWithDefaults

func NewGetUpdateSchedulesResponseWithDefaults() *GetUpdateSchedulesResponse

NewGetUpdateSchedulesResponseWithDefaults instantiates a new GetUpdateSchedulesResponse 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 (*GetUpdateSchedulesResponse) GetItems

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

func (*GetUpdateSchedulesResponse) GetItemsOk

func (o *GetUpdateSchedulesResponse) GetItemsOk() ([]UpdateSchedule, 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 (*GetUpdateSchedulesResponse) HasItems

func (o *GetUpdateSchedulesResponse) HasItems() bool

HasItems returns a boolean if a field has been set.

func (GetUpdateSchedulesResponse) MarshalJSON

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

func (*GetUpdateSchedulesResponse) SetItems

func (o *GetUpdateSchedulesResponse) SetItems(v []UpdateSchedule)

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

func (GetUpdateSchedulesResponse) ToMap

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

type GetUpdateServiceResponse

type GetUpdateServiceResponse struct {
	Enabled *bool `json:"enabled,omitempty"`
}

GetUpdateServiceResponse struct for GetUpdateServiceResponse

func NewGetUpdateServiceResponse

func NewGetUpdateServiceResponse() *GetUpdateServiceResponse

NewGetUpdateServiceResponse instantiates a new GetUpdateServiceResponse 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 NewGetUpdateServiceResponseWithDefaults

func NewGetUpdateServiceResponseWithDefaults() *GetUpdateServiceResponse

NewGetUpdateServiceResponseWithDefaults instantiates a new GetUpdateServiceResponse 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 (*GetUpdateServiceResponse) GetEnabled

func (o *GetUpdateServiceResponse) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*GetUpdateServiceResponse) GetEnabledOk

func (o *GetUpdateServiceResponse) GetEnabledOk() (*bool, bool)

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

func (*GetUpdateServiceResponse) HasEnabled

func (o *GetUpdateServiceResponse) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (GetUpdateServiceResponse) MarshalJSON

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

func (*GetUpdateServiceResponse) SetEnabled

func (o *GetUpdateServiceResponse) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (GetUpdateServiceResponse) ToMap

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

type GetUpdatesListResponse

type GetUpdatesListResponse struct {
	Items []Update `json:"items,omitempty"`
}

GetUpdatesListResponse struct for GetUpdatesListResponse

func NewGetUpdatesListResponse

func NewGetUpdatesListResponse() *GetUpdatesListResponse

NewGetUpdatesListResponse instantiates a new GetUpdatesListResponse 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 NewGetUpdatesListResponseWithDefaults

func NewGetUpdatesListResponseWithDefaults() *GetUpdatesListResponse

NewGetUpdatesListResponseWithDefaults instantiates a new GetUpdatesListResponse 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 (*GetUpdatesListResponse) GetItems

func (o *GetUpdatesListResponse) GetItems() []Update

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

func (*GetUpdatesListResponse) GetItemsOk

func (o *GetUpdatesListResponse) GetItemsOk() ([]Update, 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 (*GetUpdatesListResponse) HasItems

func (o *GetUpdatesListResponse) HasItems() bool

HasItems returns a boolean if a field has been set.

func (GetUpdatesListResponse) MarshalJSON

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

func (*GetUpdatesListResponse) SetItems

func (o *GetUpdatesListResponse) SetItems(v []Update)

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

func (GetUpdatesListResponse) ToMap

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

type MappedNullable

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

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 NullableCreateUpdatePayload

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

func NewNullableCreateUpdatePayload

func NewNullableCreateUpdatePayload(val *CreateUpdatePayload) *NullableCreateUpdatePayload

func (NullableCreateUpdatePayload) Get

func (NullableCreateUpdatePayload) IsSet

func (NullableCreateUpdatePayload) MarshalJSON

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

func (*NullableCreateUpdatePayload) Set

func (*NullableCreateUpdatePayload) UnmarshalJSON

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

func (*NullableCreateUpdatePayload) Unset

func (v *NullableCreateUpdatePayload) Unset()

type NullableCreateUpdateSchedulePayload

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

func (NullableCreateUpdateSchedulePayload) Get

func (NullableCreateUpdateSchedulePayload) IsSet

func (NullableCreateUpdateSchedulePayload) MarshalJSON

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

func (*NullableCreateUpdateSchedulePayload) Set

func (*NullableCreateUpdateSchedulePayload) UnmarshalJSON

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

func (*NullableCreateUpdateSchedulePayload) Unset

type NullableEnableServicePayload

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

func NewNullableEnableServicePayload

func NewNullableEnableServicePayload(val *EnableServicePayload) *NullableEnableServicePayload

func (NullableEnableServicePayload) Get

func (NullableEnableServicePayload) IsSet

func (NullableEnableServicePayload) MarshalJSON

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

func (*NullableEnableServicePayload) Set

func (*NullableEnableServicePayload) UnmarshalJSON

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

func (*NullableEnableServicePayload) Unset

func (v *NullableEnableServicePayload) Unset()

type NullableEnableServiceResourcePayload

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

func (NullableEnableServiceResourcePayload) Get

func (NullableEnableServiceResourcePayload) IsSet

func (NullableEnableServiceResourcePayload) MarshalJSON

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

func (*NullableEnableServiceResourcePayload) Set

func (*NullableEnableServiceResourcePayload) UnmarshalJSON

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

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

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

func (NullableGetUpdatePoliciesResponse) Get

func (NullableGetUpdatePoliciesResponse) IsSet

func (NullableGetUpdatePoliciesResponse) MarshalJSON

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

func (*NullableGetUpdatePoliciesResponse) Set

func (*NullableGetUpdatePoliciesResponse) UnmarshalJSON

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

func (*NullableGetUpdatePoliciesResponse) Unset

type NullableGetUpdateSchedulesResponse

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

func (NullableGetUpdateSchedulesResponse) Get

func (NullableGetUpdateSchedulesResponse) IsSet

func (NullableGetUpdateSchedulesResponse) MarshalJSON

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

func (*NullableGetUpdateSchedulesResponse) Set

func (*NullableGetUpdateSchedulesResponse) UnmarshalJSON

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

func (*NullableGetUpdateSchedulesResponse) Unset

type NullableGetUpdateServiceResponse

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

func (NullableGetUpdateServiceResponse) Get

func (NullableGetUpdateServiceResponse) IsSet

func (NullableGetUpdateServiceResponse) MarshalJSON

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

func (*NullableGetUpdateServiceResponse) Set

func (*NullableGetUpdateServiceResponse) UnmarshalJSON

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

func (*NullableGetUpdateServiceResponse) Unset

type NullableGetUpdatesListResponse

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

func (NullableGetUpdatesListResponse) Get

func (NullableGetUpdatesListResponse) IsSet

func (NullableGetUpdatesListResponse) MarshalJSON

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

func (*NullableGetUpdatesListResponse) Set

func (*NullableGetUpdatesListResponse) UnmarshalJSON

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

func (*NullableGetUpdatesListResponse) Unset

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

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

func NewNullableUpdate

func NewNullableUpdate(val *Update) *NullableUpdate

func (NullableUpdate) Get

func (v NullableUpdate) Get() *Update

func (NullableUpdate) IsSet

func (v NullableUpdate) IsSet() bool

func (NullableUpdate) MarshalJSON

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

func (*NullableUpdate) Set

func (v *NullableUpdate) Set(val *Update)

func (*NullableUpdate) UnmarshalJSON

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

func (*NullableUpdate) Unset

func (v *NullableUpdate) Unset()

type NullableUpdatePolicy

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

func NewNullableUpdatePolicy

func NewNullableUpdatePolicy(val *UpdatePolicy) *NullableUpdatePolicy

func (NullableUpdatePolicy) Get

func (NullableUpdatePolicy) IsSet

func (v NullableUpdatePolicy) IsSet() bool

func (NullableUpdatePolicy) MarshalJSON

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

func (*NullableUpdatePolicy) Set

func (v *NullableUpdatePolicy) Set(val *UpdatePolicy)

func (*NullableUpdatePolicy) UnmarshalJSON

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

func (*NullableUpdatePolicy) Unset

func (v *NullableUpdatePolicy) Unset()

type NullableUpdateSchedule

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

func NewNullableUpdateSchedule

func NewNullableUpdateSchedule(val *UpdateSchedule) *NullableUpdateSchedule

func (NullableUpdateSchedule) Get

func (NullableUpdateSchedule) IsSet

func (v NullableUpdateSchedule) IsSet() bool

func (NullableUpdateSchedule) MarshalJSON

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

func (*NullableUpdateSchedule) Set

func (*NullableUpdateSchedule) UnmarshalJSON

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

func (*NullableUpdateSchedule) Unset

func (v *NullableUpdateSchedule) Unset()

type NullableUpdateScheduleCreateRequest

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

func (NullableUpdateScheduleCreateRequest) Get

func (NullableUpdateScheduleCreateRequest) IsSet

func (NullableUpdateScheduleCreateRequest) MarshalJSON

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

func (*NullableUpdateScheduleCreateRequest) Set

func (*NullableUpdateScheduleCreateRequest) UnmarshalJSON

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

func (*NullableUpdateScheduleCreateRequest) Unset

type NullableUpdateUpdateSchedulePayload

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

func (NullableUpdateUpdateSchedulePayload) Get

func (NullableUpdateUpdateSchedulePayload) IsSet

func (NullableUpdateUpdateSchedulePayload) MarshalJSON

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

func (*NullableUpdateUpdateSchedulePayload) Set

func (*NullableUpdateUpdateSchedulePayload) UnmarshalJSON

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

func (*NullableUpdateUpdateSchedulePayload) Unset

type Update

type Update struct {
	EndDate          *string `json:"endDate,omitempty"`
	FailReason       *string `json:"failReason,omitempty"`
	FailedUpdates    *int32  `json:"failedUpdates,omitempty"`
	Id               int32   `json:"id"`
	InstalledUpdates *int32  `json:"installedUpdates,omitempty"`
	StartDate        string  `json:"startDate"`
	Status           string  `json:"status"`
}

Update struct for Update

func NewUpdate

func NewUpdate(id int32, startDate string, status string) *Update

NewUpdate instantiates a new Update 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 NewUpdateWithDefaults

func NewUpdateWithDefaults() *Update

NewUpdateWithDefaults instantiates a new Update 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 (*Update) GetEndDate

func (o *Update) GetEndDate() string

GetEndDate returns the EndDate field value if set, zero value otherwise.

func (*Update) GetEndDateOk

func (o *Update) GetEndDateOk() (*string, bool)

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

func (*Update) GetFailReason

func (o *Update) GetFailReason() string

GetFailReason returns the FailReason field value if set, zero value otherwise.

func (*Update) GetFailReasonOk

func (o *Update) GetFailReasonOk() (*string, bool)

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

func (*Update) GetFailedUpdates

func (o *Update) GetFailedUpdates() int32

GetFailedUpdates returns the FailedUpdates field value if set, zero value otherwise.

func (*Update) GetFailedUpdatesOk

func (o *Update) GetFailedUpdatesOk() (*int32, bool)

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

func (*Update) GetId

func (o *Update) GetId() int32

GetId returns the Id field value

func (*Update) GetIdOk

func (o *Update) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Update) GetInstalledUpdates

func (o *Update) GetInstalledUpdates() int32

GetInstalledUpdates returns the InstalledUpdates field value if set, zero value otherwise.

func (*Update) GetInstalledUpdatesOk

func (o *Update) GetInstalledUpdatesOk() (*int32, bool)

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

func (*Update) GetStartDate

func (o *Update) GetStartDate() string

GetStartDate returns the StartDate field value

func (*Update) GetStartDateOk

func (o *Update) GetStartDateOk() (*string, bool)

GetStartDateOk returns a tuple with the StartDate field value and a boolean to check if the value has been set.

func (*Update) GetStatus

func (o *Update) GetStatus() string

GetStatus returns the Status field value

func (*Update) GetStatusOk

func (o *Update) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*Update) HasEndDate

func (o *Update) HasEndDate() bool

HasEndDate returns a boolean if a field has been set.

func (*Update) HasFailReason

func (o *Update) HasFailReason() bool

HasFailReason returns a boolean if a field has been set.

func (*Update) HasFailedUpdates

func (o *Update) HasFailedUpdates() bool

HasFailedUpdates returns a boolean if a field has been set.

func (*Update) HasInstalledUpdates

func (o *Update) HasInstalledUpdates() bool

HasInstalledUpdates returns a boolean if a field has been set.

func (Update) MarshalJSON

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

func (*Update) SetEndDate

func (o *Update) SetEndDate(v string)

SetEndDate gets a reference to the given string and assigns it to the EndDate field.

func (*Update) SetFailReason

func (o *Update) SetFailReason(v string)

SetFailReason gets a reference to the given string and assigns it to the FailReason field.

func (*Update) SetFailedUpdates

func (o *Update) SetFailedUpdates(v int32)

SetFailedUpdates gets a reference to the given int32 and assigns it to the FailedUpdates field.

func (*Update) SetId

func (o *Update) SetId(v int32)

SetId sets field value

func (*Update) SetInstalledUpdates

func (o *Update) SetInstalledUpdates(v int32)

SetInstalledUpdates gets a reference to the given int32 and assigns it to the InstalledUpdates field.

func (*Update) SetStartDate

func (o *Update) SetStartDate(v string)

SetStartDate sets field value

func (*Update) SetStatus

func (o *Update) SetStatus(v string)

SetStatus sets field value

func (Update) ToMap

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

func (*Update) UnmarshalJSON

func (o *Update) UnmarshalJSON(data []byte) (err error)

type UpdatePolicy

type UpdatePolicy struct {
	Default           *bool   `json:"default,omitempty"`
	Description       *string `json:"description,omitempty"`
	Enabled           *bool   `json:"enabled,omitempty"`
	Id                *string `json:"id,omitempty"`
	MaintenanceWindow *int32  `json:"maintenanceWindow,omitempty"`
	Name              *string `json:"name,omitempty"`
	Rrule             *string `json:"rrule,omitempty"`
}

UpdatePolicy struct for UpdatePolicy

func NewUpdatePolicy

func NewUpdatePolicy() *UpdatePolicy

NewUpdatePolicy instantiates a new UpdatePolicy 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 NewUpdatePolicyWithDefaults

func NewUpdatePolicyWithDefaults() *UpdatePolicy

NewUpdatePolicyWithDefaults instantiates a new UpdatePolicy 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 (*UpdatePolicy) GetDefault

func (o *UpdatePolicy) GetDefault() bool

GetDefault returns the Default field value if set, zero value otherwise.

func (*UpdatePolicy) GetDefaultOk

func (o *UpdatePolicy) GetDefaultOk() (*bool, bool)

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

func (*UpdatePolicy) GetDescription

func (o *UpdatePolicy) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*UpdatePolicy) GetDescriptionOk

func (o *UpdatePolicy) GetDescriptionOk() (*string, bool)

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

func (*UpdatePolicy) GetEnabled

func (o *UpdatePolicy) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*UpdatePolicy) GetEnabledOk

func (o *UpdatePolicy) GetEnabledOk() (*bool, bool)

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

func (*UpdatePolicy) GetId

func (o *UpdatePolicy) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*UpdatePolicy) GetIdOk

func (o *UpdatePolicy) GetIdOk() (*string, bool)

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

func (*UpdatePolicy) GetMaintenanceWindow

func (o *UpdatePolicy) GetMaintenanceWindow() int32

GetMaintenanceWindow returns the MaintenanceWindow field value if set, zero value otherwise.

func (*UpdatePolicy) GetMaintenanceWindowOk

func (o *UpdatePolicy) GetMaintenanceWindowOk() (*int32, bool)

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

func (*UpdatePolicy) GetName

func (o *UpdatePolicy) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UpdatePolicy) GetNameOk

func (o *UpdatePolicy) GetNameOk() (*string, bool)

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

func (*UpdatePolicy) GetRrule

func (o *UpdatePolicy) GetRrule() string

GetRrule returns the Rrule field value if set, zero value otherwise.

func (*UpdatePolicy) GetRruleOk

func (o *UpdatePolicy) GetRruleOk() (*string, bool)

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

func (*UpdatePolicy) HasDefault

func (o *UpdatePolicy) HasDefault() bool

HasDefault returns a boolean if a field has been set.

func (*UpdatePolicy) HasDescription

func (o *UpdatePolicy) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpdatePolicy) HasEnabled

func (o *UpdatePolicy) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*UpdatePolicy) HasId

func (o *UpdatePolicy) HasId() bool

HasId returns a boolean if a field has been set.

func (*UpdatePolicy) HasMaintenanceWindow

func (o *UpdatePolicy) HasMaintenanceWindow() bool

HasMaintenanceWindow returns a boolean if a field has been set.

func (*UpdatePolicy) HasName

func (o *UpdatePolicy) HasName() bool

HasName returns a boolean if a field has been set.

func (*UpdatePolicy) HasRrule

func (o *UpdatePolicy) HasRrule() bool

HasRrule returns a boolean if a field has been set.

func (UpdatePolicy) MarshalJSON

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

func (*UpdatePolicy) SetDefault

func (o *UpdatePolicy) SetDefault(v bool)

SetDefault gets a reference to the given bool and assigns it to the Default field.

func (*UpdatePolicy) SetDescription

func (o *UpdatePolicy) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*UpdatePolicy) SetEnabled

func (o *UpdatePolicy) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*UpdatePolicy) SetId

func (o *UpdatePolicy) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*UpdatePolicy) SetMaintenanceWindow

func (o *UpdatePolicy) SetMaintenanceWindow(v int32)

SetMaintenanceWindow gets a reference to the given int32 and assigns it to the MaintenanceWindow field.

func (*UpdatePolicy) SetName

func (o *UpdatePolicy) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*UpdatePolicy) SetRrule

func (o *UpdatePolicy) SetRrule(v string)

SetRrule gets a reference to the given string and assigns it to the Rrule field.

func (UpdatePolicy) ToMap

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

type UpdateSchedule

type UpdateSchedule struct {
	Enabled           bool   `json:"enabled"`
	MaintenanceWindow int32  `json:"maintenanceWindow"`
	Name              string `json:"name"`
	Rrule             string `json:"rrule"`
	Id                int32  `json:"id"`
}

UpdateSchedule struct for UpdateSchedule

func NewUpdateSchedule

func NewUpdateSchedule(enabled bool, maintenanceWindow int32, name string, rrule string, id int32) *UpdateSchedule

NewUpdateSchedule instantiates a new UpdateSchedule 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 NewUpdateScheduleWithDefaults

func NewUpdateScheduleWithDefaults() *UpdateSchedule

NewUpdateScheduleWithDefaults instantiates a new UpdateSchedule 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 (*UpdateSchedule) GetEnabled

func (o *UpdateSchedule) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*UpdateSchedule) GetEnabledOk

func (o *UpdateSchedule) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.

func (*UpdateSchedule) GetId

func (o *UpdateSchedule) GetId() int32

GetId returns the Id field value

func (*UpdateSchedule) GetIdOk

func (o *UpdateSchedule) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*UpdateSchedule) GetMaintenanceWindow

func (o *UpdateSchedule) GetMaintenanceWindow() int32

GetMaintenanceWindow returns the MaintenanceWindow field value

func (*UpdateSchedule) GetMaintenanceWindowOk

func (o *UpdateSchedule) GetMaintenanceWindowOk() (*int32, bool)

GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow field value and a boolean to check if the value has been set.

func (*UpdateSchedule) GetName

func (o *UpdateSchedule) GetName() string

GetName returns the Name field value

func (*UpdateSchedule) GetNameOk

func (o *UpdateSchedule) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*UpdateSchedule) GetRrule

func (o *UpdateSchedule) GetRrule() string

GetRrule returns the Rrule field value

func (*UpdateSchedule) GetRruleOk

func (o *UpdateSchedule) GetRruleOk() (*string, bool)

GetRruleOk returns a tuple with the Rrule field value and a boolean to check if the value has been set.

func (UpdateSchedule) MarshalJSON

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

func (*UpdateSchedule) SetEnabled

func (o *UpdateSchedule) SetEnabled(v bool)

SetEnabled sets field value

func (*UpdateSchedule) SetId

func (o *UpdateSchedule) SetId(v int32)

SetId sets field value

func (*UpdateSchedule) SetMaintenanceWindow

func (o *UpdateSchedule) SetMaintenanceWindow(v int32)

SetMaintenanceWindow sets field value

func (*UpdateSchedule) SetName

func (o *UpdateSchedule) SetName(v string)

SetName sets field value

func (*UpdateSchedule) SetRrule

func (o *UpdateSchedule) SetRrule(v string)

SetRrule sets field value

func (UpdateSchedule) ToMap

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

func (*UpdateSchedule) UnmarshalJSON

func (o *UpdateSchedule) UnmarshalJSON(data []byte) (err error)

type UpdateScheduleCreateRequest

type UpdateScheduleCreateRequest struct {
	Enabled           bool   `json:"enabled"`
	MaintenanceWindow int32  `json:"maintenanceWindow"`
	Name              string `json:"name"`
	Rrule             string `json:"rrule"`
}

UpdateScheduleCreateRequest struct for UpdateScheduleCreateRequest

func NewUpdateScheduleCreateRequest

func NewUpdateScheduleCreateRequest(enabled bool, maintenanceWindow int32, name string, rrule string) *UpdateScheduleCreateRequest

NewUpdateScheduleCreateRequest instantiates a new UpdateScheduleCreateRequest 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 NewUpdateScheduleCreateRequestWithDefaults

func NewUpdateScheduleCreateRequestWithDefaults() *UpdateScheduleCreateRequest

NewUpdateScheduleCreateRequestWithDefaults instantiates a new UpdateScheduleCreateRequest 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 (*UpdateScheduleCreateRequest) GetEnabled

func (o *UpdateScheduleCreateRequest) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*UpdateScheduleCreateRequest) GetEnabledOk

func (o *UpdateScheduleCreateRequest) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.

func (*UpdateScheduleCreateRequest) GetMaintenanceWindow

func (o *UpdateScheduleCreateRequest) GetMaintenanceWindow() int32

GetMaintenanceWindow returns the MaintenanceWindow field value

func (*UpdateScheduleCreateRequest) GetMaintenanceWindowOk

func (o *UpdateScheduleCreateRequest) GetMaintenanceWindowOk() (*int32, bool)

GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow field value and a boolean to check if the value has been set.

func (*UpdateScheduleCreateRequest) GetName

func (o *UpdateScheduleCreateRequest) GetName() string

GetName returns the Name field value

func (*UpdateScheduleCreateRequest) GetNameOk

func (o *UpdateScheduleCreateRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*UpdateScheduleCreateRequest) GetRrule

func (o *UpdateScheduleCreateRequest) GetRrule() string

GetRrule returns the Rrule field value

func (*UpdateScheduleCreateRequest) GetRruleOk

func (o *UpdateScheduleCreateRequest) GetRruleOk() (*string, bool)

GetRruleOk returns a tuple with the Rrule field value and a boolean to check if the value has been set.

func (UpdateScheduleCreateRequest) MarshalJSON

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

func (*UpdateScheduleCreateRequest) SetEnabled

func (o *UpdateScheduleCreateRequest) SetEnabled(v bool)

SetEnabled sets field value

func (*UpdateScheduleCreateRequest) SetMaintenanceWindow

func (o *UpdateScheduleCreateRequest) SetMaintenanceWindow(v int32)

SetMaintenanceWindow sets field value

func (*UpdateScheduleCreateRequest) SetName

func (o *UpdateScheduleCreateRequest) SetName(v string)

SetName sets field value

func (*UpdateScheduleCreateRequest) SetRrule

func (o *UpdateScheduleCreateRequest) SetRrule(v string)

SetRrule sets field value

func (UpdateScheduleCreateRequest) ToMap

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

func (*UpdateScheduleCreateRequest) UnmarshalJSON

func (o *UpdateScheduleCreateRequest) UnmarshalJSON(data []byte) (err error)

type UpdateUpdateSchedulePayload

type UpdateUpdateSchedulePayload struct {
	Enabled           bool   `json:"enabled"`
	MaintenanceWindow int32  `json:"maintenanceWindow"`
	Name              string `json:"name"`
	Rrule             string `json:"rrule"`
}

UpdateUpdateSchedulePayload struct for UpdateUpdateSchedulePayload

func NewUpdateUpdateSchedulePayload

func NewUpdateUpdateSchedulePayload(enabled bool, maintenanceWindow int32, name string, rrule string) *UpdateUpdateSchedulePayload

NewUpdateUpdateSchedulePayload instantiates a new UpdateUpdateSchedulePayload 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 NewUpdateUpdateSchedulePayloadWithDefaults

func NewUpdateUpdateSchedulePayloadWithDefaults() *UpdateUpdateSchedulePayload

NewUpdateUpdateSchedulePayloadWithDefaults instantiates a new UpdateUpdateSchedulePayload 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 (*UpdateUpdateSchedulePayload) GetEnabled

func (o *UpdateUpdateSchedulePayload) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*UpdateUpdateSchedulePayload) GetEnabledOk

func (o *UpdateUpdateSchedulePayload) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.

func (*UpdateUpdateSchedulePayload) GetMaintenanceWindow

func (o *UpdateUpdateSchedulePayload) GetMaintenanceWindow() int32

GetMaintenanceWindow returns the MaintenanceWindow field value

func (*UpdateUpdateSchedulePayload) GetMaintenanceWindowOk

func (o *UpdateUpdateSchedulePayload) GetMaintenanceWindowOk() (*int32, bool)

GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow field value and a boolean to check if the value has been set.

func (*UpdateUpdateSchedulePayload) GetName

func (o *UpdateUpdateSchedulePayload) GetName() string

GetName returns the Name field value

func (*UpdateUpdateSchedulePayload) GetNameOk

func (o *UpdateUpdateSchedulePayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*UpdateUpdateSchedulePayload) GetRrule

func (o *UpdateUpdateSchedulePayload) GetRrule() string

GetRrule returns the Rrule field value

func (*UpdateUpdateSchedulePayload) GetRruleOk

func (o *UpdateUpdateSchedulePayload) GetRruleOk() (*string, bool)

GetRruleOk returns a tuple with the Rrule field value and a boolean to check if the value has been set.

func (UpdateUpdateSchedulePayload) MarshalJSON

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

func (*UpdateUpdateSchedulePayload) SetEnabled

func (o *UpdateUpdateSchedulePayload) SetEnabled(v bool)

SetEnabled sets field value

func (*UpdateUpdateSchedulePayload) SetMaintenanceWindow

func (o *UpdateUpdateSchedulePayload) SetMaintenanceWindow(v int32)

SetMaintenanceWindow sets field value

func (*UpdateUpdateSchedulePayload) SetName

func (o *UpdateUpdateSchedulePayload) SetName(v string)

SetName sets field value

func (*UpdateUpdateSchedulePayload) SetRrule

func (o *UpdateUpdateSchedulePayload) SetRrule(v string)

SetRrule sets field value

func (UpdateUpdateSchedulePayload) ToMap

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

func (*UpdateUpdateSchedulePayload) UnmarshalJSON

func (o *UpdateUpdateSchedulePayload) UnmarshalJSON(data []byte) (err error)

Jump to

Keyboard shortcuts

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