Class: TencentCloud::Cam::V20190116::CreateMessageReceiverRequest

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

Overview

CreateMessageReceiver请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, countrycode = nil, phonenumber = nil, email = nil, remark = nil) ⇒ CreateMessageReceiverRequest

Returns a new instance of CreateMessageReceiverRequest.



774
775
776
777
778
779
780
# File 'lib/v20190116/models.rb', line 774

def initialize(name=nil, countrycode=nil, phonenumber=nil, email=nil, remark=nil)
  @Name = name
  @CountryCode = countrycode
  @PhoneNumber = phonenumber
  @Email = email
  @Remark = remark
end

Instance Attribute Details

#CountryCodeObject

Parameters:

  • Name:

    消息接收人的用户名

  • CountryCode:

    手机号国际区号,国内为86

  • PhoneNumber:

    手机号码, 例如:132****2492

  • Email:

    邮箱,例如:57*****@qq.com

  • Remark:

    消息接收人的备注,选填



772
773
774
# File 'lib/v20190116/models.rb', line 772

def CountryCode
  @CountryCode
end

#EmailObject

Parameters:

  • Name:

    消息接收人的用户名

  • CountryCode:

    手机号国际区号,国内为86

  • PhoneNumber:

    手机号码, 例如:132****2492

  • Email:

    邮箱,例如:57*****@qq.com

  • Remark:

    消息接收人的备注,选填



772
773
774
# File 'lib/v20190116/models.rb', line 772

def Email
  @Email
end

#NameObject

Parameters:

  • Name:

    消息接收人的用户名

  • CountryCode:

    手机号国际区号,国内为86

  • PhoneNumber:

    手机号码, 例如:132****2492

  • Email:

    邮箱,例如:57*****@qq.com

  • Remark:

    消息接收人的备注,选填



772
773
774
# File 'lib/v20190116/models.rb', line 772

def Name
  @Name
end

#PhoneNumberObject

Parameters:

  • Name:

    消息接收人的用户名

  • CountryCode:

    手机号国际区号,国内为86

  • PhoneNumber:

    手机号码, 例如:132****2492

  • Email:

    邮箱,例如:57*****@qq.com

  • Remark:

    消息接收人的备注,选填



772
773
774
# File 'lib/v20190116/models.rb', line 772

def PhoneNumber
  @PhoneNumber
end

#RemarkObject

Parameters:

  • Name:

    消息接收人的用户名

  • CountryCode:

    手机号国际区号,国内为86

  • PhoneNumber:

    手机号码, 例如:132****2492

  • Email:

    邮箱,例如:57*****@qq.com

  • Remark:

    消息接收人的备注,选填



772
773
774
# File 'lib/v20190116/models.rb', line 772

def Remark
  @Remark
end

Instance Method Details

#deserialize(params) ⇒ Object



782
783
784
785
786
787
788
# File 'lib/v20190116/models.rb', line 782

def deserialize(params)
  @Name = params['Name']
  @CountryCode = params['CountryCode']
  @PhoneNumber = params['PhoneNumber']
  @Email = params['Email']
  @Remark = params['Remark']
end