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.



6544
6545
6546
6547
# File 'lib/v20210331/models.rb', line 6544

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

Instance Attribute Details

#IdObject

Parameters:

  • Id:

    权限Id

  • Name:

    权限名



6542
6543
6544
# File 'lib/v20210331/models.rb', line 6542

def Id
  @Id
end

#NameObject

Parameters:

  • Id:

    权限Id

  • Name:

    权限名



6542
6543
6544
# File 'lib/v20210331/models.rb', line 6542

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



6549
6550
6551
6552
# File 'lib/v20210331/models.rb', line 6549

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