Class: TencentCloud::Mps::V20190612::CreateInputRISTSettings

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

Overview

创建的输入RIST的配置信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(mode = nil, profile = nil, buffer = nil) ⇒ CreateInputRISTSettings

Returns a new instance of CreateInputRISTSettings.



7271
7272
7273
7274
7275
# File 'lib/v20190612/models.rb', line 7271

def initialize(mode=nil, profile=nil, buffer=nil)
  @Mode = mode
  @Profile = profile
  @Buffer = buffer
end

Instance Attribute Details

#BufferObject

Parameters:

  • Mode:

    RIST模式,可选,默认为LISTENER。

  • Profile:

    RIST配置方案,可选,默认为MAIN。

  • Buffer:

    RIST缓冲区大小,单位为毫秒。最小值为50毫秒,最大值为5000毫秒。默认值:120



7269
7270
7271
# File 'lib/v20190612/models.rb', line 7269

def Buffer
  @Buffer
end

#ModeObject

Parameters:

  • Mode:

    RIST模式,可选,默认为LISTENER。

  • Profile:

    RIST配置方案,可选,默认为MAIN。

  • Buffer:

    RIST缓冲区大小,单位为毫秒。最小值为50毫秒,最大值为5000毫秒。默认值:120



7269
7270
7271
# File 'lib/v20190612/models.rb', line 7269

def Mode
  @Mode
end

#ProfileObject

Parameters:

  • Mode:

    RIST模式,可选,默认为LISTENER。

  • Profile:

    RIST配置方案,可选,默认为MAIN。

  • Buffer:

    RIST缓冲区大小,单位为毫秒。最小值为50毫秒,最大值为5000毫秒。默认值:120



7269
7270
7271
# File 'lib/v20190612/models.rb', line 7269

def Profile
  @Profile
end

Instance Method Details

#deserialize(params) ⇒ Object



7277
7278
7279
7280
7281
# File 'lib/v20190612/models.rb', line 7277

def deserialize(params)
  @Mode = params['Mode']
  @Profile = params['Profile']
  @Buffer = params['Buffer']
end