blob: d37763e48e7672ecb63113a7c5ab48138b4b6a23 [file] [log] [blame]
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace RocketMQ\Eventbridge\SDK\Models\GetConnectionResponseBody\connections\authParameters\oauthParameters\oauthHttpParameters;
use AlibabaCloud\Tea\Model;
class bodyParameters extends Model {
protected $_name = [
'isValueSecret' => 'isValueSecret',
'key' => 'key',
'value' => 'value',
];
public function validate() {}
public function toMap() {
$res = [];
if (null !== $this->isValueSecret) {
$res['isValueSecret'] = $this->isValueSecret;
}
if (null !== $this->key) {
$res['key'] = $this->key;
}
if (null !== $this->value) {
$res['value'] = $this->value;
}
return $res;
}
/**
* @param array $map
* @return bodyParameters
*/
public static function fromMap($map = []) {
$model = new self();
if(isset($map['isValueSecret'])){
$model->isValueSecret = $map['isValueSecret'];
}
if(isset($map['key'])){
$model->key = $map['key'];
}
if(isset($map['value'])){
$model->value = $map['value'];
}
return $model;
}
/**
* @description Indicates whether authentication is enabled.
* @example false
* @var string
*/
public $isValueSecret;
/**
* @description The key in the request body.
* @example name
* @var string
*/
public $key;
/**
* @description The value of the key in the request body.
* @example demo
* @var string
*/
public $value;
}