Class: TencentCloud::Domain::V20180808::DeletePhoneEmailRequest

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

Overview

DeletePhoneEmail请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code = nil, type = nil) ⇒ DeletePhoneEmailRequest

Returns a new instance of DeletePhoneEmailRequest.



1053
1054
1055
1056
# File 'lib/v20180808/models.rb', line 1053

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

Instance Attribute Details

#CodeObject

Parameters:

  • Code:

    手机或者邮箱

  • Type:

    1:手机 2:邮箱



1051
1052
1053
# File 'lib/v20180808/models.rb', line 1051

def Code
  @Code
end

#TypeObject

Parameters:

  • Code:

    手机或者邮箱

  • Type:

    1:手机 2:邮箱



1051
1052
1053
# File 'lib/v20180808/models.rb', line 1051

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



1058
1059
1060
1061
# File 'lib/v20180808/models.rb', line 1058

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