Class: TencentCloud::Goosefs::V20220519::FSAttribute
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Goosefs::V20220519::FSAttribute
- Defined in:
- lib/v20220519/models.rb
Overview
文件系统属性
Instance Attribute Summary collapse
- #ChargeAttribute ⇒ Object
- #CreateTime ⇒ Object
- #Description ⇒ Object
- #FileSystemId ⇒ Object
- #GooseFSxAttribute ⇒ Object
- #ModifyTime ⇒ Object
- #Name ⇒ Object
- #Status ⇒ Object
- #SubnetId ⇒ Object
- #Tag ⇒ Object
- #Type ⇒ Object
- #VpcId ⇒ Object
- #Zone ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, filesystemid = nil, createtime = nil, goosefsxattribute = nil, status = nil, name = nil, description = nil, vpcid = nil, subnetid = nil, zone = nil, tag = nil, modifytime = nil, chargeattribute = nil) ⇒ FSAttribute
constructor
A new instance of FSAttribute.
Constructor Details
#initialize(type = nil, filesystemid = nil, createtime = nil, goosefsxattribute = nil, status = nil, name = nil, description = nil, vpcid = nil, subnetid = nil, zone = nil, tag = nil, modifytime = nil, chargeattribute = nil) ⇒ FSAttribute
Returns a new instance of FSAttribute.
1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 |
# File 'lib/v20220519/models.rb', line 1209 def initialize(type=nil, filesystemid=nil, createtime=nil, goosefsxattribute=nil, status=nil, name=nil, description=nil, vpcid=nil, subnetid=nil, zone=nil, tag=nil, modifytime=nil, chargeattribute=nil) @Type = type @FileSystemId = filesystemid @CreateTime = createtime @GooseFSxAttribute = goosefsxattribute @Status = status @Name = name @Description = description @VpcId = vpcid @SubnetId = subnetid @Zone = zone @Tag = tag @ModifyTime = modifytime @ChargeAttribute = chargeattribute end |
Instance Attribute Details
#ChargeAttribute ⇒ Object
1207 1208 1209 |
# File 'lib/v20220519/models.rb', line 1207 def ChargeAttribute @ChargeAttribute end |
#CreateTime ⇒ Object
1207 1208 1209 |
# File 'lib/v20220519/models.rb', line 1207 def CreateTime @CreateTime end |
#Description ⇒ Object
1207 1208 1209 |
# File 'lib/v20220519/models.rb', line 1207 def Description @Description end |
#FileSystemId ⇒ Object
1207 1208 1209 |
# File 'lib/v20220519/models.rb', line 1207 def FileSystemId @FileSystemId end |
#GooseFSxAttribute ⇒ Object
1207 1208 1209 |
# File 'lib/v20220519/models.rb', line 1207 def GooseFSxAttribute @GooseFSxAttribute end |
#ModifyTime ⇒ Object
1207 1208 1209 |
# File 'lib/v20220519/models.rb', line 1207 def ModifyTime @ModifyTime end |
#Name ⇒ Object
1207 1208 1209 |
# File 'lib/v20220519/models.rb', line 1207 def Name @Name end |
#Status ⇒ Object
1207 1208 1209 |
# File 'lib/v20220519/models.rb', line 1207 def Status @Status end |
#SubnetId ⇒ Object
1207 1208 1209 |
# File 'lib/v20220519/models.rb', line 1207 def SubnetId @SubnetId end |
#Tag ⇒ Object
1207 1208 1209 |
# File 'lib/v20220519/models.rb', line 1207 def Tag @Tag end |
#Type ⇒ Object
1207 1208 1209 |
# File 'lib/v20220519/models.rb', line 1207 def Type @Type end |
#VpcId ⇒ Object
1207 1208 1209 |
# File 'lib/v20220519/models.rb', line 1207 def VpcId @VpcId end |
#Zone ⇒ Object
1207 1208 1209 |
# File 'lib/v20220519/models.rb', line 1207 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 |
# File 'lib/v20220519/models.rb', line 1225 def deserialize(params) @Type = params['Type'] @FileSystemId = params['FileSystemId'] @CreateTime = params['CreateTime'] unless params['GooseFSxAttribute'].nil? @GooseFSxAttribute = GooseFSxAttribute.new @GooseFSxAttribute.deserialize(params['GooseFSxAttribute']) end @Status = params['Status'] @Name = params['Name'] @Description = params['Description'] @VpcId = params['VpcId'] @SubnetId = params['SubnetId'] @Zone = params['Zone'] unless params['Tag'].nil? @Tag = [] params['Tag'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tag << tag_tmp end end @ModifyTime = params['ModifyTime'] unless params['ChargeAttribute'].nil? @ChargeAttribute = ChargeAttribute.new @ChargeAttribute.deserialize(params['ChargeAttribute']) end end |