Class: TencentCloud::Dcdb::V20180411::ColumnPrivilege

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

Overview

列权限信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(database = nil, table = nil, column = nil, privileges = nil) ⇒ ColumnPrivilege

Returns a new instance of ColumnPrivilege.



402
403
404
405
406
407
# File 'lib/v20180411/models.rb', line 402

def initialize(database=nil, table=nil, column=nil, privileges=nil)
  @Database = database
  @Table = table
  @Column = column
  @Privileges = privileges
end

Instance Attribute Details

#ColumnObject

Parameters:

  • Database:

    数据库名

  • Table:

    数据库表名

  • Column:

    数据库列名

  • Privileges:

    权限信息



400
401
402
# File 'lib/v20180411/models.rb', line 400

def Column
  @Column
end

#DatabaseObject

Parameters:

  • Database:

    数据库名

  • Table:

    数据库表名

  • Column:

    数据库列名

  • Privileges:

    权限信息



400
401
402
# File 'lib/v20180411/models.rb', line 400

def Database
  @Database
end

#PrivilegesObject

Parameters:

  • Database:

    数据库名

  • Table:

    数据库表名

  • Column:

    数据库列名

  • Privileges:

    权限信息



400
401
402
# File 'lib/v20180411/models.rb', line 400

def Privileges
  @Privileges
end

#TableObject

Parameters:

  • Database:

    数据库名

  • Table:

    数据库表名

  • Column:

    数据库列名

  • Privileges:

    权限信息



400
401
402
# File 'lib/v20180411/models.rb', line 400

def Table
  @Table
end

Instance Method Details

#deserialize(params) ⇒ Object



409
410
411
412
413
414
# File 'lib/v20180411/models.rb', line 409

def deserialize(params)
  @Database = params['Database']
  @Table = params['Table']
  @Column = params['Column']
  @Privileges = params['Privileges']
end