class TencentCloud::Ess::V20201111::CreateIntegrationRoleRequest
CreateIntegrationRole请求参数结构体
def deserialize(params)
def deserialize(params) @Name = params['Name'] unless params['Operator'].nil? @Operator = UserInfo.new @Operator.deserialize(params['Operator']) end @Description = params['Description'] @IsGroupRole = params['IsGroupRole'] unless params['PermissionGroups'].nil? @PermissionGroups = [] params['PermissionGroups'].each do |i| permissiongroup_tmp = PermissionGroup.new permissiongroup_tmp.deserialize(i) @PermissionGroups << permissiongroup_tmp end end @SubOrganizationIds = params['SubOrganizationIds'] unless params['Agent'].nil? @Agent = Agent.new @Agent.deserialize(params['Agent']) end end
def initialize(name=nil, operator=nil, description=nil, isgrouprole=nil, permissiongroups=nil, suborganizationids=nil, agent=nil)
def initialize(name=nil, operator=nil, description=nil, isgrouprole=nil, permissiongroups=nil, suborganizationids=nil, agent=nil) @Name = name @Operator = operator @Description = description @IsGroupRole = isgrouprole @PermissionGroups = permissiongroups @SubOrganizationIds = suborganizationids @Agent = agent end