Class: TencentCloud::Organization::V20210331::CreateOrganizationMemberRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Organization::V20210331::CreateOrganizationMemberRequest
- Defined in:
- lib/v20210331/models.rb
Overview
CreateOrganizationMember请求参数结构体
Instance Attribute Summary collapse
- #AccountName ⇒ Object
- #AuthRelationId ⇒ Object
- #IdentityRoleID ⇒ Object
- #Name ⇒ Object
- #NodeId ⇒ Object
- #PayUin ⇒ Object
- #PermissionIds ⇒ Object
- #PolicyType ⇒ Object
- #RecordId ⇒ Object
- #Remark ⇒ Object
- #Tags ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, policytype = nil, permissionids = nil, nodeid = nil, accountname = nil, remark = nil, recordid = nil, payuin = nil, identityroleid = nil, authrelationid = nil, tags = nil) ⇒ CreateOrganizationMemberRequest
constructor
A new instance of CreateOrganizationMemberRequest.
Constructor Details
#initialize(name = nil, policytype = nil, permissionids = nil, nodeid = nil, accountname = nil, remark = nil, recordid = nil, payuin = nil, identityroleid = nil, authrelationid = nil, tags = nil) ⇒ CreateOrganizationMemberRequest
Returns a new instance of CreateOrganizationMemberRequest.
1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 |
# File 'lib/v20210331/models.rb', line 1027 def initialize(name=nil, policytype=nil, =nil, nodeid=nil, accountname=nil, remark=nil, recordid=nil, payuin=nil, identityroleid=nil, authrelationid=nil, =nil) @Name = name @PolicyType = policytype @PermissionIds = @NodeId = nodeid @AccountName = accountname @Remark = remark @RecordId = recordid @PayUin = payuin @IdentityRoleID = identityroleid @AuthRelationId = authrelationid @Tags = end |
Instance Attribute Details
#AccountName ⇒ Object
1025 1026 1027 |
# File 'lib/v20210331/models.rb', line 1025 def AccountName @AccountName end |
#AuthRelationId ⇒ Object
1025 1026 1027 |
# File 'lib/v20210331/models.rb', line 1025 def AuthRelationId @AuthRelationId end |
#IdentityRoleID ⇒ Object
1025 1026 1027 |
# File 'lib/v20210331/models.rb', line 1025 def IdentityRoleID @IdentityRoleID end |
#Name ⇒ Object
1025 1026 1027 |
# File 'lib/v20210331/models.rb', line 1025 def Name @Name end |
#NodeId ⇒ Object
1025 1026 1027 |
# File 'lib/v20210331/models.rb', line 1025 def NodeId @NodeId end |
#PayUin ⇒ Object
1025 1026 1027 |
# File 'lib/v20210331/models.rb', line 1025 def PayUin @PayUin end |
#PermissionIds ⇒ Object
1025 1026 1027 |
# File 'lib/v20210331/models.rb', line 1025 def PermissionIds @PermissionIds end |
#PolicyType ⇒ Object
1025 1026 1027 |
# File 'lib/v20210331/models.rb', line 1025 def PolicyType @PolicyType end |
#RecordId ⇒ Object
1025 1026 1027 |
# File 'lib/v20210331/models.rb', line 1025 def RecordId @RecordId end |
#Remark ⇒ Object
1025 1026 1027 |
# File 'lib/v20210331/models.rb', line 1025 def Remark @Remark end |
#Tags ⇒ Object
1025 1026 1027 |
# File 'lib/v20210331/models.rb', line 1025 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 |
# File 'lib/v20210331/models.rb', line 1041 def deserialize(params) @Name = params['Name'] @PolicyType = params['PolicyType'] @PermissionIds = params['PermissionIds'] @NodeId = params['NodeId'] @AccountName = params['AccountName'] @Remark = params['Remark'] @RecordId = params['RecordId'] @PayUin = params['PayUin'] @IdentityRoleID = params['IdentityRoleID'] @AuthRelationId = params['AuthRelationId'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end end |