class TencentCloud::Ess::V20201111::CreateReleaseFlowRequest

CreateReleaseFlow请求参数结构体

def deserialize(params)

def deserialize(params)
  unless params['Operator'].nil?
    @Operator = UserInfo.new
    @Operator.deserialize(params['Operator'])
  end
  @NeedRelievedFlowId = params['NeedRelievedFlowId']
  unless params['ReliveInfo'].nil?
    @ReliveInfo = RelieveInfo.new
    @ReliveInfo.deserialize(params['ReliveInfo'])
  end
  unless params['Agent'].nil?
    @Agent = Agent.new
    @Agent.deserialize(params['Agent'])
  end
  unless params['ReleasedApprovers'].nil?
    @ReleasedApprovers = []
    params['ReleasedApprovers'].each do |i|
      releasedapprover_tmp = ReleasedApprover.new
      releasedapprover_tmp.deserialize(i)
      @ReleasedApprovers << releasedapprover_tmp
    end
  end
  @Deadline = params['Deadline']
  @UserData = params['UserData']
end

def initialize(operator=nil, needrelievedflowid=nil, reliveinfo=nil, agent=nil, releasedapprovers=nil, deadline=nil, userdata=nil)

def initialize(operator=nil, needrelievedflowid=nil, reliveinfo=nil, agent=nil, releasedapprovers=nil, deadline=nil, userdata=nil)
  @Operator = operator
  @NeedRelievedFlowId = needrelievedflowid
  @ReliveInfo = reliveinfo
  @Agent = agent
  @ReleasedApprovers = releasedapprovers
  @Deadline = deadline
  @UserData = userdata
end