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.



5889
5890
5891
5892
5893
5894
# File 'lib/v20201201/models.rb', line 5889

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服务器域



5887
5888
5889
# File 'lib/v20201201/models.rb', line 5887

def Host
  @Host
end

#PortObject

Parameters:

  • Host:

    SIP服务器地址

  • Port:

    SIP服务器端口

  • Serial:

    SIP服务器编码

  • Realm:

    SIP服务器域



5887
5888
5889
# File 'lib/v20201201/models.rb', line 5887

def Port
  @Port
end

#RealmObject

Parameters:

  • Host:

    SIP服务器地址

  • Port:

    SIP服务器端口

  • Serial:

    SIP服务器编码

  • Realm:

    SIP服务器域



5887
5888
5889
# File 'lib/v20201201/models.rb', line 5887

def Realm
  @Realm
end

#SerialObject

Parameters:

  • Host:

    SIP服务器地址

  • Port:

    SIP服务器端口

  • Serial:

    SIP服务器编码

  • Realm:

    SIP服务器域



5887
5888
5889
# File 'lib/v20201201/models.rb', line 5887

def Serial
  @Serial
end

Instance Method Details

#deserialize(params) ⇒ Object



5896
5897
5898
5899
5900
5901
# File 'lib/v20201201/models.rb', line 5896

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