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.



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

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:禁用。



8285
8286
8287
# File 'lib/v20210331/models.rb', line 8285

def CredentialId
  @CredentialId
end

#NewStatusObject

Parameters:

  • ZoneId:

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

  • CredentialId:

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

  • NewStatus:

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



8285
8286
8287
# File 'lib/v20210331/models.rb', line 8285

def NewStatus
  @NewStatus
end

#ZoneIdObject

Parameters:

  • ZoneId:

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

  • CredentialId:

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

  • NewStatus:

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



8285
8286
8287
# File 'lib/v20210331/models.rb', line 8285

def ZoneId
  @ZoneId
end

Instance Method Details

#deserialize(params) ⇒ Object



8293
8294
8295
8296
8297
# File 'lib/v20210331/models.rb', line 8293

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