Documentation
¶
Overview ¶
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func NewConfiguration() *config.Configuration
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIResponse
- type ApiCreateUpdateRequest
- type ApiCreateUpdateScheduleRequest
- type ApiDeleteUpdateScheduleRequest
- type ApiDisableServiceRequest
- type ApiDisableServiceResourceRequest
- type ApiEnableServiceRequest
- type ApiEnableServiceResourceRequest
- type ApiGetServiceResourceRequest
- type ApiGetUpdateRequest
- type ApiGetUpdateScheduleRequest
- type ApiListUpdatePoliciesRequest
- type ApiListUpdateSchedulesRequest
- type ApiListUpdatesRequest
- type ApiUpdateUpdateScheduleRequest
- type CreateUpdatePayload
- func (o *CreateUpdatePayload) GetBackupBeforeUpdate() bool
- func (o *CreateUpdatePayload) GetBackupBeforeUpdateOk() (*bool, bool)
- func (o *CreateUpdatePayload) GetMaintenanceWindow() int32
- func (o *CreateUpdatePayload) GetMaintenanceWindowOk() (*int32, bool)
- func (o *CreateUpdatePayload) HasBackupBeforeUpdate() bool
- func (o CreateUpdatePayload) MarshalJSON() ([]byte, error)
- func (o *CreateUpdatePayload) SetBackupBeforeUpdate(v bool)
- func (o *CreateUpdatePayload) SetMaintenanceWindow(v int32)
- func (o CreateUpdatePayload) ToMap() (map[string]interface{}, error)
- func (o *CreateUpdatePayload) UnmarshalJSON(data []byte) (err error)
- type CreateUpdateSchedulePayload
- func (o *CreateUpdateSchedulePayload) GetEnabled() bool
- func (o *CreateUpdateSchedulePayload) GetEnabledOk() (*bool, bool)
- func (o *CreateUpdateSchedulePayload) GetMaintenanceWindow() int32
- func (o *CreateUpdateSchedulePayload) GetMaintenanceWindowOk() (*int32, bool)
- func (o *CreateUpdateSchedulePayload) GetName() string
- func (o *CreateUpdateSchedulePayload) GetNameOk() (*string, bool)
- func (o *CreateUpdateSchedulePayload) GetRrule() string
- func (o *CreateUpdateSchedulePayload) GetRruleOk() (*string, bool)
- func (o CreateUpdateSchedulePayload) MarshalJSON() ([]byte, error)
- func (o *CreateUpdateSchedulePayload) SetEnabled(v bool)
- func (o *CreateUpdateSchedulePayload) SetMaintenanceWindow(v int32)
- func (o *CreateUpdateSchedulePayload) SetName(v string)
- func (o *CreateUpdateSchedulePayload) SetRrule(v string)
- func (o CreateUpdateSchedulePayload) ToMap() (map[string]interface{}, error)
- func (o *CreateUpdateSchedulePayload) UnmarshalJSON(data []byte) (err error)
- type DefaultAPI
- type DefaultAPIService
- func (a *DefaultAPIService) CreateUpdate(ctx context.Context, projectId string, serverId string) ApiCreateUpdateRequest
- func (a *DefaultAPIService) CreateUpdateExecute(r ApiCreateUpdateRequest) (*Update, error)
- func (a *DefaultAPIService) CreateUpdateSchedule(ctx context.Context, projectId string, serverId string) ApiCreateUpdateScheduleRequest
- func (a *DefaultAPIService) CreateUpdateScheduleExecute(r ApiCreateUpdateScheduleRequest) (*UpdateSchedule, error)
- func (a *DefaultAPIService) DeleteUpdateSchedule(ctx context.Context, projectId string, serverId string, scheduleId string) ApiDeleteUpdateScheduleRequest
- func (a *DefaultAPIService) DeleteUpdateScheduleExecute(r ApiDeleteUpdateScheduleRequest) error
- func (a *DefaultAPIService) DisableService(ctx context.Context, projectId string, serverId string) ApiDisableServiceRequest
- func (a *DefaultAPIService) DisableServiceExecute(r ApiDisableServiceRequest) error
- func (a *DefaultAPIService) DisableServiceResource(ctx context.Context, projectId string, serverId string) ApiDisableServiceResourceRequest
- func (a *DefaultAPIService) DisableServiceResourceExecute(r ApiDisableServiceResourceRequest) error
- func (a *DefaultAPIService) EnableService(ctx context.Context, projectId string, serverId string) ApiEnableServiceRequest
- func (a *DefaultAPIService) EnableServiceExecute(r ApiEnableServiceRequest) error
- func (a *DefaultAPIService) EnableServiceResource(ctx context.Context, projectId string, serverId string) ApiEnableServiceResourceRequest
- func (a *DefaultAPIService) EnableServiceResourceExecute(r ApiEnableServiceResourceRequest) error
- func (a *DefaultAPIService) GetServiceResource(ctx context.Context, projectId string, serverId string) ApiGetServiceResourceRequest
- func (a *DefaultAPIService) GetServiceResourceExecute(r ApiGetServiceResourceRequest) (*GetUpdateServiceResponse, error)
- func (a *DefaultAPIService) GetUpdate(ctx context.Context, projectId string, serverId string, updateId string) ApiGetUpdateRequest
- func (a *DefaultAPIService) GetUpdateExecute(r ApiGetUpdateRequest) (*Update, error)
- func (a *DefaultAPIService) GetUpdateSchedule(ctx context.Context, projectId string, serverId string, scheduleId string) ApiGetUpdateScheduleRequest
- func (a *DefaultAPIService) GetUpdateScheduleExecute(r ApiGetUpdateScheduleRequest) (*UpdateSchedule, error)
- func (a *DefaultAPIService) ListUpdatePolicies(ctx context.Context, projectId string) ApiListUpdatePoliciesRequest
- func (a *DefaultAPIService) ListUpdatePoliciesExecute(r ApiListUpdatePoliciesRequest) (*GetUpdatePoliciesResponse, error)
- func (a *DefaultAPIService) ListUpdateSchedules(ctx context.Context, projectId string, serverId string) ApiListUpdateSchedulesRequest
- func (a *DefaultAPIService) ListUpdateSchedulesExecute(r ApiListUpdateSchedulesRequest) (*GetUpdateSchedulesResponse, error)
- func (a *DefaultAPIService) ListUpdates(ctx context.Context, projectId string, serverId string) ApiListUpdatesRequest
- func (a *DefaultAPIService) ListUpdatesExecute(r ApiListUpdatesRequest) (*GetUpdatesListResponse, error)
- func (a *DefaultAPIService) UpdateUpdateSchedule(ctx context.Context, projectId string, serverId string, scheduleId string) ApiUpdateUpdateScheduleRequest
- func (a *DefaultAPIService) UpdateUpdateScheduleExecute(r ApiUpdateUpdateScheduleRequest) (*UpdateSchedule, error)
- type DefaultAPIServiceMock
- func (a DefaultAPIServiceMock) CreateUpdate(ctx context.Context, projectId string, serverId string) ApiCreateUpdateRequest
- func (a DefaultAPIServiceMock) CreateUpdateExecute(r ApiCreateUpdateRequest) (*Update, error)
- func (a DefaultAPIServiceMock) CreateUpdateSchedule(ctx context.Context, projectId string, serverId string) ApiCreateUpdateScheduleRequest
- func (a DefaultAPIServiceMock) CreateUpdateScheduleExecute(r ApiCreateUpdateScheduleRequest) (*UpdateSchedule, error)
- func (a DefaultAPIServiceMock) DeleteUpdateSchedule(ctx context.Context, projectId string, serverId string, scheduleId string) ApiDeleteUpdateScheduleRequest
- func (a DefaultAPIServiceMock) DeleteUpdateScheduleExecute(r ApiDeleteUpdateScheduleRequest) error
- func (a DefaultAPIServiceMock) DisableService(ctx context.Context, projectId string, serverId string) ApiDisableServiceRequest
- func (a DefaultAPIServiceMock) DisableServiceExecute(r ApiDisableServiceRequest) errordeprecated
- func (a DefaultAPIServiceMock) DisableServiceResource(ctx context.Context, projectId string, serverId string) ApiDisableServiceResourceRequest
- func (a DefaultAPIServiceMock) DisableServiceResourceExecute(r ApiDisableServiceResourceRequest) error
- func (a DefaultAPIServiceMock) EnableService(ctx context.Context, projectId string, serverId string) ApiEnableServiceRequest
- func (a DefaultAPIServiceMock) EnableServiceExecute(r ApiEnableServiceRequest) errordeprecated
- func (a DefaultAPIServiceMock) EnableServiceResource(ctx context.Context, projectId string, serverId string) ApiEnableServiceResourceRequest
- func (a DefaultAPIServiceMock) EnableServiceResourceExecute(r ApiEnableServiceResourceRequest) error
- func (a DefaultAPIServiceMock) GetServiceResource(ctx context.Context, projectId string, serverId string) ApiGetServiceResourceRequest
- func (a DefaultAPIServiceMock) GetServiceResourceExecute(r ApiGetServiceResourceRequest) (*GetUpdateServiceResponse, error)
- func (a DefaultAPIServiceMock) GetUpdate(ctx context.Context, projectId string, serverId string, updateId string) ApiGetUpdateRequest
- func (a DefaultAPIServiceMock) GetUpdateExecute(r ApiGetUpdateRequest) (*Update, error)
- func (a DefaultAPIServiceMock) GetUpdateSchedule(ctx context.Context, projectId string, serverId string, scheduleId string) ApiGetUpdateScheduleRequest
- func (a DefaultAPIServiceMock) GetUpdateScheduleExecute(r ApiGetUpdateScheduleRequest) (*UpdateSchedule, error)
- func (a DefaultAPIServiceMock) ListUpdatePolicies(ctx context.Context, projectId string) ApiListUpdatePoliciesRequest
- func (a DefaultAPIServiceMock) ListUpdatePoliciesExecute(r ApiListUpdatePoliciesRequest) (*GetUpdatePoliciesResponse, error)
- func (a DefaultAPIServiceMock) ListUpdateSchedules(ctx context.Context, projectId string, serverId string) ApiListUpdateSchedulesRequest
- func (a DefaultAPIServiceMock) ListUpdateSchedulesExecute(r ApiListUpdateSchedulesRequest) (*GetUpdateSchedulesResponse, error)
- func (a DefaultAPIServiceMock) ListUpdates(ctx context.Context, projectId string, serverId string) ApiListUpdatesRequest
- func (a DefaultAPIServiceMock) ListUpdatesExecute(r ApiListUpdatesRequest) (*GetUpdatesListResponse, error)
- func (a DefaultAPIServiceMock) UpdateUpdateSchedule(ctx context.Context, projectId string, serverId string, scheduleId string) ApiUpdateUpdateScheduleRequest
- func (a DefaultAPIServiceMock) UpdateUpdateScheduleExecute(r ApiUpdateUpdateScheduleRequest) (*UpdateSchedule, error)
- type EnableServicePayload
- func (o *EnableServicePayload) GetUpdatePolicyId() string
- func (o *EnableServicePayload) GetUpdatePolicyIdOk() (*string, bool)
- func (o *EnableServicePayload) HasUpdatePolicyId() bool
- func (o EnableServicePayload) MarshalJSON() ([]byte, error)
- func (o *EnableServicePayload) SetUpdatePolicyId(v string)
- func (o EnableServicePayload) ToMap() (map[string]interface{}, error)
- type EnableServiceResourcePayload
- func (o *EnableServiceResourcePayload) GetUpdatePolicyId() string
- func (o *EnableServiceResourcePayload) GetUpdatePolicyIdOk() (*string, bool)
- func (o *EnableServiceResourcePayload) HasUpdatePolicyId() bool
- func (o EnableServiceResourcePayload) MarshalJSON() ([]byte, error)
- func (o *EnableServiceResourcePayload) SetUpdatePolicyId(v string)
- func (o EnableServiceResourcePayload) ToMap() (map[string]interface{}, error)
- type GetUpdatePoliciesResponse
- func (o *GetUpdatePoliciesResponse) GetItems() []UpdatePolicy
- func (o *GetUpdatePoliciesResponse) GetItemsOk() ([]UpdatePolicy, bool)
- func (o *GetUpdatePoliciesResponse) HasItems() bool
- func (o GetUpdatePoliciesResponse) MarshalJSON() ([]byte, error)
- func (o *GetUpdatePoliciesResponse) SetItems(v []UpdatePolicy)
- func (o GetUpdatePoliciesResponse) ToMap() (map[string]interface{}, error)
- type GetUpdateSchedulesResponse
- func (o *GetUpdateSchedulesResponse) GetItems() []UpdateSchedule
- func (o *GetUpdateSchedulesResponse) GetItemsOk() ([]UpdateSchedule, bool)
- func (o *GetUpdateSchedulesResponse) HasItems() bool
- func (o GetUpdateSchedulesResponse) MarshalJSON() ([]byte, error)
- func (o *GetUpdateSchedulesResponse) SetItems(v []UpdateSchedule)
- func (o GetUpdateSchedulesResponse) ToMap() (map[string]interface{}, error)
- type GetUpdateServiceResponse
- func (o *GetUpdateServiceResponse) GetEnabled() bool
- func (o *GetUpdateServiceResponse) GetEnabledOk() (*bool, bool)
- func (o *GetUpdateServiceResponse) HasEnabled() bool
- func (o GetUpdateServiceResponse) MarshalJSON() ([]byte, error)
- func (o *GetUpdateServiceResponse) SetEnabled(v bool)
- func (o GetUpdateServiceResponse) ToMap() (map[string]interface{}, error)
- type GetUpdatesListResponse
- func (o *GetUpdatesListResponse) GetItems() []Update
- func (o *GetUpdatesListResponse) GetItemsOk() ([]Update, bool)
- func (o *GetUpdatesListResponse) HasItems() bool
- func (o GetUpdatesListResponse) MarshalJSON() ([]byte, error)
- func (o *GetUpdatesListResponse) SetItems(v []Update)
- func (o GetUpdatesListResponse) ToMap() (map[string]interface{}, error)
- type MappedNullable
- type NullableBool
- type NullableCreateUpdatePayload
- func (v NullableCreateUpdatePayload) Get() *CreateUpdatePayload
- func (v NullableCreateUpdatePayload) IsSet() bool
- func (v NullableCreateUpdatePayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateUpdatePayload) Set(val *CreateUpdatePayload)
- func (v *NullableCreateUpdatePayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateUpdatePayload) Unset()
- type NullableCreateUpdateSchedulePayload
- func (v NullableCreateUpdateSchedulePayload) Get() *CreateUpdateSchedulePayload
- func (v NullableCreateUpdateSchedulePayload) IsSet() bool
- func (v NullableCreateUpdateSchedulePayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateUpdateSchedulePayload) Set(val *CreateUpdateSchedulePayload)
- func (v *NullableCreateUpdateSchedulePayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateUpdateSchedulePayload) Unset()
- type NullableEnableServicePayload
- func (v NullableEnableServicePayload) Get() *EnableServicePayload
- func (v NullableEnableServicePayload) IsSet() bool
- func (v NullableEnableServicePayload) MarshalJSON() ([]byte, error)
- func (v *NullableEnableServicePayload) Set(val *EnableServicePayload)
- func (v *NullableEnableServicePayload) UnmarshalJSON(src []byte) error
- func (v *NullableEnableServicePayload) Unset()
- type NullableEnableServiceResourcePayload
- func (v NullableEnableServiceResourcePayload) Get() *EnableServiceResourcePayload
- func (v NullableEnableServiceResourcePayload) IsSet() bool
- func (v NullableEnableServiceResourcePayload) MarshalJSON() ([]byte, error)
- func (v *NullableEnableServiceResourcePayload) Set(val *EnableServiceResourcePayload)
- func (v *NullableEnableServiceResourcePayload) UnmarshalJSON(src []byte) error
- func (v *NullableEnableServiceResourcePayload) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGetUpdatePoliciesResponse
- func (v NullableGetUpdatePoliciesResponse) Get() *GetUpdatePoliciesResponse
- func (v NullableGetUpdatePoliciesResponse) IsSet() bool
- func (v NullableGetUpdatePoliciesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetUpdatePoliciesResponse) Set(val *GetUpdatePoliciesResponse)
- func (v *NullableGetUpdatePoliciesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetUpdatePoliciesResponse) Unset()
- type NullableGetUpdateSchedulesResponse
- func (v NullableGetUpdateSchedulesResponse) Get() *GetUpdateSchedulesResponse
- func (v NullableGetUpdateSchedulesResponse) IsSet() bool
- func (v NullableGetUpdateSchedulesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetUpdateSchedulesResponse) Set(val *GetUpdateSchedulesResponse)
- func (v *NullableGetUpdateSchedulesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetUpdateSchedulesResponse) Unset()
- type NullableGetUpdateServiceResponse
- func (v NullableGetUpdateServiceResponse) Get() *GetUpdateServiceResponse
- func (v NullableGetUpdateServiceResponse) IsSet() bool
- func (v NullableGetUpdateServiceResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetUpdateServiceResponse) Set(val *GetUpdateServiceResponse)
- func (v *NullableGetUpdateServiceResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetUpdateServiceResponse) Unset()
- type NullableGetUpdatesListResponse
- func (v NullableGetUpdatesListResponse) Get() *GetUpdatesListResponse
- func (v NullableGetUpdatesListResponse) IsSet() bool
- func (v NullableGetUpdatesListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetUpdatesListResponse) Set(val *GetUpdatesListResponse)
- func (v *NullableGetUpdatesListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetUpdatesListResponse) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableString
- type NullableTime
- type NullableUpdate
- type NullableUpdatePolicy
- func (v NullableUpdatePolicy) Get() *UpdatePolicy
- func (v NullableUpdatePolicy) IsSet() bool
- func (v NullableUpdatePolicy) MarshalJSON() ([]byte, error)
- func (v *NullableUpdatePolicy) Set(val *UpdatePolicy)
- func (v *NullableUpdatePolicy) UnmarshalJSON(src []byte) error
- func (v *NullableUpdatePolicy) Unset()
- type NullableUpdateSchedule
- func (v NullableUpdateSchedule) Get() *UpdateSchedule
- func (v NullableUpdateSchedule) IsSet() bool
- func (v NullableUpdateSchedule) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateSchedule) Set(val *UpdateSchedule)
- func (v *NullableUpdateSchedule) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateSchedule) Unset()
- type NullableUpdateScheduleCreateRequest
- func (v NullableUpdateScheduleCreateRequest) Get() *UpdateScheduleCreateRequest
- func (v NullableUpdateScheduleCreateRequest) IsSet() bool
- func (v NullableUpdateScheduleCreateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateScheduleCreateRequest) Set(val *UpdateScheduleCreateRequest)
- func (v *NullableUpdateScheduleCreateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateScheduleCreateRequest) Unset()
- type NullableUpdateUpdateSchedulePayload
- func (v NullableUpdateUpdateSchedulePayload) Get() *UpdateUpdateSchedulePayload
- func (v NullableUpdateUpdateSchedulePayload) IsSet() bool
- func (v NullableUpdateUpdateSchedulePayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateUpdateSchedulePayload) Set(val *UpdateUpdateSchedulePayload)
- func (v *NullableUpdateUpdateSchedulePayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateUpdateSchedulePayload) Unset()
- type Update
- func (o *Update) GetEndDate() string
- func (o *Update) GetEndDateOk() (*string, bool)
- func (o *Update) GetFailReason() string
- func (o *Update) GetFailReasonOk() (*string, bool)
- func (o *Update) GetFailedUpdates() int32
- func (o *Update) GetFailedUpdatesOk() (*int32, bool)
- func (o *Update) GetId() int32
- func (o *Update) GetIdOk() (*int32, bool)
- func (o *Update) GetInstalledUpdates() int32
- func (o *Update) GetInstalledUpdatesOk() (*int32, bool)
- func (o *Update) GetStartDate() string
- func (o *Update) GetStartDateOk() (*string, bool)
- func (o *Update) GetStatus() string
- func (o *Update) GetStatusOk() (*string, bool)
- func (o *Update) HasEndDate() bool
- func (o *Update) HasFailReason() bool
- func (o *Update) HasFailedUpdates() bool
- func (o *Update) HasInstalledUpdates() bool
- func (o Update) MarshalJSON() ([]byte, error)
- func (o *Update) SetEndDate(v string)
- func (o *Update) SetFailReason(v string)
- func (o *Update) SetFailedUpdates(v int32)
- func (o *Update) SetId(v int32)
- func (o *Update) SetInstalledUpdates(v int32)
- func (o *Update) SetStartDate(v string)
- func (o *Update) SetStatus(v string)
- func (o Update) ToMap() (map[string]interface{}, error)
- func (o *Update) UnmarshalJSON(data []byte) (err error)
- type UpdatePolicy
- func (o *UpdatePolicy) GetDefault() bool
- func (o *UpdatePolicy) GetDefaultOk() (*bool, bool)
- func (o *UpdatePolicy) GetDescription() string
- func (o *UpdatePolicy) GetDescriptionOk() (*string, bool)
- func (o *UpdatePolicy) GetEnabled() bool
- func (o *UpdatePolicy) GetEnabledOk() (*bool, bool)
- func (o *UpdatePolicy) GetId() string
- func (o *UpdatePolicy) GetIdOk() (*string, bool)
- func (o *UpdatePolicy) GetMaintenanceWindow() int32
- func (o *UpdatePolicy) GetMaintenanceWindowOk() (*int32, bool)
- func (o *UpdatePolicy) GetName() string
- func (o *UpdatePolicy) GetNameOk() (*string, bool)
- func (o *UpdatePolicy) GetRrule() string
- func (o *UpdatePolicy) GetRruleOk() (*string, bool)
- func (o *UpdatePolicy) HasDefault() bool
- func (o *UpdatePolicy) HasDescription() bool
- func (o *UpdatePolicy) HasEnabled() bool
- func (o *UpdatePolicy) HasId() bool
- func (o *UpdatePolicy) HasMaintenanceWindow() bool
- func (o *UpdatePolicy) HasName() bool
- func (o *UpdatePolicy) HasRrule() bool
- func (o UpdatePolicy) MarshalJSON() ([]byte, error)
- func (o *UpdatePolicy) SetDefault(v bool)
- func (o *UpdatePolicy) SetDescription(v string)
- func (o *UpdatePolicy) SetEnabled(v bool)
- func (o *UpdatePolicy) SetId(v string)
- func (o *UpdatePolicy) SetMaintenanceWindow(v int32)
- func (o *UpdatePolicy) SetName(v string)
- func (o *UpdatePolicy) SetRrule(v string)
- func (o UpdatePolicy) ToMap() (map[string]interface{}, error)
- type UpdateSchedule
- func (o *UpdateSchedule) GetEnabled() bool
- func (o *UpdateSchedule) GetEnabledOk() (*bool, bool)
- func (o *UpdateSchedule) GetId() int32
- func (o *UpdateSchedule) GetIdOk() (*int32, bool)
- func (o *UpdateSchedule) GetMaintenanceWindow() int32
- func (o *UpdateSchedule) GetMaintenanceWindowOk() (*int32, bool)
- func (o *UpdateSchedule) GetName() string
- func (o *UpdateSchedule) GetNameOk() (*string, bool)
- func (o *UpdateSchedule) GetRrule() string
- func (o *UpdateSchedule) GetRruleOk() (*string, bool)
- func (o UpdateSchedule) MarshalJSON() ([]byte, error)
- func (o *UpdateSchedule) SetEnabled(v bool)
- func (o *UpdateSchedule) SetId(v int32)
- func (o *UpdateSchedule) SetMaintenanceWindow(v int32)
- func (o *UpdateSchedule) SetName(v string)
- func (o *UpdateSchedule) SetRrule(v string)
- func (o UpdateSchedule) ToMap() (map[string]interface{}, error)
- func (o *UpdateSchedule) UnmarshalJSON(data []byte) (err error)
- type UpdateScheduleCreateRequest
- func (o *UpdateScheduleCreateRequest) GetEnabled() bool
- func (o *UpdateScheduleCreateRequest) GetEnabledOk() (*bool, bool)
- func (o *UpdateScheduleCreateRequest) GetMaintenanceWindow() int32
- func (o *UpdateScheduleCreateRequest) GetMaintenanceWindowOk() (*int32, bool)
- func (o *UpdateScheduleCreateRequest) GetName() string
- func (o *UpdateScheduleCreateRequest) GetNameOk() (*string, bool)
- func (o *UpdateScheduleCreateRequest) GetRrule() string
- func (o *UpdateScheduleCreateRequest) GetRruleOk() (*string, bool)
- func (o UpdateScheduleCreateRequest) MarshalJSON() ([]byte, error)
- func (o *UpdateScheduleCreateRequest) SetEnabled(v bool)
- func (o *UpdateScheduleCreateRequest) SetMaintenanceWindow(v int32)
- func (o *UpdateScheduleCreateRequest) SetName(v string)
- func (o *UpdateScheduleCreateRequest) SetRrule(v string)
- func (o UpdateScheduleCreateRequest) ToMap() (map[string]interface{}, error)
- func (o *UpdateScheduleCreateRequest) UnmarshalJSON(data []byte) (err error)
- type UpdateUpdateSchedulePayload
- func (o *UpdateUpdateSchedulePayload) GetEnabled() bool
- func (o *UpdateUpdateSchedulePayload) GetEnabledOk() (*bool, bool)
- func (o *UpdateUpdateSchedulePayload) GetMaintenanceWindow() int32
- func (o *UpdateUpdateSchedulePayload) GetMaintenanceWindowOk() (*int32, bool)
- func (o *UpdateUpdateSchedulePayload) GetName() string
- func (o *UpdateUpdateSchedulePayload) GetNameOk() (*string, bool)
- func (o *UpdateUpdateSchedulePayload) GetRrule() string
- func (o *UpdateUpdateSchedulePayload) GetRruleOk() (*string, bool)
- func (o UpdateUpdateSchedulePayload) MarshalJSON() ([]byte, error)
- func (o *UpdateUpdateSchedulePayload) SetEnabled(v bool)
- func (o *UpdateUpdateSchedulePayload) SetMaintenanceWindow(v int32)
- func (o *UpdateUpdateSchedulePayload) SetName(v string)
- func (o *UpdateUpdateSchedulePayload) SetRrule(v string)
- func (o UpdateUpdateSchedulePayload) ToMap() (map[string]interface{}, error)
- func (o *UpdateUpdateSchedulePayload) UnmarshalJSON(data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NewConfiguration ¶
func NewConfiguration() *config.Configuration
NewConfiguration returns a new Configuration object
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct {
DefaultAPI DefaultAPI
// contains filtered or unexported fields
}
APIClient manages communication with the STACKIT 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 ¶
func (r ApiCreateUpdateScheduleRequest) Execute() (*UpdateSchedule, error)
type ApiDeleteUpdateScheduleRequest ¶
type ApiDeleteUpdateScheduleRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteUpdateScheduleRequest) Execute ¶
func (r ApiDeleteUpdateScheduleRequest) Execute() error
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 ¶
func (r ApiDisableServiceResourceRequest) Execute() error
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 ¶
func (r ApiEnableServiceResourceRequest) Execute() error
type ApiGetServiceResourceRequest ¶
type ApiGetServiceResourceRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetServiceResourceRequest) Execute ¶
func (r ApiGetServiceResourceRequest) Execute() (*GetUpdateServiceResponse, error)
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 ¶
func (r ApiGetUpdateScheduleRequest) Execute() (*UpdateSchedule, error)
type ApiListUpdatePoliciesRequest ¶
type ApiListUpdatePoliciesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListUpdatePoliciesRequest) Execute ¶
func (r ApiListUpdatePoliciesRequest) Execute() (*GetUpdatePoliciesResponse, error)
type ApiListUpdateSchedulesRequest ¶
type ApiListUpdateSchedulesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListUpdateSchedulesRequest) Execute ¶
func (r ApiListUpdateSchedulesRequest) Execute() (*GetUpdateSchedulesResponse, error)
type ApiListUpdatesRequest ¶
type ApiListUpdatesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListUpdatesRequest) Execute ¶
func (r ApiListUpdatesRequest) Execute() (*GetUpdatesListResponse, error)
type ApiUpdateUpdateScheduleRequest ¶
type ApiUpdateUpdateScheduleRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateUpdateScheduleRequest) Execute ¶
func (r ApiUpdateUpdateScheduleRequest) Execute() (*UpdateSchedule, error)
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 ¶
func (a *DefaultAPIService) GetServiceResourceExecute(r ApiGetServiceResourceRequest) (*GetUpdateServiceResponse, error)
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 ¶
func (a *DefaultAPIService) ListUpdatePoliciesExecute(r ApiListUpdatePoliciesRequest) (*GetUpdatePoliciesResponse, error)
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 ¶
func (a *DefaultAPIService) ListUpdateSchedulesExecute(r ApiListUpdateSchedulesRequest) (*GetUpdateSchedulesResponse, error)
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 ¶
func (a *DefaultAPIService) ListUpdatesExecute(r ApiListUpdatesRequest) (*GetUpdatesListResponse, error)
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 ¶
func (a DefaultAPIServiceMock) GetServiceResourceExecute(r ApiGetServiceResourceRequest) (*GetUpdateServiceResponse, error)
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 ¶
func (a DefaultAPIServiceMock) ListUpdatePoliciesExecute(r ApiListUpdatePoliciesRequest) (*GetUpdatePoliciesResponse, error)
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 ¶
func (a DefaultAPIServiceMock) ListUpdateSchedulesExecute(r ApiListUpdateSchedulesRequest) (*GetUpdateSchedulesResponse, error)
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 ¶
func (a DefaultAPIServiceMock) ListUpdatesExecute(r ApiListUpdatesRequest) (*GetUpdatesListResponse, error)
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 ¶
func (o *GetUpdateSchedulesResponse) GetItems() []UpdateSchedule
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 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 (v NullableCreateUpdatePayload) Get() *CreateUpdatePayload
func (NullableCreateUpdatePayload) IsSet ¶
func (v NullableCreateUpdatePayload) IsSet() bool
func (NullableCreateUpdatePayload) MarshalJSON ¶
func (v NullableCreateUpdatePayload) MarshalJSON() ([]byte, error)
func (*NullableCreateUpdatePayload) Set ¶
func (v *NullableCreateUpdatePayload) Set(val *CreateUpdatePayload)
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 NewNullableCreateUpdateSchedulePayload ¶
func NewNullableCreateUpdateSchedulePayload(val *CreateUpdateSchedulePayload) *NullableCreateUpdateSchedulePayload
func (NullableCreateUpdateSchedulePayload) Get ¶
func (v NullableCreateUpdateSchedulePayload) Get() *CreateUpdateSchedulePayload
func (NullableCreateUpdateSchedulePayload) IsSet ¶
func (v NullableCreateUpdateSchedulePayload) IsSet() bool
func (NullableCreateUpdateSchedulePayload) MarshalJSON ¶
func (v NullableCreateUpdateSchedulePayload) MarshalJSON() ([]byte, error)
func (*NullableCreateUpdateSchedulePayload) Set ¶
func (v *NullableCreateUpdateSchedulePayload) Set(val *CreateUpdateSchedulePayload)
func (*NullableCreateUpdateSchedulePayload) UnmarshalJSON ¶
func (v *NullableCreateUpdateSchedulePayload) UnmarshalJSON(src []byte) error
func (*NullableCreateUpdateSchedulePayload) Unset ¶
func (v *NullableCreateUpdateSchedulePayload) Unset()
type NullableEnableServicePayload ¶
type NullableEnableServicePayload struct {
// contains filtered or unexported fields
}
func NewNullableEnableServicePayload ¶
func NewNullableEnableServicePayload(val *EnableServicePayload) *NullableEnableServicePayload
func (NullableEnableServicePayload) Get ¶
func (v NullableEnableServicePayload) Get() *EnableServicePayload
func (NullableEnableServicePayload) IsSet ¶
func (v NullableEnableServicePayload) IsSet() bool
func (NullableEnableServicePayload) MarshalJSON ¶
func (v NullableEnableServicePayload) MarshalJSON() ([]byte, error)
func (*NullableEnableServicePayload) Set ¶
func (v *NullableEnableServicePayload) Set(val *EnableServicePayload)
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 NewNullableEnableServiceResourcePayload ¶
func NewNullableEnableServiceResourcePayload(val *EnableServiceResourcePayload) *NullableEnableServiceResourcePayload
func (NullableEnableServiceResourcePayload) Get ¶
func (v NullableEnableServiceResourcePayload) Get() *EnableServiceResourcePayload
func (NullableEnableServiceResourcePayload) IsSet ¶
func (v NullableEnableServiceResourcePayload) IsSet() bool
func (NullableEnableServiceResourcePayload) MarshalJSON ¶
func (v NullableEnableServiceResourcePayload) MarshalJSON() ([]byte, error)
func (*NullableEnableServiceResourcePayload) Set ¶
func (v *NullableEnableServiceResourcePayload) Set(val *EnableServiceResourcePayload)
func (*NullableEnableServiceResourcePayload) UnmarshalJSON ¶
func (v *NullableEnableServiceResourcePayload) UnmarshalJSON(src []byte) error
func (*NullableEnableServiceResourcePayload) Unset ¶
func (v *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 NewNullableGetUpdatePoliciesResponse ¶
func NewNullableGetUpdatePoliciesResponse(val *GetUpdatePoliciesResponse) *NullableGetUpdatePoliciesResponse
func (NullableGetUpdatePoliciesResponse) Get ¶
func (v NullableGetUpdatePoliciesResponse) Get() *GetUpdatePoliciesResponse
func (NullableGetUpdatePoliciesResponse) IsSet ¶
func (v NullableGetUpdatePoliciesResponse) IsSet() bool
func (NullableGetUpdatePoliciesResponse) MarshalJSON ¶
func (v NullableGetUpdatePoliciesResponse) MarshalJSON() ([]byte, error)
func (*NullableGetUpdatePoliciesResponse) Set ¶
func (v *NullableGetUpdatePoliciesResponse) Set(val *GetUpdatePoliciesResponse)
func (*NullableGetUpdatePoliciesResponse) UnmarshalJSON ¶
func (v *NullableGetUpdatePoliciesResponse) UnmarshalJSON(src []byte) error
func (*NullableGetUpdatePoliciesResponse) Unset ¶
func (v *NullableGetUpdatePoliciesResponse) Unset()
type NullableGetUpdateSchedulesResponse ¶
type NullableGetUpdateSchedulesResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetUpdateSchedulesResponse ¶
func NewNullableGetUpdateSchedulesResponse(val *GetUpdateSchedulesResponse) *NullableGetUpdateSchedulesResponse
func (NullableGetUpdateSchedulesResponse) Get ¶
func (v NullableGetUpdateSchedulesResponse) Get() *GetUpdateSchedulesResponse
func (NullableGetUpdateSchedulesResponse) IsSet ¶
func (v NullableGetUpdateSchedulesResponse) IsSet() bool
func (NullableGetUpdateSchedulesResponse) MarshalJSON ¶
func (v NullableGetUpdateSchedulesResponse) MarshalJSON() ([]byte, error)
func (*NullableGetUpdateSchedulesResponse) Set ¶
func (v *NullableGetUpdateSchedulesResponse) Set(val *GetUpdateSchedulesResponse)
func (*NullableGetUpdateSchedulesResponse) UnmarshalJSON ¶
func (v *NullableGetUpdateSchedulesResponse) UnmarshalJSON(src []byte) error
func (*NullableGetUpdateSchedulesResponse) Unset ¶
func (v *NullableGetUpdateSchedulesResponse) Unset()
type NullableGetUpdateServiceResponse ¶
type NullableGetUpdateServiceResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetUpdateServiceResponse ¶
func NewNullableGetUpdateServiceResponse(val *GetUpdateServiceResponse) *NullableGetUpdateServiceResponse
func (NullableGetUpdateServiceResponse) Get ¶
func (v NullableGetUpdateServiceResponse) Get() *GetUpdateServiceResponse
func (NullableGetUpdateServiceResponse) IsSet ¶
func (v NullableGetUpdateServiceResponse) IsSet() bool
func (NullableGetUpdateServiceResponse) MarshalJSON ¶
func (v NullableGetUpdateServiceResponse) MarshalJSON() ([]byte, error)
func (*NullableGetUpdateServiceResponse) Set ¶
func (v *NullableGetUpdateServiceResponse) Set(val *GetUpdateServiceResponse)
func (*NullableGetUpdateServiceResponse) UnmarshalJSON ¶
func (v *NullableGetUpdateServiceResponse) UnmarshalJSON(src []byte) error
func (*NullableGetUpdateServiceResponse) Unset ¶
func (v *NullableGetUpdateServiceResponse) Unset()
type NullableGetUpdatesListResponse ¶
type NullableGetUpdatesListResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetUpdatesListResponse ¶
func NewNullableGetUpdatesListResponse(val *GetUpdatesListResponse) *NullableGetUpdatesListResponse
func (NullableGetUpdatesListResponse) Get ¶
func (v NullableGetUpdatesListResponse) Get() *GetUpdatesListResponse
func (NullableGetUpdatesListResponse) IsSet ¶
func (v NullableGetUpdatesListResponse) IsSet() bool
func (NullableGetUpdatesListResponse) MarshalJSON ¶
func (v NullableGetUpdatesListResponse) MarshalJSON() ([]byte, error)
func (*NullableGetUpdatesListResponse) Set ¶
func (v *NullableGetUpdatesListResponse) Set(val *GetUpdatesListResponse)
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 (v NullableUpdatePolicy) Get() *UpdatePolicy
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 (v NullableUpdateSchedule) Get() *UpdateSchedule
func (NullableUpdateSchedule) IsSet ¶
func (v NullableUpdateSchedule) IsSet() bool
func (NullableUpdateSchedule) MarshalJSON ¶
func (v NullableUpdateSchedule) MarshalJSON() ([]byte, error)
func (*NullableUpdateSchedule) Set ¶
func (v *NullableUpdateSchedule) Set(val *UpdateSchedule)
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 NewNullableUpdateScheduleCreateRequest ¶
func NewNullableUpdateScheduleCreateRequest(val *UpdateScheduleCreateRequest) *NullableUpdateScheduleCreateRequest
func (NullableUpdateScheduleCreateRequest) Get ¶
func (v NullableUpdateScheduleCreateRequest) Get() *UpdateScheduleCreateRequest
func (NullableUpdateScheduleCreateRequest) IsSet ¶
func (v NullableUpdateScheduleCreateRequest) IsSet() bool
func (NullableUpdateScheduleCreateRequest) MarshalJSON ¶
func (v NullableUpdateScheduleCreateRequest) MarshalJSON() ([]byte, error)
func (*NullableUpdateScheduleCreateRequest) Set ¶
func (v *NullableUpdateScheduleCreateRequest) Set(val *UpdateScheduleCreateRequest)
func (*NullableUpdateScheduleCreateRequest) UnmarshalJSON ¶
func (v *NullableUpdateScheduleCreateRequest) UnmarshalJSON(src []byte) error
func (*NullableUpdateScheduleCreateRequest) Unset ¶
func (v *NullableUpdateScheduleCreateRequest) Unset()
type NullableUpdateUpdateSchedulePayload ¶
type NullableUpdateUpdateSchedulePayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateUpdateSchedulePayload ¶
func NewNullableUpdateUpdateSchedulePayload(val *UpdateUpdateSchedulePayload) *NullableUpdateUpdateSchedulePayload
func (NullableUpdateUpdateSchedulePayload) Get ¶
func (v NullableUpdateUpdateSchedulePayload) Get() *UpdateUpdateSchedulePayload
func (NullableUpdateUpdateSchedulePayload) IsSet ¶
func (v NullableUpdateUpdateSchedulePayload) IsSet() bool
func (NullableUpdateUpdateSchedulePayload) MarshalJSON ¶
func (v NullableUpdateUpdateSchedulePayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateUpdateSchedulePayload) Set ¶
func (v *NullableUpdateUpdateSchedulePayload) Set(val *UpdateUpdateSchedulePayload)
func (*NullableUpdateUpdateSchedulePayload) UnmarshalJSON ¶
func (v *NullableUpdateUpdateSchedulePayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateUpdateSchedulePayload) Unset ¶
func (v *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 ¶
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 ¶
GetEndDate returns the EndDate field value if set, zero value otherwise.
func (*Update) GetEndDateOk ¶
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 ¶
GetFailReason returns the FailReason field value if set, zero value otherwise.
func (*Update) GetFailReasonOk ¶
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 ¶
GetFailedUpdates returns the FailedUpdates field value if set, zero value otherwise.
func (*Update) GetFailedUpdatesOk ¶
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) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Update) GetInstalledUpdates ¶
GetInstalledUpdates returns the InstalledUpdates field value if set, zero value otherwise.
func (*Update) GetInstalledUpdatesOk ¶
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 ¶
GetStartDate returns the StartDate field value
func (*Update) GetStartDateOk ¶
GetStartDateOk returns a tuple with the StartDate field value and a boolean to check if the value has been set.
func (*Update) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*Update) HasEndDate ¶
HasEndDate returns a boolean if a field has been set.
func (*Update) HasFailReason ¶
HasFailReason returns a boolean if a field has been set.
func (*Update) HasFailedUpdates ¶
HasFailedUpdates returns a boolean if a field has been set.
func (*Update) HasInstalledUpdates ¶
HasInstalledUpdates returns a boolean if a field has been set.
func (Update) MarshalJSON ¶
func (*Update) SetEndDate ¶
SetEndDate gets a reference to the given string and assigns it to the EndDate field.
func (*Update) SetFailReason ¶
SetFailReason gets a reference to the given string and assigns it to the FailReason field.
func (*Update) SetFailedUpdates ¶
SetFailedUpdates gets a reference to the given int32 and assigns it to the FailedUpdates field.
func (*Update) SetInstalledUpdates ¶
SetInstalledUpdates gets a reference to the given int32 and assigns it to the InstalledUpdates field.
func (*Update) UnmarshalJSON ¶
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) 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)
Source Files
¶
- api_default.go
- api_default_mock.go
- client.go
- configuration.go
- model_create_update_payload.go
- model_create_update_schedule_payload.go
- model_enable_service_payload.go
- model_enable_service_resource_payload.go
- model_get_update_policies_response.go
- model_get_update_schedules_response.go
- model_get_update_service_response.go
- model_get_updates_list_response.go
- model_update.go
- model_update_policy.go
- model_update_schedule.go
- model_update_schedule_create_request.go
- model_update_update_schedule_payload.go
- response.go
- utils.go