Class: TencentCloud::Asr::V20190614::ModifyCustomizationStateRequest

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

Overview

ModifyCustomizationState请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(modelid = nil, tostate = nil) ⇒ ModifyCustomizationStateRequest

Returns a new instance of ModifyCustomizationStateRequest.



1423
1424
1425
1426
# File 'lib/v20190614/models.rb', line 1423

def initialize(modelid=nil, tostate=nil)
  @ModelId = modelid
  @ToState = tostate
end

Instance Attribute Details

#ModelIdObject

Parameters:

  • ModelId:

    自学习模型ID

  • ToState:

    想要变换的模型状态,-1代表下线,1代表上线



1421
1422
1423
# File 'lib/v20190614/models.rb', line 1421

def ModelId
  @ModelId
end

#ToStateObject

Parameters:

  • ModelId:

    自学习模型ID

  • ToState:

    想要变换的模型状态,-1代表下线,1代表上线



1421
1422
1423
# File 'lib/v20190614/models.rb', line 1421

def ToState
  @ToState
end

Instance Method Details

#deserialize(params) ⇒ Object



1428
1429
1430
1431
# File 'lib/v20190614/models.rb', line 1428

def deserialize(params)
  @ModelId = params['ModelId']
  @ToState = params['ToState']
end