暫無描述

ImportContext.php 2.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <?php
  2. /*
  3. * Copyright 2014 Google Inc.
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  6. * use this file except in compliance with the License. You may obtain a copy of
  7. * the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  13. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  14. * License for the specific language governing permissions and limitations under
  15. * the License.
  16. */
  17. class Google_Service_SQLAdmin_ImportContext extends Google_Model
  18. {
  19. protected $csvImportOptionsType = 'Google_Service_SQLAdmin_ImportContextCsvImportOptions';
  20. protected $csvImportOptionsDataType = '';
  21. public $database;
  22. public $fileType;
  23. public $importUser;
  24. public $kind;
  25. public $uri;
  26. /**
  27. * @param Google_Service_SQLAdmin_ImportContextCsvImportOptions
  28. */
  29. public function setCsvImportOptions(Google_Service_SQLAdmin_ImportContextCsvImportOptions $csvImportOptions)
  30. {
  31. $this->csvImportOptions = $csvImportOptions;
  32. }
  33. /**
  34. * @return Google_Service_SQLAdmin_ImportContextCsvImportOptions
  35. */
  36. public function getCsvImportOptions()
  37. {
  38. return $this->csvImportOptions;
  39. }
  40. public function setDatabase($database)
  41. {
  42. $this->database = $database;
  43. }
  44. public function getDatabase()
  45. {
  46. return $this->database;
  47. }
  48. public function setFileType($fileType)
  49. {
  50. $this->fileType = $fileType;
  51. }
  52. public function getFileType()
  53. {
  54. return $this->fileType;
  55. }
  56. public function setImportUser($importUser)
  57. {
  58. $this->importUser = $importUser;
  59. }
  60. public function getImportUser()
  61. {
  62. return $this->importUser;
  63. }
  64. public function setKind($kind)
  65. {
  66. $this->kind = $kind;
  67. }
  68. public function getKind()
  69. {
  70. return $this->kind;
  71. }
  72. public function setUri($uri)
  73. {
  74. $this->uri = $uri;
  75. }
  76. public function getUri()
  77. {
  78. return $this->uri;
  79. }
  80. }