Class: TencentCloud::Cdc::V20201214::SetInfo

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

Overview

云硬盘的仓库级别信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(setid = nil, setname = nil, settype = nil, setsize = nil, setstatus = nil, createtime = nil, readtraffic = nil, writetraffic = nil, readio = nil, writeio = nil, await = nil, util = nil) ⇒ SetInfo

Returns a new instance of SetInfo.



2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
# File 'lib/v20201214/models.rb', line 2156

def initialize(setid=nil, setname=nil, settype=nil, setsize=nil, setstatus=nil, createtime=nil, readtraffic=nil, writetraffic=nil, readio=nil, writeio=nil, await=nil, util=nil)
  @SetId = setid
  @SetName = setname
  @SetType = settype
  @SetSize = setsize
  @SetStatus = setstatus
  @CreateTime = createtime
  @ReadTraffic = readtraffic
  @WriteTraffic = writetraffic
  @ReadIO = readio
  @WriteIO = writeio
  @Await = await
  @Util = util
end

Instance Attribute Details

#AwaitObject

Parameters:

  • SetId:

    云硬盘仓库id

  • SetName:

    云硬盘仓库名称

  • SetType:

    云硬盘仓库类型

  • SetSize:

    云硬盘仓库容量

  • SetStatus:

    云硬盘仓库状态

  • CreateTime:

    云硬盘仓库创建时间

  • ReadTraffic:

    读流量

  • WriteTraffic:

    写流量

  • ReadIO:

    读IO

  • WriteIO:

    写IO

  • Await:

    平均等待时间

  • Util:

    利用率



2154
2155
2156
# File 'lib/v20201214/models.rb', line 2154

def Await
  @Await
end

#CreateTimeObject

Parameters:

  • SetId:

    云硬盘仓库id

  • SetName:

    云硬盘仓库名称

  • SetType:

    云硬盘仓库类型

  • SetSize:

    云硬盘仓库容量

  • SetStatus:

    云硬盘仓库状态

  • CreateTime:

    云硬盘仓库创建时间

  • ReadTraffic:

    读流量

  • WriteTraffic:

    写流量

  • ReadIO:

    读IO

  • WriteIO:

    写IO

  • Await:

    平均等待时间

  • Util:

    利用率



2154
2155
2156
# File 'lib/v20201214/models.rb', line 2154

def CreateTime
  @CreateTime
end

#ReadIOObject

Parameters:

  • SetId:

    云硬盘仓库id

  • SetName:

    云硬盘仓库名称

  • SetType:

    云硬盘仓库类型

  • SetSize:

    云硬盘仓库容量

  • SetStatus:

    云硬盘仓库状态

  • CreateTime:

    云硬盘仓库创建时间

  • ReadTraffic:

    读流量

  • WriteTraffic:

    写流量

  • ReadIO:

    读IO

  • WriteIO:

    写IO

  • Await:

    平均等待时间

  • Util:

    利用率



2154
2155
2156
# File 'lib/v20201214/models.rb', line 2154

def ReadIO
  @ReadIO
end

#ReadTrafficObject

Parameters:

  • SetId:

    云硬盘仓库id

  • SetName:

    云硬盘仓库名称

  • SetType:

    云硬盘仓库类型

  • SetSize:

    云硬盘仓库容量

  • SetStatus:

    云硬盘仓库状态

  • CreateTime:

    云硬盘仓库创建时间

  • ReadTraffic:

    读流量

  • WriteTraffic:

    写流量

  • ReadIO:

    读IO

  • WriteIO:

    写IO

  • Await:

    平均等待时间

  • Util:

    利用率



2154
2155
2156
# File 'lib/v20201214/models.rb', line 2154

def ReadTraffic
  @ReadTraffic
end

#SetIdObject

Parameters:

  • SetId:

    云硬盘仓库id

  • SetName:

    云硬盘仓库名称

  • SetType:

    云硬盘仓库类型

  • SetSize:

    云硬盘仓库容量

  • SetStatus:

    云硬盘仓库状态

  • CreateTime:

    云硬盘仓库创建时间

  • ReadTraffic:

    读流量

  • WriteTraffic:

    写流量

  • ReadIO:

    读IO

  • WriteIO:

    写IO

  • Await:

    平均等待时间

  • Util:

    利用率



2154
2155
2156
# File 'lib/v20201214/models.rb', line 2154

def SetId
  @SetId
end

#SetNameObject

Parameters:

  • SetId:

    云硬盘仓库id

  • SetName:

    云硬盘仓库名称

  • SetType:

    云硬盘仓库类型

  • SetSize:

    云硬盘仓库容量

  • SetStatus:

    云硬盘仓库状态

  • CreateTime:

    云硬盘仓库创建时间

  • ReadTraffic:

    读流量

  • WriteTraffic:

    写流量

  • ReadIO:

    读IO

  • WriteIO:

    写IO

  • Await:

    平均等待时间

  • Util:

    利用率



2154
2155
2156
# File 'lib/v20201214/models.rb', line 2154

def SetName
  @SetName
end

#SetSizeObject

Parameters:

  • SetId:

    云硬盘仓库id

  • SetName:

    云硬盘仓库名称

  • SetType:

    云硬盘仓库类型

  • SetSize:

    云硬盘仓库容量

  • SetStatus:

    云硬盘仓库状态

  • CreateTime:

    云硬盘仓库创建时间

  • ReadTraffic:

    读流量

  • WriteTraffic:

    写流量

  • ReadIO:

    读IO

  • WriteIO:

    写IO

  • Await:

    平均等待时间

  • Util:

    利用率



2154
2155
2156
# File 'lib/v20201214/models.rb', line 2154

def SetSize
  @SetSize
end

#SetStatusObject

Parameters:

  • SetId:

    云硬盘仓库id

  • SetName:

    云硬盘仓库名称

  • SetType:

    云硬盘仓库类型

  • SetSize:

    云硬盘仓库容量

  • SetStatus:

    云硬盘仓库状态

  • CreateTime:

    云硬盘仓库创建时间

  • ReadTraffic:

    读流量

  • WriteTraffic:

    写流量

  • ReadIO:

    读IO

  • WriteIO:

    写IO

  • Await:

    平均等待时间

  • Util:

    利用率



2154
2155
2156
# File 'lib/v20201214/models.rb', line 2154

def SetStatus
  @SetStatus
end

#SetTypeObject

Parameters:

  • SetId:

    云硬盘仓库id

  • SetName:

    云硬盘仓库名称

  • SetType:

    云硬盘仓库类型

  • SetSize:

    云硬盘仓库容量

  • SetStatus:

    云硬盘仓库状态

  • CreateTime:

    云硬盘仓库创建时间

  • ReadTraffic:

    读流量

  • WriteTraffic:

    写流量

  • ReadIO:

    读IO

  • WriteIO:

    写IO

  • Await:

    平均等待时间

  • Util:

    利用率



2154
2155
2156
# File 'lib/v20201214/models.rb', line 2154

def SetType
  @SetType
end

#UtilObject

Parameters:

  • SetId:

    云硬盘仓库id

  • SetName:

    云硬盘仓库名称

  • SetType:

    云硬盘仓库类型

  • SetSize:

    云硬盘仓库容量

  • SetStatus:

    云硬盘仓库状态

  • CreateTime:

    云硬盘仓库创建时间

  • ReadTraffic:

    读流量

  • WriteTraffic:

    写流量

  • ReadIO:

    读IO

  • WriteIO:

    写IO

  • Await:

    平均等待时间

  • Util:

    利用率



2154
2155
2156
# File 'lib/v20201214/models.rb', line 2154

def Util
  @Util
end

#WriteIOObject

Parameters:

  • SetId:

    云硬盘仓库id

  • SetName:

    云硬盘仓库名称

  • SetType:

    云硬盘仓库类型

  • SetSize:

    云硬盘仓库容量

  • SetStatus:

    云硬盘仓库状态

  • CreateTime:

    云硬盘仓库创建时间

  • ReadTraffic:

    读流量

  • WriteTraffic:

    写流量

  • ReadIO:

    读IO

  • WriteIO:

    写IO

  • Await:

    平均等待时间

  • Util:

    利用率



2154
2155
2156
# File 'lib/v20201214/models.rb', line 2154

def WriteIO
  @WriteIO
end

#WriteTrafficObject

Parameters:

  • SetId:

    云硬盘仓库id

  • SetName:

    云硬盘仓库名称

  • SetType:

    云硬盘仓库类型

  • SetSize:

    云硬盘仓库容量

  • SetStatus:

    云硬盘仓库状态

  • CreateTime:

    云硬盘仓库创建时间

  • ReadTraffic:

    读流量

  • WriteTraffic:

    写流量

  • ReadIO:

    读IO

  • WriteIO:

    写IO

  • Await:

    平均等待时间

  • Util:

    利用率



2154
2155
2156
# File 'lib/v20201214/models.rb', line 2154

def WriteTraffic
  @WriteTraffic
end

Instance Method Details

#deserialize(params) ⇒ Object



2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
# File 'lib/v20201214/models.rb', line 2171

def deserialize(params)
  @SetId = params['SetId']
  @SetName = params['SetName']
  @SetType = params['SetType']
  @SetSize = params['SetSize']
  @SetStatus = params['SetStatus']
  @CreateTime = params['CreateTime']
  unless params['ReadTraffic'].nil?
    @ReadTraffic = DetailData.new
    @ReadTraffic.deserialize(params['ReadTraffic'])
  end
  unless params['WriteTraffic'].nil?
    @WriteTraffic = DetailData.new
    @WriteTraffic.deserialize(params['WriteTraffic'])
  end
  unless params['ReadIO'].nil?
    @ReadIO = DetailData.new
    @ReadIO.deserialize(params['ReadIO'])
  end
  unless params['WriteIO'].nil?
    @WriteIO = DetailData.new
    @WriteIO.deserialize(params['WriteIO'])
  end
  unless params['Await'].nil?
    @Await = DetailData.new
    @Await.deserialize(params['Await'])
  end
  unless params['Util'].nil?
    @Util = DetailData.new
    @Util.deserialize(params['Util'])
  end
end