backup

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2025 License: MIT Imports: 19 Imported by: 0

README

Go API client for backup

OSSCP backup Project

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 0.0.1.dev530
  • Package version: 1.0.0
  • Generator version: 7.10.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import backup "github.com/GIT_USER_ID/GIT_REPO_ID"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value backup.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), backup.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value backup.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), backup.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using backup.ContextOperationServerIndices and backup.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), backup.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), backup.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
BackupV1AgentBackupsRestoreAPIAPI ListAgentBackupRestoreTargetServers Get /v1/backups/{backup_id}/agent-backup-restore-targets List Agent Backup Restore Target Servers
BackupV1AgentBackupsRestoreAPIAPI RestoreAgentBackup Post /v1/backups/{backup_id}/restore-agent-backup Restore Agent Backup
BackupV1BackupAgentsApiAPI CheckConnectionState Get /v1/backup-agents/{backup_agent_id}/check-connection-state Check Backup Master Connection State
BackupV1BackupAgentsApiAPI CreateBackupAgent Post /v1/backup-agents Create Backup Agent
BackupV1BackupAgentsApiAPI DeleteBackupAgent Delete /v1/backup-agents/{backup_agent_id} Delete Backup Agent
BackupV1BackupAgentsApiAPI ListBackupAgentTargets Get /v1/backup-agents/targets List Targets of Backup Agent
BackupV1BackupAgentsApiAPI ListBackupAgents Get /v1/backup-agents List Backup Agents
BackupV1BackupAgentsApiAPI ShowBackupAgent Get /v1/backup-agents/{backup_agent_id} Show Backup Agent
BackupV1BackupAgentsApiAPI ShowInstallFilePath Get /v1/backup-agents/agent-install-file-path Show Backup Agent Install File Path
BackupV1BackupRestoreApiAPI CheckBackupRestoreServerNameDuplicate Get /v1/backups/restore/check-name-duplication Check Backup Restore Server Name Duplicate
BackupV1BackupRestoreApiAPI DeleteBackupRestoreTarget Delete /v1/backups/{backup_id}/restore-targets Delete Backup Restore Target
BackupV1BackupRestoreApiAPI ListBackupRestoreHistories Get /v1/backups/{backup_id}/restore-histories List Backup Restore Histories
BackupV1BackupRestoreApiAPI ListBackupRestoreSubnets Get /v1/backups/{backup_id}/restore/restorable-subnets List Backup Restore Subnets
BackupV1BackupRestoreApiAPI ListBackupRestoreTarget Get /v1/backups/{backup_id}/restore-targets List Backup Restore Targets
BackupV1BackupRestoreApiAPI RestoreBackup Post /v1/backups/{backup_id}/restore Restore Backup
BackupV1BackupSchedulesApiAPI ListBackupHistories Get /v1/backups/{backup_id}/backup-histories List Backup Histories
BackupV1BackupSchedulesApiAPI ListBackupSchedules Get /v1/backups/{backup_id}/schedules List Backup Schedules
BackupV1BackupSchedulesApiAPI SetBackupSchedules Put /v1/backups/{backup_id}/schedules Set Backup Schedule
BackupV1BackupsApiAPI CheckBackupNameDuplicate Get /v1/backups/check-name-duplication Check Backup Name Duplicate
BackupV1BackupsApiAPI CreateBackup Post /v1/backups Create Backup
BackupV1BackupsApiAPI DeleteBackup Delete /v1/backups/{backup_id} Delete Backup
BackupV1BackupsApiAPI GetBackupTargetList Get /v1/backups/backup-targets List Backup Targets
BackupV1BackupsApiAPI ListBackupRegionRelationship Get /v1/backups/region-relationship List Backup Region Relationship
BackupV1BackupsApiAPI ListBackups Get /v1/backups List Backups
BackupV1BackupsApiAPI ManualBackup Post /v1/backups/{backup_id}/manual-backup Manual Backup
BackupV1BackupsApiAPI ShowBackup Get /v1/backups/{backup_id} Show Backup
BackupV1BackupsApiAPI UpdateRetentionPeriod Put /v1/backups/{backup_id}/retention-period Update Retention Period
BackupV1BackupsFilesystemApiAPI CheckFilesystemDuplication Get /v1/backups/check-filesystem-duplication Check Filesystem Path Duplication
BackupV1BackupsFilesystemApiAPI SetFilesystemPath Put /v1/backups/{backup_id}/filesystem-path Set Filesystem Path

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

X-Auth-Token
  • Type: API key
  • API key parameter name: X-Auth-Token
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: X-Auth-Token and passed in as the auth context for each request.

Example

auth := context.WithValue(
		context.Background(),
		backup.ContextAPIKeys,
		map[string]backup.APIKey{
			"X-Auth-Token": {Key: "API_KEY_STRING"},
		},
	)
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextSCP takes an Access Key and a Secret Key for signing SCP
	ContextSCP = contextKey("scpCredential")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)
View Source
var AllowedBackupJobStateEnumValues = []BackupJobState{
	"SUCCESS",
	"PARTIAL_SUCCESS",
	"FAILED",
	"INPROGRESS",
	"ALL",
}

All allowed values of BackupJobState enum

View Source
var AllowedBackupPolicyCategoryEnumValues = []BackupPolicyCategory{
	"AGENTLESS",
	"AGENT",
}

All allowed values of BackupPolicyCategory enum

View Source
var AllowedBackupPolicyTypeEnumValues = []BackupPolicyType{
	"VM_IMAGE",
	"FILESYSTEM",
}

All allowed values of BackupPolicyType enum

View Source
var AllowedBackupRestoreStateEnumValues = []BackupRestoreState{
	"COMPLETED",
	"FAILED",
	"INPROGRESS",
}

All allowed values of BackupRestoreState enum

View Source
var AllowedBackupRetentionPeriodEnumValues = []BackupRetentionPeriod{
	"WEEK_2",
	"MONTH_1",
	"MONTH_3",
	"MONTH_6",
	"YEAR_1",
}

All allowed values of BackupRetentionPeriod enum

View Source
var AllowedBackupScheduleDayEnumValues = []BackupScheduleDay{
	"MON",
	"TUE",
	"WED",
	"THU",
	"FRI",
	"SAT",
	"SUN",
}

All allowed values of BackupScheduleDay enum

View Source
var AllowedBackupScheduleFrequencyEnumValues = []BackupScheduleFrequency{
	"MONTHLY",
	"WEEKLY",
	"DAILY",
}

All allowed values of BackupScheduleFrequency enum

View Source
var AllowedBackupScheduleTypeEnumValues = []BackupScheduleType{
	"FULL",
	"INCREMENTAL",
}

All allowed values of BackupScheduleType enum

View Source
var AllowedBackupScheduleWeekEnumValues = []BackupScheduleWeek{
	"WEEK_1",
	"WEEK_2",
	"WEEK_3",
	"WEEK_4",
	"WEEK_LAST",
}

All allowed values of BackupScheduleWeek enum

View Source
var AllowedServerCategoryEnumValues = []ServerCategory{
	"VIRTUAL_SERVER",
	"GPU_SERVER",
	"BAREMETAL_SERVER",
}

All allowed values of ServerCategory enum

Functions

func CacheExpires

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

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

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type APIClient

type APIClient struct {
	BackupV1AgentBackupsRestoreAPIAPI *BackupV1AgentBackupsRestoreAPIAPIService

	BackupV1BackupAgentsApiAPI *BackupV1BackupAgentsApiAPIService

	BackupV1BackupRestoreApiAPI *BackupV1BackupRestoreApiAPIService

	BackupV1BackupSchedulesApiAPI *BackupV1BackupSchedulesApiAPIService

	BackupV1BackupsApiAPI *BackupV1BackupsApiAPIService

	BackupV1BackupsFilesystemApiAPI *BackupV1BackupsFilesystemApiAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the OSSCP backup Project API v0.0.1.dev530 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *scpsdk.Configuration) *APIClient

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() *scpsdk.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 APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

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 AgentBackupRestoreRequest

type AgentBackupRestoreRequest struct {
	// List of filesystem backup path
	FilesystemPaths []RestoreFilesystemPath `json:"filesystem_paths"`
	Overwrite       NullableBool            `json:"overwrite,omitempty"`
	// Restored server ID
	RestoreServerUuid string `json:"restore_server_uuid"`
	// Restore target ID
	RestoreTargetId string `json:"restore_target_id"`
}

AgentBackupRestoreRequest struct for AgentBackupRestoreRequest

func NewAgentBackupRestoreRequest

func NewAgentBackupRestoreRequest(filesystemPaths []RestoreFilesystemPath, restoreServerUuid string, restoreTargetId string) *AgentBackupRestoreRequest

NewAgentBackupRestoreRequest instantiates a new AgentBackupRestoreRequest 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 NewAgentBackupRestoreRequestWithDefaults

func NewAgentBackupRestoreRequestWithDefaults() *AgentBackupRestoreRequest

NewAgentBackupRestoreRequestWithDefaults instantiates a new AgentBackupRestoreRequest 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 (*AgentBackupRestoreRequest) GetFilesystemPaths

func (o *AgentBackupRestoreRequest) GetFilesystemPaths() []RestoreFilesystemPath

GetFilesystemPaths returns the FilesystemPaths field value

func (*AgentBackupRestoreRequest) GetFilesystemPathsOk

func (o *AgentBackupRestoreRequest) GetFilesystemPathsOk() ([]RestoreFilesystemPath, bool)

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

func (*AgentBackupRestoreRequest) GetOverwrite

func (o *AgentBackupRestoreRequest) GetOverwrite() bool

GetOverwrite returns the Overwrite field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AgentBackupRestoreRequest) GetOverwriteOk

func (o *AgentBackupRestoreRequest) GetOverwriteOk() (*bool, bool)

GetOverwriteOk returns a tuple with the Overwrite field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AgentBackupRestoreRequest) GetRestoreServerUuid

func (o *AgentBackupRestoreRequest) GetRestoreServerUuid() string

GetRestoreServerUuid returns the RestoreServerUuid field value

func (*AgentBackupRestoreRequest) GetRestoreServerUuidOk

func (o *AgentBackupRestoreRequest) GetRestoreServerUuidOk() (*string, bool)

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

func (*AgentBackupRestoreRequest) GetRestoreTargetId

func (o *AgentBackupRestoreRequest) GetRestoreTargetId() string

GetRestoreTargetId returns the RestoreTargetId field value

func (*AgentBackupRestoreRequest) GetRestoreTargetIdOk

func (o *AgentBackupRestoreRequest) GetRestoreTargetIdOk() (*string, bool)

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

func (*AgentBackupRestoreRequest) HasOverwrite

func (o *AgentBackupRestoreRequest) HasOverwrite() bool

HasOverwrite returns a boolean if a field has been set.

func (AgentBackupRestoreRequest) MarshalJSON

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

func (*AgentBackupRestoreRequest) SetFilesystemPaths

func (o *AgentBackupRestoreRequest) SetFilesystemPaths(v []RestoreFilesystemPath)

SetFilesystemPaths sets field value

func (*AgentBackupRestoreRequest) SetOverwrite

func (o *AgentBackupRestoreRequest) SetOverwrite(v bool)

SetOverwrite gets a reference to the given NullableBool and assigns it to the Overwrite field.

func (*AgentBackupRestoreRequest) SetOverwriteNil

func (o *AgentBackupRestoreRequest) SetOverwriteNil()

SetOverwriteNil sets the value for Overwrite to be an explicit nil

func (*AgentBackupRestoreRequest) SetRestoreServerUuid

func (o *AgentBackupRestoreRequest) SetRestoreServerUuid(v string)

SetRestoreServerUuid sets field value

func (*AgentBackupRestoreRequest) SetRestoreTargetId

func (o *AgentBackupRestoreRequest) SetRestoreTargetId(v string)

SetRestoreTargetId sets field value

func (AgentBackupRestoreRequest) ToMap

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

func (*AgentBackupRestoreRequest) UnmarshalJSON

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

func (*AgentBackupRestoreRequest) UnsetOverwrite

func (o *AgentBackupRestoreRequest) UnsetOverwrite()

UnsetOverwrite ensures that no value is present for Overwrite, not even an explicit nil

type AgentBackupRestoreTargetServerListResponse

type AgentBackupRestoreTargetServerListResponse struct {
	Contents []AgentBackupRestoreTargetServerResponse `json:"contents,omitempty"`
	// Count
	Count int32 `json:"count"`
}

AgentBackupRestoreTargetServerListResponse struct for AgentBackupRestoreTargetServerListResponse

func NewAgentBackupRestoreTargetServerListResponse

func NewAgentBackupRestoreTargetServerListResponse(count int32) *AgentBackupRestoreTargetServerListResponse

NewAgentBackupRestoreTargetServerListResponse instantiates a new AgentBackupRestoreTargetServerListResponse 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 NewAgentBackupRestoreTargetServerListResponseWithDefaults

func NewAgentBackupRestoreTargetServerListResponseWithDefaults() *AgentBackupRestoreTargetServerListResponse

NewAgentBackupRestoreTargetServerListResponseWithDefaults instantiates a new AgentBackupRestoreTargetServerListResponse 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 (*AgentBackupRestoreTargetServerListResponse) GetContents

GetContents returns the Contents field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AgentBackupRestoreTargetServerListResponse) GetContentsOk

GetContentsOk returns a tuple with the Contents field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AgentBackupRestoreTargetServerListResponse) GetCount

GetCount returns the Count field value

func (*AgentBackupRestoreTargetServerListResponse) GetCountOk

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

func (*AgentBackupRestoreTargetServerListResponse) HasContents

HasContents returns a boolean if a field has been set.

func (AgentBackupRestoreTargetServerListResponse) MarshalJSON

func (*AgentBackupRestoreTargetServerListResponse) SetContents

SetContents gets a reference to the given []AgentBackupRestoreTargetServerResponse and assigns it to the Contents field.

func (*AgentBackupRestoreTargetServerListResponse) SetCount

SetCount sets field value

func (AgentBackupRestoreTargetServerListResponse) ToMap

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

func (*AgentBackupRestoreTargetServerListResponse) UnmarshalJSON

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

type AgentBackupRestoreTargetServerResponse

type AgentBackupRestoreTargetServerResponse struct {
	// Backup server name
	ServerName string `json:"server_name"`
	// Server's OS Type and Version
	ServerOsVersion string `json:"server_os_version"`
	// Backup server UUID
	ServerUuid string `json:"server_uuid"`
}

AgentBackupRestoreTargetServerResponse struct for AgentBackupRestoreTargetServerResponse

func NewAgentBackupRestoreTargetServerResponse

func NewAgentBackupRestoreTargetServerResponse(serverName string, serverOsVersion string, serverUuid string) *AgentBackupRestoreTargetServerResponse

NewAgentBackupRestoreTargetServerResponse instantiates a new AgentBackupRestoreTargetServerResponse 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 NewAgentBackupRestoreTargetServerResponseWithDefaults

func NewAgentBackupRestoreTargetServerResponseWithDefaults() *AgentBackupRestoreTargetServerResponse

NewAgentBackupRestoreTargetServerResponseWithDefaults instantiates a new AgentBackupRestoreTargetServerResponse 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 (*AgentBackupRestoreTargetServerResponse) GetServerName

GetServerName returns the ServerName field value

func (*AgentBackupRestoreTargetServerResponse) GetServerNameOk

func (o *AgentBackupRestoreTargetServerResponse) GetServerNameOk() (*string, bool)

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

func (*AgentBackupRestoreTargetServerResponse) GetServerOsVersion

func (o *AgentBackupRestoreTargetServerResponse) GetServerOsVersion() string

GetServerOsVersion returns the ServerOsVersion field value

func (*AgentBackupRestoreTargetServerResponse) GetServerOsVersionOk

func (o *AgentBackupRestoreTargetServerResponse) GetServerOsVersionOk() (*string, bool)

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

func (*AgentBackupRestoreTargetServerResponse) GetServerUuid

GetServerUuid returns the ServerUuid field value

func (*AgentBackupRestoreTargetServerResponse) GetServerUuidOk

func (o *AgentBackupRestoreTargetServerResponse) GetServerUuidOk() (*string, bool)

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

func (AgentBackupRestoreTargetServerResponse) MarshalJSON

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

func (*AgentBackupRestoreTargetServerResponse) SetServerName

func (o *AgentBackupRestoreTargetServerResponse) SetServerName(v string)

SetServerName sets field value

func (*AgentBackupRestoreTargetServerResponse) SetServerOsVersion

func (o *AgentBackupRestoreTargetServerResponse) SetServerOsVersion(v string)

SetServerOsVersion sets field value

func (*AgentBackupRestoreTargetServerResponse) SetServerUuid

func (o *AgentBackupRestoreTargetServerResponse) SetServerUuid(v string)

SetServerUuid sets field value

func (AgentBackupRestoreTargetServerResponse) ToMap

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

func (*AgentBackupRestoreTargetServerResponse) UnmarshalJSON

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

type AsyncResponse

type AsyncResponse struct {
	// Request ID
	RequestId string `json:"request_id"`
	// Resource
	Resource ResourceInfo `json:"resource"`
}

AsyncResponse struct for AsyncResponse

func NewAsyncResponse

func NewAsyncResponse(requestId string, resource ResourceInfo) *AsyncResponse

NewAsyncResponse instantiates a new AsyncResponse 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 NewAsyncResponseWithDefaults

func NewAsyncResponseWithDefaults() *AsyncResponse

NewAsyncResponseWithDefaults instantiates a new AsyncResponse 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 (*AsyncResponse) GetRequestId

func (o *AsyncResponse) GetRequestId() string

GetRequestId returns the RequestId field value

func (*AsyncResponse) GetRequestIdOk

func (o *AsyncResponse) GetRequestIdOk() (*string, bool)

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

func (*AsyncResponse) GetResource

func (o *AsyncResponse) GetResource() ResourceInfo

GetResource returns the Resource field value

func (*AsyncResponse) GetResourceOk

func (o *AsyncResponse) GetResourceOk() (*ResourceInfo, bool)

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

func (AsyncResponse) MarshalJSON

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

func (*AsyncResponse) SetRequestId

func (o *AsyncResponse) SetRequestId(v string)

SetRequestId sets field value

func (*AsyncResponse) SetResource

func (o *AsyncResponse) SetResource(v ResourceInfo)

SetResource sets field value

func (AsyncResponse) ToMap

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

func (*AsyncResponse) UnmarshalJSON

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

type BackupAgentCreateRequest

type BackupAgentCreateRequest struct {
	// Backup Agent target server UUID
	ServerUuid string `json:"server_uuid"`
	Tags       []Tag  `json:"tags,omitempty"`
}

BackupAgentCreateRequest struct for BackupAgentCreateRequest

func NewBackupAgentCreateRequest

func NewBackupAgentCreateRequest(serverUuid string) *BackupAgentCreateRequest

NewBackupAgentCreateRequest instantiates a new BackupAgentCreateRequest 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 NewBackupAgentCreateRequestWithDefaults

func NewBackupAgentCreateRequestWithDefaults() *BackupAgentCreateRequest

NewBackupAgentCreateRequestWithDefaults instantiates a new BackupAgentCreateRequest 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 (*BackupAgentCreateRequest) GetServerUuid

func (o *BackupAgentCreateRequest) GetServerUuid() string

GetServerUuid returns the ServerUuid field value

func (*BackupAgentCreateRequest) GetServerUuidOk

func (o *BackupAgentCreateRequest) GetServerUuidOk() (*string, bool)

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

func (*BackupAgentCreateRequest) GetTags

func (o *BackupAgentCreateRequest) GetTags() []Tag

GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BackupAgentCreateRequest) GetTagsOk

func (o *BackupAgentCreateRequest) GetTagsOk() ([]Tag, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupAgentCreateRequest) HasTags

func (o *BackupAgentCreateRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

func (BackupAgentCreateRequest) MarshalJSON

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

func (*BackupAgentCreateRequest) SetServerUuid

func (o *BackupAgentCreateRequest) SetServerUuid(v string)

SetServerUuid sets field value

func (*BackupAgentCreateRequest) SetTags

func (o *BackupAgentCreateRequest) SetTags(v []Tag)

SetTags gets a reference to the given []Tag and assigns it to the Tags field.

func (BackupAgentCreateRequest) ToMap

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

func (*BackupAgentCreateRequest) UnmarshalJSON

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

type BackupAgentDetailResponse

type BackupAgentDetailResponse struct {
	AccountId           NullableString `json:"account_id"`
	BackupMasterIp      NullableString `json:"backup_master_ip"`
	BackupMasterName    NullableString `json:"backup_master_name"`
	BackupPolicyCount   NullableInt32  `json:"backup_policy_count"`
	ConnectionCheckTime NullableTime   `json:"connection_check_time"`
	ConnectionState     NullableString `json:"connection_state"`
	// Created At
	CreatedAt time.Time `json:"created_at"`
	// Created By
	CreatedBy string         `json:"created_by"`
	Id        NullableString `json:"id"`
	// Modified At
	ModifiedAt time.Time `json:"modified_at"`
	// Modified By
	ModifiedBy          string         `json:"modified_by"`
	Name                NullableString `json:"name"`
	ServerBackupAgentIp NullableString `json:"server_backup_agent_ip"`
	ServerCategory      NullableString `json:"server_category"`
	ServerGatewayIp     NullableString `json:"server_gateway_ip"`
	ServerName          NullableString `json:"server_name"`
	ServerOsType        NullableString `json:"server_os_type"`
	ServerUuid          NullableString `json:"server_uuid"`
	State               NullableString `json:"state"`
}

BackupAgentDetailResponse struct for BackupAgentDetailResponse

func NewBackupAgentDetailResponse

func NewBackupAgentDetailResponse(accountId NullableString, backupMasterIp NullableString, backupMasterName NullableString, backupPolicyCount NullableInt32, connectionCheckTime NullableTime, connectionState NullableString, createdAt time.Time, createdBy string, id NullableString, modifiedAt time.Time, modifiedBy string, name NullableString, serverBackupAgentIp NullableString, serverCategory NullableString, serverGatewayIp NullableString, serverName NullableString, serverOsType NullableString, serverUuid NullableString, state NullableString) *BackupAgentDetailResponse

NewBackupAgentDetailResponse instantiates a new BackupAgentDetailResponse 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 NewBackupAgentDetailResponseWithDefaults

func NewBackupAgentDetailResponseWithDefaults() *BackupAgentDetailResponse

NewBackupAgentDetailResponseWithDefaults instantiates a new BackupAgentDetailResponse 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 (*BackupAgentDetailResponse) GetAccountId

func (o *BackupAgentDetailResponse) GetAccountId() string

GetAccountId returns the AccountId field value If the value is explicit nil, the zero value for string will be returned

func (*BackupAgentDetailResponse) GetAccountIdOk

func (o *BackupAgentDetailResponse) GetAccountIdOk() (*string, bool)

GetAccountIdOk returns a tuple with the AccountId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupAgentDetailResponse) GetBackupMasterIp

func (o *BackupAgentDetailResponse) GetBackupMasterIp() string

GetBackupMasterIp returns the BackupMasterIp field value If the value is explicit nil, the zero value for string will be returned

func (*BackupAgentDetailResponse) GetBackupMasterIpOk

func (o *BackupAgentDetailResponse) GetBackupMasterIpOk() (*string, bool)

GetBackupMasterIpOk returns a tuple with the BackupMasterIp field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupAgentDetailResponse) GetBackupMasterName

func (o *BackupAgentDetailResponse) GetBackupMasterName() string

GetBackupMasterName returns the BackupMasterName field value If the value is explicit nil, the zero value for string will be returned

func (*BackupAgentDetailResponse) GetBackupMasterNameOk

func (o *BackupAgentDetailResponse) GetBackupMasterNameOk() (*string, bool)

GetBackupMasterNameOk returns a tuple with the BackupMasterName field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupAgentDetailResponse) GetBackupPolicyCount

func (o *BackupAgentDetailResponse) GetBackupPolicyCount() int32

GetBackupPolicyCount returns the BackupPolicyCount field value If the value is explicit nil, the zero value for int32 will be returned

func (*BackupAgentDetailResponse) GetBackupPolicyCountOk

func (o *BackupAgentDetailResponse) GetBackupPolicyCountOk() (*int32, bool)

GetBackupPolicyCountOk returns a tuple with the BackupPolicyCount field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupAgentDetailResponse) GetConnectionCheckTime

func (o *BackupAgentDetailResponse) GetConnectionCheckTime() time.Time

GetConnectionCheckTime returns the ConnectionCheckTime field value If the value is explicit nil, the zero value for time.Time will be returned

func (*BackupAgentDetailResponse) GetConnectionCheckTimeOk

func (o *BackupAgentDetailResponse) GetConnectionCheckTimeOk() (*time.Time, bool)

GetConnectionCheckTimeOk returns a tuple with the ConnectionCheckTime field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupAgentDetailResponse) GetConnectionState

func (o *BackupAgentDetailResponse) GetConnectionState() string

GetConnectionState returns the ConnectionState field value If the value is explicit nil, the zero value for string will be returned

func (*BackupAgentDetailResponse) GetConnectionStateOk

func (o *BackupAgentDetailResponse) GetConnectionStateOk() (*string, bool)

GetConnectionStateOk returns a tuple with the ConnectionState field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupAgentDetailResponse) GetCreatedAt

func (o *BackupAgentDetailResponse) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*BackupAgentDetailResponse) GetCreatedAtOk

func (o *BackupAgentDetailResponse) GetCreatedAtOk() (*time.Time, bool)

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

func (*BackupAgentDetailResponse) GetCreatedBy

func (o *BackupAgentDetailResponse) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*BackupAgentDetailResponse) GetCreatedByOk

func (o *BackupAgentDetailResponse) GetCreatedByOk() (*string, bool)

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

func (*BackupAgentDetailResponse) GetId

func (o *BackupAgentDetailResponse) GetId() string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*BackupAgentDetailResponse) GetIdOk

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

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupAgentDetailResponse) GetModifiedAt

func (o *BackupAgentDetailResponse) GetModifiedAt() time.Time

GetModifiedAt returns the ModifiedAt field value

func (*BackupAgentDetailResponse) GetModifiedAtOk

func (o *BackupAgentDetailResponse) GetModifiedAtOk() (*time.Time, bool)

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

func (*BackupAgentDetailResponse) GetModifiedBy

func (o *BackupAgentDetailResponse) GetModifiedBy() string

GetModifiedBy returns the ModifiedBy field value

func (*BackupAgentDetailResponse) GetModifiedByOk

func (o *BackupAgentDetailResponse) GetModifiedByOk() (*string, bool)

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

func (*BackupAgentDetailResponse) GetName

func (o *BackupAgentDetailResponse) GetName() string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*BackupAgentDetailResponse) GetNameOk

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

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupAgentDetailResponse) GetServerBackupAgentIp

func (o *BackupAgentDetailResponse) GetServerBackupAgentIp() string

GetServerBackupAgentIp returns the ServerBackupAgentIp field value If the value is explicit nil, the zero value for string will be returned

func (*BackupAgentDetailResponse) GetServerBackupAgentIpOk

func (o *BackupAgentDetailResponse) GetServerBackupAgentIpOk() (*string, bool)

GetServerBackupAgentIpOk returns a tuple with the ServerBackupAgentIp field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupAgentDetailResponse) GetServerCategory

func (o *BackupAgentDetailResponse) GetServerCategory() string

GetServerCategory returns the ServerCategory field value If the value is explicit nil, the zero value for string will be returned

func (*BackupAgentDetailResponse) GetServerCategoryOk

func (o *BackupAgentDetailResponse) GetServerCategoryOk() (*string, bool)

GetServerCategoryOk returns a tuple with the ServerCategory field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupAgentDetailResponse) GetServerGatewayIp

func (o *BackupAgentDetailResponse) GetServerGatewayIp() string

GetServerGatewayIp returns the ServerGatewayIp field value If the value is explicit nil, the zero value for string will be returned

func (*BackupAgentDetailResponse) GetServerGatewayIpOk

func (o *BackupAgentDetailResponse) GetServerGatewayIpOk() (*string, bool)

GetServerGatewayIpOk returns a tuple with the ServerGatewayIp field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupAgentDetailResponse) GetServerName

func (o *BackupAgentDetailResponse) GetServerName() string

GetServerName returns the ServerName field value If the value is explicit nil, the zero value for string will be returned

func (*BackupAgentDetailResponse) GetServerNameOk

func (o *BackupAgentDetailResponse) GetServerNameOk() (*string, bool)

GetServerNameOk returns a tuple with the ServerName field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupAgentDetailResponse) GetServerOsType

func (o *BackupAgentDetailResponse) GetServerOsType() string

GetServerOsType returns the ServerOsType field value If the value is explicit nil, the zero value for string will be returned

func (*BackupAgentDetailResponse) GetServerOsTypeOk

func (o *BackupAgentDetailResponse) GetServerOsTypeOk() (*string, bool)

GetServerOsTypeOk returns a tuple with the ServerOsType field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupAgentDetailResponse) GetServerUuid

func (o *BackupAgentDetailResponse) GetServerUuid() string

GetServerUuid returns the ServerUuid field value If the value is explicit nil, the zero value for string will be returned

func (*BackupAgentDetailResponse) GetServerUuidOk

func (o *BackupAgentDetailResponse) GetServerUuidOk() (*string, bool)

GetServerUuidOk returns a tuple with the ServerUuid field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupAgentDetailResponse) GetState

func (o *BackupAgentDetailResponse) GetState() string

GetState returns the State field value If the value is explicit nil, the zero value for string will be returned

func (*BackupAgentDetailResponse) GetStateOk

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

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (BackupAgentDetailResponse) MarshalJSON

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

func (*BackupAgentDetailResponse) SetAccountId

func (o *BackupAgentDetailResponse) SetAccountId(v string)

SetAccountId sets field value

func (*BackupAgentDetailResponse) SetBackupMasterIp

func (o *BackupAgentDetailResponse) SetBackupMasterIp(v string)

SetBackupMasterIp sets field value

func (*BackupAgentDetailResponse) SetBackupMasterName

func (o *BackupAgentDetailResponse) SetBackupMasterName(v string)

SetBackupMasterName sets field value

func (*BackupAgentDetailResponse) SetBackupPolicyCount

func (o *BackupAgentDetailResponse) SetBackupPolicyCount(v int32)

SetBackupPolicyCount sets field value

func (*BackupAgentDetailResponse) SetConnectionCheckTime

func (o *BackupAgentDetailResponse) SetConnectionCheckTime(v time.Time)

SetConnectionCheckTime sets field value

func (*BackupAgentDetailResponse) SetConnectionState

func (o *BackupAgentDetailResponse) SetConnectionState(v string)

SetConnectionState sets field value

func (*BackupAgentDetailResponse) SetCreatedAt

func (o *BackupAgentDetailResponse) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*BackupAgentDetailResponse) SetCreatedBy

func (o *BackupAgentDetailResponse) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*BackupAgentDetailResponse) SetId

func (o *BackupAgentDetailResponse) SetId(v string)

SetId sets field value

func (*BackupAgentDetailResponse) SetModifiedAt

func (o *BackupAgentDetailResponse) SetModifiedAt(v time.Time)

SetModifiedAt sets field value

func (*BackupAgentDetailResponse) SetModifiedBy

func (o *BackupAgentDetailResponse) SetModifiedBy(v string)

SetModifiedBy sets field value

func (*BackupAgentDetailResponse) SetName

func (o *BackupAgentDetailResponse) SetName(v string)

SetName sets field value

func (*BackupAgentDetailResponse) SetServerBackupAgentIp

func (o *BackupAgentDetailResponse) SetServerBackupAgentIp(v string)

SetServerBackupAgentIp sets field value

func (*BackupAgentDetailResponse) SetServerCategory

func (o *BackupAgentDetailResponse) SetServerCategory(v string)

SetServerCategory sets field value

func (*BackupAgentDetailResponse) SetServerGatewayIp

func (o *BackupAgentDetailResponse) SetServerGatewayIp(v string)

SetServerGatewayIp sets field value

func (*BackupAgentDetailResponse) SetServerName

func (o *BackupAgentDetailResponse) SetServerName(v string)

SetServerName sets field value

func (*BackupAgentDetailResponse) SetServerOsType

func (o *BackupAgentDetailResponse) SetServerOsType(v string)

SetServerOsType sets field value

func (*BackupAgentDetailResponse) SetServerUuid

func (o *BackupAgentDetailResponse) SetServerUuid(v string)

SetServerUuid sets field value

func (*BackupAgentDetailResponse) SetState

func (o *BackupAgentDetailResponse) SetState(v string)

SetState sets field value

func (BackupAgentDetailResponse) ToMap

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

func (*BackupAgentDetailResponse) UnmarshalJSON

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

type BackupAgentListResponse

type BackupAgentListResponse struct {
	Contents []BackupAgentResponse `json:"contents"`
	Count    NullableInt32         `json:"count,omitempty"`
}

BackupAgentListResponse struct for BackupAgentListResponse

func NewBackupAgentListResponse

func NewBackupAgentListResponse(contents []BackupAgentResponse) *BackupAgentListResponse

NewBackupAgentListResponse instantiates a new BackupAgentListResponse 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 NewBackupAgentListResponseWithDefaults

func NewBackupAgentListResponseWithDefaults() *BackupAgentListResponse

NewBackupAgentListResponseWithDefaults instantiates a new BackupAgentListResponse 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 (*BackupAgentListResponse) GetContents

func (o *BackupAgentListResponse) GetContents() []BackupAgentResponse

GetContents returns the Contents field value If the value is explicit nil, the zero value for []BackupAgentResponse will be returned

func (*BackupAgentListResponse) GetContentsOk

func (o *BackupAgentListResponse) GetContentsOk() ([]BackupAgentResponse, bool)

GetContentsOk returns a tuple with the Contents field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupAgentListResponse) GetCount

func (o *BackupAgentListResponse) GetCount() int32

GetCount returns the Count field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BackupAgentListResponse) GetCountOk

func (o *BackupAgentListResponse) GetCountOk() (*int32, bool)

GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupAgentListResponse) HasCount

func (o *BackupAgentListResponse) HasCount() bool

HasCount returns a boolean if a field has been set.

func (BackupAgentListResponse) MarshalJSON

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

func (*BackupAgentListResponse) SetContents

func (o *BackupAgentListResponse) SetContents(v []BackupAgentResponse)

SetContents sets field value

func (*BackupAgentListResponse) SetCount

func (o *BackupAgentListResponse) SetCount(v int32)

SetCount gets a reference to the given NullableInt32 and assigns it to the Count field.

func (*BackupAgentListResponse) SetCountNil

func (o *BackupAgentListResponse) SetCountNil()

SetCountNil sets the value for Count to be an explicit nil

func (BackupAgentListResponse) ToMap

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

func (*BackupAgentListResponse) UnmarshalJSON

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

func (*BackupAgentListResponse) UnsetCount

func (o *BackupAgentListResponse) UnsetCount()

UnsetCount ensures that no value is present for Count, not even an explicit nil

type BackupAgentResponse

type BackupAgentResponse struct {
	AccountId         NullableString `json:"account_id"`
	BackupPolicyCount NullableInt32  `json:"backup_policy_count"`
	ConnectionState   NullableString `json:"connection_state"`
	// Created At
	CreatedAt time.Time `json:"created_at"`
	// Created By
	CreatedBy string         `json:"created_by"`
	Id        NullableString `json:"id"`
	// Modified At
	ModifiedAt time.Time `json:"modified_at"`
	// Modified By
	ModifiedBy          string         `json:"modified_by"`
	Name                NullableString `json:"name"`
	ServerBackupAgentIp NullableString `json:"server_backup_agent_ip"`
	ServerName          NullableString `json:"server_name"`
	State               NullableString `json:"state"`
}

BackupAgentResponse struct for BackupAgentResponse

func NewBackupAgentResponse

func NewBackupAgentResponse(accountId NullableString, backupPolicyCount NullableInt32, connectionState NullableString, createdAt time.Time, createdBy string, id NullableString, modifiedAt time.Time, modifiedBy string, name NullableString, serverBackupAgentIp NullableString, serverName NullableString, state NullableString) *BackupAgentResponse

NewBackupAgentResponse instantiates a new BackupAgentResponse 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 NewBackupAgentResponseWithDefaults

func NewBackupAgentResponseWithDefaults() *BackupAgentResponse

NewBackupAgentResponseWithDefaults instantiates a new BackupAgentResponse 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 (*BackupAgentResponse) GetAccountId

func (o *BackupAgentResponse) GetAccountId() string

GetAccountId returns the AccountId field value If the value is explicit nil, the zero value for string will be returned

func (*BackupAgentResponse) GetAccountIdOk

func (o *BackupAgentResponse) GetAccountIdOk() (*string, bool)

GetAccountIdOk returns a tuple with the AccountId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupAgentResponse) GetBackupPolicyCount

func (o *BackupAgentResponse) GetBackupPolicyCount() int32

GetBackupPolicyCount returns the BackupPolicyCount field value If the value is explicit nil, the zero value for int32 will be returned

func (*BackupAgentResponse) GetBackupPolicyCountOk

func (o *BackupAgentResponse) GetBackupPolicyCountOk() (*int32, bool)

GetBackupPolicyCountOk returns a tuple with the BackupPolicyCount field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupAgentResponse) GetConnectionState

func (o *BackupAgentResponse) GetConnectionState() string

GetConnectionState returns the ConnectionState field value If the value is explicit nil, the zero value for string will be returned

func (*BackupAgentResponse) GetConnectionStateOk

func (o *BackupAgentResponse) GetConnectionStateOk() (*string, bool)

GetConnectionStateOk returns a tuple with the ConnectionState field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupAgentResponse) GetCreatedAt

func (o *BackupAgentResponse) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*BackupAgentResponse) GetCreatedAtOk

func (o *BackupAgentResponse) GetCreatedAtOk() (*time.Time, bool)

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

func (*BackupAgentResponse) GetCreatedBy

func (o *BackupAgentResponse) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*BackupAgentResponse) GetCreatedByOk

func (o *BackupAgentResponse) GetCreatedByOk() (*string, bool)

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

func (*BackupAgentResponse) GetId

func (o *BackupAgentResponse) GetId() string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*BackupAgentResponse) GetIdOk

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

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupAgentResponse) GetModifiedAt

func (o *BackupAgentResponse) GetModifiedAt() time.Time

GetModifiedAt returns the ModifiedAt field value

func (*BackupAgentResponse) GetModifiedAtOk

func (o *BackupAgentResponse) GetModifiedAtOk() (*time.Time, bool)

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

func (*BackupAgentResponse) GetModifiedBy

func (o *BackupAgentResponse) GetModifiedBy() string

GetModifiedBy returns the ModifiedBy field value

func (*BackupAgentResponse) GetModifiedByOk

func (o *BackupAgentResponse) GetModifiedByOk() (*string, bool)

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

func (*BackupAgentResponse) GetName

func (o *BackupAgentResponse) GetName() string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*BackupAgentResponse) GetNameOk

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

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupAgentResponse) GetServerBackupAgentIp

func (o *BackupAgentResponse) GetServerBackupAgentIp() string

GetServerBackupAgentIp returns the ServerBackupAgentIp field value If the value is explicit nil, the zero value for string will be returned

func (*BackupAgentResponse) GetServerBackupAgentIpOk

func (o *BackupAgentResponse) GetServerBackupAgentIpOk() (*string, bool)

GetServerBackupAgentIpOk returns a tuple with the ServerBackupAgentIp field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupAgentResponse) GetServerName

func (o *BackupAgentResponse) GetServerName() string

GetServerName returns the ServerName field value If the value is explicit nil, the zero value for string will be returned

func (*BackupAgentResponse) GetServerNameOk

func (o *BackupAgentResponse) GetServerNameOk() (*string, bool)

GetServerNameOk returns a tuple with the ServerName field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupAgentResponse) GetState

func (o *BackupAgentResponse) GetState() string

GetState returns the State field value If the value is explicit nil, the zero value for string will be returned

func (*BackupAgentResponse) GetStateOk

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

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (BackupAgentResponse) MarshalJSON

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

func (*BackupAgentResponse) SetAccountId

func (o *BackupAgentResponse) SetAccountId(v string)

SetAccountId sets field value

func (*BackupAgentResponse) SetBackupPolicyCount

func (o *BackupAgentResponse) SetBackupPolicyCount(v int32)

SetBackupPolicyCount sets field value

func (*BackupAgentResponse) SetConnectionState

func (o *BackupAgentResponse) SetConnectionState(v string)

SetConnectionState sets field value

func (*BackupAgentResponse) SetCreatedAt

func (o *BackupAgentResponse) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*BackupAgentResponse) SetCreatedBy

func (o *BackupAgentResponse) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*BackupAgentResponse) SetId

func (o *BackupAgentResponse) SetId(v string)

SetId sets field value

func (*BackupAgentResponse) SetModifiedAt

func (o *BackupAgentResponse) SetModifiedAt(v time.Time)

SetModifiedAt sets field value

func (*BackupAgentResponse) SetModifiedBy

func (o *BackupAgentResponse) SetModifiedBy(v string)

SetModifiedBy sets field value

func (*BackupAgentResponse) SetName

func (o *BackupAgentResponse) SetName(v string)

SetName sets field value

func (*BackupAgentResponse) SetServerBackupAgentIp

func (o *BackupAgentResponse) SetServerBackupAgentIp(v string)

SetServerBackupAgentIp sets field value

func (*BackupAgentResponse) SetServerName

func (o *BackupAgentResponse) SetServerName(v string)

SetServerName sets field value

func (*BackupAgentResponse) SetState

func (o *BackupAgentResponse) SetState(v string)

SetState sets field value

func (BackupAgentResponse) ToMap

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

func (*BackupAgentResponse) UnmarshalJSON

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

type BackupAgentTargetListResponse

type BackupAgentTargetListResponse struct {
	Contents []BackupAgentTargetResponse `json:"contents"`
	Count    NullableInt32               `json:"count,omitempty"`
}

BackupAgentTargetListResponse struct for BackupAgentTargetListResponse

func NewBackupAgentTargetListResponse

func NewBackupAgentTargetListResponse(contents []BackupAgentTargetResponse) *BackupAgentTargetListResponse

NewBackupAgentTargetListResponse instantiates a new BackupAgentTargetListResponse 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 NewBackupAgentTargetListResponseWithDefaults

func NewBackupAgentTargetListResponseWithDefaults() *BackupAgentTargetListResponse

NewBackupAgentTargetListResponseWithDefaults instantiates a new BackupAgentTargetListResponse 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 (*BackupAgentTargetListResponse) GetContents

GetContents returns the Contents field value If the value is explicit nil, the zero value for []BackupAgentTargetResponse will be returned

func (*BackupAgentTargetListResponse) GetContentsOk

GetContentsOk returns a tuple with the Contents field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupAgentTargetListResponse) GetCount

func (o *BackupAgentTargetListResponse) GetCount() int32

GetCount returns the Count field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BackupAgentTargetListResponse) GetCountOk

func (o *BackupAgentTargetListResponse) GetCountOk() (*int32, bool)

GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupAgentTargetListResponse) HasCount

func (o *BackupAgentTargetListResponse) HasCount() bool

HasCount returns a boolean if a field has been set.

func (BackupAgentTargetListResponse) MarshalJSON

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

func (*BackupAgentTargetListResponse) SetContents

SetContents sets field value

func (*BackupAgentTargetListResponse) SetCount

func (o *BackupAgentTargetListResponse) SetCount(v int32)

SetCount gets a reference to the given NullableInt32 and assigns it to the Count field.

func (*BackupAgentTargetListResponse) SetCountNil

func (o *BackupAgentTargetListResponse) SetCountNil()

SetCountNil sets the value for Count to be an explicit nil

func (BackupAgentTargetListResponse) ToMap

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

func (*BackupAgentTargetListResponse) UnmarshalJSON

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

func (*BackupAgentTargetListResponse) UnsetCount

func (o *BackupAgentTargetListResponse) UnsetCount()

UnsetCount ensures that no value is present for Count, not even an explicit nil

type BackupAgentTargetResponse

type BackupAgentTargetResponse struct {
	// Server's Backup Agent IP
	ServerBackupAgentIp string `json:"server_backup_agent_ip"`
	// Backup Agent target server name
	ServerName string `json:"server_name"`
	// Backup server state
	ServerState string `json:"server_state"`
	// Backup Agent target server UUID
	ServerUuid string `json:"server_uuid"`
}

BackupAgentTargetResponse struct for BackupAgentTargetResponse

func NewBackupAgentTargetResponse

func NewBackupAgentTargetResponse(serverBackupAgentIp string, serverName string, serverState string, serverUuid string) *BackupAgentTargetResponse

NewBackupAgentTargetResponse instantiates a new BackupAgentTargetResponse 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 NewBackupAgentTargetResponseWithDefaults

func NewBackupAgentTargetResponseWithDefaults() *BackupAgentTargetResponse

NewBackupAgentTargetResponseWithDefaults instantiates a new BackupAgentTargetResponse 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 (*BackupAgentTargetResponse) GetServerBackupAgentIp

func (o *BackupAgentTargetResponse) GetServerBackupAgentIp() string

GetServerBackupAgentIp returns the ServerBackupAgentIp field value

func (*BackupAgentTargetResponse) GetServerBackupAgentIpOk

func (o *BackupAgentTargetResponse) GetServerBackupAgentIpOk() (*string, bool)

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

func (*BackupAgentTargetResponse) GetServerName

func (o *BackupAgentTargetResponse) GetServerName() string

GetServerName returns the ServerName field value

func (*BackupAgentTargetResponse) GetServerNameOk

func (o *BackupAgentTargetResponse) GetServerNameOk() (*string, bool)

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

func (*BackupAgentTargetResponse) GetServerState

func (o *BackupAgentTargetResponse) GetServerState() string

GetServerState returns the ServerState field value

func (*BackupAgentTargetResponse) GetServerStateOk

func (o *BackupAgentTargetResponse) GetServerStateOk() (*string, bool)

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

func (*BackupAgentTargetResponse) GetServerUuid

func (o *BackupAgentTargetResponse) GetServerUuid() string

GetServerUuid returns the ServerUuid field value

func (*BackupAgentTargetResponse) GetServerUuidOk

func (o *BackupAgentTargetResponse) GetServerUuidOk() (*string, bool)

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

func (BackupAgentTargetResponse) MarshalJSON

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

func (*BackupAgentTargetResponse) SetServerBackupAgentIp

func (o *BackupAgentTargetResponse) SetServerBackupAgentIp(v string)

SetServerBackupAgentIp sets field value

func (*BackupAgentTargetResponse) SetServerName

func (o *BackupAgentTargetResponse) SetServerName(v string)

SetServerName sets field value

func (*BackupAgentTargetResponse) SetServerState

func (o *BackupAgentTargetResponse) SetServerState(v string)

SetServerState sets field value

func (*BackupAgentTargetResponse) SetServerUuid

func (o *BackupAgentTargetResponse) SetServerUuid(v string)

SetServerUuid sets field value

func (BackupAgentTargetResponse) ToMap

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

func (*BackupAgentTargetResponse) UnmarshalJSON

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

type BackupCreateRequest

type BackupCreateRequest struct {
	// Whether to use Encryption
	EncryptEnabled  *bool    `json:"encrypt_enabled,omitempty"`
	FilesystemPaths []string `json:"filesystem_paths,omitempty"`
	// Backup name
	Name string `json:"name"`
	// Backup policy category
	PolicyCategory BackupPolicyCategory `json:"policy_category"`
	// Backup policy type
	PolicyType BackupPolicyType `json:"policy_type"`
	Region     NullableString   `json:"region,omitempty"`
	// Backup retention period
	RetentionPeriod *BackupRetentionPeriod `json:"retention_period,omitempty"`
	// Schedules
	Schedules []BackupScheduleCreateRequest `json:"schedules"`
	// Backup server category
	ServerCategory ServerCategory `json:"server_category"`
	ServerGuid     NullableString `json:"server_guid,omitempty"`
	// Backup server UUID
	ServerUuid string `json:"server_uuid"`
	Tags       []Tag  `json:"tags,omitempty"`
}

BackupCreateRequest struct for BackupCreateRequest

func NewBackupCreateRequest

func NewBackupCreateRequest(name string, policyCategory BackupPolicyCategory, policyType BackupPolicyType, schedules []BackupScheduleCreateRequest, serverCategory ServerCategory, serverUuid string) *BackupCreateRequest

NewBackupCreateRequest instantiates a new BackupCreateRequest 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 NewBackupCreateRequestWithDefaults

func NewBackupCreateRequestWithDefaults() *BackupCreateRequest

NewBackupCreateRequestWithDefaults instantiates a new BackupCreateRequest 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 (*BackupCreateRequest) GetEncryptEnabled

func (o *BackupCreateRequest) GetEncryptEnabled() bool

GetEncryptEnabled returns the EncryptEnabled field value if set, zero value otherwise.

func (*BackupCreateRequest) GetEncryptEnabledOk

func (o *BackupCreateRequest) GetEncryptEnabledOk() (*bool, bool)

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

func (*BackupCreateRequest) GetFilesystemPaths

func (o *BackupCreateRequest) GetFilesystemPaths() []string

GetFilesystemPaths returns the FilesystemPaths field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BackupCreateRequest) GetFilesystemPathsOk

func (o *BackupCreateRequest) GetFilesystemPathsOk() ([]string, bool)

GetFilesystemPathsOk returns a tuple with the FilesystemPaths field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupCreateRequest) GetName

func (o *BackupCreateRequest) GetName() string

GetName returns the Name field value

func (*BackupCreateRequest) GetNameOk

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

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

func (*BackupCreateRequest) GetPolicyCategory

func (o *BackupCreateRequest) GetPolicyCategory() BackupPolicyCategory

GetPolicyCategory returns the PolicyCategory field value

func (*BackupCreateRequest) GetPolicyCategoryOk

func (o *BackupCreateRequest) GetPolicyCategoryOk() (*BackupPolicyCategory, bool)

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

func (*BackupCreateRequest) GetPolicyType

func (o *BackupCreateRequest) GetPolicyType() BackupPolicyType

GetPolicyType returns the PolicyType field value

func (*BackupCreateRequest) GetPolicyTypeOk

func (o *BackupCreateRequest) GetPolicyTypeOk() (*BackupPolicyType, bool)

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

func (*BackupCreateRequest) GetRegion

func (o *BackupCreateRequest) GetRegion() string

GetRegion returns the Region field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BackupCreateRequest) GetRegionOk

func (o *BackupCreateRequest) GetRegionOk() (*string, bool)

GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupCreateRequest) GetRetentionPeriod

func (o *BackupCreateRequest) GetRetentionPeriod() BackupRetentionPeriod

GetRetentionPeriod returns the RetentionPeriod field value if set, zero value otherwise.

func (*BackupCreateRequest) GetRetentionPeriodOk

func (o *BackupCreateRequest) GetRetentionPeriodOk() (*BackupRetentionPeriod, bool)

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

func (*BackupCreateRequest) GetSchedules

GetSchedules returns the Schedules field value

func (*BackupCreateRequest) GetSchedulesOk

func (o *BackupCreateRequest) GetSchedulesOk() ([]BackupScheduleCreateRequest, bool)

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

func (*BackupCreateRequest) GetServerCategory

func (o *BackupCreateRequest) GetServerCategory() ServerCategory

GetServerCategory returns the ServerCategory field value

func (*BackupCreateRequest) GetServerCategoryOk

func (o *BackupCreateRequest) GetServerCategoryOk() (*ServerCategory, bool)

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

func (*BackupCreateRequest) GetServerGuid

func (o *BackupCreateRequest) GetServerGuid() string

GetServerGuid returns the ServerGuid field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BackupCreateRequest) GetServerGuidOk

func (o *BackupCreateRequest) GetServerGuidOk() (*string, bool)

GetServerGuidOk returns a tuple with the ServerGuid field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupCreateRequest) GetServerUuid

func (o *BackupCreateRequest) GetServerUuid() string

GetServerUuid returns the ServerUuid field value

func (*BackupCreateRequest) GetServerUuidOk

func (o *BackupCreateRequest) GetServerUuidOk() (*string, bool)

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

func (*BackupCreateRequest) GetTags

func (o *BackupCreateRequest) GetTags() []Tag

GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BackupCreateRequest) GetTagsOk

func (o *BackupCreateRequest) GetTagsOk() ([]Tag, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupCreateRequest) HasEncryptEnabled

func (o *BackupCreateRequest) HasEncryptEnabled() bool

HasEncryptEnabled returns a boolean if a field has been set.

func (*BackupCreateRequest) HasFilesystemPaths

func (o *BackupCreateRequest) HasFilesystemPaths() bool

HasFilesystemPaths returns a boolean if a field has been set.

func (*BackupCreateRequest) HasRegion

func (o *BackupCreateRequest) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*BackupCreateRequest) HasRetentionPeriod

func (o *BackupCreateRequest) HasRetentionPeriod() bool

HasRetentionPeriod returns a boolean if a field has been set.

func (*BackupCreateRequest) HasServerGuid

func (o *BackupCreateRequest) HasServerGuid() bool

HasServerGuid returns a boolean if a field has been set.

func (*BackupCreateRequest) HasTags

func (o *BackupCreateRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

func (BackupCreateRequest) MarshalJSON

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

func (*BackupCreateRequest) SetEncryptEnabled

func (o *BackupCreateRequest) SetEncryptEnabled(v bool)

SetEncryptEnabled gets a reference to the given bool and assigns it to the EncryptEnabled field.

func (*BackupCreateRequest) SetFilesystemPaths

func (o *BackupCreateRequest) SetFilesystemPaths(v []string)

SetFilesystemPaths gets a reference to the given []string and assigns it to the FilesystemPaths field.

func (*BackupCreateRequest) SetName

func (o *BackupCreateRequest) SetName(v string)

SetName sets field value

func (*BackupCreateRequest) SetPolicyCategory

func (o *BackupCreateRequest) SetPolicyCategory(v BackupPolicyCategory)

SetPolicyCategory sets field value

func (*BackupCreateRequest) SetPolicyType

func (o *BackupCreateRequest) SetPolicyType(v BackupPolicyType)

SetPolicyType sets field value

func (*BackupCreateRequest) SetRegion

func (o *BackupCreateRequest) SetRegion(v string)

SetRegion gets a reference to the given NullableString and assigns it to the Region field.

func (*BackupCreateRequest) SetRegionNil

func (o *BackupCreateRequest) SetRegionNil()

SetRegionNil sets the value for Region to be an explicit nil

func (*BackupCreateRequest) SetRetentionPeriod

func (o *BackupCreateRequest) SetRetentionPeriod(v BackupRetentionPeriod)

SetRetentionPeriod gets a reference to the given BackupRetentionPeriod and assigns it to the RetentionPeriod field.

func (*BackupCreateRequest) SetSchedules

func (o *BackupCreateRequest) SetSchedules(v []BackupScheduleCreateRequest)

SetSchedules sets field value

func (*BackupCreateRequest) SetServerCategory

func (o *BackupCreateRequest) SetServerCategory(v ServerCategory)

SetServerCategory sets field value

func (*BackupCreateRequest) SetServerGuid

func (o *BackupCreateRequest) SetServerGuid(v string)

SetServerGuid gets a reference to the given NullableString and assigns it to the ServerGuid field.

func (*BackupCreateRequest) SetServerGuidNil

func (o *BackupCreateRequest) SetServerGuidNil()

SetServerGuidNil sets the value for ServerGuid to be an explicit nil

func (*BackupCreateRequest) SetServerUuid

func (o *BackupCreateRequest) SetServerUuid(v string)

SetServerUuid sets field value

func (*BackupCreateRequest) SetTags

func (o *BackupCreateRequest) SetTags(v []Tag)

SetTags gets a reference to the given []Tag and assigns it to the Tags field.

func (BackupCreateRequest) ToMap

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

func (*BackupCreateRequest) UnmarshalJSON

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

func (*BackupCreateRequest) UnsetRegion

func (o *BackupCreateRequest) UnsetRegion()

UnsetRegion ensures that no value is present for Region, not even an explicit nil

func (*BackupCreateRequest) UnsetServerGuid

func (o *BackupCreateRequest) UnsetServerGuid()

UnsetServerGuid ensures that no value is present for ServerGuid, not even an explicit nil

type BackupDetailResponse

type BackupDetailResponse struct {
	BackupAgentId NullableString `json:"backup_agent_id,omitempty"`
	// Created At
	CreatedAt time.Time `json:"created_at"`
	// Created By
	CreatedBy       string       `json:"created_by"`
	EncryptEnabled  NullableBool `json:"encrypt_enabled,omitempty"`
	FilesystemPaths []string     `json:"filesystem_paths,omitempty"`
	// ID
	Id string `json:"id"`
	// Modified At
	ModifiedAt time.Time `json:"modified_at"`
	// Modified By
	ModifiedBy string `json:"modified_by"`
	// Backup name
	Name string `json:"name"`
	// Backup policy category
	PolicyCategory string `json:"policy_category"`
	// Backup policy type
	PolicyType string         `json:"policy_type"`
	Region     NullableString `json:"region,omitempty"`
	// Backup retention period
	RetentionPeriod string `json:"retention_period"`
	// Backup role type
	RoleType string `json:"role_type"`
	// Backup server category
	ServerCategory string `json:"server_category"`
	// Backup server name
	ServerName   string         `json:"server_name"`
	ServerOsType NullableString `json:"server_os_type,omitempty"`
	ServerRegion NullableString `json:"server_region"`
	// Backup server UUID
	ServerUuid string `json:"server_uuid"`
	// Backup state
	State string `json:"state"`
}

BackupDetailResponse struct for BackupDetailResponse

func NewBackupDetailResponse

func NewBackupDetailResponse(createdAt time.Time, createdBy string, id string, modifiedAt time.Time, modifiedBy string, name string, policyCategory string, policyType string, retentionPeriod string, roleType string, serverCategory string, serverName string, serverRegion NullableString, serverUuid string, state string) *BackupDetailResponse

NewBackupDetailResponse instantiates a new BackupDetailResponse 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 NewBackupDetailResponseWithDefaults

func NewBackupDetailResponseWithDefaults() *BackupDetailResponse

NewBackupDetailResponseWithDefaults instantiates a new BackupDetailResponse 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 (*BackupDetailResponse) GetBackupAgentId

func (o *BackupDetailResponse) GetBackupAgentId() string

GetBackupAgentId returns the BackupAgentId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BackupDetailResponse) GetBackupAgentIdOk

func (o *BackupDetailResponse) GetBackupAgentIdOk() (*string, bool)

GetBackupAgentIdOk returns a tuple with the BackupAgentId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupDetailResponse) GetCreatedAt

func (o *BackupDetailResponse) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*BackupDetailResponse) GetCreatedAtOk

func (o *BackupDetailResponse) GetCreatedAtOk() (*time.Time, bool)

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

func (*BackupDetailResponse) GetCreatedBy

func (o *BackupDetailResponse) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*BackupDetailResponse) GetCreatedByOk

func (o *BackupDetailResponse) GetCreatedByOk() (*string, bool)

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

func (*BackupDetailResponse) GetEncryptEnabled

func (o *BackupDetailResponse) GetEncryptEnabled() bool

GetEncryptEnabled returns the EncryptEnabled field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BackupDetailResponse) GetEncryptEnabledOk

func (o *BackupDetailResponse) GetEncryptEnabledOk() (*bool, bool)

GetEncryptEnabledOk returns a tuple with the EncryptEnabled field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupDetailResponse) GetFilesystemPaths

func (o *BackupDetailResponse) GetFilesystemPaths() []string

GetFilesystemPaths returns the FilesystemPaths field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BackupDetailResponse) GetFilesystemPathsOk

func (o *BackupDetailResponse) GetFilesystemPathsOk() ([]string, bool)

GetFilesystemPathsOk returns a tuple with the FilesystemPaths field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupDetailResponse) GetId

func (o *BackupDetailResponse) GetId() string

GetId returns the Id field value

func (*BackupDetailResponse) GetIdOk

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

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

func (*BackupDetailResponse) GetModifiedAt

func (o *BackupDetailResponse) GetModifiedAt() time.Time

GetModifiedAt returns the ModifiedAt field value

func (*BackupDetailResponse) GetModifiedAtOk

func (o *BackupDetailResponse) GetModifiedAtOk() (*time.Time, bool)

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

func (*BackupDetailResponse) GetModifiedBy

func (o *BackupDetailResponse) GetModifiedBy() string

GetModifiedBy returns the ModifiedBy field value

func (*BackupDetailResponse) GetModifiedByOk

func (o *BackupDetailResponse) GetModifiedByOk() (*string, bool)

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

func (*BackupDetailResponse) GetName

func (o *BackupDetailResponse) GetName() string

GetName returns the Name field value

func (*BackupDetailResponse) GetNameOk

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

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

func (*BackupDetailResponse) GetPolicyCategory

func (o *BackupDetailResponse) GetPolicyCategory() string

GetPolicyCategory returns the PolicyCategory field value

func (*BackupDetailResponse) GetPolicyCategoryOk

func (o *BackupDetailResponse) GetPolicyCategoryOk() (*string, bool)

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

func (*BackupDetailResponse) GetPolicyType

func (o *BackupDetailResponse) GetPolicyType() string

GetPolicyType returns the PolicyType field value

func (*BackupDetailResponse) GetPolicyTypeOk

func (o *BackupDetailResponse) GetPolicyTypeOk() (*string, bool)

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

func (*BackupDetailResponse) GetRegion

func (o *BackupDetailResponse) GetRegion() string

GetRegion returns the Region field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BackupDetailResponse) GetRegionOk

func (o *BackupDetailResponse) GetRegionOk() (*string, bool)

GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupDetailResponse) GetRetentionPeriod

func (o *BackupDetailResponse) GetRetentionPeriod() string

GetRetentionPeriod returns the RetentionPeriod field value

func (*BackupDetailResponse) GetRetentionPeriodOk

func (o *BackupDetailResponse) GetRetentionPeriodOk() (*string, bool)

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

func (*BackupDetailResponse) GetRoleType

func (o *BackupDetailResponse) GetRoleType() string

GetRoleType returns the RoleType field value

func (*BackupDetailResponse) GetRoleTypeOk

func (o *BackupDetailResponse) GetRoleTypeOk() (*string, bool)

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

func (*BackupDetailResponse) GetServerCategory

func (o *BackupDetailResponse) GetServerCategory() string

GetServerCategory returns the ServerCategory field value

func (*BackupDetailResponse) GetServerCategoryOk

func (o *BackupDetailResponse) GetServerCategoryOk() (*string, bool)

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

func (*BackupDetailResponse) GetServerName

func (o *BackupDetailResponse) GetServerName() string

GetServerName returns the ServerName field value

func (*BackupDetailResponse) GetServerNameOk

func (o *BackupDetailResponse) GetServerNameOk() (*string, bool)

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

func (*BackupDetailResponse) GetServerOsType

func (o *BackupDetailResponse) GetServerOsType() string

GetServerOsType returns the ServerOsType field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BackupDetailResponse) GetServerOsTypeOk

func (o *BackupDetailResponse) GetServerOsTypeOk() (*string, bool)

GetServerOsTypeOk returns a tuple with the ServerOsType field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupDetailResponse) GetServerRegion

func (o *BackupDetailResponse) GetServerRegion() string

GetServerRegion returns the ServerRegion field value If the value is explicit nil, the zero value for string will be returned

func (*BackupDetailResponse) GetServerRegionOk

func (o *BackupDetailResponse) GetServerRegionOk() (*string, bool)

GetServerRegionOk returns a tuple with the ServerRegion field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupDetailResponse) GetServerUuid

func (o *BackupDetailResponse) GetServerUuid() string

GetServerUuid returns the ServerUuid field value

func (*BackupDetailResponse) GetServerUuidOk

func (o *BackupDetailResponse) GetServerUuidOk() (*string, bool)

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

func (*BackupDetailResponse) GetState

func (o *BackupDetailResponse) GetState() string

GetState returns the State field value

func (*BackupDetailResponse) GetStateOk

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

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

func (*BackupDetailResponse) HasBackupAgentId

func (o *BackupDetailResponse) HasBackupAgentId() bool

HasBackupAgentId returns a boolean if a field has been set.

func (*BackupDetailResponse) HasEncryptEnabled

func (o *BackupDetailResponse) HasEncryptEnabled() bool

HasEncryptEnabled returns a boolean if a field has been set.

func (*BackupDetailResponse) HasFilesystemPaths

func (o *BackupDetailResponse) HasFilesystemPaths() bool

HasFilesystemPaths returns a boolean if a field has been set.

func (*BackupDetailResponse) HasRegion

func (o *BackupDetailResponse) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*BackupDetailResponse) HasServerOsType

func (o *BackupDetailResponse) HasServerOsType() bool

HasServerOsType returns a boolean if a field has been set.

func (BackupDetailResponse) MarshalJSON

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

func (*BackupDetailResponse) SetBackupAgentId

func (o *BackupDetailResponse) SetBackupAgentId(v string)

SetBackupAgentId gets a reference to the given NullableString and assigns it to the BackupAgentId field.

func (*BackupDetailResponse) SetBackupAgentIdNil

func (o *BackupDetailResponse) SetBackupAgentIdNil()

SetBackupAgentIdNil sets the value for BackupAgentId to be an explicit nil

func (*BackupDetailResponse) SetCreatedAt

func (o *BackupDetailResponse) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*BackupDetailResponse) SetCreatedBy

func (o *BackupDetailResponse) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*BackupDetailResponse) SetEncryptEnabled

func (o *BackupDetailResponse) SetEncryptEnabled(v bool)

SetEncryptEnabled gets a reference to the given NullableBool and assigns it to the EncryptEnabled field.

func (*BackupDetailResponse) SetEncryptEnabledNil

func (o *BackupDetailResponse) SetEncryptEnabledNil()

SetEncryptEnabledNil sets the value for EncryptEnabled to be an explicit nil

func (*BackupDetailResponse) SetFilesystemPaths

func (o *BackupDetailResponse) SetFilesystemPaths(v []string)

SetFilesystemPaths gets a reference to the given []string and assigns it to the FilesystemPaths field.

func (*BackupDetailResponse) SetId

func (o *BackupDetailResponse) SetId(v string)

SetId sets field value

func (*BackupDetailResponse) SetModifiedAt

func (o *BackupDetailResponse) SetModifiedAt(v time.Time)

SetModifiedAt sets field value

func (*BackupDetailResponse) SetModifiedBy

func (o *BackupDetailResponse) SetModifiedBy(v string)

SetModifiedBy sets field value

func (*BackupDetailResponse) SetName

func (o *BackupDetailResponse) SetName(v string)

SetName sets field value

func (*BackupDetailResponse) SetPolicyCategory

func (o *BackupDetailResponse) SetPolicyCategory(v string)

SetPolicyCategory sets field value

func (*BackupDetailResponse) SetPolicyType

func (o *BackupDetailResponse) SetPolicyType(v string)

SetPolicyType sets field value

func (*BackupDetailResponse) SetRegion

func (o *BackupDetailResponse) SetRegion(v string)

SetRegion gets a reference to the given NullableString and assigns it to the Region field.

func (*BackupDetailResponse) SetRegionNil

func (o *BackupDetailResponse) SetRegionNil()

SetRegionNil sets the value for Region to be an explicit nil

func (*BackupDetailResponse) SetRetentionPeriod

func (o *BackupDetailResponse) SetRetentionPeriod(v string)

SetRetentionPeriod sets field value

func (*BackupDetailResponse) SetRoleType

func (o *BackupDetailResponse) SetRoleType(v string)

SetRoleType sets field value

func (*BackupDetailResponse) SetServerCategory

func (o *BackupDetailResponse) SetServerCategory(v string)

SetServerCategory sets field value

func (*BackupDetailResponse) SetServerName

func (o *BackupDetailResponse) SetServerName(v string)

SetServerName sets field value

func (*BackupDetailResponse) SetServerOsType

func (o *BackupDetailResponse) SetServerOsType(v string)

SetServerOsType gets a reference to the given NullableString and assigns it to the ServerOsType field.

func (*BackupDetailResponse) SetServerOsTypeNil

func (o *BackupDetailResponse) SetServerOsTypeNil()

SetServerOsTypeNil sets the value for ServerOsType to be an explicit nil

func (*BackupDetailResponse) SetServerRegion

func (o *BackupDetailResponse) SetServerRegion(v string)

SetServerRegion sets field value

func (*BackupDetailResponse) SetServerUuid

func (o *BackupDetailResponse) SetServerUuid(v string)

SetServerUuid sets field value

func (*BackupDetailResponse) SetState

func (o *BackupDetailResponse) SetState(v string)

SetState sets field value

func (BackupDetailResponse) ToMap

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

func (*BackupDetailResponse) UnmarshalJSON

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

func (*BackupDetailResponse) UnsetBackupAgentId

func (o *BackupDetailResponse) UnsetBackupAgentId()

UnsetBackupAgentId ensures that no value is present for BackupAgentId, not even an explicit nil

func (*BackupDetailResponse) UnsetEncryptEnabled

func (o *BackupDetailResponse) UnsetEncryptEnabled()

UnsetEncryptEnabled ensures that no value is present for EncryptEnabled, not even an explicit nil

func (*BackupDetailResponse) UnsetRegion

func (o *BackupDetailResponse) UnsetRegion()

UnsetRegion ensures that no value is present for Region, not even an explicit nil

func (*BackupDetailResponse) UnsetServerOsType

func (o *BackupDetailResponse) UnsetServerOsType()

UnsetServerOsType ensures that no value is present for ServerOsType, not even an explicit nil

type BackupFilesystemPaths

type BackupFilesystemPaths struct {
	ArrayOfString *[]string
	String        *string
}

BackupFilesystemPaths List of filesystem backup path

func (*BackupFilesystemPaths) MarshalJSON

func (src *BackupFilesystemPaths) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*BackupFilesystemPaths) UnmarshalJSON

func (dst *BackupFilesystemPaths) UnmarshalJSON(data []byte) error

Unmarshal JSON data into any of the pointers in the struct

type BackupHistoryListResponse

type BackupHistoryListResponse struct {
	Contents []BackupHistoryResponse `json:"contents"`
	// Count
	Count int32 `json:"count"`
}

BackupHistoryListResponse struct for BackupHistoryListResponse

func NewBackupHistoryListResponse

func NewBackupHistoryListResponse(contents []BackupHistoryResponse, count int32) *BackupHistoryListResponse

NewBackupHistoryListResponse instantiates a new BackupHistoryListResponse 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 NewBackupHistoryListResponseWithDefaults

func NewBackupHistoryListResponseWithDefaults() *BackupHistoryListResponse

NewBackupHistoryListResponseWithDefaults instantiates a new BackupHistoryListResponse 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 (*BackupHistoryListResponse) GetContents

GetContents returns the Contents field value If the value is explicit nil, the zero value for []BackupHistoryResponse will be returned

func (*BackupHistoryListResponse) GetContentsOk

func (o *BackupHistoryListResponse) GetContentsOk() ([]BackupHistoryResponse, bool)

GetContentsOk returns a tuple with the Contents field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupHistoryListResponse) GetCount

func (o *BackupHistoryListResponse) GetCount() int32

GetCount returns the Count field value

func (*BackupHistoryListResponse) GetCountOk

func (o *BackupHistoryListResponse) GetCountOk() (*int32, bool)

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

func (BackupHistoryListResponse) MarshalJSON

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

func (*BackupHistoryListResponse) SetContents

SetContents sets field value

func (*BackupHistoryListResponse) SetCount

func (o *BackupHistoryListResponse) SetCount(v int32)

SetCount sets field value

func (BackupHistoryListResponse) ToMap

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

func (*BackupHistoryListResponse) UnmarshalJSON

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

type BackupHistoryResponse

type BackupHistoryResponse struct {
	BackupEndTime NullableTime   `json:"backup_end_time"`
	BackupJobGuid NullableString `json:"backup_job_guid"`
	// Backup history state
	BackupJobState  string       `json:"backup_job_state"`
	BackupStartTime NullableTime `json:"backup_start_time"`
	// Schedule ID
	ScheduleId string `json:"schedule_id"`
	// Schedule name
	ScheduleName string `json:"schedule_name"`
}

BackupHistoryResponse struct for BackupHistoryResponse

func NewBackupHistoryResponse

func NewBackupHistoryResponse(backupEndTime NullableTime, backupJobGuid NullableString, backupJobState string, backupStartTime NullableTime, scheduleId string, scheduleName string) *BackupHistoryResponse

NewBackupHistoryResponse instantiates a new BackupHistoryResponse 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 NewBackupHistoryResponseWithDefaults

func NewBackupHistoryResponseWithDefaults() *BackupHistoryResponse

NewBackupHistoryResponseWithDefaults instantiates a new BackupHistoryResponse 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 (*BackupHistoryResponse) GetBackupEndTime

func (o *BackupHistoryResponse) GetBackupEndTime() time.Time

GetBackupEndTime returns the BackupEndTime field value If the value is explicit nil, the zero value for time.Time will be returned

func (*BackupHistoryResponse) GetBackupEndTimeOk

func (o *BackupHistoryResponse) GetBackupEndTimeOk() (*time.Time, bool)

GetBackupEndTimeOk returns a tuple with the BackupEndTime field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupHistoryResponse) GetBackupJobGuid

func (o *BackupHistoryResponse) GetBackupJobGuid() string

GetBackupJobGuid returns the BackupJobGuid field value If the value is explicit nil, the zero value for string will be returned

func (*BackupHistoryResponse) GetBackupJobGuidOk

func (o *BackupHistoryResponse) GetBackupJobGuidOk() (*string, bool)

GetBackupJobGuidOk returns a tuple with the BackupJobGuid field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupHistoryResponse) GetBackupJobState

func (o *BackupHistoryResponse) GetBackupJobState() string

GetBackupJobState returns the BackupJobState field value

func (*BackupHistoryResponse) GetBackupJobStateOk

func (o *BackupHistoryResponse) GetBackupJobStateOk() (*string, bool)

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

func (*BackupHistoryResponse) GetBackupStartTime

func (o *BackupHistoryResponse) GetBackupStartTime() time.Time

GetBackupStartTime returns the BackupStartTime field value If the value is explicit nil, the zero value for time.Time will be returned

func (*BackupHistoryResponse) GetBackupStartTimeOk

func (o *BackupHistoryResponse) GetBackupStartTimeOk() (*time.Time, bool)

GetBackupStartTimeOk returns a tuple with the BackupStartTime field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupHistoryResponse) GetScheduleId

func (o *BackupHistoryResponse) GetScheduleId() string

GetScheduleId returns the ScheduleId field value

func (*BackupHistoryResponse) GetScheduleIdOk

func (o *BackupHistoryResponse) GetScheduleIdOk() (*string, bool)

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

func (*BackupHistoryResponse) GetScheduleName

func (o *BackupHistoryResponse) GetScheduleName() string

GetScheduleName returns the ScheduleName field value

func (*BackupHistoryResponse) GetScheduleNameOk

func (o *BackupHistoryResponse) GetScheduleNameOk() (*string, bool)

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

func (BackupHistoryResponse) MarshalJSON

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

func (*BackupHistoryResponse) SetBackupEndTime

func (o *BackupHistoryResponse) SetBackupEndTime(v time.Time)

SetBackupEndTime sets field value

func (*BackupHistoryResponse) SetBackupJobGuid

func (o *BackupHistoryResponse) SetBackupJobGuid(v string)

SetBackupJobGuid sets field value

func (*BackupHistoryResponse) SetBackupJobState

func (o *BackupHistoryResponse) SetBackupJobState(v string)

SetBackupJobState sets field value

func (*BackupHistoryResponse) SetBackupStartTime

func (o *BackupHistoryResponse) SetBackupStartTime(v time.Time)

SetBackupStartTime sets field value

func (*BackupHistoryResponse) SetScheduleId

func (o *BackupHistoryResponse) SetScheduleId(v string)

SetScheduleId sets field value

func (*BackupHistoryResponse) SetScheduleName

func (o *BackupHistoryResponse) SetScheduleName(v string)

SetScheduleName sets field value

func (BackupHistoryResponse) ToMap

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

func (*BackupHistoryResponse) UnmarshalJSON

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

type BackupJobState

type BackupJobState string

BackupJobState the model 'BackupJobState'

const (
	BACKUPJOBSTATE_SUCCESS         BackupJobState = "SUCCESS"
	BACKUPJOBSTATE_PARTIAL_SUCCESS BackupJobState = "PARTIAL_SUCCESS"
	BACKUPJOBSTATE_FAILED          BackupJobState = "FAILED"
	BACKUPJOBSTATE_INPROGRESS      BackupJobState = "INPROGRESS"
	BACKUPJOBSTATE_ALL             BackupJobState = "ALL"
)

List of BackupJobState

func NewBackupJobStateFromValue

func NewBackupJobStateFromValue(v string) (*BackupJobState, error)

NewBackupJobStateFromValue returns a pointer to a valid BackupJobState for the value passed as argument, or an error if the value passed is not allowed by the enum

func (BackupJobState) IsValid

func (v BackupJobState) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (BackupJobState) Ptr

func (v BackupJobState) Ptr() *BackupJobState

Ptr returns reference to BackupJobState value

func (*BackupJobState) UnmarshalJSON

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

type BackupListRegionRelationshipResponse

type BackupListRegionRelationshipResponse struct {
	Contents []BackupRegionRelationshipResponse `json:"contents"`
	Count    NullableInt32                      `json:"count,omitempty"`
}

BackupListRegionRelationshipResponse struct for BackupListRegionRelationshipResponse

func NewBackupListRegionRelationshipResponse

func NewBackupListRegionRelationshipResponse(contents []BackupRegionRelationshipResponse) *BackupListRegionRelationshipResponse

NewBackupListRegionRelationshipResponse instantiates a new BackupListRegionRelationshipResponse 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 NewBackupListRegionRelationshipResponseWithDefaults

func NewBackupListRegionRelationshipResponseWithDefaults() *BackupListRegionRelationshipResponse

NewBackupListRegionRelationshipResponseWithDefaults instantiates a new BackupListRegionRelationshipResponse 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 (*BackupListRegionRelationshipResponse) GetContents

GetContents returns the Contents field value If the value is explicit nil, the zero value for []BackupRegionRelationshipResponse will be returned

func (*BackupListRegionRelationshipResponse) GetContentsOk

GetContentsOk returns a tuple with the Contents field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupListRegionRelationshipResponse) GetCount

GetCount returns the Count field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BackupListRegionRelationshipResponse) GetCountOk

func (o *BackupListRegionRelationshipResponse) GetCountOk() (*int32, bool)

GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupListRegionRelationshipResponse) HasCount

HasCount returns a boolean if a field has been set.

func (BackupListRegionRelationshipResponse) MarshalJSON

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

func (*BackupListRegionRelationshipResponse) SetContents

SetContents sets field value

func (*BackupListRegionRelationshipResponse) SetCount

SetCount gets a reference to the given NullableInt32 and assigns it to the Count field.

func (*BackupListRegionRelationshipResponse) SetCountNil

func (o *BackupListRegionRelationshipResponse) SetCountNil()

SetCountNil sets the value for Count to be an explicit nil

func (BackupListRegionRelationshipResponse) ToMap

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

func (*BackupListRegionRelationshipResponse) UnmarshalJSON

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

func (*BackupListRegionRelationshipResponse) UnsetCount

func (o *BackupListRegionRelationshipResponse) UnsetCount()

UnsetCount ensures that no value is present for Count, not even an explicit nil

type BackupListResponse

type BackupListResponse struct {
	Contents []BackupResponse `json:"contents"`
	Count    NullableInt32    `json:"count,omitempty"`
}

BackupListResponse struct for BackupListResponse

func NewBackupListResponse

func NewBackupListResponse(contents []BackupResponse) *BackupListResponse

NewBackupListResponse instantiates a new BackupListResponse 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 NewBackupListResponseWithDefaults

func NewBackupListResponseWithDefaults() *BackupListResponse

NewBackupListResponseWithDefaults instantiates a new BackupListResponse 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 (*BackupListResponse) GetContents

func (o *BackupListResponse) GetContents() []BackupResponse

GetContents returns the Contents field value If the value is explicit nil, the zero value for []BackupResponse will be returned

func (*BackupListResponse) GetContentsOk

func (o *BackupListResponse) GetContentsOk() ([]BackupResponse, bool)

GetContentsOk returns a tuple with the Contents field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupListResponse) GetCount

func (o *BackupListResponse) GetCount() int32

GetCount returns the Count field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BackupListResponse) GetCountOk

func (o *BackupListResponse) GetCountOk() (*int32, bool)

GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupListResponse) HasCount

func (o *BackupListResponse) HasCount() bool

HasCount returns a boolean if a field has been set.

func (BackupListResponse) MarshalJSON

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

func (*BackupListResponse) SetContents

func (o *BackupListResponse) SetContents(v []BackupResponse)

SetContents sets field value

func (*BackupListResponse) SetCount

func (o *BackupListResponse) SetCount(v int32)

SetCount gets a reference to the given NullableInt32 and assigns it to the Count field.

func (*BackupListResponse) SetCountNil

func (o *BackupListResponse) SetCountNil()

SetCountNil sets the value for Count to be an explicit nil

func (BackupListResponse) ToMap

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

func (*BackupListResponse) UnmarshalJSON

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

func (*BackupListResponse) UnsetCount

func (o *BackupListResponse) UnsetCount()

UnsetCount ensures that no value is present for Count, not even an explicit nil

type BackupNameDuplicateResponse

type BackupNameDuplicateResponse struct {
	// Result
	Result bool `json:"result"`
}

BackupNameDuplicateResponse struct for BackupNameDuplicateResponse

func NewBackupNameDuplicateResponse

func NewBackupNameDuplicateResponse(result bool) *BackupNameDuplicateResponse

NewBackupNameDuplicateResponse instantiates a new BackupNameDuplicateResponse 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 NewBackupNameDuplicateResponseWithDefaults

func NewBackupNameDuplicateResponseWithDefaults() *BackupNameDuplicateResponse

NewBackupNameDuplicateResponseWithDefaults instantiates a new BackupNameDuplicateResponse 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 (*BackupNameDuplicateResponse) GetResult

func (o *BackupNameDuplicateResponse) GetResult() bool

GetResult returns the Result field value

func (*BackupNameDuplicateResponse) GetResultOk

func (o *BackupNameDuplicateResponse) GetResultOk() (*bool, bool)

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

func (BackupNameDuplicateResponse) MarshalJSON

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

func (*BackupNameDuplicateResponse) SetResult

func (o *BackupNameDuplicateResponse) SetResult(v bool)

SetResult sets field value

func (BackupNameDuplicateResponse) ToMap

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

func (*BackupNameDuplicateResponse) UnmarshalJSON

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

type BackupPolicyCategory

type BackupPolicyCategory string

BackupPolicyCategory the model 'BackupPolicyCategory'

const (
	BACKUPPOLICYCATEGORY_AGENTLESS BackupPolicyCategory = "AGENTLESS"
	BACKUPPOLICYCATEGORY_AGENT     BackupPolicyCategory = "AGENT"
)

List of BackupPolicyCategory

func NewBackupPolicyCategoryFromValue

func NewBackupPolicyCategoryFromValue(v string) (*BackupPolicyCategory, error)

NewBackupPolicyCategoryFromValue returns a pointer to a valid BackupPolicyCategory for the value passed as argument, or an error if the value passed is not allowed by the enum

func (BackupPolicyCategory) IsValid

func (v BackupPolicyCategory) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (BackupPolicyCategory) Ptr

Ptr returns reference to BackupPolicyCategory value

func (*BackupPolicyCategory) UnmarshalJSON

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

type BackupPolicyType

type BackupPolicyType string

BackupPolicyType the model 'BackupPolicyType'

const (
	BACKUPPOLICYTYPE_VM_IMAGE   BackupPolicyType = "VM_IMAGE"
	BACKUPPOLICYTYPE_FILESYSTEM BackupPolicyType = "FILESYSTEM"
)

List of BackupPolicyType

func NewBackupPolicyTypeFromValue

func NewBackupPolicyTypeFromValue(v string) (*BackupPolicyType, error)

NewBackupPolicyTypeFromValue returns a pointer to a valid BackupPolicyType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (BackupPolicyType) IsValid

func (v BackupPolicyType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (BackupPolicyType) Ptr

Ptr returns reference to BackupPolicyType value

func (*BackupPolicyType) UnmarshalJSON

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

type BackupRegionRelationshipResponse

type BackupRegionRelationshipResponse struct {
	FromAvailabilityZone NullableString `json:"from_availability_zone,omitempty"`
	FromRegion           NullableString `json:"from_region,omitempty"`
	ToAvailabilityZone   NullableString `json:"to_availability_zone,omitempty"`
	ToRegion             NullableString `json:"to_region,omitempty"`
}

BackupRegionRelationshipResponse struct for BackupRegionRelationshipResponse

func NewBackupRegionRelationshipResponse

func NewBackupRegionRelationshipResponse() *BackupRegionRelationshipResponse

NewBackupRegionRelationshipResponse instantiates a new BackupRegionRelationshipResponse 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 NewBackupRegionRelationshipResponseWithDefaults

func NewBackupRegionRelationshipResponseWithDefaults() *BackupRegionRelationshipResponse

NewBackupRegionRelationshipResponseWithDefaults instantiates a new BackupRegionRelationshipResponse 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 (*BackupRegionRelationshipResponse) GetFromAvailabilityZone

func (o *BackupRegionRelationshipResponse) GetFromAvailabilityZone() string

GetFromAvailabilityZone returns the FromAvailabilityZone field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BackupRegionRelationshipResponse) GetFromAvailabilityZoneOk

func (o *BackupRegionRelationshipResponse) GetFromAvailabilityZoneOk() (*string, bool)

GetFromAvailabilityZoneOk returns a tuple with the FromAvailabilityZone field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupRegionRelationshipResponse) GetFromRegion

func (o *BackupRegionRelationshipResponse) GetFromRegion() string

GetFromRegion returns the FromRegion field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BackupRegionRelationshipResponse) GetFromRegionOk

func (o *BackupRegionRelationshipResponse) GetFromRegionOk() (*string, bool)

GetFromRegionOk returns a tuple with the FromRegion field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupRegionRelationshipResponse) GetToAvailabilityZone

func (o *BackupRegionRelationshipResponse) GetToAvailabilityZone() string

GetToAvailabilityZone returns the ToAvailabilityZone field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BackupRegionRelationshipResponse) GetToAvailabilityZoneOk

func (o *BackupRegionRelationshipResponse) GetToAvailabilityZoneOk() (*string, bool)

GetToAvailabilityZoneOk returns a tuple with the ToAvailabilityZone field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupRegionRelationshipResponse) GetToRegion

func (o *BackupRegionRelationshipResponse) GetToRegion() string

GetToRegion returns the ToRegion field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BackupRegionRelationshipResponse) GetToRegionOk

func (o *BackupRegionRelationshipResponse) GetToRegionOk() (*string, bool)

GetToRegionOk returns a tuple with the ToRegion field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupRegionRelationshipResponse) HasFromAvailabilityZone

func (o *BackupRegionRelationshipResponse) HasFromAvailabilityZone() bool

HasFromAvailabilityZone returns a boolean if a field has been set.

func (*BackupRegionRelationshipResponse) HasFromRegion

func (o *BackupRegionRelationshipResponse) HasFromRegion() bool

HasFromRegion returns a boolean if a field has been set.

func (*BackupRegionRelationshipResponse) HasToAvailabilityZone

func (o *BackupRegionRelationshipResponse) HasToAvailabilityZone() bool

HasToAvailabilityZone returns a boolean if a field has been set.

func (*BackupRegionRelationshipResponse) HasToRegion

func (o *BackupRegionRelationshipResponse) HasToRegion() bool

HasToRegion returns a boolean if a field has been set.

func (BackupRegionRelationshipResponse) MarshalJSON

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

func (*BackupRegionRelationshipResponse) SetFromAvailabilityZone

func (o *BackupRegionRelationshipResponse) SetFromAvailabilityZone(v string)

SetFromAvailabilityZone gets a reference to the given NullableString and assigns it to the FromAvailabilityZone field.

func (*BackupRegionRelationshipResponse) SetFromAvailabilityZoneNil

func (o *BackupRegionRelationshipResponse) SetFromAvailabilityZoneNil()

SetFromAvailabilityZoneNil sets the value for FromAvailabilityZone to be an explicit nil

func (*BackupRegionRelationshipResponse) SetFromRegion

func (o *BackupRegionRelationshipResponse) SetFromRegion(v string)

SetFromRegion gets a reference to the given NullableString and assigns it to the FromRegion field.

func (*BackupRegionRelationshipResponse) SetFromRegionNil

func (o *BackupRegionRelationshipResponse) SetFromRegionNil()

SetFromRegionNil sets the value for FromRegion to be an explicit nil

func (*BackupRegionRelationshipResponse) SetToAvailabilityZone

func (o *BackupRegionRelationshipResponse) SetToAvailabilityZone(v string)

SetToAvailabilityZone gets a reference to the given NullableString and assigns it to the ToAvailabilityZone field.

func (*BackupRegionRelationshipResponse) SetToAvailabilityZoneNil

func (o *BackupRegionRelationshipResponse) SetToAvailabilityZoneNil()

SetToAvailabilityZoneNil sets the value for ToAvailabilityZone to be an explicit nil

func (*BackupRegionRelationshipResponse) SetToRegion

func (o *BackupRegionRelationshipResponse) SetToRegion(v string)

SetToRegion gets a reference to the given NullableString and assigns it to the ToRegion field.

func (*BackupRegionRelationshipResponse) SetToRegionNil

func (o *BackupRegionRelationshipResponse) SetToRegionNil()

SetToRegionNil sets the value for ToRegion to be an explicit nil

func (BackupRegionRelationshipResponse) ToMap

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

func (*BackupRegionRelationshipResponse) UnsetFromAvailabilityZone

func (o *BackupRegionRelationshipResponse) UnsetFromAvailabilityZone()

UnsetFromAvailabilityZone ensures that no value is present for FromAvailabilityZone, not even an explicit nil

func (*BackupRegionRelationshipResponse) UnsetFromRegion

func (o *BackupRegionRelationshipResponse) UnsetFromRegion()

UnsetFromRegion ensures that no value is present for FromRegion, not even an explicit nil

func (*BackupRegionRelationshipResponse) UnsetToAvailabilityZone

func (o *BackupRegionRelationshipResponse) UnsetToAvailabilityZone()

UnsetToAvailabilityZone ensures that no value is present for ToAvailabilityZone, not even an explicit nil

func (*BackupRegionRelationshipResponse) UnsetToRegion

func (o *BackupRegionRelationshipResponse) UnsetToRegion()

UnsetToRegion ensures that no value is present for ToRegion, not even an explicit nil

type BackupResponse

type BackupResponse struct {
	// Created At
	CreatedAt time.Time `json:"created_at"`
	// Created By
	CreatedBy string `json:"created_by"`
	// ID
	Id string `json:"id"`
	// Modified At
	ModifiedAt time.Time `json:"modified_at"`
	// Modified By
	ModifiedBy string `json:"modified_by"`
	// Backup name
	Name string `json:"name"`
	// Backup policy type
	PolicyType string `json:"policy_type"`
	// Backup retention period
	RetentionPeriod string `json:"retention_period"`
	// Backup role type
	RoleType string `json:"role_type"`
	// Backup server name
	ServerName string `json:"server_name"`
	// Backup state
	State string `json:"state"`
}

BackupResponse struct for BackupResponse

func NewBackupResponse

func NewBackupResponse(createdAt time.Time, createdBy string, id string, modifiedAt time.Time, modifiedBy string, name string, policyType string, retentionPeriod string, roleType string, serverName string, state string) *BackupResponse

NewBackupResponse instantiates a new BackupResponse 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 NewBackupResponseWithDefaults

func NewBackupResponseWithDefaults() *BackupResponse

NewBackupResponseWithDefaults instantiates a new BackupResponse 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 (*BackupResponse) GetCreatedAt

func (o *BackupResponse) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*BackupResponse) GetCreatedAtOk

func (o *BackupResponse) GetCreatedAtOk() (*time.Time, bool)

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

func (*BackupResponse) GetCreatedBy

func (o *BackupResponse) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*BackupResponse) GetCreatedByOk

func (o *BackupResponse) GetCreatedByOk() (*string, bool)

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

func (*BackupResponse) GetId

func (o *BackupResponse) GetId() string

GetId returns the Id field value

func (*BackupResponse) GetIdOk

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

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

func (*BackupResponse) GetModifiedAt

func (o *BackupResponse) GetModifiedAt() time.Time

GetModifiedAt returns the ModifiedAt field value

func (*BackupResponse) GetModifiedAtOk

func (o *BackupResponse) GetModifiedAtOk() (*time.Time, bool)

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

func (*BackupResponse) GetModifiedBy

func (o *BackupResponse) GetModifiedBy() string

GetModifiedBy returns the ModifiedBy field value

func (*BackupResponse) GetModifiedByOk

func (o *BackupResponse) GetModifiedByOk() (*string, bool)

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

func (*BackupResponse) GetName

func (o *BackupResponse) GetName() string

GetName returns the Name field value

func (*BackupResponse) GetNameOk

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

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

func (*BackupResponse) GetPolicyType

func (o *BackupResponse) GetPolicyType() string

GetPolicyType returns the PolicyType field value

func (*BackupResponse) GetPolicyTypeOk

func (o *BackupResponse) GetPolicyTypeOk() (*string, bool)

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

func (*BackupResponse) GetRetentionPeriod

func (o *BackupResponse) GetRetentionPeriod() string

GetRetentionPeriod returns the RetentionPeriod field value

func (*BackupResponse) GetRetentionPeriodOk

func (o *BackupResponse) GetRetentionPeriodOk() (*string, bool)

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

func (*BackupResponse) GetRoleType

func (o *BackupResponse) GetRoleType() string

GetRoleType returns the RoleType field value

func (*BackupResponse) GetRoleTypeOk

func (o *BackupResponse) GetRoleTypeOk() (*string, bool)

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

func (*BackupResponse) GetServerName

func (o *BackupResponse) GetServerName() string

GetServerName returns the ServerName field value

func (*BackupResponse) GetServerNameOk

func (o *BackupResponse) GetServerNameOk() (*string, bool)

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

func (*BackupResponse) GetState

func (o *BackupResponse) GetState() string

GetState returns the State field value

func (*BackupResponse) GetStateOk

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

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

func (BackupResponse) MarshalJSON

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

func (*BackupResponse) SetCreatedAt

func (o *BackupResponse) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*BackupResponse) SetCreatedBy

func (o *BackupResponse) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*BackupResponse) SetId

func (o *BackupResponse) SetId(v string)

SetId sets field value

func (*BackupResponse) SetModifiedAt

func (o *BackupResponse) SetModifiedAt(v time.Time)

SetModifiedAt sets field value

func (*BackupResponse) SetModifiedBy

func (o *BackupResponse) SetModifiedBy(v string)

SetModifiedBy sets field value

func (*BackupResponse) SetName

func (o *BackupResponse) SetName(v string)

SetName sets field value

func (*BackupResponse) SetPolicyType

func (o *BackupResponse) SetPolicyType(v string)

SetPolicyType sets field value

func (*BackupResponse) SetRetentionPeriod

func (o *BackupResponse) SetRetentionPeriod(v string)

SetRetentionPeriod sets field value

func (*BackupResponse) SetRoleType

func (o *BackupResponse) SetRoleType(v string)

SetRoleType sets field value

func (*BackupResponse) SetServerName

func (o *BackupResponse) SetServerName(v string)

SetServerName sets field value

func (*BackupResponse) SetState

func (o *BackupResponse) SetState(v string)

SetState sets field value

func (BackupResponse) ToMap

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

func (*BackupResponse) UnmarshalJSON

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

type BackupRestoreHistoryListResponse

type BackupRestoreHistoryListResponse struct {
	Contents []BackupRestoreHistoryResponse `json:"contents"`
	// Count
	Count int32 `json:"count"`
}

BackupRestoreHistoryListResponse struct for BackupRestoreHistoryListResponse

func NewBackupRestoreHistoryListResponse

func NewBackupRestoreHistoryListResponse(contents []BackupRestoreHistoryResponse, count int32) *BackupRestoreHistoryListResponse

NewBackupRestoreHistoryListResponse instantiates a new BackupRestoreHistoryListResponse 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 NewBackupRestoreHistoryListResponseWithDefaults

func NewBackupRestoreHistoryListResponseWithDefaults() *BackupRestoreHistoryListResponse

NewBackupRestoreHistoryListResponseWithDefaults instantiates a new BackupRestoreHistoryListResponse 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 (*BackupRestoreHistoryListResponse) GetContents

GetContents returns the Contents field value If the value is explicit nil, the zero value for []BackupRestoreHistoryResponse will be returned

func (*BackupRestoreHistoryListResponse) GetContentsOk

GetContentsOk returns a tuple with the Contents field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupRestoreHistoryListResponse) GetCount

GetCount returns the Count field value

func (*BackupRestoreHistoryListResponse) GetCountOk

func (o *BackupRestoreHistoryListResponse) GetCountOk() (*int32, bool)

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

func (BackupRestoreHistoryListResponse) MarshalJSON

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

func (*BackupRestoreHistoryListResponse) SetContents

SetContents sets field value

func (*BackupRestoreHistoryListResponse) SetCount

func (o *BackupRestoreHistoryListResponse) SetCount(v int32)

SetCount sets field value

func (BackupRestoreHistoryListResponse) ToMap

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

func (*BackupRestoreHistoryListResponse) UnmarshalJSON

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

type BackupRestoreHistoryResponse

type BackupRestoreHistoryResponse struct {
	// Backup ID
	BackupId string `json:"backup_id"`
	// Backup time
	BackupStartTime time.Time `json:"backup_start_time"`
	// Created At
	CreatedAt time.Time `json:"created_at"`
	// Created By
	CreatedBy string `json:"created_by"`
	// Modified At
	ModifiedAt time.Time `json:"modified_at"`
	// Modified By
	ModifiedBy      string         `json:"modified_by"`
	RestoreEndTime  NullableTime   `json:"restore_end_time"`
	RestoreServerId NullableString `json:"restore_server_id"`
	// Restore server name
	RestoreServerName string `json:"restore_server_name"`
	// Restore start time
	RestoreStartTime time.Time `json:"restore_start_time"`
	// Restore state
	RestoreState BackupRestoreState `json:"restore_state"`
	// Schedule name
	ScheduleName string `json:"schedule_name"`
}

BackupRestoreHistoryResponse struct for BackupRestoreHistoryResponse

func NewBackupRestoreHistoryResponse

func NewBackupRestoreHistoryResponse(backupId string, backupStartTime time.Time, createdAt time.Time, createdBy string, modifiedAt time.Time, modifiedBy string, restoreEndTime NullableTime, restoreServerId NullableString, restoreServerName string, restoreStartTime time.Time, restoreState BackupRestoreState, scheduleName string) *BackupRestoreHistoryResponse

NewBackupRestoreHistoryResponse instantiates a new BackupRestoreHistoryResponse 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 NewBackupRestoreHistoryResponseWithDefaults

func NewBackupRestoreHistoryResponseWithDefaults() *BackupRestoreHistoryResponse

NewBackupRestoreHistoryResponseWithDefaults instantiates a new BackupRestoreHistoryResponse 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 (*BackupRestoreHistoryResponse) GetBackupId

func (o *BackupRestoreHistoryResponse) GetBackupId() string

GetBackupId returns the BackupId field value

func (*BackupRestoreHistoryResponse) GetBackupIdOk

func (o *BackupRestoreHistoryResponse) GetBackupIdOk() (*string, bool)

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

func (*BackupRestoreHistoryResponse) GetBackupStartTime

func (o *BackupRestoreHistoryResponse) GetBackupStartTime() time.Time

GetBackupStartTime returns the BackupStartTime field value

func (*BackupRestoreHistoryResponse) GetBackupStartTimeOk

func (o *BackupRestoreHistoryResponse) GetBackupStartTimeOk() (*time.Time, bool)

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

func (*BackupRestoreHistoryResponse) GetCreatedAt

func (o *BackupRestoreHistoryResponse) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*BackupRestoreHistoryResponse) GetCreatedAtOk

func (o *BackupRestoreHistoryResponse) GetCreatedAtOk() (*time.Time, bool)

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

func (*BackupRestoreHistoryResponse) GetCreatedBy

func (o *BackupRestoreHistoryResponse) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*BackupRestoreHistoryResponse) GetCreatedByOk

func (o *BackupRestoreHistoryResponse) GetCreatedByOk() (*string, bool)

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

func (*BackupRestoreHistoryResponse) GetModifiedAt

func (o *BackupRestoreHistoryResponse) GetModifiedAt() time.Time

GetModifiedAt returns the ModifiedAt field value

func (*BackupRestoreHistoryResponse) GetModifiedAtOk

func (o *BackupRestoreHistoryResponse) GetModifiedAtOk() (*time.Time, bool)

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

func (*BackupRestoreHistoryResponse) GetModifiedBy

func (o *BackupRestoreHistoryResponse) GetModifiedBy() string

GetModifiedBy returns the ModifiedBy field value

func (*BackupRestoreHistoryResponse) GetModifiedByOk

func (o *BackupRestoreHistoryResponse) GetModifiedByOk() (*string, bool)

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

func (*BackupRestoreHistoryResponse) GetRestoreEndTime

func (o *BackupRestoreHistoryResponse) GetRestoreEndTime() time.Time

GetRestoreEndTime returns the RestoreEndTime field value If the value is explicit nil, the zero value for time.Time will be returned

func (*BackupRestoreHistoryResponse) GetRestoreEndTimeOk

func (o *BackupRestoreHistoryResponse) GetRestoreEndTimeOk() (*time.Time, bool)

GetRestoreEndTimeOk returns a tuple with the RestoreEndTime field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupRestoreHistoryResponse) GetRestoreServerId

func (o *BackupRestoreHistoryResponse) GetRestoreServerId() string

GetRestoreServerId returns the RestoreServerId field value If the value is explicit nil, the zero value for string will be returned

func (*BackupRestoreHistoryResponse) GetRestoreServerIdOk

func (o *BackupRestoreHistoryResponse) GetRestoreServerIdOk() (*string, bool)

GetRestoreServerIdOk returns a tuple with the RestoreServerId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupRestoreHistoryResponse) GetRestoreServerName

func (o *BackupRestoreHistoryResponse) GetRestoreServerName() string

GetRestoreServerName returns the RestoreServerName field value

func (*BackupRestoreHistoryResponse) GetRestoreServerNameOk

func (o *BackupRestoreHistoryResponse) GetRestoreServerNameOk() (*string, bool)

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

func (*BackupRestoreHistoryResponse) GetRestoreStartTime

func (o *BackupRestoreHistoryResponse) GetRestoreStartTime() time.Time

GetRestoreStartTime returns the RestoreStartTime field value

func (*BackupRestoreHistoryResponse) GetRestoreStartTimeOk

func (o *BackupRestoreHistoryResponse) GetRestoreStartTimeOk() (*time.Time, bool)

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

func (*BackupRestoreHistoryResponse) GetRestoreState

func (o *BackupRestoreHistoryResponse) GetRestoreState() BackupRestoreState

GetRestoreState returns the RestoreState field value

func (*BackupRestoreHistoryResponse) GetRestoreStateOk

func (o *BackupRestoreHistoryResponse) GetRestoreStateOk() (*BackupRestoreState, bool)

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

func (*BackupRestoreHistoryResponse) GetScheduleName

func (o *BackupRestoreHistoryResponse) GetScheduleName() string

GetScheduleName returns the ScheduleName field value

func (*BackupRestoreHistoryResponse) GetScheduleNameOk

func (o *BackupRestoreHistoryResponse) GetScheduleNameOk() (*string, bool)

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

func (BackupRestoreHistoryResponse) MarshalJSON

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

func (*BackupRestoreHistoryResponse) SetBackupId

func (o *BackupRestoreHistoryResponse) SetBackupId(v string)

SetBackupId sets field value

func (*BackupRestoreHistoryResponse) SetBackupStartTime

func (o *BackupRestoreHistoryResponse) SetBackupStartTime(v time.Time)

SetBackupStartTime sets field value

func (*BackupRestoreHistoryResponse) SetCreatedAt

func (o *BackupRestoreHistoryResponse) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*BackupRestoreHistoryResponse) SetCreatedBy

func (o *BackupRestoreHistoryResponse) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*BackupRestoreHistoryResponse) SetModifiedAt

func (o *BackupRestoreHistoryResponse) SetModifiedAt(v time.Time)

SetModifiedAt sets field value

func (*BackupRestoreHistoryResponse) SetModifiedBy

func (o *BackupRestoreHistoryResponse) SetModifiedBy(v string)

SetModifiedBy sets field value

func (*BackupRestoreHistoryResponse) SetRestoreEndTime

func (o *BackupRestoreHistoryResponse) SetRestoreEndTime(v time.Time)

SetRestoreEndTime sets field value

func (*BackupRestoreHistoryResponse) SetRestoreServerId

func (o *BackupRestoreHistoryResponse) SetRestoreServerId(v string)

SetRestoreServerId sets field value

func (*BackupRestoreHistoryResponse) SetRestoreServerName

func (o *BackupRestoreHistoryResponse) SetRestoreServerName(v string)

SetRestoreServerName sets field value

func (*BackupRestoreHistoryResponse) SetRestoreStartTime

func (o *BackupRestoreHistoryResponse) SetRestoreStartTime(v time.Time)

SetRestoreStartTime sets field value

func (*BackupRestoreHistoryResponse) SetRestoreState

func (o *BackupRestoreHistoryResponse) SetRestoreState(v BackupRestoreState)

SetRestoreState sets field value

func (*BackupRestoreHistoryResponse) SetScheduleName

func (o *BackupRestoreHistoryResponse) SetScheduleName(v string)

SetScheduleName sets field value

func (BackupRestoreHistoryResponse) ToMap

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

func (*BackupRestoreHistoryResponse) UnmarshalJSON

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

type BackupRestoreRequest

type BackupRestoreRequest struct {
	Networks []Network `json:"networks,omitempty"`
	// Restore server name
	RestoreServerName string `json:"restore_server_name" validate:"regexp=^[a-zA-Z0-9-_ ]*$"`
	// Restore target ID
	RestoreTargetId string         `json:"restore_target_id"`
	ServerTypeId    NullableString `json:"server_type_id,omitempty"`
}

BackupRestoreRequest struct for BackupRestoreRequest

func NewBackupRestoreRequest

func NewBackupRestoreRequest(restoreServerName string, restoreTargetId string) *BackupRestoreRequest

NewBackupRestoreRequest instantiates a new BackupRestoreRequest 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 NewBackupRestoreRequestWithDefaults

func NewBackupRestoreRequestWithDefaults() *BackupRestoreRequest

NewBackupRestoreRequestWithDefaults instantiates a new BackupRestoreRequest 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 (*BackupRestoreRequest) GetNetworks

func (o *BackupRestoreRequest) GetNetworks() []Network

GetNetworks returns the Networks field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BackupRestoreRequest) GetNetworksOk

func (o *BackupRestoreRequest) GetNetworksOk() ([]Network, bool)

GetNetworksOk returns a tuple with the Networks field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupRestoreRequest) GetRestoreServerName

func (o *BackupRestoreRequest) GetRestoreServerName() string

GetRestoreServerName returns the RestoreServerName field value

func (*BackupRestoreRequest) GetRestoreServerNameOk

func (o *BackupRestoreRequest) GetRestoreServerNameOk() (*string, bool)

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

func (*BackupRestoreRequest) GetRestoreTargetId

func (o *BackupRestoreRequest) GetRestoreTargetId() string

GetRestoreTargetId returns the RestoreTargetId field value

func (*BackupRestoreRequest) GetRestoreTargetIdOk

func (o *BackupRestoreRequest) GetRestoreTargetIdOk() (*string, bool)

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

func (*BackupRestoreRequest) GetServerTypeId

func (o *BackupRestoreRequest) GetServerTypeId() string

GetServerTypeId returns the ServerTypeId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BackupRestoreRequest) GetServerTypeIdOk

func (o *BackupRestoreRequest) GetServerTypeIdOk() (*string, bool)

GetServerTypeIdOk returns a tuple with the ServerTypeId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupRestoreRequest) HasNetworks

func (o *BackupRestoreRequest) HasNetworks() bool

HasNetworks returns a boolean if a field has been set.

func (*BackupRestoreRequest) HasServerTypeId

func (o *BackupRestoreRequest) HasServerTypeId() bool

HasServerTypeId returns a boolean if a field has been set.

func (BackupRestoreRequest) MarshalJSON

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

func (*BackupRestoreRequest) SetNetworks

func (o *BackupRestoreRequest) SetNetworks(v []Network)

SetNetworks gets a reference to the given []Network and assigns it to the Networks field.

func (*BackupRestoreRequest) SetRestoreServerName

func (o *BackupRestoreRequest) SetRestoreServerName(v string)

SetRestoreServerName sets field value

func (*BackupRestoreRequest) SetRestoreTargetId

func (o *BackupRestoreRequest) SetRestoreTargetId(v string)

SetRestoreTargetId sets field value

func (*BackupRestoreRequest) SetServerTypeId

func (o *BackupRestoreRequest) SetServerTypeId(v string)

SetServerTypeId gets a reference to the given NullableString and assigns it to the ServerTypeId field.

func (*BackupRestoreRequest) SetServerTypeIdNil

func (o *BackupRestoreRequest) SetServerTypeIdNil()

SetServerTypeIdNil sets the value for ServerTypeId to be an explicit nil

func (BackupRestoreRequest) ToMap

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

func (*BackupRestoreRequest) UnmarshalJSON

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

func (*BackupRestoreRequest) UnsetServerTypeId

func (o *BackupRestoreRequest) UnsetServerTypeId()

UnsetServerTypeId ensures that no value is present for ServerTypeId, not even an explicit nil

type BackupRestoreServerNameDuplicateResponse

type BackupRestoreServerNameDuplicateResponse struct {
	// Result
	Result bool `json:"result"`
}

BackupRestoreServerNameDuplicateResponse struct for BackupRestoreServerNameDuplicateResponse

func NewBackupRestoreServerNameDuplicateResponse

func NewBackupRestoreServerNameDuplicateResponse(result bool) *BackupRestoreServerNameDuplicateResponse

NewBackupRestoreServerNameDuplicateResponse instantiates a new BackupRestoreServerNameDuplicateResponse 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 NewBackupRestoreServerNameDuplicateResponseWithDefaults

func NewBackupRestoreServerNameDuplicateResponseWithDefaults() *BackupRestoreServerNameDuplicateResponse

NewBackupRestoreServerNameDuplicateResponseWithDefaults instantiates a new BackupRestoreServerNameDuplicateResponse 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 (*BackupRestoreServerNameDuplicateResponse) GetResult

GetResult returns the Result field value

func (*BackupRestoreServerNameDuplicateResponse) GetResultOk

func (o *BackupRestoreServerNameDuplicateResponse) GetResultOk() (*bool, bool)

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

func (BackupRestoreServerNameDuplicateResponse) MarshalJSON

func (*BackupRestoreServerNameDuplicateResponse) SetResult

SetResult sets field value

func (BackupRestoreServerNameDuplicateResponse) ToMap

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

func (*BackupRestoreServerNameDuplicateResponse) UnmarshalJSON

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

type BackupRestoreState

type BackupRestoreState string

BackupRestoreState the model 'BackupRestoreState'

const (
	BACKUPRESTORESTATE_COMPLETED  BackupRestoreState = "COMPLETED"
	BACKUPRESTORESTATE_FAILED     BackupRestoreState = "FAILED"
	BACKUPRESTORESTATE_INPROGRESS BackupRestoreState = "INPROGRESS"
)

List of BackupRestoreState

func NewBackupRestoreStateFromValue

func NewBackupRestoreStateFromValue(v string) (*BackupRestoreState, error)

NewBackupRestoreStateFromValue returns a pointer to a valid BackupRestoreState for the value passed as argument, or an error if the value passed is not allowed by the enum

func (BackupRestoreState) IsValid

func (v BackupRestoreState) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (BackupRestoreState) Ptr

Ptr returns reference to BackupRestoreState value

func (*BackupRestoreState) UnmarshalJSON

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

type BackupRestoreSubnetListResponse

type BackupRestoreSubnetListResponse struct {
	// Count
	Count   int32                         `json:"count"`
	Subnets []BackupRestoreSubnetResponse `json:"subnets,omitempty"`
}

BackupRestoreSubnetListResponse struct for BackupRestoreSubnetListResponse

func NewBackupRestoreSubnetListResponse

func NewBackupRestoreSubnetListResponse(count int32) *BackupRestoreSubnetListResponse

NewBackupRestoreSubnetListResponse instantiates a new BackupRestoreSubnetListResponse 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 NewBackupRestoreSubnetListResponseWithDefaults

func NewBackupRestoreSubnetListResponseWithDefaults() *BackupRestoreSubnetListResponse

NewBackupRestoreSubnetListResponseWithDefaults instantiates a new BackupRestoreSubnetListResponse 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 (*BackupRestoreSubnetListResponse) GetCount

func (o *BackupRestoreSubnetListResponse) GetCount() int32

GetCount returns the Count field value

func (*BackupRestoreSubnetListResponse) GetCountOk

func (o *BackupRestoreSubnetListResponse) GetCountOk() (*int32, bool)

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

func (*BackupRestoreSubnetListResponse) GetSubnets

GetSubnets returns the Subnets field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BackupRestoreSubnetListResponse) GetSubnetsOk

GetSubnetsOk returns a tuple with the Subnets field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupRestoreSubnetListResponse) HasSubnets

func (o *BackupRestoreSubnetListResponse) HasSubnets() bool

HasSubnets returns a boolean if a field has been set.

func (BackupRestoreSubnetListResponse) MarshalJSON

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

func (*BackupRestoreSubnetListResponse) SetCount

func (o *BackupRestoreSubnetListResponse) SetCount(v int32)

SetCount sets field value

func (*BackupRestoreSubnetListResponse) SetSubnets

SetSubnets gets a reference to the given []BackupRestoreSubnetResponse and assigns it to the Subnets field.

func (BackupRestoreSubnetListResponse) ToMap

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

func (*BackupRestoreSubnetListResponse) UnmarshalJSON

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

type BackupRestoreSubnetResponse

type BackupRestoreSubnetResponse struct {
	// Account  ID
	AccountId string `json:"account_id"`
	// Subnet Cidr
	Cidr string `json:"cidr"`
	// Created At
	CreatedAt time.Time `json:"created_at"`
	// Created By
	CreatedBy        string         `json:"created_by"`
	GatewayIpAddress NullableString `json:"gateway_ip_address"`
	// Subnet ID
	Id string `json:"id"`
	// Modified At
	ModifiedAt time.Time `json:"modified_at"`
	// Modified By
	ModifiedBy string `json:"modified_by"`
	// Subnet Name
	Name string `json:"name"`
	// Subnet state
	State string `json:"state"`
	// Subnet Type
	Type string `json:"type"`
	// VPC ID
	VpcId string `json:"vpc_id"`
	// VPC name
	VpcName string `json:"vpc_name"`
}

BackupRestoreSubnetResponse struct for BackupRestoreSubnetResponse

func NewBackupRestoreSubnetResponse

func NewBackupRestoreSubnetResponse(accountId string, cidr string, createdAt time.Time, createdBy string, gatewayIpAddress NullableString, id string, modifiedAt time.Time, modifiedBy string, name string, state string, type_ string, vpcId string, vpcName string) *BackupRestoreSubnetResponse

NewBackupRestoreSubnetResponse instantiates a new BackupRestoreSubnetResponse 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 NewBackupRestoreSubnetResponseWithDefaults

func NewBackupRestoreSubnetResponseWithDefaults() *BackupRestoreSubnetResponse

NewBackupRestoreSubnetResponseWithDefaults instantiates a new BackupRestoreSubnetResponse 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 (*BackupRestoreSubnetResponse) GetAccountId

func (o *BackupRestoreSubnetResponse) GetAccountId() string

GetAccountId returns the AccountId field value

func (*BackupRestoreSubnetResponse) GetAccountIdOk

func (o *BackupRestoreSubnetResponse) GetAccountIdOk() (*string, bool)

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

func (*BackupRestoreSubnetResponse) GetCidr

func (o *BackupRestoreSubnetResponse) GetCidr() string

GetCidr returns the Cidr field value

func (*BackupRestoreSubnetResponse) GetCidrOk

func (o *BackupRestoreSubnetResponse) GetCidrOk() (*string, bool)

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

func (*BackupRestoreSubnetResponse) GetCreatedAt

func (o *BackupRestoreSubnetResponse) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*BackupRestoreSubnetResponse) GetCreatedAtOk

func (o *BackupRestoreSubnetResponse) GetCreatedAtOk() (*time.Time, bool)

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

func (*BackupRestoreSubnetResponse) GetCreatedBy

func (o *BackupRestoreSubnetResponse) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*BackupRestoreSubnetResponse) GetCreatedByOk

func (o *BackupRestoreSubnetResponse) GetCreatedByOk() (*string, bool)

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

func (*BackupRestoreSubnetResponse) GetGatewayIpAddress

func (o *BackupRestoreSubnetResponse) GetGatewayIpAddress() string

GetGatewayIpAddress returns the GatewayIpAddress field value If the value is explicit nil, the zero value for string will be returned

func (*BackupRestoreSubnetResponse) GetGatewayIpAddressOk

func (o *BackupRestoreSubnetResponse) GetGatewayIpAddressOk() (*string, bool)

GetGatewayIpAddressOk returns a tuple with the GatewayIpAddress field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupRestoreSubnetResponse) GetId

GetId returns the Id field value

func (*BackupRestoreSubnetResponse) GetIdOk

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

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

func (*BackupRestoreSubnetResponse) GetModifiedAt

func (o *BackupRestoreSubnetResponse) GetModifiedAt() time.Time

GetModifiedAt returns the ModifiedAt field value

func (*BackupRestoreSubnetResponse) GetModifiedAtOk

func (o *BackupRestoreSubnetResponse) GetModifiedAtOk() (*time.Time, bool)

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

func (*BackupRestoreSubnetResponse) GetModifiedBy

func (o *BackupRestoreSubnetResponse) GetModifiedBy() string

GetModifiedBy returns the ModifiedBy field value

func (*BackupRestoreSubnetResponse) GetModifiedByOk

func (o *BackupRestoreSubnetResponse) GetModifiedByOk() (*string, bool)

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

func (*BackupRestoreSubnetResponse) GetName

func (o *BackupRestoreSubnetResponse) GetName() string

GetName returns the Name field value

func (*BackupRestoreSubnetResponse) GetNameOk

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

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

func (*BackupRestoreSubnetResponse) GetState

func (o *BackupRestoreSubnetResponse) GetState() string

GetState returns the State field value

func (*BackupRestoreSubnetResponse) GetStateOk

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

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

func (*BackupRestoreSubnetResponse) GetType

func (o *BackupRestoreSubnetResponse) GetType() string

GetType returns the Type field value

func (*BackupRestoreSubnetResponse) GetTypeOk

func (o *BackupRestoreSubnetResponse) GetTypeOk() (*string, bool)

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

func (*BackupRestoreSubnetResponse) GetVpcId

func (o *BackupRestoreSubnetResponse) GetVpcId() string

GetVpcId returns the VpcId field value

func (*BackupRestoreSubnetResponse) GetVpcIdOk

func (o *BackupRestoreSubnetResponse) GetVpcIdOk() (*string, bool)

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

func (*BackupRestoreSubnetResponse) GetVpcName

func (o *BackupRestoreSubnetResponse) GetVpcName() string

GetVpcName returns the VpcName field value

func (*BackupRestoreSubnetResponse) GetVpcNameOk

func (o *BackupRestoreSubnetResponse) GetVpcNameOk() (*string, bool)

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

func (BackupRestoreSubnetResponse) MarshalJSON

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

func (*BackupRestoreSubnetResponse) SetAccountId

func (o *BackupRestoreSubnetResponse) SetAccountId(v string)

SetAccountId sets field value

func (*BackupRestoreSubnetResponse) SetCidr

func (o *BackupRestoreSubnetResponse) SetCidr(v string)

SetCidr sets field value

func (*BackupRestoreSubnetResponse) SetCreatedAt

func (o *BackupRestoreSubnetResponse) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*BackupRestoreSubnetResponse) SetCreatedBy

func (o *BackupRestoreSubnetResponse) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*BackupRestoreSubnetResponse) SetGatewayIpAddress

func (o *BackupRestoreSubnetResponse) SetGatewayIpAddress(v string)

SetGatewayIpAddress sets field value

func (*BackupRestoreSubnetResponse) SetId

func (o *BackupRestoreSubnetResponse) SetId(v string)

SetId sets field value

func (*BackupRestoreSubnetResponse) SetModifiedAt

func (o *BackupRestoreSubnetResponse) SetModifiedAt(v time.Time)

SetModifiedAt sets field value

func (*BackupRestoreSubnetResponse) SetModifiedBy

func (o *BackupRestoreSubnetResponse) SetModifiedBy(v string)

SetModifiedBy sets field value

func (*BackupRestoreSubnetResponse) SetName

func (o *BackupRestoreSubnetResponse) SetName(v string)

SetName sets field value

func (*BackupRestoreSubnetResponse) SetState

func (o *BackupRestoreSubnetResponse) SetState(v string)

SetState sets field value

func (*BackupRestoreSubnetResponse) SetType

func (o *BackupRestoreSubnetResponse) SetType(v string)

SetType sets field value

func (*BackupRestoreSubnetResponse) SetVpcId

func (o *BackupRestoreSubnetResponse) SetVpcId(v string)

SetVpcId sets field value

func (*BackupRestoreSubnetResponse) SetVpcName

func (o *BackupRestoreSubnetResponse) SetVpcName(v string)

SetVpcName sets field value

func (BackupRestoreSubnetResponse) ToMap

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

func (*BackupRestoreSubnetResponse) UnmarshalJSON

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

type BackupRestoreTargetDeleteRequest

type BackupRestoreTargetDeleteRequest struct {
	// Backup restore target ID list
	RestoreTargetIds []string `json:"restore_target_ids"`
}

BackupRestoreTargetDeleteRequest struct for BackupRestoreTargetDeleteRequest

func NewBackupRestoreTargetDeleteRequest

func NewBackupRestoreTargetDeleteRequest(restoreTargetIds []string) *BackupRestoreTargetDeleteRequest

NewBackupRestoreTargetDeleteRequest instantiates a new BackupRestoreTargetDeleteRequest 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 NewBackupRestoreTargetDeleteRequestWithDefaults

func NewBackupRestoreTargetDeleteRequestWithDefaults() *BackupRestoreTargetDeleteRequest

NewBackupRestoreTargetDeleteRequestWithDefaults instantiates a new BackupRestoreTargetDeleteRequest 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 (*BackupRestoreTargetDeleteRequest) GetRestoreTargetIds

func (o *BackupRestoreTargetDeleteRequest) GetRestoreTargetIds() []string

GetRestoreTargetIds returns the RestoreTargetIds field value

func (*BackupRestoreTargetDeleteRequest) GetRestoreTargetIdsOk

func (o *BackupRestoreTargetDeleteRequest) GetRestoreTargetIdsOk() ([]string, bool)

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

func (BackupRestoreTargetDeleteRequest) MarshalJSON

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

func (*BackupRestoreTargetDeleteRequest) SetRestoreTargetIds

func (o *BackupRestoreTargetDeleteRequest) SetRestoreTargetIds(v []string)

SetRestoreTargetIds sets field value

func (BackupRestoreTargetDeleteRequest) ToMap

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

func (*BackupRestoreTargetDeleteRequest) UnmarshalJSON

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

type BackupRestoreTargetListResponse

type BackupRestoreTargetListResponse struct {
	Contents []BackupRestoreTargetResponse `json:"contents"`
	// Count
	Count int32 `json:"count"`
}

BackupRestoreTargetListResponse struct for BackupRestoreTargetListResponse

func NewBackupRestoreTargetListResponse

func NewBackupRestoreTargetListResponse(contents []BackupRestoreTargetResponse, count int32) *BackupRestoreTargetListResponse

NewBackupRestoreTargetListResponse instantiates a new BackupRestoreTargetListResponse 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 NewBackupRestoreTargetListResponseWithDefaults

func NewBackupRestoreTargetListResponseWithDefaults() *BackupRestoreTargetListResponse

NewBackupRestoreTargetListResponseWithDefaults instantiates a new BackupRestoreTargetListResponse 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 (*BackupRestoreTargetListResponse) GetContents

GetContents returns the Contents field value If the value is explicit nil, the zero value for []BackupRestoreTargetResponse will be returned

func (*BackupRestoreTargetListResponse) GetContentsOk

GetContentsOk returns a tuple with the Contents field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupRestoreTargetListResponse) GetCount

func (o *BackupRestoreTargetListResponse) GetCount() int32

GetCount returns the Count field value

func (*BackupRestoreTargetListResponse) GetCountOk

func (o *BackupRestoreTargetListResponse) GetCountOk() (*int32, bool)

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

func (BackupRestoreTargetListResponse) MarshalJSON

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

func (*BackupRestoreTargetListResponse) SetContents

SetContents sets field value

func (*BackupRestoreTargetListResponse) SetCount

func (o *BackupRestoreTargetListResponse) SetCount(v int32)

SetCount sets field value

func (BackupRestoreTargetListResponse) ToMap

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

func (*BackupRestoreTargetListResponse) UnmarshalJSON

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

type BackupRestoreTargetResponse

type BackupRestoreTargetResponse struct {
	BackupStartTime NullableTime `json:"backup_start_time"`
	// Whether restore available
	IsRestoreAvailable bool `json:"is_restore_available"`
	// Restore target ID
	RestoreTargetId string `json:"restore_target_id"`
	// Backup retention period
	RetentionPeriod string `json:"retention_period"`
	// Schedule ID
	ScheduleId string `json:"schedule_id"`
	// Schedule name
	ScheduleName string `json:"schedule_name"`
	// Backup size(GB)
	UsageGb float32 `json:"usage_gb"`
}

BackupRestoreTargetResponse struct for BackupRestoreTargetResponse

func NewBackupRestoreTargetResponse

func NewBackupRestoreTargetResponse(backupStartTime NullableTime, isRestoreAvailable bool, restoreTargetId string, retentionPeriod string, scheduleId string, scheduleName string, usageGb float32) *BackupRestoreTargetResponse

NewBackupRestoreTargetResponse instantiates a new BackupRestoreTargetResponse 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 NewBackupRestoreTargetResponseWithDefaults

func NewBackupRestoreTargetResponseWithDefaults() *BackupRestoreTargetResponse

NewBackupRestoreTargetResponseWithDefaults instantiates a new BackupRestoreTargetResponse 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 (*BackupRestoreTargetResponse) GetBackupStartTime

func (o *BackupRestoreTargetResponse) GetBackupStartTime() time.Time

GetBackupStartTime returns the BackupStartTime field value If the value is explicit nil, the zero value for time.Time will be returned

func (*BackupRestoreTargetResponse) GetBackupStartTimeOk

func (o *BackupRestoreTargetResponse) GetBackupStartTimeOk() (*time.Time, bool)

GetBackupStartTimeOk returns a tuple with the BackupStartTime field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupRestoreTargetResponse) GetIsRestoreAvailable

func (o *BackupRestoreTargetResponse) GetIsRestoreAvailable() bool

GetIsRestoreAvailable returns the IsRestoreAvailable field value

func (*BackupRestoreTargetResponse) GetIsRestoreAvailableOk

func (o *BackupRestoreTargetResponse) GetIsRestoreAvailableOk() (*bool, bool)

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

func (*BackupRestoreTargetResponse) GetRestoreTargetId

func (o *BackupRestoreTargetResponse) GetRestoreTargetId() string

GetRestoreTargetId returns the RestoreTargetId field value

func (*BackupRestoreTargetResponse) GetRestoreTargetIdOk

func (o *BackupRestoreTargetResponse) GetRestoreTargetIdOk() (*string, bool)

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

func (*BackupRestoreTargetResponse) GetRetentionPeriod

func (o *BackupRestoreTargetResponse) GetRetentionPeriod() string

GetRetentionPeriod returns the RetentionPeriod field value

func (*BackupRestoreTargetResponse) GetRetentionPeriodOk

func (o *BackupRestoreTargetResponse) GetRetentionPeriodOk() (*string, bool)

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

func (*BackupRestoreTargetResponse) GetScheduleId

func (o *BackupRestoreTargetResponse) GetScheduleId() string

GetScheduleId returns the ScheduleId field value

func (*BackupRestoreTargetResponse) GetScheduleIdOk

func (o *BackupRestoreTargetResponse) GetScheduleIdOk() (*string, bool)

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

func (*BackupRestoreTargetResponse) GetScheduleName

func (o *BackupRestoreTargetResponse) GetScheduleName() string

GetScheduleName returns the ScheduleName field value

func (*BackupRestoreTargetResponse) GetScheduleNameOk

func (o *BackupRestoreTargetResponse) GetScheduleNameOk() (*string, bool)

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

func (*BackupRestoreTargetResponse) GetUsageGb

func (o *BackupRestoreTargetResponse) GetUsageGb() float32

GetUsageGb returns the UsageGb field value

func (*BackupRestoreTargetResponse) GetUsageGbOk

func (o *BackupRestoreTargetResponse) GetUsageGbOk() (*float32, bool)

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

func (BackupRestoreTargetResponse) MarshalJSON

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

func (*BackupRestoreTargetResponse) SetBackupStartTime

func (o *BackupRestoreTargetResponse) SetBackupStartTime(v time.Time)

SetBackupStartTime sets field value

func (*BackupRestoreTargetResponse) SetIsRestoreAvailable

func (o *BackupRestoreTargetResponse) SetIsRestoreAvailable(v bool)

SetIsRestoreAvailable sets field value

func (*BackupRestoreTargetResponse) SetRestoreTargetId

func (o *BackupRestoreTargetResponse) SetRestoreTargetId(v string)

SetRestoreTargetId sets field value

func (*BackupRestoreTargetResponse) SetRetentionPeriod

func (o *BackupRestoreTargetResponse) SetRetentionPeriod(v string)

SetRetentionPeriod sets field value

func (*BackupRestoreTargetResponse) SetScheduleId

func (o *BackupRestoreTargetResponse) SetScheduleId(v string)

SetScheduleId sets field value

func (*BackupRestoreTargetResponse) SetScheduleName

func (o *BackupRestoreTargetResponse) SetScheduleName(v string)

SetScheduleName sets field value

func (*BackupRestoreTargetResponse) SetUsageGb

func (o *BackupRestoreTargetResponse) SetUsageGb(v float32)

SetUsageGb sets field value

func (BackupRestoreTargetResponse) ToMap

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

func (*BackupRestoreTargetResponse) UnmarshalJSON

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

type BackupRetentionPeriod

type BackupRetentionPeriod string

BackupRetentionPeriod the model 'BackupRetentionPeriod'

const (
	BACKUPRETENTIONPERIOD_WEEK_2  BackupRetentionPeriod = "WEEK_2"
	BACKUPRETENTIONPERIOD_MONTH_1 BackupRetentionPeriod = "MONTH_1"
	BACKUPRETENTIONPERIOD_MONTH_3 BackupRetentionPeriod = "MONTH_3"
	BACKUPRETENTIONPERIOD_MONTH_6 BackupRetentionPeriod = "MONTH_6"
	BACKUPRETENTIONPERIOD_YEAR_1  BackupRetentionPeriod = "YEAR_1"
)

List of BackupRetentionPeriod

func NewBackupRetentionPeriodFromValue

func NewBackupRetentionPeriodFromValue(v string) (*BackupRetentionPeriod, error)

NewBackupRetentionPeriodFromValue returns a pointer to a valid BackupRetentionPeriod for the value passed as argument, or an error if the value passed is not allowed by the enum

func (BackupRetentionPeriod) IsValid

func (v BackupRetentionPeriod) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (BackupRetentionPeriod) Ptr

Ptr returns reference to BackupRetentionPeriod value

func (*BackupRetentionPeriod) UnmarshalJSON

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

type BackupScheduleCreateRequest

type BackupScheduleCreateRequest struct {
	// Schedule frequency type
	Frequency BackupScheduleFrequency   `json:"frequency"`
	StartDay  NullableBackupScheduleDay `json:"start_day,omitempty"`
	// Backup schedule start time
	StartTime string                     `json:"start_time"`
	StartWeek NullableBackupScheduleWeek `json:"start_week,omitempty"`
	// Schedule type
	Type BackupScheduleType `json:"type"`
}

BackupScheduleCreateRequest struct for BackupScheduleCreateRequest

func NewBackupScheduleCreateRequest

func NewBackupScheduleCreateRequest(frequency BackupScheduleFrequency, startTime string, type_ BackupScheduleType) *BackupScheduleCreateRequest

NewBackupScheduleCreateRequest instantiates a new BackupScheduleCreateRequest 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 NewBackupScheduleCreateRequestWithDefaults

func NewBackupScheduleCreateRequestWithDefaults() *BackupScheduleCreateRequest

NewBackupScheduleCreateRequestWithDefaults instantiates a new BackupScheduleCreateRequest 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 (*BackupScheduleCreateRequest) GetFrequency

GetFrequency returns the Frequency field value

func (*BackupScheduleCreateRequest) GetFrequencyOk

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

func (*BackupScheduleCreateRequest) GetStartDay

GetStartDay returns the StartDay field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BackupScheduleCreateRequest) GetStartDayOk

func (o *BackupScheduleCreateRequest) GetStartDayOk() (*BackupScheduleDay, bool)

GetStartDayOk returns a tuple with the StartDay field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupScheduleCreateRequest) GetStartTime

func (o *BackupScheduleCreateRequest) GetStartTime() string

GetStartTime returns the StartTime field value

func (*BackupScheduleCreateRequest) GetStartTimeOk

func (o *BackupScheduleCreateRequest) GetStartTimeOk() (*string, bool)

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

func (*BackupScheduleCreateRequest) GetStartWeek

GetStartWeek returns the StartWeek field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BackupScheduleCreateRequest) GetStartWeekOk

func (o *BackupScheduleCreateRequest) GetStartWeekOk() (*BackupScheduleWeek, bool)

GetStartWeekOk returns a tuple with the StartWeek field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupScheduleCreateRequest) GetType

GetType returns the Type field value

func (*BackupScheduleCreateRequest) GetTypeOk

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

func (*BackupScheduleCreateRequest) HasStartDay

func (o *BackupScheduleCreateRequest) HasStartDay() bool

HasStartDay returns a boolean if a field has been set.

func (*BackupScheduleCreateRequest) HasStartWeek

func (o *BackupScheduleCreateRequest) HasStartWeek() bool

HasStartWeek returns a boolean if a field has been set.

func (BackupScheduleCreateRequest) MarshalJSON

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

func (*BackupScheduleCreateRequest) SetFrequency

SetFrequency sets field value

func (*BackupScheduleCreateRequest) SetStartDay

SetStartDay gets a reference to the given NullableBackupScheduleDay and assigns it to the StartDay field.

func (*BackupScheduleCreateRequest) SetStartDayNil

func (o *BackupScheduleCreateRequest) SetStartDayNil()

SetStartDayNil sets the value for StartDay to be an explicit nil

func (*BackupScheduleCreateRequest) SetStartTime

func (o *BackupScheduleCreateRequest) SetStartTime(v string)

SetStartTime sets field value

func (*BackupScheduleCreateRequest) SetStartWeek

SetStartWeek gets a reference to the given NullableBackupScheduleWeek and assigns it to the StartWeek field.

func (*BackupScheduleCreateRequest) SetStartWeekNil

func (o *BackupScheduleCreateRequest) SetStartWeekNil()

SetStartWeekNil sets the value for StartWeek to be an explicit nil

func (*BackupScheduleCreateRequest) SetType

SetType sets field value

func (BackupScheduleCreateRequest) ToMap

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

func (*BackupScheduleCreateRequest) UnmarshalJSON

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

func (*BackupScheduleCreateRequest) UnsetStartDay

func (o *BackupScheduleCreateRequest) UnsetStartDay()

UnsetStartDay ensures that no value is present for StartDay, not even an explicit nil

func (*BackupScheduleCreateRequest) UnsetStartWeek

func (o *BackupScheduleCreateRequest) UnsetStartWeek()

UnsetStartWeek ensures that no value is present for StartWeek, not even an explicit nil

type BackupScheduleDay

type BackupScheduleDay string

BackupScheduleDay the model 'BackupScheduleDay'

const (
	BACKUPSCHEDULEDAY_MON BackupScheduleDay = "MON"
	BACKUPSCHEDULEDAY_TUE BackupScheduleDay = "TUE"
	BACKUPSCHEDULEDAY_WED BackupScheduleDay = "WED"
	BACKUPSCHEDULEDAY_THU BackupScheduleDay = "THU"
	BACKUPSCHEDULEDAY_FRI BackupScheduleDay = "FRI"
	BACKUPSCHEDULEDAY_SAT BackupScheduleDay = "SAT"
	BACKUPSCHEDULEDAY_SUN BackupScheduleDay = "SUN"
)

List of BackupScheduleDay

func NewBackupScheduleDayFromValue

func NewBackupScheduleDayFromValue(v string) (*BackupScheduleDay, error)

NewBackupScheduleDayFromValue returns a pointer to a valid BackupScheduleDay for the value passed as argument, or an error if the value passed is not allowed by the enum

func (BackupScheduleDay) IsValid

func (v BackupScheduleDay) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (BackupScheduleDay) Ptr

Ptr returns reference to BackupScheduleDay value

func (*BackupScheduleDay) UnmarshalJSON

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

type BackupScheduleFrequency

type BackupScheduleFrequency string

BackupScheduleFrequency the model 'BackupScheduleFrequency'

const (
	BACKUPSCHEDULEFREQUENCY_MONTHLY BackupScheduleFrequency = "MONTHLY"
	BACKUPSCHEDULEFREQUENCY_WEEKLY  BackupScheduleFrequency = "WEEKLY"
	BACKUPSCHEDULEFREQUENCY_DAILY   BackupScheduleFrequency = "DAILY"
)

List of BackupScheduleFrequency

func NewBackupScheduleFrequencyFromValue

func NewBackupScheduleFrequencyFromValue(v string) (*BackupScheduleFrequency, error)

NewBackupScheduleFrequencyFromValue returns a pointer to a valid BackupScheduleFrequency for the value passed as argument, or an error if the value passed is not allowed by the enum

func (BackupScheduleFrequency) IsValid

func (v BackupScheduleFrequency) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (BackupScheduleFrequency) Ptr

Ptr returns reference to BackupScheduleFrequency value

func (*BackupScheduleFrequency) UnmarshalJSON

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

type BackupScheduleListResponse

type BackupScheduleListResponse struct {
	Contents []BackupScheduleResponse `json:"contents"`
	// Count
	Count int32 `json:"count"`
}

BackupScheduleListResponse struct for BackupScheduleListResponse

func NewBackupScheduleListResponse

func NewBackupScheduleListResponse(contents []BackupScheduleResponse, count int32) *BackupScheduleListResponse

NewBackupScheduleListResponse instantiates a new BackupScheduleListResponse 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 NewBackupScheduleListResponseWithDefaults

func NewBackupScheduleListResponseWithDefaults() *BackupScheduleListResponse

NewBackupScheduleListResponseWithDefaults instantiates a new BackupScheduleListResponse 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 (*BackupScheduleListResponse) GetContents

GetContents returns the Contents field value If the value is explicit nil, the zero value for []BackupScheduleResponse will be returned

func (*BackupScheduleListResponse) GetContentsOk

func (o *BackupScheduleListResponse) GetContentsOk() ([]BackupScheduleResponse, bool)

GetContentsOk returns a tuple with the Contents field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupScheduleListResponse) GetCount

func (o *BackupScheduleListResponse) GetCount() int32

GetCount returns the Count field value

func (*BackupScheduleListResponse) GetCountOk

func (o *BackupScheduleListResponse) GetCountOk() (*int32, bool)

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

func (BackupScheduleListResponse) MarshalJSON

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

func (*BackupScheduleListResponse) SetContents

SetContents sets field value

func (*BackupScheduleListResponse) SetCount

func (o *BackupScheduleListResponse) SetCount(v int32)

SetCount sets field value

func (BackupScheduleListResponse) ToMap

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

func (*BackupScheduleListResponse) UnmarshalJSON

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

type BackupScheduleResponse

type BackupScheduleResponse struct {
	// Backup ID
	BackupId string `json:"backup_id"`
	// Created At
	CreatedAt time.Time `json:"created_at"`
	// Created By
	CreatedBy string `json:"created_by"`
	// Schedule frequency type
	Frequency BackupScheduleFrequency `json:"frequency"`
	// ID
	Id string `json:"id"`
	// Modified At
	ModifiedAt time.Time `json:"modified_at"`
	// Modified By
	ModifiedBy string `json:"modified_by"`
	// Schedule name
	Name      string         `json:"name"`
	StartDay  NullableString `json:"start_day"`
	StartTime NullableString `json:"start_time"`
	StartWeek NullableString `json:"start_week"`
	// Backup Schedule state
	State string `json:"state"`
	// Schedule type
	Type string `json:"type"`
}

BackupScheduleResponse struct for BackupScheduleResponse

func NewBackupScheduleResponse

func NewBackupScheduleResponse(backupId string, createdAt time.Time, createdBy string, frequency BackupScheduleFrequency, id string, modifiedAt time.Time, modifiedBy string, name string, startDay NullableString, startTime NullableString, startWeek NullableString, state string, type_ string) *BackupScheduleResponse

NewBackupScheduleResponse instantiates a new BackupScheduleResponse 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 NewBackupScheduleResponseWithDefaults

func NewBackupScheduleResponseWithDefaults() *BackupScheduleResponse

NewBackupScheduleResponseWithDefaults instantiates a new BackupScheduleResponse 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 (*BackupScheduleResponse) GetBackupId

func (o *BackupScheduleResponse) GetBackupId() string

GetBackupId returns the BackupId field value

func (*BackupScheduleResponse) GetBackupIdOk

func (o *BackupScheduleResponse) GetBackupIdOk() (*string, bool)

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

func (*BackupScheduleResponse) GetCreatedAt

func (o *BackupScheduleResponse) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*BackupScheduleResponse) GetCreatedAtOk

func (o *BackupScheduleResponse) GetCreatedAtOk() (*time.Time, bool)

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

func (*BackupScheduleResponse) GetCreatedBy

func (o *BackupScheduleResponse) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*BackupScheduleResponse) GetCreatedByOk

func (o *BackupScheduleResponse) GetCreatedByOk() (*string, bool)

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

func (*BackupScheduleResponse) GetFrequency

GetFrequency returns the Frequency field value

func (*BackupScheduleResponse) GetFrequencyOk

func (o *BackupScheduleResponse) GetFrequencyOk() (*BackupScheduleFrequency, bool)

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

func (*BackupScheduleResponse) GetId

func (o *BackupScheduleResponse) GetId() string

GetId returns the Id field value

func (*BackupScheduleResponse) GetIdOk

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

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

func (*BackupScheduleResponse) GetModifiedAt

func (o *BackupScheduleResponse) GetModifiedAt() time.Time

GetModifiedAt returns the ModifiedAt field value

func (*BackupScheduleResponse) GetModifiedAtOk

func (o *BackupScheduleResponse) GetModifiedAtOk() (*time.Time, bool)

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

func (*BackupScheduleResponse) GetModifiedBy

func (o *BackupScheduleResponse) GetModifiedBy() string

GetModifiedBy returns the ModifiedBy field value

func (*BackupScheduleResponse) GetModifiedByOk

func (o *BackupScheduleResponse) GetModifiedByOk() (*string, bool)

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

func (*BackupScheduleResponse) GetName

func (o *BackupScheduleResponse) GetName() string

GetName returns the Name field value

func (*BackupScheduleResponse) GetNameOk

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

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

func (*BackupScheduleResponse) GetStartDay

func (o *BackupScheduleResponse) GetStartDay() string

GetStartDay returns the StartDay field value If the value is explicit nil, the zero value for string will be returned

func (*BackupScheduleResponse) GetStartDayOk

func (o *BackupScheduleResponse) GetStartDayOk() (*string, bool)

GetStartDayOk returns a tuple with the StartDay field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupScheduleResponse) GetStartTime

func (o *BackupScheduleResponse) GetStartTime() string

GetStartTime returns the StartTime field value If the value is explicit nil, the zero value for string will be returned

func (*BackupScheduleResponse) GetStartTimeOk

func (o *BackupScheduleResponse) GetStartTimeOk() (*string, bool)

GetStartTimeOk returns a tuple with the StartTime field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupScheduleResponse) GetStartWeek

func (o *BackupScheduleResponse) GetStartWeek() string

GetStartWeek returns the StartWeek field value If the value is explicit nil, the zero value for string will be returned

func (*BackupScheduleResponse) GetStartWeekOk

func (o *BackupScheduleResponse) GetStartWeekOk() (*string, bool)

GetStartWeekOk returns a tuple with the StartWeek field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupScheduleResponse) GetState

func (o *BackupScheduleResponse) GetState() string

GetState returns the State field value

func (*BackupScheduleResponse) GetStateOk

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

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

func (*BackupScheduleResponse) GetType

func (o *BackupScheduleResponse) GetType() string

GetType returns the Type field value

func (*BackupScheduleResponse) GetTypeOk

func (o *BackupScheduleResponse) GetTypeOk() (*string, bool)

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

func (BackupScheduleResponse) MarshalJSON

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

func (*BackupScheduleResponse) SetBackupId

func (o *BackupScheduleResponse) SetBackupId(v string)

SetBackupId sets field value

func (*BackupScheduleResponse) SetCreatedAt

func (o *BackupScheduleResponse) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*BackupScheduleResponse) SetCreatedBy

func (o *BackupScheduleResponse) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*BackupScheduleResponse) SetFrequency

SetFrequency sets field value

func (*BackupScheduleResponse) SetId

func (o *BackupScheduleResponse) SetId(v string)

SetId sets field value

func (*BackupScheduleResponse) SetModifiedAt

func (o *BackupScheduleResponse) SetModifiedAt(v time.Time)

SetModifiedAt sets field value

func (*BackupScheduleResponse) SetModifiedBy

func (o *BackupScheduleResponse) SetModifiedBy(v string)

SetModifiedBy sets field value

func (*BackupScheduleResponse) SetName

func (o *BackupScheduleResponse) SetName(v string)

SetName sets field value

func (*BackupScheduleResponse) SetStartDay

func (o *BackupScheduleResponse) SetStartDay(v string)

SetStartDay sets field value

func (*BackupScheduleResponse) SetStartTime

func (o *BackupScheduleResponse) SetStartTime(v string)

SetStartTime sets field value

func (*BackupScheduleResponse) SetStartWeek

func (o *BackupScheduleResponse) SetStartWeek(v string)

SetStartWeek sets field value

func (*BackupScheduleResponse) SetState

func (o *BackupScheduleResponse) SetState(v string)

SetState sets field value

func (*BackupScheduleResponse) SetType

func (o *BackupScheduleResponse) SetType(v string)

SetType sets field value

func (BackupScheduleResponse) ToMap

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

func (*BackupScheduleResponse) UnmarshalJSON

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

type BackupScheduleType

type BackupScheduleType string

BackupScheduleType the model 'BackupScheduleType'

const (
	BACKUPSCHEDULETYPE_FULL        BackupScheduleType = "FULL"
	BACKUPSCHEDULETYPE_INCREMENTAL BackupScheduleType = "INCREMENTAL"
)

List of BackupScheduleType

func NewBackupScheduleTypeFromValue

func NewBackupScheduleTypeFromValue(v string) (*BackupScheduleType, error)

NewBackupScheduleTypeFromValue returns a pointer to a valid BackupScheduleType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (BackupScheduleType) IsValid

func (v BackupScheduleType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (BackupScheduleType) Ptr

Ptr returns reference to BackupScheduleType value

func (*BackupScheduleType) UnmarshalJSON

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

type BackupScheduleWeek

type BackupScheduleWeek string

BackupScheduleWeek the model 'BackupScheduleWeek'

const (
	BACKUPSCHEDULEWEEK__1   BackupScheduleWeek = "WEEK_1"
	BACKUPSCHEDULEWEEK__2   BackupScheduleWeek = "WEEK_2"
	BACKUPSCHEDULEWEEK__3   BackupScheduleWeek = "WEEK_3"
	BACKUPSCHEDULEWEEK__4   BackupScheduleWeek = "WEEK_4"
	BACKUPSCHEDULEWEEK_LAST BackupScheduleWeek = "WEEK_LAST"
)

List of BackupScheduleWeek

func NewBackupScheduleWeekFromValue

func NewBackupScheduleWeekFromValue(v string) (*BackupScheduleWeek, error)

NewBackupScheduleWeekFromValue returns a pointer to a valid BackupScheduleWeek for the value passed as argument, or an error if the value passed is not allowed by the enum

func (BackupScheduleWeek) IsValid

func (v BackupScheduleWeek) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (BackupScheduleWeek) Ptr

Ptr returns reference to BackupScheduleWeek value

func (*BackupScheduleWeek) UnmarshalJSON

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

type BackupTargetListResponse

type BackupTargetListResponse struct {
	Contents []BackupTargetResponse `json:"contents,omitempty"`
	// Count
	Count int32 `json:"count"`
}

BackupTargetListResponse struct for BackupTargetListResponse

func NewBackupTargetListResponse

func NewBackupTargetListResponse(count int32) *BackupTargetListResponse

NewBackupTargetListResponse instantiates a new BackupTargetListResponse 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 NewBackupTargetListResponseWithDefaults

func NewBackupTargetListResponseWithDefaults() *BackupTargetListResponse

NewBackupTargetListResponseWithDefaults instantiates a new BackupTargetListResponse 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 (*BackupTargetListResponse) GetContents

GetContents returns the Contents field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BackupTargetListResponse) GetContentsOk

func (o *BackupTargetListResponse) GetContentsOk() ([]BackupTargetResponse, bool)

GetContentsOk returns a tuple with the Contents field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupTargetListResponse) GetCount

func (o *BackupTargetListResponse) GetCount() int32

GetCount returns the Count field value

func (*BackupTargetListResponse) GetCountOk

func (o *BackupTargetListResponse) GetCountOk() (*int32, bool)

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

func (*BackupTargetListResponse) HasContents

func (o *BackupTargetListResponse) HasContents() bool

HasContents returns a boolean if a field has been set.

func (BackupTargetListResponse) MarshalJSON

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

func (*BackupTargetListResponse) SetContents

func (o *BackupTargetListResponse) SetContents(v []BackupTargetResponse)

SetContents gets a reference to the given []BackupTargetResponse and assigns it to the Contents field.

func (*BackupTargetListResponse) SetCount

func (o *BackupTargetListResponse) SetCount(v int32)

SetCount sets field value

func (BackupTargetListResponse) ToMap

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

func (*BackupTargetListResponse) UnmarshalJSON

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

type BackupTargetResponse

type BackupTargetResponse struct {
	ServerGuid NullableString `json:"server_guid"`
	// Backup server name
	ServerName      string         `json:"server_name"`
	ServerOsVersion NullableString `json:"server_os_version"`
	ServerType      NullableString `json:"server_type"`
	// Backup server UUID
	ServerUuid string `json:"server_uuid"`
}

BackupTargetResponse struct for BackupTargetResponse

func NewBackupTargetResponse

func NewBackupTargetResponse(serverGuid NullableString, serverName string, serverOsVersion NullableString, serverType NullableString, serverUuid string) *BackupTargetResponse

NewBackupTargetResponse instantiates a new BackupTargetResponse 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 NewBackupTargetResponseWithDefaults

func NewBackupTargetResponseWithDefaults() *BackupTargetResponse

NewBackupTargetResponseWithDefaults instantiates a new BackupTargetResponse 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 (*BackupTargetResponse) GetServerGuid

func (o *BackupTargetResponse) GetServerGuid() string

GetServerGuid returns the ServerGuid field value If the value is explicit nil, the zero value for string will be returned

func (*BackupTargetResponse) GetServerGuidOk

func (o *BackupTargetResponse) GetServerGuidOk() (*string, bool)

GetServerGuidOk returns a tuple with the ServerGuid field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupTargetResponse) GetServerName

func (o *BackupTargetResponse) GetServerName() string

GetServerName returns the ServerName field value

func (*BackupTargetResponse) GetServerNameOk

func (o *BackupTargetResponse) GetServerNameOk() (*string, bool)

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

func (*BackupTargetResponse) GetServerOsVersion

func (o *BackupTargetResponse) GetServerOsVersion() string

GetServerOsVersion returns the ServerOsVersion field value If the value is explicit nil, the zero value for string will be returned

func (*BackupTargetResponse) GetServerOsVersionOk

func (o *BackupTargetResponse) GetServerOsVersionOk() (*string, bool)

GetServerOsVersionOk returns a tuple with the ServerOsVersion field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupTargetResponse) GetServerType

func (o *BackupTargetResponse) GetServerType() string

GetServerType returns the ServerType field value If the value is explicit nil, the zero value for string will be returned

func (*BackupTargetResponse) GetServerTypeOk

func (o *BackupTargetResponse) GetServerTypeOk() (*string, bool)

GetServerTypeOk returns a tuple with the ServerType field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BackupTargetResponse) GetServerUuid

func (o *BackupTargetResponse) GetServerUuid() string

GetServerUuid returns the ServerUuid field value

func (*BackupTargetResponse) GetServerUuidOk

func (o *BackupTargetResponse) GetServerUuidOk() (*string, bool)

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

func (BackupTargetResponse) MarshalJSON

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

func (*BackupTargetResponse) SetServerGuid

func (o *BackupTargetResponse) SetServerGuid(v string)

SetServerGuid sets field value

func (*BackupTargetResponse) SetServerName

func (o *BackupTargetResponse) SetServerName(v string)

SetServerName sets field value

func (*BackupTargetResponse) SetServerOsVersion

func (o *BackupTargetResponse) SetServerOsVersion(v string)

SetServerOsVersion sets field value

func (*BackupTargetResponse) SetServerType

func (o *BackupTargetResponse) SetServerType(v string)

SetServerType sets field value

func (*BackupTargetResponse) SetServerUuid

func (o *BackupTargetResponse) SetServerUuid(v string)

SetServerUuid sets field value

func (BackupTargetResponse) ToMap

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

func (*BackupTargetResponse) UnmarshalJSON

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

type BackupV1AgentBackupsRestoreAPIAPIListAgentBackupRestoreTargetServersRequest

type BackupV1AgentBackupsRestoreAPIAPIListAgentBackupRestoreTargetServersRequest struct {
	ApiService *BackupV1AgentBackupsRestoreAPIAPIService
	// contains filtered or unexported fields
}

func (BackupV1AgentBackupsRestoreAPIAPIListAgentBackupRestoreTargetServersRequest) Execute

func (BackupV1AgentBackupsRestoreAPIAPIListAgentBackupRestoreTargetServersRequest) Page

Page

func (BackupV1AgentBackupsRestoreAPIAPIListAgentBackupRestoreTargetServersRequest) ServerName

Backup server name

func (BackupV1AgentBackupsRestoreAPIAPIListAgentBackupRestoreTargetServersRequest) Size

Size

type BackupV1AgentBackupsRestoreAPIAPIRestoreAgentBackupRequest

type BackupV1AgentBackupsRestoreAPIAPIRestoreAgentBackupRequest struct {
	ApiService *BackupV1AgentBackupsRestoreAPIAPIService
	// contains filtered or unexported fields
}

func (BackupV1AgentBackupsRestoreAPIAPIRestoreAgentBackupRequest) AgentBackupRestoreRequest

func (BackupV1AgentBackupsRestoreAPIAPIRestoreAgentBackupRequest) Execute

type BackupV1AgentBackupsRestoreAPIAPIService

type BackupV1AgentBackupsRestoreAPIAPIService service

BackupV1AgentBackupsRestoreAPIAPIService BackupV1AgentBackupsRestoreAPIAPI service

func (*BackupV1AgentBackupsRestoreAPIAPIService) ListAgentBackupRestoreTargetServers

ListAgentBackupRestoreTargetServers List Agent Backup Restore Target Servers

List Agent Backup restore target servers.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param backupId Backup ID
@return BackupV1AgentBackupsRestoreAPIAPIListAgentBackupRestoreTargetServersRequest

func (*BackupV1AgentBackupsRestoreAPIAPIService) ListAgentBackupRestoreTargetServersExecute

Execute executes the request

@return AgentBackupRestoreTargetServerListResponse

func (*BackupV1AgentBackupsRestoreAPIAPIService) RestoreAgentBackup

RestoreAgentBackup Restore Agent Backup

Restore the Backup.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param backupId Backup ID
@return BackupV1AgentBackupsRestoreAPIAPIRestoreAgentBackupRequest

func (*BackupV1AgentBackupsRestoreAPIAPIService) RestoreAgentBackupExecute

Execute executes the request

@return SyncResponse

type BackupV1BackupAgentsApiAPICheckConnectionStateRequest

type BackupV1BackupAgentsApiAPICheckConnectionStateRequest struct {
	ApiService *BackupV1BackupAgentsApiAPIService
	// contains filtered or unexported fields
}

func (BackupV1BackupAgentsApiAPICheckConnectionStateRequest) Execute

type BackupV1BackupAgentsApiAPICreateBackupAgentRequest

type BackupV1BackupAgentsApiAPICreateBackupAgentRequest struct {
	ApiService *BackupV1BackupAgentsApiAPIService
	// contains filtered or unexported fields
}

func (BackupV1BackupAgentsApiAPICreateBackupAgentRequest) BackupAgentCreateRequest

func (BackupV1BackupAgentsApiAPICreateBackupAgentRequest) Execute

type BackupV1BackupAgentsApiAPIDeleteBackupAgentRequest

type BackupV1BackupAgentsApiAPIDeleteBackupAgentRequest struct {
	ApiService *BackupV1BackupAgentsApiAPIService
	// contains filtered or unexported fields
}

func (BackupV1BackupAgentsApiAPIDeleteBackupAgentRequest) Execute

type BackupV1BackupAgentsApiAPIListBackupAgentTargetsRequest

type BackupV1BackupAgentsApiAPIListBackupAgentTargetsRequest struct {
	ApiService *BackupV1BackupAgentsApiAPIService
	// contains filtered or unexported fields
}

func (BackupV1BackupAgentsApiAPIListBackupAgentTargetsRequest) Execute

func (BackupV1BackupAgentsApiAPIListBackupAgentTargetsRequest) Page

page

func (BackupV1BackupAgentsApiAPIListBackupAgentTargetsRequest) ServerCategory

Backup server category

func (BackupV1BackupAgentsApiAPIListBackupAgentTargetsRequest) ServerName

Backup server name

func (BackupV1BackupAgentsApiAPIListBackupAgentTargetsRequest) Size

size

func (BackupV1BackupAgentsApiAPIListBackupAgentTargetsRequest) Sort

Sort

type BackupV1BackupAgentsApiAPIListBackupAgentsRequest

type BackupV1BackupAgentsApiAPIListBackupAgentsRequest struct {
	ApiService *BackupV1BackupAgentsApiAPIService
	// contains filtered or unexported fields
}

func (BackupV1BackupAgentsApiAPIListBackupAgentsRequest) Execute

func (BackupV1BackupAgentsApiAPIListBackupAgentsRequest) Name

Backup Agent Name

func (BackupV1BackupAgentsApiAPIListBackupAgentsRequest) Page

page

func (BackupV1BackupAgentsApiAPIListBackupAgentsRequest) ServerBackupAgentIp

Server's Backup Agent IP

func (BackupV1BackupAgentsApiAPIListBackupAgentsRequest) ServerName

Backup Agent target server name

func (BackupV1BackupAgentsApiAPIListBackupAgentsRequest) Size

size

func (BackupV1BackupAgentsApiAPIListBackupAgentsRequest) Sort

sort

type BackupV1BackupAgentsApiAPIService

type BackupV1BackupAgentsApiAPIService service

BackupV1BackupAgentsApiAPIService BackupV1BackupAgentsApiAPI service

func (*BackupV1BackupAgentsApiAPIService) CheckConnectionState

CheckConnectionState Check Backup Master Connection State

Check Backup master connection state.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param backupAgentId Backup Agent ID
@return BackupV1BackupAgentsApiAPICheckConnectionStateRequest

func (*BackupV1BackupAgentsApiAPIService) CheckConnectionStateExecute

Execute executes the request

@return AsyncResponse

func (*BackupV1BackupAgentsApiAPIService) CreateBackupAgent

CreateBackupAgent Create Backup Agent

Create a Backup Agent.

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

func (*BackupV1BackupAgentsApiAPIService) CreateBackupAgentExecute

Execute executes the request

@return SyncResponse

func (*BackupV1BackupAgentsApiAPIService) DeleteBackupAgent

DeleteBackupAgent Delete Backup Agent

Terminate the Backup Agent.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param backupAgentId Backup Agent ID
@return BackupV1BackupAgentsApiAPIDeleteBackupAgentRequest

func (*BackupV1BackupAgentsApiAPIService) DeleteBackupAgentExecute

Execute executes the request

@return SyncResponse

func (*BackupV1BackupAgentsApiAPIService) ListBackupAgentTargets

ListBackupAgentTargets List Targets of Backup Agent

List targets of Backup Agent.

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

func (*BackupV1BackupAgentsApiAPIService) ListBackupAgentTargetsExecute

Execute executes the request

@return BackupAgentTargetListResponse

func (*BackupV1BackupAgentsApiAPIService) ListBackupAgents

ListBackupAgents List Backup Agents

List Backup Agents.

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

func (*BackupV1BackupAgentsApiAPIService) ListBackupAgentsExecute

Execute executes the request

@return BackupAgentListResponse

func (*BackupV1BackupAgentsApiAPIService) ShowBackupAgent

ShowBackupAgent Show Backup Agent

Show the detail of Backup Agent.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param backupAgentId Backup Agent ID
@return BackupV1BackupAgentsApiAPIShowBackupAgentRequest

func (*BackupV1BackupAgentsApiAPIService) ShowBackupAgentExecute

Execute executes the request

@return BackupAgentDetailResponse

func (*BackupV1BackupAgentsApiAPIService) ShowInstallFilePath

ShowInstallFilePath Show Backup Agent Install File Path

Show Backup Agent Install File Path.

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

func (*BackupV1BackupAgentsApiAPIService) ShowInstallFilePathExecute

Execute executes the request

@return InstallFilePathResponse

type BackupV1BackupAgentsApiAPIShowBackupAgentRequest

type BackupV1BackupAgentsApiAPIShowBackupAgentRequest struct {
	ApiService *BackupV1BackupAgentsApiAPIService
	// contains filtered or unexported fields
}

func (BackupV1BackupAgentsApiAPIShowBackupAgentRequest) Execute

type BackupV1BackupAgentsApiAPIShowInstallFilePathRequest

type BackupV1BackupAgentsApiAPIShowInstallFilePathRequest struct {
	ApiService *BackupV1BackupAgentsApiAPIService
	// contains filtered or unexported fields
}

func (BackupV1BackupAgentsApiAPIShowInstallFilePathRequest) Execute

func (BackupV1BackupAgentsApiAPIShowInstallFilePathRequest) OsType

OS type

type BackupV1BackupRestoreApiAPICheckBackupRestoreServerNameDuplicateRequest

type BackupV1BackupRestoreApiAPICheckBackupRestoreServerNameDuplicateRequest struct {
	ApiService *BackupV1BackupRestoreApiAPIService
	// contains filtered or unexported fields
}

func (BackupV1BackupRestoreApiAPICheckBackupRestoreServerNameDuplicateRequest) Execute

func (BackupV1BackupRestoreApiAPICheckBackupRestoreServerNameDuplicateRequest) RestoreServerName

Restore server name

type BackupV1BackupRestoreApiAPIDeleteBackupRestoreTargetRequest

type BackupV1BackupRestoreApiAPIDeleteBackupRestoreTargetRequest struct {
	ApiService *BackupV1BackupRestoreApiAPIService
	// contains filtered or unexported fields
}

func (BackupV1BackupRestoreApiAPIDeleteBackupRestoreTargetRequest) BackupRestoreTargetDeleteRequest

func (BackupV1BackupRestoreApiAPIDeleteBackupRestoreTargetRequest) Execute

type BackupV1BackupRestoreApiAPIListBackupRestoreHistoriesRequest

type BackupV1BackupRestoreApiAPIListBackupRestoreHistoriesRequest struct {
	ApiService *BackupV1BackupRestoreApiAPIService
	// contains filtered or unexported fields
}

func (BackupV1BackupRestoreApiAPIListBackupRestoreHistoriesRequest) EndTime

End time

func (BackupV1BackupRestoreApiAPIListBackupRestoreHistoriesRequest) Execute

func (BackupV1BackupRestoreApiAPIListBackupRestoreHistoriesRequest) Page

Page

func (BackupV1BackupRestoreApiAPIListBackupRestoreHistoriesRequest) RestoreState

Restore state

func (BackupV1BackupRestoreApiAPIListBackupRestoreHistoriesRequest) Size

Size

func (BackupV1BackupRestoreApiAPIListBackupRestoreHistoriesRequest) Sort

Sort

func (BackupV1BackupRestoreApiAPIListBackupRestoreHistoriesRequest) StartTime

Start time

type BackupV1BackupRestoreApiAPIListBackupRestoreSubnetsRequest

type BackupV1BackupRestoreApiAPIListBackupRestoreSubnetsRequest struct {
	ApiService *BackupV1BackupRestoreApiAPIService
	// contains filtered or unexported fields
}

func (BackupV1BackupRestoreApiAPIListBackupRestoreSubnetsRequest) Execute

func (BackupV1BackupRestoreApiAPIListBackupRestoreSubnetsRequest) State

Subnet state

func (BackupV1BackupRestoreApiAPIListBackupRestoreSubnetsRequest) VpcId

VPC ID

type BackupV1BackupRestoreApiAPIListBackupRestoreTargetRequest

type BackupV1BackupRestoreApiAPIListBackupRestoreTargetRequest struct {
	ApiService *BackupV1BackupRestoreApiAPIService
	// contains filtered or unexported fields
}

func (BackupV1BackupRestoreApiAPIListBackupRestoreTargetRequest) BackupEndTime

End time

func (BackupV1BackupRestoreApiAPIListBackupRestoreTargetRequest) BackupStartTime

Start time

func (BackupV1BackupRestoreApiAPIListBackupRestoreTargetRequest) Execute

func (BackupV1BackupRestoreApiAPIListBackupRestoreTargetRequest) Page

Page

func (BackupV1BackupRestoreApiAPIListBackupRestoreTargetRequest) Size

Size

func (BackupV1BackupRestoreApiAPIListBackupRestoreTargetRequest) Sort

Sort

type BackupV1BackupRestoreApiAPIRestoreBackupRequest

type BackupV1BackupRestoreApiAPIRestoreBackupRequest struct {
	ApiService *BackupV1BackupRestoreApiAPIService
	// contains filtered or unexported fields
}

func (BackupV1BackupRestoreApiAPIRestoreBackupRequest) BackupRestoreRequest

func (BackupV1BackupRestoreApiAPIRestoreBackupRequest) Execute

type BackupV1BackupRestoreApiAPIService

type BackupV1BackupRestoreApiAPIService service

BackupV1BackupRestoreApiAPIService BackupV1BackupRestoreApiAPI service

func (*BackupV1BackupRestoreApiAPIService) CheckBackupRestoreServerNameDuplicate

CheckBackupRestoreServerNameDuplicate Check Backup Restore Server Name Duplicate

Check for duplicate restore server name.

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

func (*BackupV1BackupRestoreApiAPIService) CheckBackupRestoreServerNameDuplicateExecute

Execute executes the request

@return BackupRestoreServerNameDuplicateResponse

func (*BackupV1BackupRestoreApiAPIService) DeleteBackupRestoreTarget

DeleteBackupRestoreTarget Delete Backup Restore Target

Delete Backup restore target.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param backupId Backup ID
@return BackupV1BackupRestoreApiAPIDeleteBackupRestoreTargetRequest

func (*BackupV1BackupRestoreApiAPIService) DeleteBackupRestoreTargetExecute

Execute executes the request

@return SyncResponse

func (*BackupV1BackupRestoreApiAPIService) ListBackupRestoreHistories

ListBackupRestoreHistories List Backup Restore Histories

List Backup restore histories.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param backupId Backup ID
@return BackupV1BackupRestoreApiAPIListBackupRestoreHistoriesRequest

func (*BackupV1BackupRestoreApiAPIService) ListBackupRestoreHistoriesExecute

Execute executes the request

@return BackupRestoreHistoryListResponse

func (*BackupV1BackupRestoreApiAPIService) ListBackupRestoreSubnets

ListBackupRestoreSubnets List Backup Restore Subnets

List of subnets to select when restoring to a different location from the original server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param backupId Backup ID
@return BackupV1BackupRestoreApiAPIListBackupRestoreSubnetsRequest

func (*BackupV1BackupRestoreApiAPIService) ListBackupRestoreSubnetsExecute

Execute executes the request

@return BackupRestoreSubnetListResponse

func (*BackupV1BackupRestoreApiAPIService) ListBackupRestoreTarget

ListBackupRestoreTarget List Backup Restore Targets

List Backup restore targets.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param backupId Backup ID
@return BackupV1BackupRestoreApiAPIListBackupRestoreTargetRequest

func (*BackupV1BackupRestoreApiAPIService) ListBackupRestoreTargetExecute

Execute executes the request

@return BackupRestoreTargetListResponse

func (*BackupV1BackupRestoreApiAPIService) RestoreBackup

RestoreBackup Restore Backup

Restore the Backup.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param backupId Backup ID
@return BackupV1BackupRestoreApiAPIRestoreBackupRequest

func (*BackupV1BackupRestoreApiAPIService) RestoreBackupExecute

Execute executes the request

@return AsyncResponse

type BackupV1BackupSchedulesApiAPIListBackupHistoriesRequest

type BackupV1BackupSchedulesApiAPIListBackupHistoriesRequest struct {
	ApiService *BackupV1BackupSchedulesApiAPIService
	// contains filtered or unexported fields
}

func (BackupV1BackupSchedulesApiAPIListBackupHistoriesRequest) BackupEndTime

End time

func (BackupV1BackupSchedulesApiAPIListBackupHistoriesRequest) BackupJobState

Backup history state

func (BackupV1BackupSchedulesApiAPIListBackupHistoriesRequest) BackupStartTime

Start time

func (BackupV1BackupSchedulesApiAPIListBackupHistoriesRequest) Execute

func (BackupV1BackupSchedulesApiAPIListBackupHistoriesRequest) Page

Page

func (BackupV1BackupSchedulesApiAPIListBackupHistoriesRequest) Size

Size

func (BackupV1BackupSchedulesApiAPIListBackupHistoriesRequest) Sort

Sort

type BackupV1BackupSchedulesApiAPIListBackupSchedulesRequest

type BackupV1BackupSchedulesApiAPIListBackupSchedulesRequest struct {
	ApiService *BackupV1BackupSchedulesApiAPIService
	// contains filtered or unexported fields
}

func (BackupV1BackupSchedulesApiAPIListBackupSchedulesRequest) Execute

type BackupV1BackupSchedulesApiAPIService

type BackupV1BackupSchedulesApiAPIService service

BackupV1BackupSchedulesApiAPIService BackupV1BackupSchedulesApiAPI service

func (*BackupV1BackupSchedulesApiAPIService) ListBackupHistories

ListBackupHistories List Backup Histories

List Backup histories.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param backupId Backup ID
@return BackupV1BackupSchedulesApiAPIListBackupHistoriesRequest

func (*BackupV1BackupSchedulesApiAPIService) ListBackupHistoriesExecute

Execute executes the request

@return BackupHistoryListResponse

func (*BackupV1BackupSchedulesApiAPIService) ListBackupSchedules

ListBackupSchedules List Backup Schedules

List Backup schedules.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param backupId Backup ID
@return BackupV1BackupSchedulesApiAPIListBackupSchedulesRequest

func (*BackupV1BackupSchedulesApiAPIService) ListBackupSchedulesExecute

Execute executes the request

@return BackupScheduleListResponse

func (*BackupV1BackupSchedulesApiAPIService) SetBackupSchedules

SetBackupSchedules Set Backup Schedule

Set Backup schedule.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param backupId Backup ID
@return BackupV1BackupSchedulesApiAPISetBackupSchedulesRequest

func (*BackupV1BackupSchedulesApiAPIService) SetBackupSchedulesExecute

Execute executes the request

@return SyncResponse

type BackupV1BackupSchedulesApiAPISetBackupSchedulesRequest

type BackupV1BackupSchedulesApiAPISetBackupSchedulesRequest struct {
	ApiService *BackupV1BackupSchedulesApiAPIService
	// contains filtered or unexported fields
}

func (BackupV1BackupSchedulesApiAPISetBackupSchedulesRequest) Execute

func (BackupV1BackupSchedulesApiAPISetBackupSchedulesRequest) ModifyBackupSchedulesRequest

type BackupV1BackupsApiAPICheckBackupNameDuplicateRequest

type BackupV1BackupsApiAPICheckBackupNameDuplicateRequest struct {
	ApiService *BackupV1BackupsApiAPIService
	// contains filtered or unexported fields
}

func (BackupV1BackupsApiAPICheckBackupNameDuplicateRequest) BackupName

Backup name

func (BackupV1BackupsApiAPICheckBackupNameDuplicateRequest) Execute

type BackupV1BackupsApiAPICreateBackupRequest

type BackupV1BackupsApiAPICreateBackupRequest struct {
	ApiService *BackupV1BackupsApiAPIService
	// contains filtered or unexported fields
}

func (BackupV1BackupsApiAPICreateBackupRequest) BackupCreateRequest

func (BackupV1BackupsApiAPICreateBackupRequest) Execute

type BackupV1BackupsApiAPIDeleteBackupRequest

type BackupV1BackupsApiAPIDeleteBackupRequest struct {
	ApiService *BackupV1BackupsApiAPIService
	// contains filtered or unexported fields
}

func (BackupV1BackupsApiAPIDeleteBackupRequest) Execute

type BackupV1BackupsApiAPIGetBackupTargetListRequest

type BackupV1BackupsApiAPIGetBackupTargetListRequest struct {
	ApiService *BackupV1BackupsApiAPIService
	// contains filtered or unexported fields
}

func (BackupV1BackupsApiAPIGetBackupTargetListRequest) Execute

func (BackupV1BackupsApiAPIGetBackupTargetListRequest) Page

Page

func (BackupV1BackupsApiAPIGetBackupTargetListRequest) Region

Region

func (BackupV1BackupsApiAPIGetBackupTargetListRequest) ServerCategory

Backup server category

func (BackupV1BackupsApiAPIGetBackupTargetListRequest) ServerName

Backup server name

func (BackupV1BackupsApiAPIGetBackupTargetListRequest) Size

Size

type BackupV1BackupsApiAPIListBackupRegionRelationshipRequest

type BackupV1BackupsApiAPIListBackupRegionRelationshipRequest struct {
	ApiService *BackupV1BackupsApiAPIService
	// contains filtered or unexported fields
}

func (BackupV1BackupsApiAPIListBackupRegionRelationshipRequest) Execute

func (BackupV1BackupsApiAPIListBackupRegionRelationshipRequest) FromAvailabilityZone

Availability zone name

func (BackupV1BackupsApiAPIListBackupRegionRelationshipRequest) FromRegion

Region

func (BackupV1BackupsApiAPIListBackupRegionRelationshipRequest) ToAvailabilityZone

Availability zone name

func (BackupV1BackupsApiAPIListBackupRegionRelationshipRequest) ToRegion

Region

type BackupV1BackupsApiAPIListBackupsRequest

type BackupV1BackupsApiAPIListBackupsRequest struct {
	ApiService *BackupV1BackupsApiAPIService
	// contains filtered or unexported fields
}

func (BackupV1BackupsApiAPIListBackupsRequest) Execute

func (BackupV1BackupsApiAPIListBackupsRequest) Name

Backup name

func (BackupV1BackupsApiAPIListBackupsRequest) Page

page

func (BackupV1BackupsApiAPIListBackupsRequest) ServerName

Backup server name

func (BackupV1BackupsApiAPIListBackupsRequest) Size

size

func (BackupV1BackupsApiAPIListBackupsRequest) Sort

sort

type BackupV1BackupsApiAPIManualBackupRequest

type BackupV1BackupsApiAPIManualBackupRequest struct {
	ApiService *BackupV1BackupsApiAPIService
	// contains filtered or unexported fields
}

func (BackupV1BackupsApiAPIManualBackupRequest) Execute

type BackupV1BackupsApiAPIService

type BackupV1BackupsApiAPIService service

BackupV1BackupsApiAPIService BackupV1BackupsApiAPI service

func (*BackupV1BackupsApiAPIService) CheckBackupNameDuplicate

CheckBackupNameDuplicate Check Backup Name Duplicate

Check for duplicate backup names.

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

func (*BackupV1BackupsApiAPIService) CheckBackupNameDuplicateExecute

Execute executes the request

@return BackupNameDuplicateResponse

func (*BackupV1BackupsApiAPIService) CreateBackup

CreateBackup Create Backup

Create a Backup.

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

func (*BackupV1BackupsApiAPIService) CreateBackupExecute

Execute executes the request

@return SyncResponse

func (*BackupV1BackupsApiAPIService) DeleteBackup

DeleteBackup Delete Backup

Terminate the Backup.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param backupId Backup ID
@return BackupV1BackupsApiAPIDeleteBackupRequest

func (*BackupV1BackupsApiAPIService) DeleteBackupExecute

Execute executes the request

@return SyncResponse

func (*BackupV1BackupsApiAPIService) GetBackupTargetList

GetBackupTargetList List Backup Targets

List Backup targets.

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

func (*BackupV1BackupsApiAPIService) GetBackupTargetListExecute

Execute executes the request

@return BackupTargetListResponse

func (*BackupV1BackupsApiAPIService) ListBackupRegionRelationship

ListBackupRegionRelationship List Backup Region Relationship

List Backup Region Relationship.

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

func (*BackupV1BackupsApiAPIService) ListBackupRegionRelationshipExecute

Execute executes the request

@return BackupListRegionRelationshipResponse

func (*BackupV1BackupsApiAPIService) ListBackups

ListBackups List Backups

List Backups.

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

func (*BackupV1BackupsApiAPIService) ListBackupsExecute

Execute executes the request

@return BackupListResponse

func (*BackupV1BackupsApiAPIService) ManualBackup

ManualBackup Manual Backup

Perform Manual Backup immediately.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param backupId Backup ID
@return BackupV1BackupsApiAPIManualBackupRequest

func (*BackupV1BackupsApiAPIService) ManualBackupExecute

Execute executes the request

@return SyncResponse

func (*BackupV1BackupsApiAPIService) ShowBackup

ShowBackup Show Backup

Show the detail of Backup.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param backupId Backup ID
@return BackupV1BackupsApiAPIShowBackupRequest

func (*BackupV1BackupsApiAPIService) ShowBackupExecute

Execute executes the request

@return BackupDetailResponse

func (*BackupV1BackupsApiAPIService) UpdateRetentionPeriod

UpdateRetentionPeriod Update Retention Period

Update the retention period.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param backupId Backup ID
@return BackupV1BackupsApiAPIUpdateRetentionPeriodRequest

func (*BackupV1BackupsApiAPIService) UpdateRetentionPeriodExecute

Execute executes the request

@return SyncResponse

type BackupV1BackupsApiAPIShowBackupRequest

type BackupV1BackupsApiAPIShowBackupRequest struct {
	ApiService *BackupV1BackupsApiAPIService
	// contains filtered or unexported fields
}

func (BackupV1BackupsApiAPIShowBackupRequest) Execute

type BackupV1BackupsApiAPIUpdateRetentionPeriodRequest

type BackupV1BackupsApiAPIUpdateRetentionPeriodRequest struct {
	ApiService *BackupV1BackupsApiAPIService
	// contains filtered or unexported fields
}

func (BackupV1BackupsApiAPIUpdateRetentionPeriodRequest) Execute

func (BackupV1BackupsApiAPIUpdateRetentionPeriodRequest) RetentionPeriodUpdateBody

type BackupV1BackupsFilesystemApiAPICheckFilesystemDuplicationRequest

type BackupV1BackupsFilesystemApiAPICheckFilesystemDuplicationRequest struct {
	ApiService *BackupV1BackupsFilesystemApiAPIService
	// contains filtered or unexported fields
}

func (BackupV1BackupsFilesystemApiAPICheckFilesystemDuplicationRequest) Execute

func (BackupV1BackupsFilesystemApiAPICheckFilesystemDuplicationRequest) FilesystemPath

Filesystem backup path

func (BackupV1BackupsFilesystemApiAPICheckFilesystemDuplicationRequest) ServerUuid

Backup server UUID

type BackupV1BackupsFilesystemApiAPIService

type BackupV1BackupsFilesystemApiAPIService service

BackupV1BackupsFilesystemApiAPIService BackupV1BackupsFilesystemApiAPI service

func (*BackupV1BackupsFilesystemApiAPIService) CheckFilesystemDuplication

CheckFilesystemDuplication Check Filesystem Path Duplication

Check filesystem path duplication.

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

func (*BackupV1BackupsFilesystemApiAPIService) CheckFilesystemDuplicationExecute

Execute executes the request

@return CheckFileSystemDuplicationResponse

func (*BackupV1BackupsFilesystemApiAPIService) SetFilesystemPath

SetFilesystemPath Set Filesystem Path

Set Filesystem path.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param backupId Backup ID
@return BackupV1BackupsFilesystemApiAPISetFilesystemPathRequest

func (*BackupV1BackupsFilesystemApiAPIService) SetFilesystemPathExecute

Execute executes the request

@return SyncResponse

type BackupV1BackupsFilesystemApiAPISetFilesystemPathRequest

type BackupV1BackupsFilesystemApiAPISetFilesystemPathRequest struct {
	ApiService *BackupV1BackupsFilesystemApiAPIService
	// contains filtered or unexported fields
}

func (BackupV1BackupsFilesystemApiAPISetFilesystemPathRequest) Execute

func (BackupV1BackupsFilesystemApiAPISetFilesystemPathRequest) FileSystemPathUpdateRequest

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type CheckFileSystemDuplicationResponse

type CheckFileSystemDuplicationResponse struct {
	// Result
	Result bool `json:"result"`
}

CheckFileSystemDuplicationResponse struct for CheckFileSystemDuplicationResponse

func NewCheckFileSystemDuplicationResponse

func NewCheckFileSystemDuplicationResponse(result bool) *CheckFileSystemDuplicationResponse

NewCheckFileSystemDuplicationResponse instantiates a new CheckFileSystemDuplicationResponse 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 NewCheckFileSystemDuplicationResponseWithDefaults

func NewCheckFileSystemDuplicationResponseWithDefaults() *CheckFileSystemDuplicationResponse

NewCheckFileSystemDuplicationResponseWithDefaults instantiates a new CheckFileSystemDuplicationResponse 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 (*CheckFileSystemDuplicationResponse) GetResult

GetResult returns the Result field value

func (*CheckFileSystemDuplicationResponse) GetResultOk

func (o *CheckFileSystemDuplicationResponse) GetResultOk() (*bool, bool)

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

func (CheckFileSystemDuplicationResponse) MarshalJSON

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

func (*CheckFileSystemDuplicationResponse) SetResult

func (o *CheckFileSystemDuplicationResponse) SetResult(v bool)

SetResult sets field value

func (CheckFileSystemDuplicationResponse) ToMap

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

func (*CheckFileSystemDuplicationResponse) UnmarshalJSON

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

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type FileSystemPathUpdateRequest

type FileSystemPathUpdateRequest struct {
	BackupFilesystemPaths BackupFilesystemPaths `json:"backup_filesystem_paths"`
}

FileSystemPathUpdateRequest struct for FileSystemPathUpdateRequest

func NewFileSystemPathUpdateRequest

func NewFileSystemPathUpdateRequest(backupFilesystemPaths BackupFilesystemPaths) *FileSystemPathUpdateRequest

NewFileSystemPathUpdateRequest instantiates a new FileSystemPathUpdateRequest 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 NewFileSystemPathUpdateRequestWithDefaults

func NewFileSystemPathUpdateRequestWithDefaults() *FileSystemPathUpdateRequest

NewFileSystemPathUpdateRequestWithDefaults instantiates a new FileSystemPathUpdateRequest 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 (*FileSystemPathUpdateRequest) GetBackupFilesystemPaths

func (o *FileSystemPathUpdateRequest) GetBackupFilesystemPaths() BackupFilesystemPaths

GetBackupFilesystemPaths returns the BackupFilesystemPaths field value

func (*FileSystemPathUpdateRequest) GetBackupFilesystemPathsOk

func (o *FileSystemPathUpdateRequest) GetBackupFilesystemPathsOk() (*BackupFilesystemPaths, bool)

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

func (FileSystemPathUpdateRequest) MarshalJSON

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

func (*FileSystemPathUpdateRequest) SetBackupFilesystemPaths

func (o *FileSystemPathUpdateRequest) SetBackupFilesystemPaths(v BackupFilesystemPaths)

SetBackupFilesystemPaths sets field value

func (FileSystemPathUpdateRequest) ToMap

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

func (*FileSystemPathUpdateRequest) UnmarshalJSON

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

type GenericOpenAPIError

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

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type InstallFilePathResponse

type InstallFilePathResponse struct {
	// Install file path
	InstallFilePath string `json:"install_file_path"`
}

InstallFilePathResponse struct for InstallFilePathResponse

func NewInstallFilePathResponse

func NewInstallFilePathResponse(installFilePath string) *InstallFilePathResponse

NewInstallFilePathResponse instantiates a new InstallFilePathResponse 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 NewInstallFilePathResponseWithDefaults

func NewInstallFilePathResponseWithDefaults() *InstallFilePathResponse

NewInstallFilePathResponseWithDefaults instantiates a new InstallFilePathResponse 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 (*InstallFilePathResponse) GetInstallFilePath

func (o *InstallFilePathResponse) GetInstallFilePath() string

GetInstallFilePath returns the InstallFilePath field value

func (*InstallFilePathResponse) GetInstallFilePathOk

func (o *InstallFilePathResponse) GetInstallFilePathOk() (*string, bool)

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

func (InstallFilePathResponse) MarshalJSON

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

func (*InstallFilePathResponse) SetInstallFilePath

func (o *InstallFilePathResponse) SetInstallFilePath(v string)

SetInstallFilePath sets field value

func (InstallFilePathResponse) ToMap

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

func (*InstallFilePathResponse) UnmarshalJSON

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

type MappedNullable

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

type ModifyBackupSchedulesRequest

type ModifyBackupSchedulesRequest struct {
	// Backup schedule list
	Schedules []BackupScheduleCreateRequest `json:"schedules"`
}

ModifyBackupSchedulesRequest struct for ModifyBackupSchedulesRequest

func NewModifyBackupSchedulesRequest

func NewModifyBackupSchedulesRequest(schedules []BackupScheduleCreateRequest) *ModifyBackupSchedulesRequest

NewModifyBackupSchedulesRequest instantiates a new ModifyBackupSchedulesRequest 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 NewModifyBackupSchedulesRequestWithDefaults

func NewModifyBackupSchedulesRequestWithDefaults() *ModifyBackupSchedulesRequest

NewModifyBackupSchedulesRequestWithDefaults instantiates a new ModifyBackupSchedulesRequest 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 (*ModifyBackupSchedulesRequest) GetSchedules

GetSchedules returns the Schedules field value

func (*ModifyBackupSchedulesRequest) GetSchedulesOk

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

func (ModifyBackupSchedulesRequest) MarshalJSON

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

func (*ModifyBackupSchedulesRequest) SetSchedules

SetSchedules sets field value

func (ModifyBackupSchedulesRequest) ToMap

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

func (*ModifyBackupSchedulesRequest) UnmarshalJSON

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

type Network

type Network struct {
	// Subnet ID
	SubnetId string `json:"subnet_id"`
}

Network struct for Network

func NewNetwork

func NewNetwork(subnetId string) *Network

NewNetwork instantiates a new Network 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 NewNetworkWithDefaults

func NewNetworkWithDefaults() *Network

NewNetworkWithDefaults instantiates a new Network 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 (*Network) GetSubnetId

func (o *Network) GetSubnetId() string

GetSubnetId returns the SubnetId field value

func (*Network) GetSubnetIdOk

func (o *Network) GetSubnetIdOk() (*string, bool)

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

func (Network) MarshalJSON

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

func (*Network) SetSubnetId

func (o *Network) SetSubnetId(v string)

SetSubnetId sets field value

func (Network) ToMap

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

func (*Network) UnmarshalJSON

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

type NullableAgentBackupRestoreRequest

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

func (NullableAgentBackupRestoreRequest) Get

func (NullableAgentBackupRestoreRequest) IsSet

func (NullableAgentBackupRestoreRequest) MarshalJSON

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

func (*NullableAgentBackupRestoreRequest) Set

func (*NullableAgentBackupRestoreRequest) UnmarshalJSON

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

func (*NullableAgentBackupRestoreRequest) Unset

type NullableAgentBackupRestoreTargetServerListResponse

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

func (NullableAgentBackupRestoreTargetServerListResponse) Get

func (NullableAgentBackupRestoreTargetServerListResponse) IsSet

func (NullableAgentBackupRestoreTargetServerListResponse) MarshalJSON

func (*NullableAgentBackupRestoreTargetServerListResponse) Set

func (*NullableAgentBackupRestoreTargetServerListResponse) UnmarshalJSON

func (*NullableAgentBackupRestoreTargetServerListResponse) Unset

type NullableAgentBackupRestoreTargetServerResponse

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

func (NullableAgentBackupRestoreTargetServerResponse) Get

func (NullableAgentBackupRestoreTargetServerResponse) IsSet

func (NullableAgentBackupRestoreTargetServerResponse) MarshalJSON

func (*NullableAgentBackupRestoreTargetServerResponse) Set

func (*NullableAgentBackupRestoreTargetServerResponse) UnmarshalJSON

func (*NullableAgentBackupRestoreTargetServerResponse) Unset

type NullableAsyncResponse

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

func NewNullableAsyncResponse

func NewNullableAsyncResponse(val *AsyncResponse) *NullableAsyncResponse

func (NullableAsyncResponse) Get

func (NullableAsyncResponse) IsSet

func (v NullableAsyncResponse) IsSet() bool

func (NullableAsyncResponse) MarshalJSON

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

func (*NullableAsyncResponse) Set

func (v *NullableAsyncResponse) Set(val *AsyncResponse)

func (*NullableAsyncResponse) UnmarshalJSON

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

func (*NullableAsyncResponse) Unset

func (v *NullableAsyncResponse) Unset()

type NullableBackupAgentCreateRequest

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

func (NullableBackupAgentCreateRequest) Get

func (NullableBackupAgentCreateRequest) IsSet

func (NullableBackupAgentCreateRequest) MarshalJSON

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

func (*NullableBackupAgentCreateRequest) Set

func (*NullableBackupAgentCreateRequest) UnmarshalJSON

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

func (*NullableBackupAgentCreateRequest) Unset

type NullableBackupAgentDetailResponse

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

func (NullableBackupAgentDetailResponse) Get

func (NullableBackupAgentDetailResponse) IsSet

func (NullableBackupAgentDetailResponse) MarshalJSON

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

func (*NullableBackupAgentDetailResponse) Set

func (*NullableBackupAgentDetailResponse) UnmarshalJSON

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

func (*NullableBackupAgentDetailResponse) Unset

type NullableBackupAgentListResponse

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

func (NullableBackupAgentListResponse) Get

func (NullableBackupAgentListResponse) IsSet

func (NullableBackupAgentListResponse) MarshalJSON

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

func (*NullableBackupAgentListResponse) Set

func (*NullableBackupAgentListResponse) UnmarshalJSON

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

func (*NullableBackupAgentListResponse) Unset

type NullableBackupAgentResponse

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

func NewNullableBackupAgentResponse

func NewNullableBackupAgentResponse(val *BackupAgentResponse) *NullableBackupAgentResponse

func (NullableBackupAgentResponse) Get

func (NullableBackupAgentResponse) IsSet

func (NullableBackupAgentResponse) MarshalJSON

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

func (*NullableBackupAgentResponse) Set

func (*NullableBackupAgentResponse) UnmarshalJSON

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

func (*NullableBackupAgentResponse) Unset

func (v *NullableBackupAgentResponse) Unset()

type NullableBackupAgentTargetListResponse

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

func (NullableBackupAgentTargetListResponse) Get

func (NullableBackupAgentTargetListResponse) IsSet

func (NullableBackupAgentTargetListResponse) MarshalJSON

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

func (*NullableBackupAgentTargetListResponse) Set

func (*NullableBackupAgentTargetListResponse) UnmarshalJSON

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

func (*NullableBackupAgentTargetListResponse) Unset

type NullableBackupAgentTargetResponse

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

func (NullableBackupAgentTargetResponse) Get

func (NullableBackupAgentTargetResponse) IsSet

func (NullableBackupAgentTargetResponse) MarshalJSON

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

func (*NullableBackupAgentTargetResponse) Set

func (*NullableBackupAgentTargetResponse) UnmarshalJSON

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

func (*NullableBackupAgentTargetResponse) Unset

type NullableBackupCreateRequest

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

func NewNullableBackupCreateRequest

func NewNullableBackupCreateRequest(val *BackupCreateRequest) *NullableBackupCreateRequest

func (NullableBackupCreateRequest) Get

func (NullableBackupCreateRequest) IsSet

func (NullableBackupCreateRequest) MarshalJSON

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

func (*NullableBackupCreateRequest) Set

func (*NullableBackupCreateRequest) UnmarshalJSON

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

func (*NullableBackupCreateRequest) Unset

func (v *NullableBackupCreateRequest) Unset()

type NullableBackupDetailResponse

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

func NewNullableBackupDetailResponse

func NewNullableBackupDetailResponse(val *BackupDetailResponse) *NullableBackupDetailResponse

func (NullableBackupDetailResponse) Get

func (NullableBackupDetailResponse) IsSet

func (NullableBackupDetailResponse) MarshalJSON

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

func (*NullableBackupDetailResponse) Set

func (*NullableBackupDetailResponse) UnmarshalJSON

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

func (*NullableBackupDetailResponse) Unset

func (v *NullableBackupDetailResponse) Unset()

type NullableBackupFilesystemPaths

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

func (NullableBackupFilesystemPaths) Get

func (NullableBackupFilesystemPaths) IsSet

func (NullableBackupFilesystemPaths) MarshalJSON

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

func (*NullableBackupFilesystemPaths) Set

func (*NullableBackupFilesystemPaths) UnmarshalJSON

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

func (*NullableBackupFilesystemPaths) Unset

func (v *NullableBackupFilesystemPaths) Unset()

type NullableBackupHistoryListResponse

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

func (NullableBackupHistoryListResponse) Get

func (NullableBackupHistoryListResponse) IsSet

func (NullableBackupHistoryListResponse) MarshalJSON

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

func (*NullableBackupHistoryListResponse) Set

func (*NullableBackupHistoryListResponse) UnmarshalJSON

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

func (*NullableBackupHistoryListResponse) Unset

type NullableBackupHistoryResponse

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

func (NullableBackupHistoryResponse) Get

func (NullableBackupHistoryResponse) IsSet

func (NullableBackupHistoryResponse) MarshalJSON

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

func (*NullableBackupHistoryResponse) Set

func (*NullableBackupHistoryResponse) UnmarshalJSON

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

func (*NullableBackupHistoryResponse) Unset

func (v *NullableBackupHistoryResponse) Unset()

type NullableBackupJobState

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

func NewNullableBackupJobState

func NewNullableBackupJobState(val *BackupJobState) *NullableBackupJobState

func (NullableBackupJobState) Get

func (NullableBackupJobState) IsSet

func (v NullableBackupJobState) IsSet() bool

func (NullableBackupJobState) MarshalJSON

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

func (*NullableBackupJobState) Set

func (*NullableBackupJobState) UnmarshalJSON

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

func (*NullableBackupJobState) Unset

func (v *NullableBackupJobState) Unset()

type NullableBackupListRegionRelationshipResponse

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

func (NullableBackupListRegionRelationshipResponse) Get

func (NullableBackupListRegionRelationshipResponse) IsSet

func (NullableBackupListRegionRelationshipResponse) MarshalJSON

func (*NullableBackupListRegionRelationshipResponse) Set

func (*NullableBackupListRegionRelationshipResponse) UnmarshalJSON

func (*NullableBackupListRegionRelationshipResponse) Unset

type NullableBackupListResponse

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

func NewNullableBackupListResponse

func NewNullableBackupListResponse(val *BackupListResponse) *NullableBackupListResponse

func (NullableBackupListResponse) Get

func (NullableBackupListResponse) IsSet

func (v NullableBackupListResponse) IsSet() bool

func (NullableBackupListResponse) MarshalJSON

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

func (*NullableBackupListResponse) Set

func (*NullableBackupListResponse) UnmarshalJSON

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

func (*NullableBackupListResponse) Unset

func (v *NullableBackupListResponse) Unset()

type NullableBackupNameDuplicateResponse

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

func (NullableBackupNameDuplicateResponse) Get

func (NullableBackupNameDuplicateResponse) IsSet

func (NullableBackupNameDuplicateResponse) MarshalJSON

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

func (*NullableBackupNameDuplicateResponse) Set

func (*NullableBackupNameDuplicateResponse) UnmarshalJSON

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

func (*NullableBackupNameDuplicateResponse) Unset

type NullableBackupPolicyCategory

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

func NewNullableBackupPolicyCategory

func NewNullableBackupPolicyCategory(val *BackupPolicyCategory) *NullableBackupPolicyCategory

func (NullableBackupPolicyCategory) Get

func (NullableBackupPolicyCategory) IsSet

func (NullableBackupPolicyCategory) MarshalJSON

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

func (*NullableBackupPolicyCategory) Set

func (*NullableBackupPolicyCategory) UnmarshalJSON

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

func (*NullableBackupPolicyCategory) Unset

func (v *NullableBackupPolicyCategory) Unset()

type NullableBackupPolicyType

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

func NewNullableBackupPolicyType

func NewNullableBackupPolicyType(val *BackupPolicyType) *NullableBackupPolicyType

func (NullableBackupPolicyType) Get

func (NullableBackupPolicyType) IsSet

func (v NullableBackupPolicyType) IsSet() bool

func (NullableBackupPolicyType) MarshalJSON

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

func (*NullableBackupPolicyType) Set

func (*NullableBackupPolicyType) UnmarshalJSON

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

func (*NullableBackupPolicyType) Unset

func (v *NullableBackupPolicyType) Unset()

type NullableBackupRegionRelationshipResponse

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

func (NullableBackupRegionRelationshipResponse) Get

func (NullableBackupRegionRelationshipResponse) IsSet

func (NullableBackupRegionRelationshipResponse) MarshalJSON

func (*NullableBackupRegionRelationshipResponse) Set

func (*NullableBackupRegionRelationshipResponse) UnmarshalJSON

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

func (*NullableBackupRegionRelationshipResponse) Unset

type NullableBackupResponse

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

func NewNullableBackupResponse

func NewNullableBackupResponse(val *BackupResponse) *NullableBackupResponse

func (NullableBackupResponse) Get

func (NullableBackupResponse) IsSet

func (v NullableBackupResponse) IsSet() bool

func (NullableBackupResponse) MarshalJSON

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

func (*NullableBackupResponse) Set

func (*NullableBackupResponse) UnmarshalJSON

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

func (*NullableBackupResponse) Unset

func (v *NullableBackupResponse) Unset()

type NullableBackupRestoreHistoryListResponse

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

func (NullableBackupRestoreHistoryListResponse) Get

func (NullableBackupRestoreHistoryListResponse) IsSet

func (NullableBackupRestoreHistoryListResponse) MarshalJSON

func (*NullableBackupRestoreHistoryListResponse) Set

func (*NullableBackupRestoreHistoryListResponse) UnmarshalJSON

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

func (*NullableBackupRestoreHistoryListResponse) Unset

type NullableBackupRestoreHistoryResponse

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

func (NullableBackupRestoreHistoryResponse) Get

func (NullableBackupRestoreHistoryResponse) IsSet

func (NullableBackupRestoreHistoryResponse) MarshalJSON

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

func (*NullableBackupRestoreHistoryResponse) Set

func (*NullableBackupRestoreHistoryResponse) UnmarshalJSON

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

func (*NullableBackupRestoreHistoryResponse) Unset

type NullableBackupRestoreRequest

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

func NewNullableBackupRestoreRequest

func NewNullableBackupRestoreRequest(val *BackupRestoreRequest) *NullableBackupRestoreRequest

func (NullableBackupRestoreRequest) Get

func (NullableBackupRestoreRequest) IsSet

func (NullableBackupRestoreRequest) MarshalJSON

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

func (*NullableBackupRestoreRequest) Set

func (*NullableBackupRestoreRequest) UnmarshalJSON

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

func (*NullableBackupRestoreRequest) Unset

func (v *NullableBackupRestoreRequest) Unset()

type NullableBackupRestoreServerNameDuplicateResponse

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

func (NullableBackupRestoreServerNameDuplicateResponse) Get

func (NullableBackupRestoreServerNameDuplicateResponse) IsSet

func (NullableBackupRestoreServerNameDuplicateResponse) MarshalJSON

func (*NullableBackupRestoreServerNameDuplicateResponse) Set

func (*NullableBackupRestoreServerNameDuplicateResponse) UnmarshalJSON

func (*NullableBackupRestoreServerNameDuplicateResponse) Unset

type NullableBackupRestoreState

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

func NewNullableBackupRestoreState

func NewNullableBackupRestoreState(val *BackupRestoreState) *NullableBackupRestoreState

func (NullableBackupRestoreState) Get

func (NullableBackupRestoreState) IsSet

func (v NullableBackupRestoreState) IsSet() bool

func (NullableBackupRestoreState) MarshalJSON

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

func (*NullableBackupRestoreState) Set

func (*NullableBackupRestoreState) UnmarshalJSON

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

func (*NullableBackupRestoreState) Unset

func (v *NullableBackupRestoreState) Unset()

type NullableBackupRestoreSubnetListResponse

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

func (NullableBackupRestoreSubnetListResponse) Get

func (NullableBackupRestoreSubnetListResponse) IsSet

func (NullableBackupRestoreSubnetListResponse) MarshalJSON

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

func (*NullableBackupRestoreSubnetListResponse) Set

func (*NullableBackupRestoreSubnetListResponse) UnmarshalJSON

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

func (*NullableBackupRestoreSubnetListResponse) Unset

type NullableBackupRestoreSubnetResponse

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

func (NullableBackupRestoreSubnetResponse) Get

func (NullableBackupRestoreSubnetResponse) IsSet

func (NullableBackupRestoreSubnetResponse) MarshalJSON

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

func (*NullableBackupRestoreSubnetResponse) Set

func (*NullableBackupRestoreSubnetResponse) UnmarshalJSON

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

func (*NullableBackupRestoreSubnetResponse) Unset

type NullableBackupRestoreTargetDeleteRequest

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

func (NullableBackupRestoreTargetDeleteRequest) Get

func (NullableBackupRestoreTargetDeleteRequest) IsSet

func (NullableBackupRestoreTargetDeleteRequest) MarshalJSON

func (*NullableBackupRestoreTargetDeleteRequest) Set

func (*NullableBackupRestoreTargetDeleteRequest) UnmarshalJSON

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

func (*NullableBackupRestoreTargetDeleteRequest) Unset

type NullableBackupRestoreTargetListResponse

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

func (NullableBackupRestoreTargetListResponse) Get

func (NullableBackupRestoreTargetListResponse) IsSet

func (NullableBackupRestoreTargetListResponse) MarshalJSON

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

func (*NullableBackupRestoreTargetListResponse) Set

func (*NullableBackupRestoreTargetListResponse) UnmarshalJSON

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

func (*NullableBackupRestoreTargetListResponse) Unset

type NullableBackupRestoreTargetResponse

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

func (NullableBackupRestoreTargetResponse) Get

func (NullableBackupRestoreTargetResponse) IsSet

func (NullableBackupRestoreTargetResponse) MarshalJSON

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

func (*NullableBackupRestoreTargetResponse) Set

func (*NullableBackupRestoreTargetResponse) UnmarshalJSON

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

func (*NullableBackupRestoreTargetResponse) Unset

type NullableBackupRetentionPeriod

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

func (NullableBackupRetentionPeriod) Get

func (NullableBackupRetentionPeriod) IsSet

func (NullableBackupRetentionPeriod) MarshalJSON

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

func (*NullableBackupRetentionPeriod) Set

func (*NullableBackupRetentionPeriod) UnmarshalJSON

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

func (*NullableBackupRetentionPeriod) Unset

func (v *NullableBackupRetentionPeriod) Unset()

type NullableBackupScheduleCreateRequest

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

func (NullableBackupScheduleCreateRequest) Get

func (NullableBackupScheduleCreateRequest) IsSet

func (NullableBackupScheduleCreateRequest) MarshalJSON

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

func (*NullableBackupScheduleCreateRequest) Set

func (*NullableBackupScheduleCreateRequest) UnmarshalJSON

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

func (*NullableBackupScheduleCreateRequest) Unset

type NullableBackupScheduleDay

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

func NewNullableBackupScheduleDay

func NewNullableBackupScheduleDay(val *BackupScheduleDay) *NullableBackupScheduleDay

func (NullableBackupScheduleDay) Get

func (NullableBackupScheduleDay) IsSet

func (v NullableBackupScheduleDay) IsSet() bool

func (NullableBackupScheduleDay) MarshalJSON

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

func (*NullableBackupScheduleDay) Set

func (*NullableBackupScheduleDay) UnmarshalJSON

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

func (*NullableBackupScheduleDay) Unset

func (v *NullableBackupScheduleDay) Unset()

type NullableBackupScheduleFrequency

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

func (NullableBackupScheduleFrequency) Get

func (NullableBackupScheduleFrequency) IsSet

func (NullableBackupScheduleFrequency) MarshalJSON

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

func (*NullableBackupScheduleFrequency) Set

func (*NullableBackupScheduleFrequency) UnmarshalJSON

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

func (*NullableBackupScheduleFrequency) Unset

type NullableBackupScheduleListResponse

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

func (NullableBackupScheduleListResponse) Get

func (NullableBackupScheduleListResponse) IsSet

func (NullableBackupScheduleListResponse) MarshalJSON

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

func (*NullableBackupScheduleListResponse) Set

func (*NullableBackupScheduleListResponse) UnmarshalJSON

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

func (*NullableBackupScheduleListResponse) Unset

type NullableBackupScheduleResponse

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

func (NullableBackupScheduleResponse) Get

func (NullableBackupScheduleResponse) IsSet

func (NullableBackupScheduleResponse) MarshalJSON

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

func (*NullableBackupScheduleResponse) Set

func (*NullableBackupScheduleResponse) UnmarshalJSON

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

func (*NullableBackupScheduleResponse) Unset

func (v *NullableBackupScheduleResponse) Unset()

type NullableBackupScheduleType

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

func NewNullableBackupScheduleType

func NewNullableBackupScheduleType(val *BackupScheduleType) *NullableBackupScheduleType

func (NullableBackupScheduleType) Get

func (NullableBackupScheduleType) IsSet

func (v NullableBackupScheduleType) IsSet() bool

func (NullableBackupScheduleType) MarshalJSON

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

func (*NullableBackupScheduleType) Set

func (*NullableBackupScheduleType) UnmarshalJSON

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

func (*NullableBackupScheduleType) Unset

func (v *NullableBackupScheduleType) Unset()

type NullableBackupScheduleWeek

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

func NewNullableBackupScheduleWeek

func NewNullableBackupScheduleWeek(val *BackupScheduleWeek) *NullableBackupScheduleWeek

func (NullableBackupScheduleWeek) Get

func (NullableBackupScheduleWeek) IsSet

func (v NullableBackupScheduleWeek) IsSet() bool

func (NullableBackupScheduleWeek) MarshalJSON

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

func (*NullableBackupScheduleWeek) Set

func (*NullableBackupScheduleWeek) UnmarshalJSON

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

func (*NullableBackupScheduleWeek) Unset

func (v *NullableBackupScheduleWeek) Unset()

type NullableBackupTargetListResponse

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

func (NullableBackupTargetListResponse) Get

func (NullableBackupTargetListResponse) IsSet

func (NullableBackupTargetListResponse) MarshalJSON

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

func (*NullableBackupTargetListResponse) Set

func (*NullableBackupTargetListResponse) UnmarshalJSON

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

func (*NullableBackupTargetListResponse) Unset

type NullableBackupTargetResponse

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

func NewNullableBackupTargetResponse

func NewNullableBackupTargetResponse(val *BackupTargetResponse) *NullableBackupTargetResponse

func (NullableBackupTargetResponse) Get

func (NullableBackupTargetResponse) IsSet

func (NullableBackupTargetResponse) MarshalJSON

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

func (*NullableBackupTargetResponse) Set

func (*NullableBackupTargetResponse) UnmarshalJSON

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

func (*NullableBackupTargetResponse) Unset

func (v *NullableBackupTargetResponse) Unset()

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

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

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCheckFileSystemDuplicationResponse

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

func (NullableCheckFileSystemDuplicationResponse) Get

func (NullableCheckFileSystemDuplicationResponse) IsSet

func (NullableCheckFileSystemDuplicationResponse) MarshalJSON

func (*NullableCheckFileSystemDuplicationResponse) Set

func (*NullableCheckFileSystemDuplicationResponse) UnmarshalJSON

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

func (*NullableCheckFileSystemDuplicationResponse) Unset

type NullableFileSystemPathUpdateRequest

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

func (NullableFileSystemPathUpdateRequest) Get

func (NullableFileSystemPathUpdateRequest) IsSet

func (NullableFileSystemPathUpdateRequest) MarshalJSON

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

func (*NullableFileSystemPathUpdateRequest) Set

func (*NullableFileSystemPathUpdateRequest) UnmarshalJSON

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

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

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

func (NullableInstallFilePathResponse) Get

func (NullableInstallFilePathResponse) IsSet

func (NullableInstallFilePathResponse) MarshalJSON

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

func (*NullableInstallFilePathResponse) Set

func (*NullableInstallFilePathResponse) UnmarshalJSON

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

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

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

func (NullableModifyBackupSchedulesRequest) Get

func (NullableModifyBackupSchedulesRequest) IsSet

func (NullableModifyBackupSchedulesRequest) MarshalJSON

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

func (*NullableModifyBackupSchedulesRequest) Set

func (*NullableModifyBackupSchedulesRequest) UnmarshalJSON

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

func (*NullableModifyBackupSchedulesRequest) Unset

type NullableNetwork

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

func NewNullableNetwork

func NewNullableNetwork(val *Network) *NullableNetwork

func (NullableNetwork) Get

func (v NullableNetwork) Get() *Network

func (NullableNetwork) IsSet

func (v NullableNetwork) IsSet() bool

func (NullableNetwork) MarshalJSON

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

func (*NullableNetwork) Set

func (v *NullableNetwork) Set(val *Network)

func (*NullableNetwork) UnmarshalJSON

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

func (*NullableNetwork) Unset

func (v *NullableNetwork) Unset()

type NullableResourceInfo

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

func NewNullableResourceInfo

func NewNullableResourceInfo(val *ResourceInfo) *NullableResourceInfo

func (NullableResourceInfo) Get

func (NullableResourceInfo) IsSet

func (v NullableResourceInfo) IsSet() bool

func (NullableResourceInfo) MarshalJSON

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

func (*NullableResourceInfo) Set

func (v *NullableResourceInfo) Set(val *ResourceInfo)

func (*NullableResourceInfo) UnmarshalJSON

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

func (*NullableResourceInfo) Unset

func (v *NullableResourceInfo) Unset()

type NullableRestoreFilesystemPath

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

func (NullableRestoreFilesystemPath) Get

func (NullableRestoreFilesystemPath) IsSet

func (NullableRestoreFilesystemPath) MarshalJSON

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

func (*NullableRestoreFilesystemPath) Set

func (*NullableRestoreFilesystemPath) UnmarshalJSON

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

func (*NullableRestoreFilesystemPath) Unset

func (v *NullableRestoreFilesystemPath) Unset()

type NullableRetentionPeriodUpdateBody

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

func (NullableRetentionPeriodUpdateBody) Get

func (NullableRetentionPeriodUpdateBody) IsSet

func (NullableRetentionPeriodUpdateBody) MarshalJSON

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

func (*NullableRetentionPeriodUpdateBody) Set

func (*NullableRetentionPeriodUpdateBody) UnmarshalJSON

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

func (*NullableRetentionPeriodUpdateBody) Unset

type NullableServerCategory

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

func NewNullableServerCategory

func NewNullableServerCategory(val *ServerCategory) *NullableServerCategory

func (NullableServerCategory) Get

func (NullableServerCategory) IsSet

func (v NullableServerCategory) IsSet() bool

func (NullableServerCategory) MarshalJSON

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

func (*NullableServerCategory) Set

func (*NullableServerCategory) UnmarshalJSON

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

func (*NullableServerCategory) Unset

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

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

func NewNullableSyncResponse

func NewNullableSyncResponse(val *SyncResponse) *NullableSyncResponse

func (NullableSyncResponse) Get

func (NullableSyncResponse) IsSet

func (v NullableSyncResponse) IsSet() bool

func (NullableSyncResponse) MarshalJSON

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

func (*NullableSyncResponse) Set

func (v *NullableSyncResponse) Set(val *SyncResponse)

func (*NullableSyncResponse) UnmarshalJSON

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

func (*NullableSyncResponse) Unset

func (v *NullableSyncResponse) Unset()

type NullableTag

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

func NewNullableTag

func NewNullableTag(val *Tag) *NullableTag

func (NullableTag) Get

func (v NullableTag) Get() *Tag

func (NullableTag) IsSet

func (v NullableTag) IsSet() bool

func (NullableTag) MarshalJSON

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

func (*NullableTag) Set

func (v *NullableTag) Set(val *Tag)

func (*NullableTag) UnmarshalJSON

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

func (*NullableTag) Unset

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

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

func NewNullableValidationErrorModel

func NewNullableValidationErrorModel(val *ValidationErrorModel) *NullableValidationErrorModel

func (NullableValidationErrorModel) Get

func (NullableValidationErrorModel) IsSet

func (NullableValidationErrorModel) MarshalJSON

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

func (*NullableValidationErrorModel) Set

func (*NullableValidationErrorModel) UnmarshalJSON

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

func (*NullableValidationErrorModel) Unset

func (v *NullableValidationErrorModel) Unset()

type ResourceInfo

type ResourceInfo struct {
	// ID
	Id    string                   `json:"id"`
	Links []map[string]interface{} `json:"links,omitempty"`
}

ResourceInfo struct for ResourceInfo

func NewResourceInfo

func NewResourceInfo(id string) *ResourceInfo

NewResourceInfo instantiates a new ResourceInfo 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 NewResourceInfoWithDefaults

func NewResourceInfoWithDefaults() *ResourceInfo

NewResourceInfoWithDefaults instantiates a new ResourceInfo 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 (*ResourceInfo) GetId

func (o *ResourceInfo) GetId() string

GetId returns the Id field value

func (*ResourceInfo) GetIdOk

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

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

func (o *ResourceInfo) GetLinks() []map[string]interface{}

GetLinks returns the Links field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ResourceInfo) GetLinksOk

func (o *ResourceInfo) GetLinksOk() ([]map[string]interface{}, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (o *ResourceInfo) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (ResourceInfo) MarshalJSON

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

func (*ResourceInfo) SetId

func (o *ResourceInfo) SetId(v string)

SetId sets field value

func (o *ResourceInfo) SetLinks(v []map[string]interface{})

SetLinks gets a reference to the given []map[string]interface{} and assigns it to the Links field.

func (ResourceInfo) ToMap

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

func (*ResourceInfo) UnmarshalJSON

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

type RestoreFilesystemPath

type RestoreFilesystemPath struct {
	// Destination filesystem path
	Destination string `json:"destination"`
	// Original filesystem path to be recovered
	Source string `json:"source"`
}

RestoreFilesystemPath struct for RestoreFilesystemPath

func NewRestoreFilesystemPath

func NewRestoreFilesystemPath(destination string, source string) *RestoreFilesystemPath

NewRestoreFilesystemPath instantiates a new RestoreFilesystemPath 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 NewRestoreFilesystemPathWithDefaults

func NewRestoreFilesystemPathWithDefaults() *RestoreFilesystemPath

NewRestoreFilesystemPathWithDefaults instantiates a new RestoreFilesystemPath 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 (*RestoreFilesystemPath) GetDestination

func (o *RestoreFilesystemPath) GetDestination() string

GetDestination returns the Destination field value

func (*RestoreFilesystemPath) GetDestinationOk

func (o *RestoreFilesystemPath) GetDestinationOk() (*string, bool)

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

func (*RestoreFilesystemPath) GetSource

func (o *RestoreFilesystemPath) GetSource() string

GetSource returns the Source field value

func (*RestoreFilesystemPath) GetSourceOk

func (o *RestoreFilesystemPath) GetSourceOk() (*string, bool)

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

func (RestoreFilesystemPath) MarshalJSON

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

func (*RestoreFilesystemPath) SetDestination

func (o *RestoreFilesystemPath) SetDestination(v string)

SetDestination sets field value

func (*RestoreFilesystemPath) SetSource

func (o *RestoreFilesystemPath) SetSource(v string)

SetSource sets field value

func (RestoreFilesystemPath) ToMap

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

func (*RestoreFilesystemPath) UnmarshalJSON

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

type RetentionPeriodUpdateBody

type RetentionPeriodUpdateBody struct {
	// Backup retention period
	RetentionPeriod BackupRetentionPeriod `json:"retention_period"`
}

RetentionPeriodUpdateBody struct for RetentionPeriodUpdateBody

func NewRetentionPeriodUpdateBody

func NewRetentionPeriodUpdateBody(retentionPeriod BackupRetentionPeriod) *RetentionPeriodUpdateBody

NewRetentionPeriodUpdateBody instantiates a new RetentionPeriodUpdateBody 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 NewRetentionPeriodUpdateBodyWithDefaults

func NewRetentionPeriodUpdateBodyWithDefaults() *RetentionPeriodUpdateBody

NewRetentionPeriodUpdateBodyWithDefaults instantiates a new RetentionPeriodUpdateBody 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 (*RetentionPeriodUpdateBody) GetRetentionPeriod

func (o *RetentionPeriodUpdateBody) GetRetentionPeriod() BackupRetentionPeriod

GetRetentionPeriod returns the RetentionPeriod field value

func (*RetentionPeriodUpdateBody) GetRetentionPeriodOk

func (o *RetentionPeriodUpdateBody) GetRetentionPeriodOk() (*BackupRetentionPeriod, bool)

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

func (RetentionPeriodUpdateBody) MarshalJSON

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

func (*RetentionPeriodUpdateBody) SetRetentionPeriod

func (o *RetentionPeriodUpdateBody) SetRetentionPeriod(v BackupRetentionPeriod)

SetRetentionPeriod sets field value

func (RetentionPeriodUpdateBody) ToMap

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

func (*RetentionPeriodUpdateBody) UnmarshalJSON

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

type SCPCredential

type SCPCredential struct {
	AccessKey string
	SecretKey string
}

type ServerCategory

type ServerCategory string

ServerCategory the model 'ServerCategory'

const (
	SERVERCATEGORY_VIRTUAL_SERVER   ServerCategory = "VIRTUAL_SERVER"
	SERVERCATEGORY_GPU_SERVER       ServerCategory = "GPU_SERVER"
	SERVERCATEGORY_BAREMETAL_SERVER ServerCategory = "BAREMETAL_SERVER"
)

List of ServerCategory

func NewServerCategoryFromValue

func NewServerCategoryFromValue(v string) (*ServerCategory, error)

NewServerCategoryFromValue returns a pointer to a valid ServerCategory for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ServerCategory) IsValid

func (v ServerCategory) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ServerCategory) Ptr

func (v ServerCategory) Ptr() *ServerCategory

Ptr returns reference to ServerCategory value

func (*ServerCategory) UnmarshalJSON

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

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type SyncResponse

type SyncResponse struct {
	// Request ID
	RequestId string `json:"request_id"`
	// Resource
	Resource ResourceInfo `json:"resource"`
}

SyncResponse struct for SyncResponse

func NewSyncResponse

func NewSyncResponse(requestId string, resource ResourceInfo) *SyncResponse

NewSyncResponse instantiates a new SyncResponse 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 NewSyncResponseWithDefaults

func NewSyncResponseWithDefaults() *SyncResponse

NewSyncResponseWithDefaults instantiates a new SyncResponse 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 (*SyncResponse) GetRequestId

func (o *SyncResponse) GetRequestId() string

GetRequestId returns the RequestId field value

func (*SyncResponse) GetRequestIdOk

func (o *SyncResponse) GetRequestIdOk() (*string, bool)

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

func (*SyncResponse) GetResource

func (o *SyncResponse) GetResource() ResourceInfo

GetResource returns the Resource field value

func (*SyncResponse) GetResourceOk

func (o *SyncResponse) GetResourceOk() (*ResourceInfo, bool)

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

func (SyncResponse) MarshalJSON

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

func (*SyncResponse) SetRequestId

func (o *SyncResponse) SetRequestId(v string)

SetRequestId sets field value

func (*SyncResponse) SetResource

func (o *SyncResponse) SetResource(v ResourceInfo)

SetResource sets field value

func (SyncResponse) ToMap

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

func (*SyncResponse) UnmarshalJSON

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

type Tag

type Tag struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

Tag struct for Tag

func NewTag

func NewTag(key string, value string) *Tag

NewTag instantiates a new Tag 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 NewTagWithDefaults

func NewTagWithDefaults() *Tag

NewTagWithDefaults instantiates a new Tag 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 (*Tag) GetKey

func (o *Tag) GetKey() string

GetKey returns the Key field value

func (*Tag) GetKeyOk

func (o *Tag) GetKeyOk() (*string, bool)

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

func (*Tag) GetValue

func (o *Tag) GetValue() string

GetValue returns the Value field value

func (*Tag) GetValueOk

func (o *Tag) GetValueOk() (*string, bool)

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

func (Tag) MarshalJSON

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

func (*Tag) SetKey

func (o *Tag) SetKey(v string)

SetKey sets field value

func (*Tag) SetValue

func (o *Tag) SetValue(v string)

SetValue sets field value

func (Tag) ToMap

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

func (*Tag) UnmarshalJSON

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

type ValidationErrorModel

type ValidationErrorModel struct {
	Ctx  map[string]interface{} `json:"ctx,omitempty"`
	Loc  []string               `json:"loc,omitempty"`
	Msg  NullableString         `json:"msg,omitempty"`
	Type NullableString         `json:"type_,omitempty"`
}

ValidationErrorModel struct for ValidationErrorModel

func NewValidationErrorModel

func NewValidationErrorModel() *ValidationErrorModel

NewValidationErrorModel instantiates a new ValidationErrorModel 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 NewValidationErrorModelWithDefaults

func NewValidationErrorModelWithDefaults() *ValidationErrorModel

NewValidationErrorModelWithDefaults instantiates a new ValidationErrorModel 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 (*ValidationErrorModel) GetCtx

func (o *ValidationErrorModel) GetCtx() map[string]interface{}

GetCtx returns the Ctx field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ValidationErrorModel) GetCtxOk

func (o *ValidationErrorModel) GetCtxOk() (map[string]interface{}, bool)

GetCtxOk returns a tuple with the Ctx field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ValidationErrorModel) GetLoc

func (o *ValidationErrorModel) GetLoc() []string

GetLoc returns the Loc field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ValidationErrorModel) GetLocOk

func (o *ValidationErrorModel) GetLocOk() ([]string, bool)

GetLocOk returns a tuple with the Loc field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ValidationErrorModel) GetMsg

func (o *ValidationErrorModel) GetMsg() string

GetMsg returns the Msg field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ValidationErrorModel) GetMsgOk

func (o *ValidationErrorModel) GetMsgOk() (*string, bool)

GetMsgOk returns a tuple with the Msg field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ValidationErrorModel) GetType

func (o *ValidationErrorModel) GetType() string

GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ValidationErrorModel) GetTypeOk

func (o *ValidationErrorModel) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ValidationErrorModel) HasCtx

func (o *ValidationErrorModel) HasCtx() bool

HasCtx returns a boolean if a field has been set.

func (*ValidationErrorModel) HasLoc

func (o *ValidationErrorModel) HasLoc() bool

HasLoc returns a boolean if a field has been set.

func (*ValidationErrorModel) HasMsg

func (o *ValidationErrorModel) HasMsg() bool

HasMsg returns a boolean if a field has been set.

func (*ValidationErrorModel) HasType

func (o *ValidationErrorModel) HasType() bool

HasType returns a boolean if a field has been set.

func (ValidationErrorModel) MarshalJSON

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

func (*ValidationErrorModel) SetCtx

func (o *ValidationErrorModel) SetCtx(v map[string]interface{})

SetCtx gets a reference to the given map[string]interface{} and assigns it to the Ctx field.

func (*ValidationErrorModel) SetLoc

func (o *ValidationErrorModel) SetLoc(v []string)

SetLoc gets a reference to the given []string and assigns it to the Loc field.

func (*ValidationErrorModel) SetMsg

func (o *ValidationErrorModel) SetMsg(v string)

SetMsg gets a reference to the given NullableString and assigns it to the Msg field.

func (*ValidationErrorModel) SetMsgNil

func (o *ValidationErrorModel) SetMsgNil()

SetMsgNil sets the value for Msg to be an explicit nil

func (*ValidationErrorModel) SetType

func (o *ValidationErrorModel) SetType(v string)

SetType gets a reference to the given NullableString and assigns it to the Type field.

func (*ValidationErrorModel) SetTypeNil

func (o *ValidationErrorModel) SetTypeNil()

SetTypeNil sets the value for Type to be an explicit nil

func (ValidationErrorModel) ToMap

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

func (*ValidationErrorModel) UnsetMsg

func (o *ValidationErrorModel) UnsetMsg()

UnsetMsg ensures that no value is present for Msg, not even an explicit nil

func (*ValidationErrorModel) UnsetType

func (o *ValidationErrorModel) UnsetType()

UnsetType ensures that no value is present for Type, not even an explicit nil

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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