class TencentCloud::Tcbr::V20220217::ReleaseGrayRequest

ReleaseGray请求参数结构体

def deserialize(params)

def deserialize(params)
  @EnvId = params['EnvId']
  @ServerName = params['ServerName']
  @GrayType = params['GrayType']
  @TrafficType = params['TrafficType']
  unless params['VersionFlowItems'].nil?
    @VersionFlowItems = []
    params['VersionFlowItems'].each do |i|
      versionflowinfo_tmp = VersionFlowInfo.new
      versionflowinfo_tmp.deserialize(i)
      @VersionFlowItems << versionflowinfo_tmp
    end
  end
  @OperatorRemark = params['OperatorRemark']
  @GrayFlowRatio = params['GrayFlowRatio']
end

def initialize(envid=nil, servername=nil, graytype=nil, traffictype=nil, versionflowitems=nil, operatorremark=nil, grayflowratio=nil)

def initialize(envid=nil, servername=nil, graytype=nil, traffictype=nil, versionflowitems=nil, operatorremark=nil, grayflowratio=nil)
  @EnvId = envid
  @ServerName = servername
  @GrayType = graytype
  @TrafficType = traffictype
  @VersionFlowItems = versionflowitems
  @OperatorRemark = operatorremark
  @GrayFlowRatio = grayflowratio
end