Class: TencentCloud::Chdfs::V20201112::DescribeMountPointsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Chdfs::V20201112::DescribeMountPointsResponse
- Defined in:
- lib/v20201112/models.rb
Overview
DescribeMountPoints返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(mountpoints = nil, requestid = nil) ⇒ DescribeMountPointsResponse
constructor
A new instance of DescribeMountPointsResponse.
Constructor Details
#initialize(mountpoints = nil, requestid = nil) ⇒ DescribeMountPointsResponse
Returns a new instance of DescribeMountPointsResponse.
951 952 953 954 |
# File 'lib/v20201112/models.rb', line 951 def initialize(mountpoints=nil, requestid=nil) @MountPoints = mountpoints @RequestId = requestid end |
Instance Attribute Details
#MountPoints ⇒ Object
949 950 951 |
# File 'lib/v20201112/models.rb', line 949 def MountPoints @MountPoints end |
#RequestId ⇒ Object
949 950 951 |
# File 'lib/v20201112/models.rb', line 949 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
956 957 958 959 960 961 962 963 964 965 966 |
# File 'lib/v20201112/models.rb', line 956 def deserialize(params) unless params['MountPoints'].nil? @MountPoints = [] params['MountPoints'].each do |i| mountpoint_tmp = MountPoint.new mountpoint_tmp.deserialize(i) @MountPoints << mountpoint_tmp end end @RequestId = params['RequestId'] end |