[e3d4e0a] | 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 |
|
---|
| 18 | namespace Google\Service\Document;
|
---|
| 19 |
|
---|
| 20 | class GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'selectedDocuments';
|
---|
| 23 | protected $sampleTestStatusType = GoogleRpcStatus::class;
|
---|
| 24 | protected $sampleTestStatusDataType = '';
|
---|
| 25 | protected $sampleTrainingStatusType = GoogleRpcStatus::class;
|
---|
| 26 | protected $sampleTrainingStatusDataType = '';
|
---|
| 27 | protected $selectedDocumentsType = GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument::class;
|
---|
| 28 | protected $selectedDocumentsDataType = 'array';
|
---|
| 29 |
|
---|
| 30 | /**
|
---|
| 31 | * @param GoogleRpcStatus
|
---|
| 32 | */
|
---|
| 33 | public function setSampleTestStatus(GoogleRpcStatus $sampleTestStatus)
|
---|
| 34 | {
|
---|
| 35 | $this->sampleTestStatus = $sampleTestStatus;
|
---|
| 36 | }
|
---|
| 37 | /**
|
---|
| 38 | * @return GoogleRpcStatus
|
---|
| 39 | */
|
---|
| 40 | public function getSampleTestStatus()
|
---|
| 41 | {
|
---|
| 42 | return $this->sampleTestStatus;
|
---|
| 43 | }
|
---|
| 44 | /**
|
---|
| 45 | * @param GoogleRpcStatus
|
---|
| 46 | */
|
---|
| 47 | public function setSampleTrainingStatus(GoogleRpcStatus $sampleTrainingStatus)
|
---|
| 48 | {
|
---|
| 49 | $this->sampleTrainingStatus = $sampleTrainingStatus;
|
---|
| 50 | }
|
---|
| 51 | /**
|
---|
| 52 | * @return GoogleRpcStatus
|
---|
| 53 | */
|
---|
| 54 | public function getSampleTrainingStatus()
|
---|
| 55 | {
|
---|
| 56 | return $this->sampleTrainingStatus;
|
---|
| 57 | }
|
---|
| 58 | /**
|
---|
| 59 | * @param GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument[]
|
---|
| 60 | */
|
---|
| 61 | public function setSelectedDocuments($selectedDocuments)
|
---|
| 62 | {
|
---|
| 63 | $this->selectedDocuments = $selectedDocuments;
|
---|
| 64 | }
|
---|
| 65 | /**
|
---|
| 66 | * @return GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument[]
|
---|
| 67 | */
|
---|
| 68 | public function getSelectedDocuments()
|
---|
| 69 | {
|
---|
| 70 | return $this->selectedDocuments;
|
---|
| 71 | }
|
---|
| 72 | }
|
---|
| 73 |
|
---|
| 74 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 75 | class_alias(GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse');
|
---|