Class: TencentCloud::Ckafka::V20190819::MqttConnectParam

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

Overview

MQTT连接源参数

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(port = nil, username = nil, password = nil, resource = nil, servicevip = nil, uniqvpcid = nil, selfbuilt = nil, isupdate = nil, region = nil, ip = nil) ⇒ MqttConnectParam

Returns a new instance of MqttConnectParam.



9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
# File 'lib/v20190819/models.rb', line 9904

def initialize(port=nil, username=nil, password=nil, resource=nil, servicevip=nil, uniqvpcid=nil, selfbuilt=nil, isupdate=nil, region=nil, ip=nil)
  @Port = port
  @UserName = username
  @Password = password
  @Resource = resource
  @ServiceVip = servicevip
  @UniqVpcId = uniqvpcid
  @SelfBuilt = selfbuilt
  @IsUpdate = isupdate
  @Region = region
  @Ip = ip
end

Instance Attribute Details

#IpObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Port:

    MQTT的连接port

  • UserName:

    MQTT连接源的用户名

  • Password:

    MQTT连接源的密码

  • Resource:

    MQTT连接源的实例资源

  • ServiceVip:

    MQTT的连接ip

  • UniqVpcId:

    MQTT Instance vpc-id

  • SelfBuilt:

    是否为自建集群

  • IsUpdate:

    是否更新到关联的Dip任务

  • Region:

    MQTT连接源的实例资源地域, 跨地域时必填

  • Ip:

    IP



9902
9903
9904
# File 'lib/v20190819/models.rb', line 9902

def Ip
  @Ip
end

#IsUpdateObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Port:

    MQTT的连接port

  • UserName:

    MQTT连接源的用户名

  • Password:

    MQTT连接源的密码

  • Resource:

    MQTT连接源的实例资源

  • ServiceVip:

    MQTT的连接ip

  • UniqVpcId:

    MQTT Instance vpc-id

  • SelfBuilt:

    是否为自建集群

  • IsUpdate:

    是否更新到关联的Dip任务

  • Region:

    MQTT连接源的实例资源地域, 跨地域时必填

  • Ip:

    IP



9902
9903
9904
# File 'lib/v20190819/models.rb', line 9902

def IsUpdate
  @IsUpdate
end

#PasswordObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Port:

    MQTT的连接port

  • UserName:

    MQTT连接源的用户名

  • Password:

    MQTT连接源的密码

  • Resource:

    MQTT连接源的实例资源

  • ServiceVip:

    MQTT的连接ip

  • UniqVpcId:

    MQTT Instance vpc-id

  • SelfBuilt:

    是否为自建集群

  • IsUpdate:

    是否更新到关联的Dip任务

  • Region:

    MQTT连接源的实例资源地域, 跨地域时必填

  • Ip:

    IP



9902
9903
9904
# File 'lib/v20190819/models.rb', line 9902

def Password
  @Password
end

#PortObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Port:

    MQTT的连接port

  • UserName:

    MQTT连接源的用户名

  • Password:

    MQTT连接源的密码

  • Resource:

    MQTT连接源的实例资源

  • ServiceVip:

    MQTT的连接ip

  • UniqVpcId:

    MQTT Instance vpc-id

  • SelfBuilt:

    是否为自建集群

  • IsUpdate:

    是否更新到关联的Dip任务

  • Region:

    MQTT连接源的实例资源地域, 跨地域时必填

  • Ip:

    IP



9902
9903
9904
# File 'lib/v20190819/models.rb', line 9902

def Port
  @Port
end

#RegionObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Port:

    MQTT的连接port

  • UserName:

    MQTT连接源的用户名

  • Password:

    MQTT连接源的密码

  • Resource:

    MQTT连接源的实例资源

  • ServiceVip:

    MQTT的连接ip

  • UniqVpcId:

    MQTT Instance vpc-id

  • SelfBuilt:

    是否为自建集群

  • IsUpdate:

    是否更新到关联的Dip任务

  • Region:

    MQTT连接源的实例资源地域, 跨地域时必填

  • Ip:

    IP



9902
9903
9904
# File 'lib/v20190819/models.rb', line 9902

def Region
  @Region
end

#ResourceObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Port:

    MQTT的连接port

  • UserName:

    MQTT连接源的用户名

  • Password:

    MQTT连接源的密码

  • Resource:

    MQTT连接源的实例资源

  • ServiceVip:

    MQTT的连接ip

  • UniqVpcId:

    MQTT Instance vpc-id

  • SelfBuilt:

    是否为自建集群

  • IsUpdate:

    是否更新到关联的Dip任务

  • Region:

    MQTT连接源的实例资源地域, 跨地域时必填

  • Ip:

    IP



9902
9903
9904
# File 'lib/v20190819/models.rb', line 9902

def Resource
  @Resource
end

#SelfBuiltObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Port:

    MQTT的连接port

  • UserName:

    MQTT连接源的用户名

  • Password:

    MQTT连接源的密码

  • Resource:

    MQTT连接源的实例资源

  • ServiceVip:

    MQTT的连接ip

  • UniqVpcId:

    MQTT Instance vpc-id

  • SelfBuilt:

    是否为自建集群

  • IsUpdate:

    是否更新到关联的Dip任务

  • Region:

    MQTT连接源的实例资源地域, 跨地域时必填

  • Ip:

    IP



9902
9903
9904
# File 'lib/v20190819/models.rb', line 9902

def SelfBuilt
  @SelfBuilt
end

#ServiceVipObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Port:

    MQTT的连接port

  • UserName:

    MQTT连接源的用户名

  • Password:

    MQTT连接源的密码

  • Resource:

    MQTT连接源的实例资源

  • ServiceVip:

    MQTT的连接ip

  • UniqVpcId:

    MQTT Instance vpc-id

  • SelfBuilt:

    是否为自建集群

  • IsUpdate:

    是否更新到关联的Dip任务

  • Region:

    MQTT连接源的实例资源地域, 跨地域时必填

  • Ip:

    IP



9902
9903
9904
# File 'lib/v20190819/models.rb', line 9902

def ServiceVip
  @ServiceVip
end

#UniqVpcIdObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Port:

    MQTT的连接port

  • UserName:

    MQTT连接源的用户名

  • Password:

    MQTT连接源的密码

  • Resource:

    MQTT连接源的实例资源

  • ServiceVip:

    MQTT的连接ip

  • UniqVpcId:

    MQTT Instance vpc-id

  • SelfBuilt:

    是否为自建集群

  • IsUpdate:

    是否更新到关联的Dip任务

  • Region:

    MQTT连接源的实例资源地域, 跨地域时必填

  • Ip:

    IP



9902
9903
9904
# File 'lib/v20190819/models.rb', line 9902

def UniqVpcId
  @UniqVpcId
end

#UserNameObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Port:

    MQTT的连接port

  • UserName:

    MQTT连接源的用户名

  • Password:

    MQTT连接源的密码

  • Resource:

    MQTT连接源的实例资源

  • ServiceVip:

    MQTT的连接ip

  • UniqVpcId:

    MQTT Instance vpc-id

  • SelfBuilt:

    是否为自建集群

  • IsUpdate:

    是否更新到关联的Dip任务

  • Region:

    MQTT连接源的实例资源地域, 跨地域时必填

  • Ip:

    IP



9902
9903
9904
# File 'lib/v20190819/models.rb', line 9902

def UserName
  @UserName
end

Instance Method Details

#deserialize(params) ⇒ Object



9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
# File 'lib/v20190819/models.rb', line 9917

def deserialize(params)
  @Port = params['Port']
  @UserName = params['UserName']
  @Password = params['Password']
  @Resource = params['Resource']
  @ServiceVip = params['ServiceVip']
  @UniqVpcId = params['UniqVpcId']
  @SelfBuilt = params['SelfBuilt']
  @IsUpdate = params['IsUpdate']
  @Region = params['Region']
  @Ip = params['Ip']
end