Class: TencentCloud::Cam::V20190116::AccessKey

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

Overview

访问密钥列表

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(accesskeyid = nil, status = nil, createtime = nil, description = nil) ⇒ AccessKey

Returns a new instance of AccessKey.



34
35
36
37
38
39
# File 'lib/v20190116/models.rb', line 34

def initialize(accesskeyid=nil, status=nil, createtime=nil, description=nil)
  @AccessKeyId = accesskeyid
  @Status = status
  @CreateTime = createtime
  @Description = description
end

Instance Attribute Details

#AccessKeyIdObject

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

Parameters:

  • AccessKeyId:

    访问密钥标识

  • Status:

    密钥状态,激活(Active)或未激活(Inactive)

  • CreateTime:

    创建时间

  • Description:

    密钥描述



32
33
34
# File 'lib/v20190116/models.rb', line 32

def AccessKeyId
  @AccessKeyId
end

#CreateTimeObject

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

Parameters:

  • AccessKeyId:

    访问密钥标识

  • Status:

    密钥状态,激活(Active)或未激活(Inactive)

  • CreateTime:

    创建时间

  • Description:

    密钥描述



32
33
34
# File 'lib/v20190116/models.rb', line 32

def CreateTime
  @CreateTime
end

#DescriptionObject

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

Parameters:

  • AccessKeyId:

    访问密钥标识

  • Status:

    密钥状态,激活(Active)或未激活(Inactive)

  • CreateTime:

    创建时间

  • Description:

    密钥描述



32
33
34
# File 'lib/v20190116/models.rb', line 32

def Description
  @Description
end

#StatusObject

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

Parameters:

  • AccessKeyId:

    访问密钥标识

  • Status:

    密钥状态,激活(Active)或未激活(Inactive)

  • CreateTime:

    创建时间

  • Description:

    密钥描述



32
33
34
# File 'lib/v20190116/models.rb', line 32

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



41
42
43
44
45
46
# File 'lib/v20190116/models.rb', line 41

def deserialize(params)
  @AccessKeyId = params['AccessKeyId']
  @Status = params['Status']
  @CreateTime = params['CreateTime']
  @Description = params['Description']
end