'AppName', 'delay' => 'Delay', 'domainName' => 'DomainName', 'ownerId' => 'OwnerId', 'pattern' => 'Pattern', 'repeat' => 'Repeat', 'streamName' => 'StreamName', 'text' => 'Text', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appName) { $res['AppName'] = $this->appName; } if (null !== $this->delay) { $res['Delay'] = $this->delay; } if (null !== $this->domainName) { $res['DomainName'] = $this->domainName; } if (null !== $this->ownerId) { $res['OwnerId'] = $this->ownerId; } if (null !== $this->pattern) { $res['Pattern'] = $this->pattern; } if (null !== $this->repeat) { $res['Repeat'] = $this->repeat; } if (null !== $this->streamName) { $res['StreamName'] = $this->streamName; } if (null !== $this->text) { $res['Text'] = $this->text; } return $res; } /** * @param array $map * * @return AddTrancodeSEIRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['AppName'])) { $model->appName = $map['AppName']; } if (isset($map['Delay'])) { $model->delay = $map['Delay']; } if (isset($map['DomainName'])) { $model->domainName = $map['DomainName']; } if (isset($map['OwnerId'])) { $model->ownerId = $map['OwnerId']; } if (isset($map['Pattern'])) { $model->pattern = $map['Pattern']; } if (isset($map['Repeat'])) { $model->repeat = $map['Repeat']; } if (isset($map['StreamName'])) { $model->streamName = $map['StreamName']; } if (isset($map['Text'])) { $model->text = $map['Text']; } return $model; } }