Class: TencentCloud::Ccc::V20200210::ClientInfo

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

Overview

座席登录的终端信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clienttype = nil, isconnected = nil) ⇒ ClientInfo

Returns a new instance of ClientInfo.



864
865
866
867
# File 'lib/v20200210/models.rb', line 864

def initialize(clienttype=nil, isconnected=nil)
  @ClientType = clienttype
  @IsConnected = isconnected
end

Instance Attribute Details

#ClientTypeObject

Parameters:

  • ClientType:

    登录的端类型,“Web”表示web工作台,“WeChatMiniProgram”表示微信小程序

  • IsConnected:

    当前登录的端是否在前台。若登录的端是Web,则该值为true;若登录的端是WeChatMiniProgram,true表示打开着微信小程序,false表示微信小程序退到后台



862
863
864
# File 'lib/v20200210/models.rb', line 862

def ClientType
  @ClientType
end

#IsConnectedObject

Parameters:

  • ClientType:

    登录的端类型,“Web”表示web工作台,“WeChatMiniProgram”表示微信小程序

  • IsConnected:

    当前登录的端是否在前台。若登录的端是Web,则该值为true;若登录的端是WeChatMiniProgram,true表示打开着微信小程序,false表示微信小程序退到后台



862
863
864
# File 'lib/v20200210/models.rb', line 862

def IsConnected
  @IsConnected
end

Instance Method Details

#deserialize(params) ⇒ Object



869
870
871
872
# File 'lib/v20200210/models.rb', line 869

def deserialize(params)
  @ClientType = params['ClientType']
  @IsConnected = params['IsConnected']
end