Class: TencentCloud::Mariadb::V20170312::ColumnPrivilege

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20170312/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.



314
315
316
317
318
319
# File 'lib/v20170312/models.rb', line 314

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:

    权限信息



312
313
314
# File 'lib/v20170312/models.rb', line 312

def Column
  @Column
end

#DatabaseObject

Parameters:

  • Database:

    数据库名

  • Table:

    数据库表名

  • Column:

    数据库列名

  • Privileges:

    权限信息



312
313
314
# File 'lib/v20170312/models.rb', line 312

def Database
  @Database
end

#PrivilegesObject

Parameters:

  • Database:

    数据库名

  • Table:

    数据库表名

  • Column:

    数据库列名

  • Privileges:

    权限信息



312
313
314
# File 'lib/v20170312/models.rb', line 312

def Privileges
  @Privileges
end

#TableObject

Parameters:

  • Database:

    数据库名

  • Table:

    数据库表名

  • Column:

    数据库列名

  • Privileges:

    权限信息



312
313
314
# File 'lib/v20170312/models.rb', line 312

def Table
  @Table
end

Instance Method Details

#deserialize(params) ⇒ Object



321
322
323
324
325
326
# File 'lib/v20170312/models.rb', line 321

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