model

package
v0.0.4-beta Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attachment

type Attachment struct {
	AttachedAt string `json:"attached_at"`

	AttachmentId string `json:"attachment_id"`

	Device string `json:"device"`

	HostName string `json:"host_name"`

	Id string `json:"id"`

	ServerId string `json:"server_id"`

	VolumeId string `json:"volume_id"`
}

func (Attachment) String

func (o Attachment) String() string

type AzInfo

type AzInfo struct {
	ZoneName string `json:"zoneName"`

	ZoneState *ZoneState `json:"zoneState"`
}

func (AzInfo) String

func (o AzInfo) String() string

type BatchCreateVolumeTagsRequest

type BatchCreateVolumeTagsRequest struct {
	VolumeId string `json:"volume_id"`

	Body *BatchCreateVolumeTagsRequestBody `json:"body,omitempty"`
}

func (BatchCreateVolumeTagsRequest) String

type BatchCreateVolumeTagsRequestBody

type BatchCreateVolumeTagsRequestBody struct {
	Action BatchCreateVolumeTagsRequestBodyAction `json:"action"`

	Tags []Tag `json:"tags"`
}

func (BatchCreateVolumeTagsRequestBody) String

type BatchCreateVolumeTagsRequestBodyAction

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

func (BatchCreateVolumeTagsRequestBodyAction) MarshalJSON

func (c BatchCreateVolumeTagsRequestBodyAction) MarshalJSON() ([]byte, error)

func (*BatchCreateVolumeTagsRequestBodyAction) UnmarshalJSON

func (c *BatchCreateVolumeTagsRequestBodyAction) UnmarshalJSON(b []byte) error

func (BatchCreateVolumeTagsRequestBodyAction) Value

type BatchCreateVolumeTagsRequestBodyActionEnum

type BatchCreateVolumeTagsRequestBodyActionEnum struct {
	CREATE BatchCreateVolumeTagsRequestBodyAction
}

func GetBatchCreateVolumeTagsRequestBodyActionEnum

func GetBatchCreateVolumeTagsRequestBodyActionEnum() BatchCreateVolumeTagsRequestBodyActionEnum

type BatchCreateVolumeTagsResponse

type BatchCreateVolumeTagsResponse struct {
	HttpStatusCode int `json:"-"`
}

func (BatchCreateVolumeTagsResponse) String

type BatchDeleteVolumeTagsRequest

type BatchDeleteVolumeTagsRequest struct {
	VolumeId string `json:"volume_id"`

	Body *BatchDeleteVolumeTagsRequestBody `json:"body,omitempty"`
}

func (BatchDeleteVolumeTagsRequest) String

type BatchDeleteVolumeTagsRequestBody

type BatchDeleteVolumeTagsRequestBody struct {
	Action BatchDeleteVolumeTagsRequestBodyAction `json:"action"`

	Tags []DeleteTagsOption `json:"tags"`
}

func (BatchDeleteVolumeTagsRequestBody) String

type BatchDeleteVolumeTagsRequestBodyAction

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

func (BatchDeleteVolumeTagsRequestBodyAction) MarshalJSON

func (c BatchDeleteVolumeTagsRequestBodyAction) MarshalJSON() ([]byte, error)

func (*BatchDeleteVolumeTagsRequestBodyAction) UnmarshalJSON

func (c *BatchDeleteVolumeTagsRequestBodyAction) UnmarshalJSON(b []byte) error

func (BatchDeleteVolumeTagsRequestBodyAction) Value

type BatchDeleteVolumeTagsRequestBodyActionEnum

type BatchDeleteVolumeTagsRequestBodyActionEnum struct {
	DELETE BatchDeleteVolumeTagsRequestBodyAction
}

func GetBatchDeleteVolumeTagsRequestBodyActionEnum

func GetBatchDeleteVolumeTagsRequestBodyActionEnum() BatchDeleteVolumeTagsRequestBodyActionEnum

type BatchDeleteVolumeTagsResponse

type BatchDeleteVolumeTagsResponse struct {
	HttpStatusCode int `json:"-"`
}

func (BatchDeleteVolumeTagsResponse) String

type CinderAcceptVolumeTransferOption

type CinderAcceptVolumeTransferOption struct {
	AuthKey string `json:"auth_key"`
}

func (CinderAcceptVolumeTransferOption) String

type CinderAcceptVolumeTransferRequest

type CinderAcceptVolumeTransferRequest struct {
	TransferId string `json:"transfer_id"`

	Body *CinderAcceptVolumeTransferRequestBody `json:"body,omitempty"`
}

func (CinderAcceptVolumeTransferRequest) String

type CinderAcceptVolumeTransferRequestBody

type CinderAcceptVolumeTransferRequestBody struct {
	Accept *CinderAcceptVolumeTransferOption `json:"accept"`
}

func (CinderAcceptVolumeTransferRequestBody) String

type CinderAcceptVolumeTransferResponse

type CinderAcceptVolumeTransferResponse struct {
	Transfer       *VolumeTransferSummary `json:"transfer,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

func (CinderAcceptVolumeTransferResponse) String

type CinderCreateVolumeTransferRequest

type CinderCreateVolumeTransferRequest struct {
	Body *CinderCreateVolumeTransferRequestBody `json:"body,omitempty"`
}

func (CinderCreateVolumeTransferRequest) String

type CinderCreateVolumeTransferRequestBody

type CinderCreateVolumeTransferRequestBody struct {
	Transfer *CreateVolumeTransferOption `json:"transfer"`
}

func (CinderCreateVolumeTransferRequestBody) String

type CinderCreateVolumeTransferResponse

type CinderCreateVolumeTransferResponse struct {
	Transfer       *CreateVolumeTransferDetail `json:"transfer,omitempty"`
	HttpStatusCode int                         `json:"-"`
}

func (CinderCreateVolumeTransferResponse) String

type CinderDeleteVolumeTransferRequest

type CinderDeleteVolumeTransferRequest struct {
	TransferId string `json:"transfer_id"`
}

func (CinderDeleteVolumeTransferRequest) String

type CinderDeleteVolumeTransferResponse

type CinderDeleteVolumeTransferResponse struct {
	HttpStatusCode int `json:"-"`
}

func (CinderDeleteVolumeTransferResponse) String

type CinderListAvailabilityZonesRequest

type CinderListAvailabilityZonesRequest struct {
}

func (CinderListAvailabilityZonesRequest) String

type CinderListAvailabilityZonesResponse

type CinderListAvailabilityZonesResponse struct {
	AvailabilityZoneInfo *[]AzInfo `json:"availabilityZoneInfo,omitempty"`
	HttpStatusCode       int       `json:"-"`
}

func (CinderListAvailabilityZonesResponse) String

type CinderListQuotasRequest

type CinderListQuotasRequest struct {
	TargetProjectId string `json:"target_project_id"`

	Usage CinderListQuotasRequestUsage `json:"usage"`
}

func (CinderListQuotasRequest) String

func (o CinderListQuotasRequest) String() string

type CinderListQuotasRequestUsage

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

func (CinderListQuotasRequestUsage) MarshalJSON

func (c CinderListQuotasRequestUsage) MarshalJSON() ([]byte, error)

func (*CinderListQuotasRequestUsage) UnmarshalJSON

func (c *CinderListQuotasRequestUsage) UnmarshalJSON(b []byte) error

func (CinderListQuotasRequestUsage) Value

type CinderListQuotasRequestUsageEnum

type CinderListQuotasRequestUsageEnum struct {
	TRUE CinderListQuotasRequestUsage
}

func GetCinderListQuotasRequestUsageEnum

func GetCinderListQuotasRequestUsageEnum() CinderListQuotasRequestUsageEnum

type CinderListQuotasResponse

type CinderListQuotasResponse struct {
	QuotaSet       *QuotaList `json:"quota_set,omitempty"`
	HttpStatusCode int        `json:"-"`
}

func (CinderListQuotasResponse) String

func (o CinderListQuotasResponse) String() string

type CinderListVolumeTransfersRequest

type CinderListVolumeTransfersRequest struct {
	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`
}

func (CinderListVolumeTransfersRequest) String

type CinderListVolumeTransfersResponse

type CinderListVolumeTransfersResponse struct {
	Transfers      *[]VolumeTransferSummary `json:"transfers,omitempty"`
	HttpStatusCode int                      `json:"-"`
}

func (CinderListVolumeTransfersResponse) String

type CinderListVolumeTypesRequest

type CinderListVolumeTypesRequest struct {
}

func (CinderListVolumeTypesRequest) String

type CinderListVolumeTypesResponse

type CinderListVolumeTypesResponse struct {
	VolumeTypes    *[]VolumeType `json:"volume_types,omitempty"`
	HttpStatusCode int           `json:"-"`
}

func (CinderListVolumeTypesResponse) String

type CinderShowVolumeTransferRequest

type CinderShowVolumeTransferRequest struct {
	TransferId string `json:"transfer_id"`
}

func (CinderShowVolumeTransferRequest) String

type CinderShowVolumeTransferResponse

type CinderShowVolumeTransferResponse struct {
	Transfer       *VolumeTransfer `json:"transfer,omitempty"`
	HttpStatusCode int             `json:"-"`
}

func (CinderShowVolumeTransferResponse) String

type CreateVolumeTransferDetail

type CreateVolumeTransferDetail struct {
	AuthKey string `json:"auth_key"`

	CreatedAt string `json:"created_at"`

	Id string `json:"id"`

	Links []Link `json:"links"`

	Name string `json:"name"`

	VolumeId string `json:"volume_id"`
}

func (CreateVolumeTransferDetail) String

type CreateVolumeTransferOption

type CreateVolumeTransferOption struct {
	Name string `json:"name"`

	VolumeId string `json:"volume_id"`
}

func (CreateVolumeTransferOption) String

type DeleteTagsOption

type DeleteTagsOption struct {
	Key string `json:"key"`
}

func (DeleteTagsOption) String

func (o DeleteTagsOption) String() string

type JobEntities

type JobEntities struct {
	VolumeType *string `json:"volume_type,omitempty"`

	Size *int32 `json:"size,omitempty"`

	VolumeId *string `json:"volume_id,omitempty"`

	Name *string `json:"name,omitempty"`

	SubJobs *[]SubJob `json:"sub_jobs,omitempty"`
}

func (JobEntities) String

func (o JobEntities) String() string
type Link struct {
	Href *string `json:"href,omitempty"`

	Rel *string `json:"rel,omitempty"`
}

func (Link) String

func (o Link) String() string

type ListVersionsRequest

type ListVersionsRequest struct {
}

func (ListVersionsRequest) String

func (o ListVersionsRequest) String() string

type ListVersionsResponse

type ListVersionsResponse struct {
	Versions       *[]Versions `json:"versions,omitempty"`
	HttpStatusCode int         `json:"-"`
}

func (ListVersionsResponse) String

func (o ListVersionsResponse) String() string

type ListVolumeTagsRequest

type ListVolumeTagsRequest struct {
}

func (ListVolumeTagsRequest) String

func (o ListVolumeTagsRequest) String() string

type ListVolumeTagsResponse

type ListVolumeTagsResponse struct {
	Tags           map[string][]string `json:"tags,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

func (ListVolumeTagsResponse) String

func (o ListVolumeTagsResponse) String() string

type ListVolumesByTagsRequest

type ListVolumesByTagsRequest struct {
	Body *ListVolumesByTagsRequestBody `json:"body,omitempty"`
}

func (ListVolumesByTagsRequest) String

func (o ListVolumesByTagsRequest) String() string

type ListVolumesByTagsRequestBody

type ListVolumesByTagsRequestBody struct {
	Action ListVolumesByTagsRequestBodyAction `json:"action"`

	Limit *int32 `json:"limit,omitempty"`

	Matches *[]Match `json:"matches,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	Tags []TagsForListVolumes `json:"tags"`
}

func (ListVolumesByTagsRequestBody) String

type ListVolumesByTagsRequestBodyAction

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

func (ListVolumesByTagsRequestBodyAction) MarshalJSON

func (c ListVolumesByTagsRequestBodyAction) MarshalJSON() ([]byte, error)

func (*ListVolumesByTagsRequestBodyAction) UnmarshalJSON

func (c *ListVolumesByTagsRequestBodyAction) UnmarshalJSON(b []byte) error

func (ListVolumesByTagsRequestBodyAction) Value

type ListVolumesByTagsRequestBodyActionEnum

type ListVolumesByTagsRequestBodyActionEnum struct {
	FILTER ListVolumesByTagsRequestBodyAction
}

func GetListVolumesByTagsRequestBodyActionEnum

func GetListVolumesByTagsRequestBodyActionEnum() ListVolumesByTagsRequestBodyActionEnum

type ListVolumesByTagsResponse

type ListVolumesByTagsResponse struct {
	TotalCount *int32 `json:"total_count,omitempty"`

	Resources      *[]Resource `json:"resources,omitempty"`
	HttpStatusCode int         `json:"-"`
}

func (ListVolumesByTagsResponse) String

func (o ListVolumesByTagsResponse) String() string

type ListVolumesRequest

type ListVolumesRequest struct {
	Marker *string `json:"marker,omitempty"`

	Name *string `json:"name,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	SortKey *string `json:"sort_key,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	SortDir *string `json:"sort_dir,omitempty"`

	Status *string `json:"status,omitempty"`

	Metadata *string `json:"metadata,omitempty"`

	AvailabilityZone *string `json:"availability_zone,omitempty"`

	Multiattach *bool `json:"multiattach,omitempty"`

	ServiceType *string `json:"service_type,omitempty"`

	DedicatedStorageId *string `json:"dedicated_storage_id,omitempty"`

	DedicatedStorageName *string `json:"dedicated_storage_name,omitempty"`

	VolumeTypeId *string `json:"volume_type_id,omitempty"`

	Id *string `json:"id,omitempty"`

	Ids *string `json:"ids,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	ServerId *string `json:"server_id,omitempty"`
}

func (ListVolumesRequest) String

func (o ListVolumesRequest) String() string

type ListVolumesResponse

type ListVolumesResponse struct {
	Count *int32 `json:"count,omitempty"`

	VolumesLinks *[]Link `json:"volumes_links,omitempty"`

	Volumes        *[]VolumeDetail `json:"volumes,omitempty"`
	HttpStatusCode int             `json:"-"`
}

func (ListVolumesResponse) String

func (o ListVolumesResponse) String() string

type Match

type Match struct {
	Key MatchKey `json:"key"`

	Value string `json:"value"`
}

func (Match) String

func (o Match) String() string

type MatchKey

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

func (MatchKey) MarshalJSON

func (c MatchKey) MarshalJSON() ([]byte, error)

func (*MatchKey) UnmarshalJSON

func (c *MatchKey) UnmarshalJSON(b []byte) error

func (MatchKey) Value

func (c MatchKey) Value() string

type MatchKeyEnum

type MatchKeyEnum struct {
	RESOURCE_NAME MatchKey
	SERVICE_TYPE  MatchKey
}

func GetMatchKeyEnum

func GetMatchKeyEnum() MatchKeyEnum

type MediaTypes

type MediaTypes struct {
	Base string `json:"base"`

	Type string `json:"type"`
}

func (MediaTypes) String

func (o MediaTypes) String() string

type QuotaDetail

type QuotaDetail struct {
	InUse int32 `json:"in_use"`

	Limit int32 `json:"limit"`

	Reserved int32 `json:"reserved"`
}

func (QuotaDetail) String

func (o QuotaDetail) String() string

type QuotaDetailBackupGigabytes

type QuotaDetailBackupGigabytes struct {
	InUse int32 `json:"in_use"`

	Limit int32 `json:"limit"`

	Reserved int32 `json:"reserved"`
}

func (QuotaDetailBackupGigabytes) String

type QuotaDetailBackups

type QuotaDetailBackups struct {
	InUse int32 `json:"in_use"`

	Limit int32 `json:"limit"`

	Reserved int32 `json:"reserved"`
}

func (QuotaDetailBackups) String

func (o QuotaDetailBackups) String() string

type QuotaDetailGigabytes

type QuotaDetailGigabytes struct {
	InUse int32 `json:"in_use"`

	Limit int32 `json:"limit"`

	Reserved int32 `json:"reserved"`
}

func (QuotaDetailGigabytes) String

func (o QuotaDetailGigabytes) String() string

type QuotaDetailGigabytesGpssd

type QuotaDetailGigabytesGpssd struct {
	InUse int32 `json:"in_use"`

	Limit int32 `json:"limit"`

	Reserved int32 `json:"reserved"`
}

func (QuotaDetailGigabytesGpssd) String

func (o QuotaDetailGigabytesGpssd) String() string

type QuotaDetailGigabytesSas

type QuotaDetailGigabytesSas struct {
	InUse int32 `json:"in_use"`

	Limit int32 `json:"limit"`

	Reserved int32 `json:"reserved"`
}

func (QuotaDetailGigabytesSas) String

func (o QuotaDetailGigabytesSas) String() string

type QuotaDetailGigabytesSata

type QuotaDetailGigabytesSata struct {
	InUse int32 `json:"in_use"`

	Limit int32 `json:"limit"`

	Reserved int32 `json:"reserved"`
}

func (QuotaDetailGigabytesSata) String

func (o QuotaDetailGigabytesSata) String() string

type QuotaDetailGigabytesSsd

type QuotaDetailGigabytesSsd struct {
	InUse int32 `json:"in_use"`

	Limit int32 `json:"limit"`

	Reserved int32 `json:"reserved"`
}

func (QuotaDetailGigabytesSsd) String

func (o QuotaDetailGigabytesSsd) String() string

type QuotaDetailPerVolumeGigabytes

type QuotaDetailPerVolumeGigabytes struct {
	InUse int32 `json:"in_use"`

	Limit int32 `json:"limit"`

	Reserved int32 `json:"reserved"`
}

func (QuotaDetailPerVolumeGigabytes) String

type QuotaDetailSnapshots

type QuotaDetailSnapshots struct {
	InUse int32 `json:"in_use"`

	Limit int32 `json:"limit"`

	Reserved int32 `json:"reserved"`
}

func (QuotaDetailSnapshots) String

func (o QuotaDetailSnapshots) String() string

type QuotaDetailSnapshotsGpssd

type QuotaDetailSnapshotsGpssd struct {
	InUse int32 `json:"in_use"`

	Limit int32 `json:"limit"`

	Reserved int32 `json:"reserved"`
}

func (QuotaDetailSnapshotsGpssd) String

func (o QuotaDetailSnapshotsGpssd) String() string

type QuotaDetailSnapshotsSas

type QuotaDetailSnapshotsSas struct {
	InUse int32 `json:"in_use"`

	Limit int32 `json:"limit"`

	Reserved int32 `json:"reserved"`
}

func (QuotaDetailSnapshotsSas) String

func (o QuotaDetailSnapshotsSas) String() string

type QuotaDetailSnapshotsSata

type QuotaDetailSnapshotsSata struct {
	InUse int32 `json:"in_use"`

	Limit int32 `json:"limit"`

	Reserved int32 `json:"reserved"`
}

func (QuotaDetailSnapshotsSata) String

func (o QuotaDetailSnapshotsSata) String() string

type QuotaDetailSnapshotsSsd

type QuotaDetailSnapshotsSsd struct {
	InUse int32 `json:"in_use"`

	Limit int32 `json:"limit"`

	Reserved int32 `json:"reserved"`
}

func (QuotaDetailSnapshotsSsd) String

func (o QuotaDetailSnapshotsSsd) String() string

type QuotaDetailVolumes

type QuotaDetailVolumes struct {
	InUse int32 `json:"in_use"`

	Limit int32 `json:"limit"`

	Reserved int32 `json:"reserved"`
}

func (QuotaDetailVolumes) String

func (o QuotaDetailVolumes) String() string

type QuotaDetailVolumesGpssd

type QuotaDetailVolumesGpssd struct {
	InUse int32 `json:"in_use"`

	Limit int32 `json:"limit"`

	Reserved int32 `json:"reserved"`
}

func (QuotaDetailVolumesGpssd) String

func (o QuotaDetailVolumesGpssd) String() string

type QuotaDetailVolumesSas

type QuotaDetailVolumesSas struct {
	InUse int32 `json:"in_use"`

	Limit int32 `json:"limit"`

	Reserved int32 `json:"reserved"`
}

func (QuotaDetailVolumesSas) String

func (o QuotaDetailVolumesSas) String() string

type QuotaDetailVolumesSata

type QuotaDetailVolumesSata struct {
	InUse int32 `json:"in_use"`

	Limit int32 `json:"limit"`

	Reserved int32 `json:"reserved"`
}

func (QuotaDetailVolumesSata) String

func (o QuotaDetailVolumesSata) String() string

type QuotaDetailVolumesSsd

type QuotaDetailVolumesSsd struct {
	InUse int32 `json:"in_use"`

	Limit int32 `json:"limit"`

	Reserved int32 `json:"reserved"`
}

func (QuotaDetailVolumesSsd) String

func (o QuotaDetailVolumesSsd) String() string

type QuotaList

type QuotaList struct {
	BackupGigabytes *QuotaDetailBackupGigabytes `json:"backup_gigabytes"`

	Backups *QuotaDetailBackups `json:"backups"`

	Gigabytes *QuotaDetailGigabytes `json:"gigabytes"`

	Id string `json:"id"`

	Snapshots *QuotaDetailSnapshots `json:"snapshots"`

	Volumes *QuotaDetailVolumes `json:"volumes"`

	GigabytesSATA *QuotaDetailGigabytesSata `json:"gigabytes_SATA,omitempty"`

	SnapshotsSATA *QuotaDetailSnapshotsSata `json:"snapshots_SATA,omitempty"`

	VolumesSATA *QuotaDetailVolumesSata `json:"volumes_SATA,omitempty"`

	GigabytesSAS *QuotaDetailGigabytesSas `json:"gigabytes_SAS,omitempty"`

	SnapshotsSAS *QuotaDetailSnapshotsSas `json:"snapshots_SAS,omitempty"`

	VolumesSAS *QuotaDetailVolumesSas `json:"volumes_SAS,omitempty"`

	GigabytesSSD *QuotaDetailGigabytesSsd `json:"gigabytes_SSD,omitempty"`

	SnapshotsSSD *QuotaDetailSnapshotsSsd `json:"snapshots_SSD,omitempty"`

	VolumesSSD *QuotaDetailVolumesSsd `json:"volumes_SSD,omitempty"`

	GigabytesGPSSD *QuotaDetailGigabytesGpssd `json:"gigabytes_GPSSD,omitempty"`

	SnapshotsGPSSD *QuotaDetailSnapshotsGpssd `json:"snapshots_GPSSD,omitempty"`

	VolumesGPSSD *QuotaDetailVolumesGpssd `json:"volumes_GPSSD,omitempty"`

	PerVolumeGigabytes *QuotaDetailPerVolumeGigabytes `json:"per_volume_gigabytes,omitempty"`
}

func (QuotaList) String

func (o QuotaList) String() string

type Resource

type Resource struct {
	ResourceId string `json:"resource_id"`

	ResourceName *string `json:"resource_name,omitempty"`

	ResourceDetail *VolumeDetailForTag `json:"resource_detail"`

	Tags []map[string]string `json:"tags"`
}

func (Resource) String

func (o Resource) String() string

type ShowJobRequest

type ShowJobRequest struct {
	JobId string `json:"job_id"`
}

func (ShowJobRequest) String

func (o ShowJobRequest) String() string

type ShowJobResponse

type ShowJobResponse struct {
	Status *ShowJobResponseStatus `json:"status,omitempty"`

	Entities *JobEntities `json:"entities,omitempty"`

	JobId *string `json:"job_id,omitempty"`

	JobType *string `json:"job_type,omitempty"`

	BeginTime *string `json:"begin_time,omitempty"`

	EndTime *string `json:"end_time,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	FailReason     *string `json:"fail_reason,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (ShowJobResponse) String

func (o ShowJobResponse) String() string

type ShowJobResponseStatus

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

func (ShowJobResponseStatus) MarshalJSON

func (c ShowJobResponseStatus) MarshalJSON() ([]byte, error)

func (*ShowJobResponseStatus) UnmarshalJSON

func (c *ShowJobResponseStatus) UnmarshalJSON(b []byte) error

func (ShowJobResponseStatus) Value

func (c ShowJobResponseStatus) Value() string

type ShowJobResponseStatusEnum

type ShowJobResponseStatusEnum struct {
	SUCCESS ShowJobResponseStatus
	RUNNING ShowJobResponseStatus
	FAIL    ShowJobResponseStatus
	INIT    ShowJobResponseStatus
}

func GetShowJobResponseStatusEnum

func GetShowJobResponseStatusEnum() ShowJobResponseStatusEnum

type ShowVersionRequest

type ShowVersionRequest struct {
	Version ShowVersionRequestVersion `json:"version"`
}

func (ShowVersionRequest) String

func (o ShowVersionRequest) String() string

type ShowVersionRequestVersion

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

func (ShowVersionRequestVersion) MarshalJSON

func (c ShowVersionRequestVersion) MarshalJSON() ([]byte, error)

func (*ShowVersionRequestVersion) UnmarshalJSON

func (c *ShowVersionRequestVersion) UnmarshalJSON(b []byte) error

func (ShowVersionRequestVersion) Value

type ShowVersionRequestVersionEnum

type ShowVersionRequestVersionEnum struct {
	V1 ShowVersionRequestVersion
	V2 ShowVersionRequestVersion
	V3 ShowVersionRequestVersion
}

func GetShowVersionRequestVersionEnum

func GetShowVersionRequestVersionEnum() ShowVersionRequestVersionEnum

type ShowVersionResponse

type ShowVersionResponse struct {
	Versions       *[]Versions `json:"versions,omitempty"`
	HttpStatusCode int         `json:"-"`
}

func (ShowVersionResponse) String

func (o ShowVersionResponse) String() string

type ShowVolumeTagsRequest

type ShowVolumeTagsRequest struct {
	VolumeId string `json:"volume_id"`
}

func (ShowVolumeTagsRequest) String

func (o ShowVolumeTagsRequest) String() string

type ShowVolumeTagsResponse

type ShowVolumeTagsResponse struct {
	Tags           *[]Tag `json:"tags,omitempty"`
	HttpStatusCode int    `json:"-"`
}

func (ShowVolumeTagsResponse) String

func (o ShowVolumeTagsResponse) String() string

type SubJob

type SubJob struct {
	Status SubJobStatus `json:"status"`

	Entities *SubJobEntities `json:"entities"`

	JobId string `json:"job_id"`

	JobType string `json:"job_type"`

	BeginTime string `json:"begin_time"`

	EndTime string `json:"end_time"`

	ErrorCode string `json:"error_code"`

	FailReason string `json:"fail_reason"`
}

func (SubJob) String

func (o SubJob) String() string

type SubJobEntities

type SubJobEntities struct {
	VolumeType *string `json:"volume_type,omitempty"`

	Size *int32 `json:"size,omitempty"`

	VolumeId *string `json:"volume_id,omitempty"`

	Name *string `json:"name,omitempty"`
}

func (SubJobEntities) String

func (o SubJobEntities) String() string

type SubJobStatus

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

func (SubJobStatus) MarshalJSON

func (c SubJobStatus) MarshalJSON() ([]byte, error)

func (*SubJobStatus) UnmarshalJSON

func (c *SubJobStatus) UnmarshalJSON(b []byte) error

func (SubJobStatus) Value

func (c SubJobStatus) Value() string

type SubJobStatusEnum

type SubJobStatusEnum struct {
	SUCCESS SubJobStatus
	RUNNING SubJobStatus
	FAIL    SubJobStatus
	INIT    SubJobStatus
}

func GetSubJobStatusEnum

func GetSubJobStatusEnum() SubJobStatusEnum

type Tag

type Tag struct {
	Key string `json:"key"`

	Value string `json:"value"`
}

func (Tag) String

func (o Tag) String() string

type TagsForListVolumes

type TagsForListVolumes struct {
	Key string `json:"key"`

	Values []string `json:"values"`
}

func (TagsForListVolumes) String

func (o TagsForListVolumes) String() string

type Versions

type Versions struct {
	Id string `json:"id"`

	Links []Link `json:"links"`

	MediaTypes []MediaTypes `json:"media-types"`

	MinVersion *string `json:"min_version,omitempty"`

	Status string `json:"status"`

	Updated string `json:"updated"`

	Version string `json:"version"`
}

func (Versions) String

func (o Versions) String() string

type VolumeDetail

type VolumeDetail struct {
	Id string `json:"id"`

	Links []Link `json:"links"`

	Name string `json:"name"`

	Status string `json:"status"`

	Attachments []Attachment `json:"attachments"`

	AvailabilityZone string `json:"availability_zone"`

	OsVolHostAttrhost string `json:"os-vol-host-attr:host"`

	SourceVolid *string `json:"source_volid,omitempty"`

	SnapshotId string `json:"snapshot_id"`

	Description string `json:"description"`

	CreatedAt string `json:"created_at"`

	OsVolTenantAttrtenantId string `json:"os-vol-tenant-attr:tenant_id"`

	VolumeImageMetadata map[string]interface{} `json:"volume_image_metadata"`

	VolumeType string `json:"volume_type"`

	Size int32 `json:"size"`

	ConsistencygroupId *string `json:"consistencygroup_id,omitempty"`

	Bootable string `json:"bootable"`

	Metadata map[string]interface{} `json:"metadata"`

	UpdatedAt string `json:"updated_at"`

	Encrypted *bool `json:"encrypted,omitempty"`

	ReplicationStatus string `json:"replication_status"`

	OsVolumeReplicationextendedStatus string `json:"os-volume-replication:extended_status"`

	OsVolMigStatusAttrmigstat string `json:"os-vol-mig-status-attr:migstat"`

	OsVolMigStatusAttrnameId string `json:"os-vol-mig-status-attr:name_id"`

	Shareable string `json:"shareable"`

	UserId string `json:"user_id"`

	ServiceType string `json:"service_type"`

	Multiattach bool `json:"multiattach"`

	DedicatedStorageId *string `json:"dedicated_storage_id,omitempty"`

	DedicatedStorageName *string `json:"dedicated_storage_name,omitempty"`

	Tags map[string]string `json:"tags"`

	Wwn *string `json:"wwn,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	SerialNumber *string `json:"serial_number,omitempty"`
}

func (VolumeDetail) String

func (o VolumeDetail) String() string

type VolumeDetailForTag

type VolumeDetailForTag struct {
	Id string `json:"id"`

	Links []Link `json:"links"`

	Name string `json:"name"`

	Status string `json:"status"`

	Attachments []Attachment `json:"attachments"`

	AvailabilityZone string `json:"availability_zone"`

	OsVolHostAttrhost string `json:"os-vol-host-attr:host"`

	SourceVolid *string `json:"source_volid,omitempty"`

	SnapshotId string `json:"snapshot_id"`

	Description string `json:"description"`

	CreatedAt string `json:"created_at"`

	OsVolTenantAttrtenantId string `json:"os-vol-tenant-attr:tenant_id"`

	VolumeImageMetadata map[string]interface{} `json:"volume_image_metadata"`

	VolumeType string `json:"volume_type"`

	Size int32 `json:"size"`

	ConsistencygroupId *string `json:"consistencygroup_id,omitempty"`

	Bootable string `json:"bootable"`

	Metadata *VolumeMetadata `json:"metadata"`

	UpdatedAt string `json:"updated_at"`

	Encrypted *bool `json:"encrypted,omitempty"`

	ReplicationStatus string `json:"replication_status"`

	OsVolumeReplicationextendedStatus string `json:"os-volume-replication:extended_status"`

	OsVolMigStatusAttrmigstat string `json:"os-vol-mig-status-attr:migstat"`

	OsVolMigStatusAttrnameId string `json:"os-vol-mig-status-attr:name_id"`

	Shareable bool `json:"shareable"`

	UserId string `json:"user_id"`

	ServiceType string `json:"service_type"`

	Multiattach bool `json:"multiattach"`

	DedicatedStorageId *string `json:"dedicated_storage_id,omitempty"`

	DedicatedStorageName *string `json:"dedicated_storage_name,omitempty"`

	Tags map[string]string `json:"tags"`

	Wwn *string `json:"wwn,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

func (VolumeDetailForTag) String

func (o VolumeDetailForTag) String() string

type VolumeMetadata

type VolumeMetadata struct {
	SystemCmkid *string `json:"__system__cmkid,omitempty"`

	SystemEncrypted *string `json:"__system__encrypted,omitempty"`

	FullClone *string `json:"full_clone,omitempty"`

	Hwpassthrough *string `json:"hw:passthrough,omitempty"`

	OrderID *string `json:"orderID,omitempty"`
}

func (VolumeMetadata) String

func (o VolumeMetadata) String() string

type VolumeTransfer

type VolumeTransfer struct {
	CreatedAt string `json:"created_at"`

	Id string `json:"id"`

	Links []Link `json:"links"`

	Name string `json:"name"`

	VolumeId string `json:"volume_id"`
}

func (VolumeTransfer) String

func (o VolumeTransfer) String() string

type VolumeTransferSummary

type VolumeTransferSummary struct {
	Id string `json:"id"`

	Links []Link `json:"links"`

	Name string `json:"name"`

	VolumeId string `json:"volume_id"`
}

func (VolumeTransferSummary) String

func (o VolumeTransferSummary) String() string

type VolumeType

type VolumeType struct {
	Id string `json:"id"`

	Name string `json:"name"`

	ExtraSpecs *VolumeTypeExtraSpecs `json:"extra_specs,omitempty"`

	Description *string `json:"description,omitempty"`

	QosSpecsId *string `json:"qos_specs_id,omitempty"`

	IsPublic *bool `json:"is_public,omitempty"`
}

func (VolumeType) String

func (o VolumeType) String() string

type VolumeTypeExtraSpecs

type VolumeTypeExtraSpecs struct {
	RESKEYavailabilityZones *string `json:"RESKEY:availability_zones,omitempty"`

	AvailabilityZone *string `json:"availability-zone,omitempty"`

	OsVendorExtendedsoldOutAvailabilityZones *string `json:"os-vendor-extended:sold_out_availability_zones,omitempty"`

	VolumeBackendName *string `json:"volume_backend_name,omitempty"`

	HWavailabilityZone *string `json:"HW:availability_zone,omitempty"`
}

func (VolumeTypeExtraSpecs) String

func (o VolumeTypeExtraSpecs) String() string

type ZoneState

type ZoneState struct {
	Available *bool `json:"available,omitempty"`
}

func (ZoneState) String

func (o ZoneState) String() string

Source Files

Jump to

Keyboard shortcuts

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