Class: TencentCloud::Wav::V20210129::CreateChannelCodeRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wav::V20210129::CreateChannelCodeRequest
- Defined in:
- lib/v20210129/models.rb
Overview
CreateChannelCode请求参数结构体
Instance Attribute Summary collapse
- #AppIds ⇒ Object
- #MsgId ⇒ Object
- #Name ⇒ Object
- #Remark ⇒ Object
- #SkipVerify ⇒ Object
- #Source ⇒ Object
- #SourceName ⇒ Object
- #SourceType ⇒ Object
- #Tag ⇒ Object
- #Type ⇒ Object
- #UseUserId ⇒ Object
- #UseUserOpenId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, useuserid = nil, useuseropenid = nil, appids = nil, source = nil, sourcename = nil, name = nil, tag = nil, skipverify = nil, msgid = nil, remark = nil, sourcetype = nil) ⇒ CreateChannelCodeRequest
constructor
A new instance of CreateChannelCodeRequest.
Constructor Details
#initialize(type = nil, useuserid = nil, useuseropenid = nil, appids = nil, source = nil, sourcename = nil, name = nil, tag = nil, skipverify = nil, msgid = nil, remark = nil, sourcetype = nil) ⇒ CreateChannelCodeRequest
Returns a new instance of CreateChannelCodeRequest.
739 740 741 742 743 744 745 746 747 748 749 750 751 752 |
# File 'lib/v20210129/models.rb', line 739 def initialize(type=nil, useuserid=nil, useuseropenid=nil, appids=nil, source=nil, sourcename=nil, name=nil, tag=nil, skipverify=nil, msgid=nil, remark=nil, sourcetype=nil) @Type = type @UseUserId = useuserid @UseUserOpenId = useuseropenid @AppIds = appids @Source = source @SourceName = sourcename @Name = name @Tag = tag @SkipVerify = skipverify @MsgId = msgid @Remark = remark @SourceType = sourcetype end |
Instance Attribute Details
#AppIds ⇒ Object
737 738 739 |
# File 'lib/v20210129/models.rb', line 737 def AppIds @AppIds end |
#MsgId ⇒ Object
737 738 739 |
# File 'lib/v20210129/models.rb', line 737 def MsgId @MsgId end |
#Name ⇒ Object
737 738 739 |
# File 'lib/v20210129/models.rb', line 737 def Name @Name end |
#Remark ⇒ Object
737 738 739 |
# File 'lib/v20210129/models.rb', line 737 def Remark @Remark end |
#SkipVerify ⇒ Object
737 738 739 |
# File 'lib/v20210129/models.rb', line 737 def SkipVerify @SkipVerify end |
#Source ⇒ Object
737 738 739 |
# File 'lib/v20210129/models.rb', line 737 def Source @Source end |
#SourceName ⇒ Object
737 738 739 |
# File 'lib/v20210129/models.rb', line 737 def SourceName @SourceName end |
#SourceType ⇒ Object
737 738 739 |
# File 'lib/v20210129/models.rb', line 737 def SourceType @SourceType end |
#Tag ⇒ Object
737 738 739 |
# File 'lib/v20210129/models.rb', line 737 def Tag @Tag end |
#Type ⇒ Object
737 738 739 |
# File 'lib/v20210129/models.rb', line 737 def Type @Type end |
#UseUserId ⇒ Object
737 738 739 |
# File 'lib/v20210129/models.rb', line 737 def UseUserId @UseUserId end |
#UseUserOpenId ⇒ Object
737 738 739 |
# File 'lib/v20210129/models.rb', line 737 def UseUserOpenId @UseUserOpenId end |
Instance Method Details
#deserialize(params) ⇒ Object
754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 |
# File 'lib/v20210129/models.rb', line 754 def deserialize(params) @Type = params['Type'] @UseUserId = params['UseUserId'] @UseUserOpenId = params['UseUserOpenId'] @AppIds = params['AppIds'] @Source = params['Source'] @SourceName = params['SourceName'] @Name = params['Name'] unless params['Tag'].nil? @Tag = [] params['Tag'].each do |i| wecomtagdetail_tmp = WeComTagDetail.new wecomtagdetail_tmp.deserialize(i) @Tag << wecomtagdetail_tmp end end @SkipVerify = params['SkipVerify'] @MsgId = params['MsgId'] @Remark = params['Remark'] @SourceType = params['SourceType'] end |