1package ecs
2
3//Licensed under the Apache License, Version 2.0 (the "License");
4//you may not use this file except in compliance with the License.
5//You may obtain a copy of the License at
6//
7//http://www.apache.org/licenses/LICENSE-2.0
8//
9//Unless required by applicable law or agreed to in writing, software
10//distributed under the License is distributed on an "AS IS" BASIS,
11//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12//See the License for the specific language governing permissions and
13//limitations under the License.
14//
15// Code generated by Alibaba Cloud SDK Code Generator.
16// Changes may cause incorrect behavior and will be lost if the code is regenerated.
17
18// Snapshot is a nested struct in ecs response
19type Snapshot struct {
20	Category                   string                  `json:"Category" xml:"Category"`
21	Usage                      string                  `json:"Usage" xml:"Usage"`
22	SourceDiskSize             string                  `json:"SourceDiskSize" xml:"SourceDiskSize"`
23	CreationTime               string                  `json:"CreationTime" xml:"CreationTime"`
24	SourceStorageType          string                  `json:"SourceStorageType" xml:"SourceStorageType"`
25	ProductCode                string                  `json:"ProductCode" xml:"ProductCode"`
26	KMSKeyId                   string                  `json:"KMSKeyId" xml:"KMSKeyId"`
27	Encrypted                  bool                    `json:"Encrypted" xml:"Encrypted"`
28	Progress                   string                  `json:"Progress" xml:"Progress"`
29	LastModifiedTime           string                  `json:"LastModifiedTime" xml:"LastModifiedTime"`
30	RetentionDays              int                     `json:"RetentionDays" xml:"RetentionDays"`
31	SourceDiskId               string                  `json:"SourceDiskId" xml:"SourceDiskId"`
32	ResourceGroupId            string                  `json:"ResourceGroupId" xml:"ResourceGroupId"`
33	RemainTime                 int                     `json:"RemainTime" xml:"RemainTime"`
34	SnapshotId                 string                  `json:"SnapshotId" xml:"SnapshotId"`
35	SnapshotSN                 string                  `json:"SnapshotSN" xml:"SnapshotSN"`
36	InstantAccess              bool                    `json:"InstantAccess" xml:"InstantAccess"`
37	InstantAccessRetentionDays int                     `json:"InstantAccessRetentionDays" xml:"InstantAccessRetentionDays"`
38	Status                     string                  `json:"Status" xml:"Status"`
39	SnapshotType               string                  `json:"SnapshotType" xml:"SnapshotType"`
40	Description                string                  `json:"Description" xml:"Description"`
41	SourceDiskType             string                  `json:"SourceDiskType" xml:"SourceDiskType"`
42	SnapshotName               string                  `json:"SnapshotName" xml:"SnapshotName"`
43	Tags                       TagsInDescribeSnapshots `json:"Tags" xml:"Tags"`
44}
45