<?php

namespace cloudwf\Request\V20170328;

/**
 * @deprecated Please use https://github.com/aliyun/openapi-sdk-php
 *
 * Request of ResumeInstance
 *
 * @method string getTraceId()
 * @method string getSpMsg()
 */
class ResumeInstanceRequest extends \RpcAcsRequest
{

    /**
     * @var string
     */
    protected $method = 'POST';

    /**
     * Class constructor.
     */
    public function __construct()
    {
        parent::__construct(
            'cloudwf',
            '2017-03-28',
            'ResumeInstance',
            'cloudwf'
        );
    }

    /**
     * @param string $traceId
     *
     * @return $this
     */
    public function setTraceId($traceId)
    {
        $this->requestParameters['TraceId'] = $traceId;
        $this->queryParameters['TraceId'] = $traceId;

        return $this;
    }

    /**
     * @param string $spMsg
     *
     * @return $this
     */
    public function setSpMsg($spMsg)
    {
        $this->requestParameters['SpMsg'] = $spMsg;
        $this->queryParameters['SpMsg'] = $spMsg;

        return $this;
    }
}
