Class: TencentCloud::Wedata::V20210820::PermissionStatus

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

Overview

读写权限状态

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(canwrite = nil, candelete = nil, canread = nil) ⇒ PermissionStatus

Returns a new instance of PermissionStatus.



29621
29622
29623
29624
29625
# File 'lib/v20210820/models.rb', line 29621

def initialize(canwrite=nil, candelete=nil, canread=nil)
  @CanWrite = canwrite
  @CanDelete = candelete
  @CanRead = canread
end

Instance Attribute Details

#CanDeleteObject

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

Parameters:

  • CanWrite:

    写权限

  • CanDelete:

    写权限

  • CanRead:

    写权限



29619
29620
29621
# File 'lib/v20210820/models.rb', line 29619

def CanDelete
  @CanDelete
end

#CanReadObject

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

Parameters:

  • CanWrite:

    写权限

  • CanDelete:

    写权限

  • CanRead:

    写权限



29619
29620
29621
# File 'lib/v20210820/models.rb', line 29619

def CanRead
  @CanRead
end

#CanWriteObject

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

Parameters:

  • CanWrite:

    写权限

  • CanDelete:

    写权限

  • CanRead:

    写权限



29619
29620
29621
# File 'lib/v20210820/models.rb', line 29619

def CanWrite
  @CanWrite
end

Instance Method Details

#deserialize(params) ⇒ Object



29627
29628
29629
29630
29631
# File 'lib/v20210820/models.rb', line 29627

def deserialize(params)
  @CanWrite = params['CanWrite']
  @CanDelete = params['CanDelete']
  @CanRead = params['CanRead']
end