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.



8026
8027
8028
8029
8030
# File 'lib/v20210331/models.rb', line 8026

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



8024
8025
8026
# File 'lib/v20210331/models.rb', line 8024

def CredentialId
  @CredentialId
end

#NewStatusObject

Parameters:

  • ZoneId:

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

  • CredentialId:

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

  • NewStatus:

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



8024
8025
8026
# File 'lib/v20210331/models.rb', line 8024

def NewStatus
  @NewStatus
end

#ZoneIdObject

Parameters:

  • ZoneId:

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

  • CredentialId:

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

  • NewStatus:

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



8024
8025
8026
# File 'lib/v20210331/models.rb', line 8024

def ZoneId
  @ZoneId
end

Instance Method Details

#deserialize(params) ⇒ Object



8032
8033
8034
8035
8036
# File 'lib/v20210331/models.rb', line 8032

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