Class: TencentCloud::Cfs::V20190719::DescribeCfsFileSystemsResponse

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

Overview

DescribeCfsFileSystems返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(filesystems = nil, totalcount = nil, requestid = nil) ⇒ DescribeCfsFileSystemsResponse

Returns a new instance of DescribeCfsFileSystemsResponse.



1870
1871
1872
1873
1874
# File 'lib/v20190719/models.rb', line 1870

def initialize(filesystems=nil, totalcount=nil, requestid=nil)
  @FileSystems = filesystems
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#FileSystemsObject

Parameters:

  • FileSystems:

    文件系统信息

  • TotalCount:

    文件系统总数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1868
1869
1870
# File 'lib/v20190719/models.rb', line 1868

def FileSystems
  @FileSystems
end

#RequestIdObject

Parameters:

  • FileSystems:

    文件系统信息

  • TotalCount:

    文件系统总数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1868
1869
1870
# File 'lib/v20190719/models.rb', line 1868

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • FileSystems:

    文件系统信息

  • TotalCount:

    文件系统总数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1868
1869
1870
# File 'lib/v20190719/models.rb', line 1868

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
# File 'lib/v20190719/models.rb', line 1876

def deserialize(params)
  unless params['FileSystems'].nil?
    @FileSystems = []
    params['FileSystems'].each do |i|
      filesysteminfo_tmp = FileSystemInfo.new
      filesysteminfo_tmp.deserialize(i)
      @FileSystems << filesysteminfo_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end