Class: TencentCloud::Oceanus::V20190422::RoleAuth

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

Overview

角色授权信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(appid = nil, workspaceserialid = nil, owneruin = nil, creatoruin = nil, authsubaccountuin = nil, permission = nil, createtime = nil, updatetime = nil, status = nil, id = nil, workspaceid = nil, rolename = nil) ⇒ RoleAuth

Returns a new instance of RoleAuth.



4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
# File 'lib/v20190422/models.rb', line 4982

def initialize(appid=nil, workspaceserialid=nil, owneruin=nil, creatoruin=nil, authsubaccountuin=nil, permission=nil, createtime=nil, updatetime=nil, status=nil, id=nil, workspaceid=nil, rolename=nil)
  @AppId = appid
  @WorkSpaceSerialId = workspaceserialid
  @OwnerUin = owneruin
  @CreatorUin = creatoruin
  @AuthSubAccountUin = authsubaccountuin
  @Permission = permission
  @CreateTime = createtime
  @UpdateTime = updatetime
  @Status = status
  @Id = id
  @WorkSpaceId = workspaceid
  @RoleName = rolename
end

Instance Attribute Details

#AppIdObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • AppId:

    用户 AppID

  • WorkSpaceSerialId:

    工作空间 SerialId

  • OwnerUin:

    主账号 UIN

  • CreatorUin:

    创建者 UIN

  • AuthSubAccountUin:

    绑定授权的 UIN

  • Permission:

    对应 role表的id

  • CreateTime:

    创建时间

  • UpdateTime:

    最后一次操作时间

  • Status:

    2 启用 1 停用

  • Id:

    id

  • WorkSpaceId:

    工作空间id

  • RoleName:

    权限名称



4980
4981
4982
# File 'lib/v20190422/models.rb', line 4980

def AppId
  @AppId
end

#AuthSubAccountUinObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • AppId:

    用户 AppID

  • WorkSpaceSerialId:

    工作空间 SerialId

  • OwnerUin:

    主账号 UIN

  • CreatorUin:

    创建者 UIN

  • AuthSubAccountUin:

    绑定授权的 UIN

  • Permission:

    对应 role表的id

  • CreateTime:

    创建时间

  • UpdateTime:

    最后一次操作时间

  • Status:

    2 启用 1 停用

  • Id:

    id

  • WorkSpaceId:

    工作空间id

  • RoleName:

    权限名称



4980
4981
4982
# File 'lib/v20190422/models.rb', line 4980

def AuthSubAccountUin
  @AuthSubAccountUin
end

#CreateTimeObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • AppId:

    用户 AppID

  • WorkSpaceSerialId:

    工作空间 SerialId

  • OwnerUin:

    主账号 UIN

  • CreatorUin:

    创建者 UIN

  • AuthSubAccountUin:

    绑定授权的 UIN

  • Permission:

    对应 role表的id

  • CreateTime:

    创建时间

  • UpdateTime:

    最后一次操作时间

  • Status:

    2 启用 1 停用

  • Id:

    id

  • WorkSpaceId:

    工作空间id

  • RoleName:

    权限名称



4980
4981
4982
# File 'lib/v20190422/models.rb', line 4980

def CreateTime
  @CreateTime
end

#CreatorUinObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • AppId:

    用户 AppID

  • WorkSpaceSerialId:

    工作空间 SerialId

  • OwnerUin:

    主账号 UIN

  • CreatorUin:

    创建者 UIN

  • AuthSubAccountUin:

    绑定授权的 UIN

  • Permission:

    对应 role表的id

  • CreateTime:

    创建时间

  • UpdateTime:

    最后一次操作时间

  • Status:

    2 启用 1 停用

  • Id:

    id

  • WorkSpaceId:

    工作空间id

  • RoleName:

    权限名称



4980
4981
4982
# File 'lib/v20190422/models.rb', line 4980

def CreatorUin
  @CreatorUin
end

#IdObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • AppId:

    用户 AppID

  • WorkSpaceSerialId:

    工作空间 SerialId

  • OwnerUin:

    主账号 UIN

  • CreatorUin:

    创建者 UIN

  • AuthSubAccountUin:

    绑定授权的 UIN

  • Permission:

    对应 role表的id

  • CreateTime:

    创建时间

  • UpdateTime:

    最后一次操作时间

  • Status:

    2 启用 1 停用

  • Id:

    id

  • WorkSpaceId:

    工作空间id

  • RoleName:

    权限名称



4980
4981
4982
# File 'lib/v20190422/models.rb', line 4980

def Id
  @Id
end

#OwnerUinObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • AppId:

    用户 AppID

  • WorkSpaceSerialId:

    工作空间 SerialId

  • OwnerUin:

    主账号 UIN

  • CreatorUin:

    创建者 UIN

  • AuthSubAccountUin:

    绑定授权的 UIN

  • Permission:

    对应 role表的id

  • CreateTime:

    创建时间

  • UpdateTime:

    最后一次操作时间

  • Status:

    2 启用 1 停用

  • Id:

    id

  • WorkSpaceId:

    工作空间id

  • RoleName:

    权限名称



4980
4981
4982
# File 'lib/v20190422/models.rb', line 4980

def OwnerUin
  @OwnerUin
end

#PermissionObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • AppId:

    用户 AppID

  • WorkSpaceSerialId:

    工作空间 SerialId

  • OwnerUin:

    主账号 UIN

  • CreatorUin:

    创建者 UIN

  • AuthSubAccountUin:

    绑定授权的 UIN

  • Permission:

    对应 role表的id

  • CreateTime:

    创建时间

  • UpdateTime:

    最后一次操作时间

  • Status:

    2 启用 1 停用

  • Id:

    id

  • WorkSpaceId:

    工作空间id

  • RoleName:

    权限名称



4980
4981
4982
# File 'lib/v20190422/models.rb', line 4980

def Permission
  @Permission
end

#RoleNameObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • AppId:

    用户 AppID

  • WorkSpaceSerialId:

    工作空间 SerialId

  • OwnerUin:

    主账号 UIN

  • CreatorUin:

    创建者 UIN

  • AuthSubAccountUin:

    绑定授权的 UIN

  • Permission:

    对应 role表的id

  • CreateTime:

    创建时间

  • UpdateTime:

    最后一次操作时间

  • Status:

    2 启用 1 停用

  • Id:

    id

  • WorkSpaceId:

    工作空间id

  • RoleName:

    权限名称



4980
4981
4982
# File 'lib/v20190422/models.rb', line 4980

def RoleName
  @RoleName
end

#StatusObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • AppId:

    用户 AppID

  • WorkSpaceSerialId:

    工作空间 SerialId

  • OwnerUin:

    主账号 UIN

  • CreatorUin:

    创建者 UIN

  • AuthSubAccountUin:

    绑定授权的 UIN

  • Permission:

    对应 role表的id

  • CreateTime:

    创建时间

  • UpdateTime:

    最后一次操作时间

  • Status:

    2 启用 1 停用

  • Id:

    id

  • WorkSpaceId:

    工作空间id

  • RoleName:

    权限名称



4980
4981
4982
# File 'lib/v20190422/models.rb', line 4980

def Status
  @Status
end

#UpdateTimeObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • AppId:

    用户 AppID

  • WorkSpaceSerialId:

    工作空间 SerialId

  • OwnerUin:

    主账号 UIN

  • CreatorUin:

    创建者 UIN

  • AuthSubAccountUin:

    绑定授权的 UIN

  • Permission:

    对应 role表的id

  • CreateTime:

    创建时间

  • UpdateTime:

    最后一次操作时间

  • Status:

    2 启用 1 停用

  • Id:

    id

  • WorkSpaceId:

    工作空间id

  • RoleName:

    权限名称



4980
4981
4982
# File 'lib/v20190422/models.rb', line 4980

def UpdateTime
  @UpdateTime
end

#WorkSpaceIdObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • AppId:

    用户 AppID

  • WorkSpaceSerialId:

    工作空间 SerialId

  • OwnerUin:

    主账号 UIN

  • CreatorUin:

    创建者 UIN

  • AuthSubAccountUin:

    绑定授权的 UIN

  • Permission:

    对应 role表的id

  • CreateTime:

    创建时间

  • UpdateTime:

    最后一次操作时间

  • Status:

    2 启用 1 停用

  • Id:

    id

  • WorkSpaceId:

    工作空间id

  • RoleName:

    权限名称



4980
4981
4982
# File 'lib/v20190422/models.rb', line 4980

def WorkSpaceId
  @WorkSpaceId
end

#WorkSpaceSerialIdObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • AppId:

    用户 AppID

  • WorkSpaceSerialId:

    工作空间 SerialId

  • OwnerUin:

    主账号 UIN

  • CreatorUin:

    创建者 UIN

  • AuthSubAccountUin:

    绑定授权的 UIN

  • Permission:

    对应 role表的id

  • CreateTime:

    创建时间

  • UpdateTime:

    最后一次操作时间

  • Status:

    2 启用 1 停用

  • Id:

    id

  • WorkSpaceId:

    工作空间id

  • RoleName:

    权限名称



4980
4981
4982
# File 'lib/v20190422/models.rb', line 4980

def WorkSpaceSerialId
  @WorkSpaceSerialId
end

Instance Method Details

#deserialize(params) ⇒ Object



4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
# File 'lib/v20190422/models.rb', line 4997

def deserialize(params)
  @AppId = params['AppId']
  @WorkSpaceSerialId = params['WorkSpaceSerialId']
  @OwnerUin = params['OwnerUin']
  @CreatorUin = params['CreatorUin']
  @AuthSubAccountUin = params['AuthSubAccountUin']
  @Permission = params['Permission']
  @CreateTime = params['CreateTime']
  @UpdateTime = params['UpdateTime']
  @Status = params['Status']
  @Id = params['Id']
  @WorkSpaceId = params['WorkSpaceId']
  @RoleName = params['RoleName']
end