Nouveaux fichier suite maj librairies vendor

This commit is contained in:
Caribana
2018-05-01 14:46:24 +02:00
parent 6d5286b888
commit 382b93196c
2318 changed files with 147474 additions and 0 deletions

View File

@@ -0,0 +1,66 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Texttospeech_AudioConfig extends Google_Model
{
public $audioEncoding;
public $pitch;
public $sampleRateHertz;
public $speakingRate;
public $volumeGainDb;
public function setAudioEncoding($audioEncoding)
{
$this->audioEncoding = $audioEncoding;
}
public function getAudioEncoding()
{
return $this->audioEncoding;
}
public function setPitch($pitch)
{
$this->pitch = $pitch;
}
public function getPitch()
{
return $this->pitch;
}
public function setSampleRateHertz($sampleRateHertz)
{
$this->sampleRateHertz = $sampleRateHertz;
}
public function getSampleRateHertz()
{
return $this->sampleRateHertz;
}
public function setSpeakingRate($speakingRate)
{
$this->speakingRate = $speakingRate;
}
public function getSpeakingRate()
{
return $this->speakingRate;
}
public function setVolumeGainDb($volumeGainDb)
{
$this->volumeGainDb = $volumeGainDb;
}
public function getVolumeGainDb()
{
return $this->volumeGainDb;
}
}

View File

@@ -0,0 +1,38 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Texttospeech_ListVoicesResponse extends Google_Collection
{
protected $collection_key = 'voices';
protected $voicesType = 'Google_Service_Texttospeech_Voice';
protected $voicesDataType = 'array';
/**
* @param Google_Service_Texttospeech_Voice
*/
public function setVoices($voices)
{
$this->voices = $voices;
}
/**
* @return Google_Service_Texttospeech_Voice
*/
public function getVoices()
{
return $this->voices;
}
}

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "text" collection of methods.
* Typical usage is:
* <code>
* $texttospeechService = new Google_Service_Texttospeech(...);
* $text = $texttospeechService->text;
* </code>
*/
class Google_Service_Texttospeech_Resource_Text extends Google_Service_Resource
{
/**
* Synthesizes speech synchronously: receive results after all text input has
* been processed. (text.synthesize)
*
* @param Google_Service_Texttospeech_SynthesizeSpeechRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Texttospeech_SynthesizeSpeechResponse
*/
public function synthesize(Google_Service_Texttospeech_SynthesizeSpeechRequest $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('synthesize', array($params), "Google_Service_Texttospeech_SynthesizeSpeechResponse");
}
}

View File

@@ -0,0 +1,49 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "voices" collection of methods.
* Typical usage is:
* <code>
* $texttospeechService = new Google_Service_Texttospeech(...);
* $voices = $texttospeechService->voices;
* </code>
*/
class Google_Service_Texttospeech_Resource_Voices extends Google_Service_Resource
{
/**
* Returns a list of Voice supported for synthesis. (voices.listVoices)
*
* @param array $optParams Optional parameters.
*
* @opt_param string languageCode Optional (but recommended)
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
* specified, the ListVoices call will only return voices that can be used to
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
* supported "en-*" voices; when specifying "no", you will get supported "no-*"
* (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh" will also
* get supported "cmn-*" voices; specifying "zh-hk" will also get supported
* "yue-*" voices.
* @return Google_Service_Texttospeech_ListVoicesResponse
*/
public function listVoices($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Texttospeech_ListVoicesResponse");
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Texttospeech_SynthesisInput extends Google_Model
{
public $ssml;
public $text;
public function setSsml($ssml)
{
$this->ssml = $ssml;
}
public function getSsml()
{
return $this->ssml;
}
public function setText($text)
{
$this->text = $text;
}
public function getText()
{
return $this->text;
}
}

View File

@@ -0,0 +1,69 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Texttospeech_SynthesizeSpeechRequest extends Google_Model
{
protected $audioConfigType = 'Google_Service_Texttospeech_AudioConfig';
protected $audioConfigDataType = '';
protected $inputType = 'Google_Service_Texttospeech_SynthesisInput';
protected $inputDataType = '';
protected $voiceType = 'Google_Service_Texttospeech_VoiceSelectionParams';
protected $voiceDataType = '';
/**
* @param Google_Service_Texttospeech_AudioConfig
*/
public function setAudioConfig(Google_Service_Texttospeech_AudioConfig $audioConfig)
{
$this->audioConfig = $audioConfig;
}
/**
* @return Google_Service_Texttospeech_AudioConfig
*/
public function getAudioConfig()
{
return $this->audioConfig;
}
/**
* @param Google_Service_Texttospeech_SynthesisInput
*/
public function setInput(Google_Service_Texttospeech_SynthesisInput $input)
{
$this->input = $input;
}
/**
* @return Google_Service_Texttospeech_SynthesisInput
*/
public function getInput()
{
return $this->input;
}
/**
* @param Google_Service_Texttospeech_VoiceSelectionParams
*/
public function setVoice(Google_Service_Texttospeech_VoiceSelectionParams $voice)
{
$this->voice = $voice;
}
/**
* @return Google_Service_Texttospeech_VoiceSelectionParams
*/
public function getVoice()
{
return $this->voice;
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Texttospeech_SynthesizeSpeechResponse extends Google_Model
{
public $audioContent;
public function setAudioContent($audioContent)
{
$this->audioContent = $audioContent;
}
public function getAudioContent()
{
return $this->audioContent;
}
}

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Texttospeech_Voice extends Google_Collection
{
protected $collection_key = 'languageCodes';
public $languageCodes;
public $name;
public $naturalSampleRateHertz;
public $ssmlGender;
public function setLanguageCodes($languageCodes)
{
$this->languageCodes = $languageCodes;
}
public function getLanguageCodes()
{
return $this->languageCodes;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setNaturalSampleRateHertz($naturalSampleRateHertz)
{
$this->naturalSampleRateHertz = $naturalSampleRateHertz;
}
public function getNaturalSampleRateHertz()
{
return $this->naturalSampleRateHertz;
}
public function setSsmlGender($ssmlGender)
{
$this->ssmlGender = $ssmlGender;
}
public function getSsmlGender()
{
return $this->ssmlGender;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Texttospeech_VoiceSelectionParams extends Google_Model
{
public $languageCode;
public $name;
public $ssmlGender;
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
public function getLanguageCode()
{
return $this->languageCode;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setSsmlGender($ssmlGender)
{
$this->ssmlGender = $ssmlGender;
}
public function getSsmlGender()
{
return $this->ssmlGender;
}
}