Class: TencentCloud::Iotvideoindustry::V20201201::ServerConfiguration

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

Overview

SIIP服务器相关配置项

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(host = nil, port = nil, serial = nil, realm = nil) ⇒ ServerConfiguration

Returns a new instance of ServerConfiguration.



6096
6097
6098
6099
6100
6101
# File 'lib/v20201201/models.rb', line 6096

def initialize(host=nil, port=nil, serial=nil, realm=nil)
  @Host = host
  @Port = port
  @Serial = serial
  @Realm = realm
end

Instance Attribute Details

#HostObject

Parameters:

  • Host:

    SIP服务器地址

  • Port:

    SIP服务器端口

  • Serial:

    SIP服务器编码

  • Realm:

    SIP服务器域



6094
6095
6096
# File 'lib/v20201201/models.rb', line 6094

def Host
  @Host
end

#PortObject

Parameters:

  • Host:

    SIP服务器地址

  • Port:

    SIP服务器端口

  • Serial:

    SIP服务器编码

  • Realm:

    SIP服务器域



6094
6095
6096
# File 'lib/v20201201/models.rb', line 6094

def Port
  @Port
end

#RealmObject

Parameters:

  • Host:

    SIP服务器地址

  • Port:

    SIP服务器端口

  • Serial:

    SIP服务器编码

  • Realm:

    SIP服务器域



6094
6095
6096
# File 'lib/v20201201/models.rb', line 6094

def Realm
  @Realm
end

#SerialObject

Parameters:

  • Host:

    SIP服务器地址

  • Port:

    SIP服务器端口

  • Serial:

    SIP服务器编码

  • Realm:

    SIP服务器域



6094
6095
6096
# File 'lib/v20201201/models.rb', line 6094

def Serial
  @Serial
end

Instance Method Details

#deserialize(params) ⇒ Object



6103
6104
6105
6106
6107
6108
# File 'lib/v20201201/models.rb', line 6103

def deserialize(params)
  @Host = params['Host']
  @Port = params['Port']
  @Serial = params['Serial']
  @Realm = params['Realm']
end