Class: TencentCloud::Cfs::V20190719::DeleteUserQuotaRequest

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

Overview

DeleteUserQuota请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(filesystemid = nil, usertype = nil, userid = nil, directorypath = nil) ⇒ DeleteUserQuotaRequest

Returns a new instance of DeleteUserQuotaRequest.



1570
1571
1572
1573
1574
1575
# File 'lib/v20190719/models.rb', line 1570

def initialize(filesystemid=nil, usertype=nil, userid=nil, directorypath=nil)
  @FileSystemId = filesystemid
  @UserType = usertype
  @UserId = userid
  @DirectoryPath = directorypath
end

Instance Attribute Details

#DirectoryPathObject

Parameters:

  • FileSystemId:

    文件系统ID,通过查询文件系统列表获取;DescribeCfsFileSystems

  • UserType:

    指定配额类型,包括Uid(按用户ID限制)、Gid(按用户组ID限制)、Dir(按目录限制)

  • UserId:

    UID/GID信息,和DirectoryPath参数,两者必须填写一个

  • DirectoryPath:

    设置目录配额的目录的绝对路径,和UserId参数,两者必须填写一个



1568
1569
1570
# File 'lib/v20190719/models.rb', line 1568

def DirectoryPath
  @DirectoryPath
end

#FileSystemIdObject

Parameters:

  • FileSystemId:

    文件系统ID,通过查询文件系统列表获取;DescribeCfsFileSystems

  • UserType:

    指定配额类型,包括Uid(按用户ID限制)、Gid(按用户组ID限制)、Dir(按目录限制)

  • UserId:

    UID/GID信息,和DirectoryPath参数,两者必须填写一个

  • DirectoryPath:

    设置目录配额的目录的绝对路径,和UserId参数,两者必须填写一个



1568
1569
1570
# File 'lib/v20190719/models.rb', line 1568

def FileSystemId
  @FileSystemId
end

#UserIdObject

Parameters:

  • FileSystemId:

    文件系统ID,通过查询文件系统列表获取;DescribeCfsFileSystems

  • UserType:

    指定配额类型,包括Uid(按用户ID限制)、Gid(按用户组ID限制)、Dir(按目录限制)

  • UserId:

    UID/GID信息,和DirectoryPath参数,两者必须填写一个

  • DirectoryPath:

    设置目录配额的目录的绝对路径,和UserId参数,两者必须填写一个



1568
1569
1570
# File 'lib/v20190719/models.rb', line 1568

def UserId
  @UserId
end

#UserTypeObject

Parameters:

  • FileSystemId:

    文件系统ID,通过查询文件系统列表获取;DescribeCfsFileSystems

  • UserType:

    指定配额类型,包括Uid(按用户ID限制)、Gid(按用户组ID限制)、Dir(按目录限制)

  • UserId:

    UID/GID信息,和DirectoryPath参数,两者必须填写一个

  • DirectoryPath:

    设置目录配额的目录的绝对路径,和UserId参数,两者必须填写一个



1568
1569
1570
# File 'lib/v20190719/models.rb', line 1568

def UserType
  @UserType
end

Instance Method Details

#deserialize(params) ⇒ Object



1577
1578
1579
1580
1581
1582
# File 'lib/v20190719/models.rb', line 1577

def deserialize(params)
  @FileSystemId = params['FileSystemId']
  @UserType = params['UserType']
  @UserId = params['UserId']
  @DirectoryPath = params['DirectoryPath']
end