Class: TencentCloud::Wav::V20210129::CreateChannelCodeRequest

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

Overview

CreateChannelCode请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#AppIdsObject

Parameters:

  • Type:

    欢迎语类型:0普通欢迎语,1渠道欢迎语

  • UseUserId:

    使用成员用户id集

  • UseUserOpenId:

    使用成员企微账号id集

  • AppIds:

    应用ID,字典表中的APP_TYPE值,多个已逗号分隔

  • Source:

    渠道来源

  • SourceName:

    渠道来源名称

  • Name:

    二维码名称

  • Tag:

    标签

  • SkipVerify:

    自动通过好友:0开启 1关闭, 默认开启

  • MsgId:

    欢迎语id(通过欢迎语新增返回的id)

  • Remark:

    备注

  • SourceType:

    渠道类型 0 未知 1 公域 2私域



737
738
739
# File 'lib/v20210129/models.rb', line 737

def AppIds
  @AppIds
end

#MsgIdObject

Parameters:

  • Type:

    欢迎语类型:0普通欢迎语,1渠道欢迎语

  • UseUserId:

    使用成员用户id集

  • UseUserOpenId:

    使用成员企微账号id集

  • AppIds:

    应用ID,字典表中的APP_TYPE值,多个已逗号分隔

  • Source:

    渠道来源

  • SourceName:

    渠道来源名称

  • Name:

    二维码名称

  • Tag:

    标签

  • SkipVerify:

    自动通过好友:0开启 1关闭, 默认开启

  • MsgId:

    欢迎语id(通过欢迎语新增返回的id)

  • Remark:

    备注

  • SourceType:

    渠道类型 0 未知 1 公域 2私域



737
738
739
# File 'lib/v20210129/models.rb', line 737

def MsgId
  @MsgId
end

#NameObject

Parameters:

  • Type:

    欢迎语类型:0普通欢迎语,1渠道欢迎语

  • UseUserId:

    使用成员用户id集

  • UseUserOpenId:

    使用成员企微账号id集

  • AppIds:

    应用ID,字典表中的APP_TYPE值,多个已逗号分隔

  • Source:

    渠道来源

  • SourceName:

    渠道来源名称

  • Name:

    二维码名称

  • Tag:

    标签

  • SkipVerify:

    自动通过好友:0开启 1关闭, 默认开启

  • MsgId:

    欢迎语id(通过欢迎语新增返回的id)

  • Remark:

    备注

  • SourceType:

    渠道类型 0 未知 1 公域 2私域



737
738
739
# File 'lib/v20210129/models.rb', line 737

def Name
  @Name
end

#RemarkObject

Parameters:

  • Type:

    欢迎语类型:0普通欢迎语,1渠道欢迎语

  • UseUserId:

    使用成员用户id集

  • UseUserOpenId:

    使用成员企微账号id集

  • AppIds:

    应用ID,字典表中的APP_TYPE值,多个已逗号分隔

  • Source:

    渠道来源

  • SourceName:

    渠道来源名称

  • Name:

    二维码名称

  • Tag:

    标签

  • SkipVerify:

    自动通过好友:0开启 1关闭, 默认开启

  • MsgId:

    欢迎语id(通过欢迎语新增返回的id)

  • Remark:

    备注

  • SourceType:

    渠道类型 0 未知 1 公域 2私域



737
738
739
# File 'lib/v20210129/models.rb', line 737

def Remark
  @Remark
end

#SkipVerifyObject

Parameters:

  • Type:

    欢迎语类型:0普通欢迎语,1渠道欢迎语

  • UseUserId:

    使用成员用户id集

  • UseUserOpenId:

    使用成员企微账号id集

  • AppIds:

    应用ID,字典表中的APP_TYPE值,多个已逗号分隔

  • Source:

    渠道来源

  • SourceName:

    渠道来源名称

  • Name:

    二维码名称

  • Tag:

    标签

  • SkipVerify:

    自动通过好友:0开启 1关闭, 默认开启

  • MsgId:

    欢迎语id(通过欢迎语新增返回的id)

  • Remark:

    备注

  • SourceType:

    渠道类型 0 未知 1 公域 2私域



737
738
739
# File 'lib/v20210129/models.rb', line 737

def SkipVerify
  @SkipVerify
end

#SourceObject

Parameters:

  • Type:

    欢迎语类型:0普通欢迎语,1渠道欢迎语

  • UseUserId:

    使用成员用户id集

  • UseUserOpenId:

    使用成员企微账号id集

  • AppIds:

    应用ID,字典表中的APP_TYPE值,多个已逗号分隔

  • Source:

    渠道来源

  • SourceName:

    渠道来源名称

  • Name:

    二维码名称

  • Tag:

    标签

  • SkipVerify:

    自动通过好友:0开启 1关闭, 默认开启

  • MsgId:

    欢迎语id(通过欢迎语新增返回的id)

  • Remark:

    备注

  • SourceType:

    渠道类型 0 未知 1 公域 2私域



737
738
739
# File 'lib/v20210129/models.rb', line 737

def Source
  @Source
end

#SourceNameObject

Parameters:

  • Type:

    欢迎语类型:0普通欢迎语,1渠道欢迎语

  • UseUserId:

    使用成员用户id集

  • UseUserOpenId:

    使用成员企微账号id集

  • AppIds:

    应用ID,字典表中的APP_TYPE值,多个已逗号分隔

  • Source:

    渠道来源

  • SourceName:

    渠道来源名称

  • Name:

    二维码名称

  • Tag:

    标签

  • SkipVerify:

    自动通过好友:0开启 1关闭, 默认开启

  • MsgId:

    欢迎语id(通过欢迎语新增返回的id)

  • Remark:

    备注

  • SourceType:

    渠道类型 0 未知 1 公域 2私域



737
738
739
# File 'lib/v20210129/models.rb', line 737

def SourceName
  @SourceName
end

#SourceTypeObject

Parameters:

  • Type:

    欢迎语类型:0普通欢迎语,1渠道欢迎语

  • UseUserId:

    使用成员用户id集

  • UseUserOpenId:

    使用成员企微账号id集

  • AppIds:

    应用ID,字典表中的APP_TYPE值,多个已逗号分隔

  • Source:

    渠道来源

  • SourceName:

    渠道来源名称

  • Name:

    二维码名称

  • Tag:

    标签

  • SkipVerify:

    自动通过好友:0开启 1关闭, 默认开启

  • MsgId:

    欢迎语id(通过欢迎语新增返回的id)

  • Remark:

    备注

  • SourceType:

    渠道类型 0 未知 1 公域 2私域



737
738
739
# File 'lib/v20210129/models.rb', line 737

def SourceType
  @SourceType
end

#TagObject

Parameters:

  • Type:

    欢迎语类型:0普通欢迎语,1渠道欢迎语

  • UseUserId:

    使用成员用户id集

  • UseUserOpenId:

    使用成员企微账号id集

  • AppIds:

    应用ID,字典表中的APP_TYPE值,多个已逗号分隔

  • Source:

    渠道来源

  • SourceName:

    渠道来源名称

  • Name:

    二维码名称

  • Tag:

    标签

  • SkipVerify:

    自动通过好友:0开启 1关闭, 默认开启

  • MsgId:

    欢迎语id(通过欢迎语新增返回的id)

  • Remark:

    备注

  • SourceType:

    渠道类型 0 未知 1 公域 2私域



737
738
739
# File 'lib/v20210129/models.rb', line 737

def Tag
  @Tag
end

#TypeObject

Parameters:

  • Type:

    欢迎语类型:0普通欢迎语,1渠道欢迎语

  • UseUserId:

    使用成员用户id集

  • UseUserOpenId:

    使用成员企微账号id集

  • AppIds:

    应用ID,字典表中的APP_TYPE值,多个已逗号分隔

  • Source:

    渠道来源

  • SourceName:

    渠道来源名称

  • Name:

    二维码名称

  • Tag:

    标签

  • SkipVerify:

    自动通过好友:0开启 1关闭, 默认开启

  • MsgId:

    欢迎语id(通过欢迎语新增返回的id)

  • Remark:

    备注

  • SourceType:

    渠道类型 0 未知 1 公域 2私域



737
738
739
# File 'lib/v20210129/models.rb', line 737

def Type
  @Type
end

#UseUserIdObject

Parameters:

  • Type:

    欢迎语类型:0普通欢迎语,1渠道欢迎语

  • UseUserId:

    使用成员用户id集

  • UseUserOpenId:

    使用成员企微账号id集

  • AppIds:

    应用ID,字典表中的APP_TYPE值,多个已逗号分隔

  • Source:

    渠道来源

  • SourceName:

    渠道来源名称

  • Name:

    二维码名称

  • Tag:

    标签

  • SkipVerify:

    自动通过好友:0开启 1关闭, 默认开启

  • MsgId:

    欢迎语id(通过欢迎语新增返回的id)

  • Remark:

    备注

  • SourceType:

    渠道类型 0 未知 1 公域 2私域



737
738
739
# File 'lib/v20210129/models.rb', line 737

def UseUserId
  @UseUserId
end

#UseUserOpenIdObject

Parameters:

  • Type:

    欢迎语类型:0普通欢迎语,1渠道欢迎语

  • UseUserId:

    使用成员用户id集

  • UseUserOpenId:

    使用成员企微账号id集

  • AppIds:

    应用ID,字典表中的APP_TYPE值,多个已逗号分隔

  • Source:

    渠道来源

  • SourceName:

    渠道来源名称

  • Name:

    二维码名称

  • Tag:

    标签

  • SkipVerify:

    自动通过好友:0开启 1关闭, 默认开启

  • MsgId:

    欢迎语id(通过欢迎语新增返回的id)

  • Remark:

    备注

  • SourceType:

    渠道类型 0 未知 1 公域 2私域



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