Class: TencentCloud::Organization::V20210331::OrgPermission

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

Overview

关系策略权限

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, name = nil) ⇒ OrgPermission

Returns a new instance of OrgPermission.



6327
6328
6329
6330
# File 'lib/v20210331/models.rb', line 6327

def initialize(id=nil, name=nil)
  @Id = id
  @Name = name
end

Instance Attribute Details

#IdObject

Parameters:

  • Id:

    权限Id

  • Name:

    权限名



6325
6326
6327
# File 'lib/v20210331/models.rb', line 6325

def Id
  @Id
end

#NameObject

Parameters:

  • Id:

    权限Id

  • Name:

    权限名



6325
6326
6327
# File 'lib/v20210331/models.rb', line 6325

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



6332
6333
6334
6335
# File 'lib/v20210331/models.rb', line 6332

def deserialize(params)
  @Id = params['Id']
  @Name = params['Name']
end