Class: TencentCloud::Organization::V20210331::UpdateSCIMCredentialStatusRequest

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

Overview

UpdateSCIMCredentialStatus请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(zoneid = nil, credentialid = nil, newstatus = nil) ⇒ UpdateSCIMCredentialStatusRequest

Returns a new instance of UpdateSCIMCredentialStatusRequest.



8291
8292
8293
8294
8295
# File 'lib/v20210331/models.rb', line 8291

def initialize(zoneid=nil, credentialid=nil, newstatus=nil)
  @ZoneId = zoneid
  @CredentialId = credentialid
  @NewStatus = newstatus
end

Instance Attribute Details

#CredentialIdObject

Parameters:

  • ZoneId:

    空间ID。z-前缀开头,后面是12位随机数字/小写字母

  • CredentialId:

    SCIM密钥ID。scimcred-前缀开头,后面是12位随机数字/小写字母。

  • NewStatus:

    SCIM密钥状态。Enabled:启用。 Disabled:禁用。



8289
8290
8291
# File 'lib/v20210331/models.rb', line 8289

def CredentialId
  @CredentialId
end

#NewStatusObject

Parameters:

  • ZoneId:

    空间ID。z-前缀开头,后面是12位随机数字/小写字母

  • CredentialId:

    SCIM密钥ID。scimcred-前缀开头,后面是12位随机数字/小写字母。

  • NewStatus:

    SCIM密钥状态。Enabled:启用。 Disabled:禁用。



8289
8290
8291
# File 'lib/v20210331/models.rb', line 8289

def NewStatus
  @NewStatus
end

#ZoneIdObject

Parameters:

  • ZoneId:

    空间ID。z-前缀开头,后面是12位随机数字/小写字母

  • CredentialId:

    SCIM密钥ID。scimcred-前缀开头,后面是12位随机数字/小写字母。

  • NewStatus:

    SCIM密钥状态。Enabled:启用。 Disabled:禁用。



8289
8290
8291
# File 'lib/v20210331/models.rb', line 8289

def ZoneId
  @ZoneId
end

Instance Method Details

#deserialize(params) ⇒ Object



8297
8298
8299
8300
8301
# File 'lib/v20210331/models.rb', line 8297

def deserialize(params)
  @ZoneId = params['ZoneId']
  @CredentialId = params['CredentialId']
  @NewStatus = params['NewStatus']
end