brandId = $brandId; $this->apiParas["brand_id"] = $brandId; } public function getBrandId() { return $this->brandId; } public function setLeafCatId($leafCatId) { $this->leafCatId = $leafCatId; $this->apiParas["leaf_cat_id"] = $leafCatId; } public function getLeafCatId() { return $this->leafCatId; } public function setProviderId($providerId) { $this->providerId = $providerId; $this->apiParas["provider_id"] = $providerId; } public function getProviderId() { return $this->providerId; } public function getApiMethodName() { return "alibaba.gpu.add.schema.get"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->leafCatId,"leafCatId"); RequestCheckUtil::checkNotNull($this->providerId,"providerId"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }