Class: TencentCloud::Cfs::V20190719::SnapshotStatistics

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190719/models.rb

Overview

文件系统快照统计

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(region = nil, snapshotnumber = nil, snapshotsize = nil) ⇒ SnapshotStatistics

Returns a new instance of SnapshotStatistics.



3845
3846
3847
3848
3849
# File 'lib/v20190719/models.rb', line 3845

def initialize(region=nil, snapshotnumber=nil, snapshotsize=nil)
  @Region = region
  @SnapshotNumber = snapshotnumber
  @SnapshotSize = snapshotsize
end

Instance Attribute Details

#RegionObject

Parameters:

  • Region:

    地域

  • SnapshotNumber:

    快照总个数

  • SnapshotSize:

    快照总容量,单位是MiB



3843
3844
3845
# File 'lib/v20190719/models.rb', line 3843

def Region
  @Region
end

#SnapshotNumberObject

Parameters:

  • Region:

    地域

  • SnapshotNumber:

    快照总个数

  • SnapshotSize:

    快照总容量,单位是MiB



3843
3844
3845
# File 'lib/v20190719/models.rb', line 3843

def SnapshotNumber
  @SnapshotNumber
end

#SnapshotSizeObject

Parameters:

  • Region:

    地域

  • SnapshotNumber:

    快照总个数

  • SnapshotSize:

    快照总容量,单位是MiB



3843
3844
3845
# File 'lib/v20190719/models.rb', line 3843

def SnapshotSize
  @SnapshotSize
end

Instance Method Details

#deserialize(params) ⇒ Object



3851
3852
3853
3854
3855
# File 'lib/v20190719/models.rb', line 3851

def deserialize(params)
  @Region = params['Region']
  @SnapshotNumber = params['SnapshotNumber']
  @SnapshotSize = params['SnapshotSize']
end