Class: TencentCloud::Domain::V20180808::CreatePhoneEmailRequest

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

Overview

CreatePhoneEmail请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code = nil, type = nil, verifycode = nil) ⇒ CreatePhoneEmailRequest

Returns a new instance of CreatePhoneEmailRequest.



871
872
873
874
875
# File 'lib/v20180808/models.rb', line 871

def initialize(code=nil, type=nil, verifycode=nil)
  @Code = code
  @Type = type
  @VerifyCode = verifycode
end

Instance Attribute Details

#CodeObject

通过调用(cloud.tencent.com/document/api/242/62666)接口发送到手机或邮箱的验证码

Parameters:

  • Code:

    手机号或者邮箱

  • Type:

    1:手机 2:邮箱

  • VerifyCode:

    验证码



869
870
871
# File 'lib/v20180808/models.rb', line 869

def Code
  @Code
end

#TypeObject

通过调用(cloud.tencent.com/document/api/242/62666)接口发送到手机或邮箱的验证码

Parameters:

  • Code:

    手机号或者邮箱

  • Type:

    1:手机 2:邮箱

  • VerifyCode:

    验证码



869
870
871
# File 'lib/v20180808/models.rb', line 869

def Type
  @Type
end

#VerifyCodeObject

通过调用(cloud.tencent.com/document/api/242/62666)接口发送到手机或邮箱的验证码

Parameters:

  • Code:

    手机号或者邮箱

  • Type:

    1:手机 2:邮箱

  • VerifyCode:

    验证码



869
870
871
# File 'lib/v20180808/models.rb', line 869

def VerifyCode
  @VerifyCode
end

Instance Method Details

#deserialize(params) ⇒ Object



877
878
879
880
881
# File 'lib/v20180808/models.rb', line 877

def deserialize(params)
  @Code = params['Code']
  @Type = params['Type']
  @VerifyCode = params['VerifyCode']
end