Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class AdWordsLocationExtensions extends \Google\Model
{
/**
* @var string
*/
public $adPhone;
/**
* @param string
*/
public function setAdPhone($adPhone)
{
$this->adPhone = $adPhone;
}
/**
* @return string
*/
public function getAdPhone()
{
return $this->adPhone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AdWordsLocationExtensions::class, 'Google_Service_MyBusinessBusinessInformation_AdWordsLocationExtensions');

View File

@@ -0,0 +1,44 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class AssociateLocationRequest extends \Google\Model
{
/**
* @var string
*/
public $placeId;
/**
* @param string
*/
public function setPlaceId($placeId)
{
$this->placeId = $placeId;
}
/**
* @return string
*/
public function getPlaceId()
{
return $this->placeId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AssociateLocationRequest::class, 'Google_Service_MyBusinessBusinessInformation_AssociateLocationRequest');

View File

@@ -0,0 +1,113 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class Attribute extends \Google\Collection
{
protected $collection_key = 'values';
/**
* @var string
*/
public $name;
protected $repeatedEnumValueType = RepeatedEnumAttributeValue::class;
protected $repeatedEnumValueDataType = '';
protected $uriValuesType = UriAttributeValue::class;
protected $uriValuesDataType = 'array';
/**
* @var string
*/
public $valueType;
/**
* @var array[]
*/
public $values;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param RepeatedEnumAttributeValue
*/
public function setRepeatedEnumValue(RepeatedEnumAttributeValue $repeatedEnumValue)
{
$this->repeatedEnumValue = $repeatedEnumValue;
}
/**
* @return RepeatedEnumAttributeValue
*/
public function getRepeatedEnumValue()
{
return $this->repeatedEnumValue;
}
/**
* @param UriAttributeValue[]
*/
public function setUriValues($uriValues)
{
$this->uriValues = $uriValues;
}
/**
* @return UriAttributeValue[]
*/
public function getUriValues()
{
return $this->uriValues;
}
/**
* @param string
*/
public function setValueType($valueType)
{
$this->valueType = $valueType;
}
/**
* @return string
*/
public function getValueType()
{
return $this->valueType;
}
/**
* @param array[]
*/
public function setValues($values)
{
$this->values = $values;
}
/**
* @return array[]
*/
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Attribute::class, 'Google_Service_MyBusinessBusinessInformation_Attribute');

View File

@@ -0,0 +1,151 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class AttributeMetadata extends \Google\Collection
{
protected $collection_key = 'valueMetadata';
/**
* @var bool
*/
public $deprecated;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $groupDisplayName;
/**
* @var string
*/
public $parent;
/**
* @var bool
*/
public $repeatable;
protected $valueMetadataType = AttributeValueMetadata::class;
protected $valueMetadataDataType = 'array';
/**
* @var string
*/
public $valueType;
/**
* @param bool
*/
public function setDeprecated($deprecated)
{
$this->deprecated = $deprecated;
}
/**
* @return bool
*/
public function getDeprecated()
{
return $this->deprecated;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setGroupDisplayName($groupDisplayName)
{
$this->groupDisplayName = $groupDisplayName;
}
/**
* @return string
*/
public function getGroupDisplayName()
{
return $this->groupDisplayName;
}
/**
* @param string
*/
public function setParent($parent)
{
$this->parent = $parent;
}
/**
* @return string
*/
public function getParent()
{
return $this->parent;
}
/**
* @param bool
*/
public function setRepeatable($repeatable)
{
$this->repeatable = $repeatable;
}
/**
* @return bool
*/
public function getRepeatable()
{
return $this->repeatable;
}
/**
* @param AttributeValueMetadata[]
*/
public function setValueMetadata($valueMetadata)
{
$this->valueMetadata = $valueMetadata;
}
/**
* @return AttributeValueMetadata[]
*/
public function getValueMetadata()
{
return $this->valueMetadata;
}
/**
* @param string
*/
public function setValueType($valueType)
{
$this->valueType = $valueType;
}
/**
* @return string
*/
public function getValueType()
{
return $this->valueType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AttributeMetadata::class, 'Google_Service_MyBusinessBusinessInformation_AttributeMetadata');

View File

@@ -0,0 +1,62 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class AttributeValueMetadata extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var array
*/
public $value;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param array
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return array
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AttributeValueMetadata::class, 'Google_Service_MyBusinessBusinessInformation_AttributeValueMetadata');

View File

@@ -0,0 +1,61 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class Attributes extends \Google\Collection
{
protected $collection_key = 'attributes';
protected $attributesType = Attribute::class;
protected $attributesDataType = 'array';
/**
* @var string
*/
public $name;
/**
* @param Attribute[]
*/
public function setAttributes($attributes)
{
$this->attributes = $attributes;
}
/**
* @return Attribute[]
*/
public function getAttributes()
{
return $this->attributes;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Attributes::class, 'Google_Service_MyBusinessBusinessInformation_Attributes');

View File

@@ -0,0 +1,43 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class BatchGetCategoriesResponse extends \Google\Collection
{
protected $collection_key = 'categories';
protected $categoriesType = Category::class;
protected $categoriesDataType = 'array';
/**
* @param Category[]
*/
public function setCategories($categories)
{
$this->categories = $categories;
}
/**
* @return Category[]
*/
public function getCategories()
{
return $this->categories;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchGetCategoriesResponse::class, 'Google_Service_MyBusinessBusinessInformation_BatchGetCategoriesResponse');

View File

@@ -0,0 +1,43 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class BusinessHours extends \Google\Collection
{
protected $collection_key = 'periods';
protected $periodsType = TimePeriod::class;
protected $periodsDataType = 'array';
/**
* @param TimePeriod[]
*/
public function setPeriods($periods)
{
$this->periods = $periods;
}
/**
* @return TimePeriod[]
*/
public function getPeriods()
{
return $this->periods;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BusinessHours::class, 'Google_Service_MyBusinessBusinessInformation_BusinessHours');

View File

@@ -0,0 +1,59 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class Categories extends \Google\Collection
{
protected $collection_key = 'additionalCategories';
protected $additionalCategoriesType = Category::class;
protected $additionalCategoriesDataType = 'array';
protected $primaryCategoryType = Category::class;
protected $primaryCategoryDataType = '';
/**
* @param Category[]
*/
public function setAdditionalCategories($additionalCategories)
{
$this->additionalCategories = $additionalCategories;
}
/**
* @return Category[]
*/
public function getAdditionalCategories()
{
return $this->additionalCategories;
}
/**
* @param Category
*/
public function setPrimaryCategory(Category $primaryCategory)
{
$this->primaryCategory = $primaryCategory;
}
/**
* @return Category
*/
public function getPrimaryCategory()
{
return $this->primaryCategory;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Categories::class, 'Google_Service_MyBusinessBusinessInformation_Categories');

View File

@@ -0,0 +1,95 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class Category extends \Google\Collection
{
protected $collection_key = 'serviceTypes';
/**
* @var string
*/
public $displayName;
protected $moreHoursTypesType = MoreHoursType::class;
protected $moreHoursTypesDataType = 'array';
/**
* @var string
*/
public $name;
protected $serviceTypesType = ServiceType::class;
protected $serviceTypesDataType = 'array';
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param MoreHoursType[]
*/
public function setMoreHoursTypes($moreHoursTypes)
{
$this->moreHoursTypes = $moreHoursTypes;
}
/**
* @return MoreHoursType[]
*/
public function getMoreHoursTypes()
{
return $this->moreHoursTypes;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param ServiceType[]
*/
public function setServiceTypes($serviceTypes)
{
$this->serviceTypes = $serviceTypes;
}
/**
* @return ServiceType[]
*/
public function getServiceTypes()
{
return $this->serviceTypes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Category::class, 'Google_Service_MyBusinessBusinessInformation_Category');

View File

@@ -0,0 +1,95 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class Chain extends \Google\Collection
{
protected $collection_key = 'websites';
protected $chainNamesType = ChainName::class;
protected $chainNamesDataType = 'array';
/**
* @var int
*/
public $locationCount;
/**
* @var string
*/
public $name;
protected $websitesType = ChainUri::class;
protected $websitesDataType = 'array';
/**
* @param ChainName[]
*/
public function setChainNames($chainNames)
{
$this->chainNames = $chainNames;
}
/**
* @return ChainName[]
*/
public function getChainNames()
{
return $this->chainNames;
}
/**
* @param int
*/
public function setLocationCount($locationCount)
{
$this->locationCount = $locationCount;
}
/**
* @return int
*/
public function getLocationCount()
{
return $this->locationCount;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param ChainUri[]
*/
public function setWebsites($websites)
{
$this->websites = $websites;
}
/**
* @return ChainUri[]
*/
public function getWebsites()
{
return $this->websites;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Chain::class, 'Google_Service_MyBusinessBusinessInformation_Chain');

View File

@@ -0,0 +1,62 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class ChainName extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $languageCode;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ChainName::class, 'Google_Service_MyBusinessBusinessInformation_ChainName');

View File

@@ -0,0 +1,44 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class ChainUri extends \Google\Model
{
/**
* @var string
*/
public $uri;
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ChainUri::class, 'Google_Service_MyBusinessBusinessInformation_ChainUri');

View File

@@ -0,0 +1,25 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class ClearLocationAssociationRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ClearLocationAssociationRequest::class, 'Google_Service_MyBusinessBusinessInformation_ClearLocationAssociationRequest');

View File

@@ -0,0 +1,80 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class Date extends \Google\Model
{
/**
* @var int
*/
public $day;
/**
* @var int
*/
public $month;
/**
* @var int
*/
public $year;
/**
* @param int
*/
public function setDay($day)
{
$this->day = $day;
}
/**
* @return int
*/
public function getDay()
{
return $this->day;
}
/**
* @param int
*/
public function setMonth($month)
{
$this->month = $month;
}
/**
* @return int
*/
public function getMonth()
{
return $this->month;
}
/**
* @param int
*/
public function setYear($year)
{
$this->year = $year;
}
/**
* @return int
*/
public function getYear()
{
return $this->year;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Date::class, 'Google_Service_MyBusinessBusinessInformation_Date');

View File

@@ -0,0 +1,60 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class FreeFormServiceItem extends \Google\Model
{
/**
* @var string
*/
public $category;
protected $labelType = Label::class;
protected $labelDataType = '';
/**
* @param string
*/
public function setCategory($category)
{
$this->category = $category;
}
/**
* @return string
*/
public function getCategory()
{
return $this->category;
}
/**
* @param Label
*/
public function setLabel(Label $label)
{
$this->label = $label;
}
/**
* @return Label
*/
public function getLabel()
{
return $this->label;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FreeFormServiceItem::class, 'Google_Service_MyBusinessBusinessInformation_FreeFormServiceItem');

View File

@@ -0,0 +1,78 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class GoogleLocation extends \Google\Model
{
protected $locationType = Location::class;
protected $locationDataType = '';
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $requestAdminRightsUri;
/**
* @param Location
*/
public function setLocation(Location $location)
{
$this->location = $location;
}
/**
* @return Location
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setRequestAdminRightsUri($requestAdminRightsUri)
{
$this->requestAdminRightsUri = $requestAdminRightsUri;
}
/**
* @return string
*/
public function getRequestAdminRightsUri()
{
return $this->requestAdminRightsUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleLocation::class, 'Google_Service_MyBusinessBusinessInformation_GoogleLocation');

View File

@@ -0,0 +1,78 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class GoogleUpdatedLocation extends \Google\Model
{
/**
* @var string
*/
public $diffMask;
protected $locationType = Location::class;
protected $locationDataType = '';
/**
* @var string
*/
public $pendingMask;
/**
* @param string
*/
public function setDiffMask($diffMask)
{
$this->diffMask = $diffMask;
}
/**
* @return string
*/
public function getDiffMask()
{
return $this->diffMask;
}
/**
* @param Location
*/
public function setLocation(Location $location)
{
$this->location = $location;
}
/**
* @return Location
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setPendingMask($pendingMask)
{
$this->pendingMask = $pendingMask;
}
/**
* @return string
*/
public function getPendingMask()
{
return $this->pendingMask;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleUpdatedLocation::class, 'Google_Service_MyBusinessBusinessInformation_GoogleUpdatedLocation');

View File

@@ -0,0 +1,80 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class Label extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $languageCode;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Label::class, 'Google_Service_MyBusinessBusinessInformation_Label');

View File

@@ -0,0 +1,44 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class LatLng extends \Google\Model
{
public $latitude;
public $longitude;
public function setLatitude($latitude)
{
$this->latitude = $latitude;
}
public function getLatitude()
{
return $this->latitude;
}
public function setLongitude($longitude)
{
$this->longitude = $longitude;
}
public function getLongitude()
{
return $this->longitude;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LatLng::class, 'Google_Service_MyBusinessBusinessInformation_LatLng');

View File

@@ -0,0 +1,61 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class ListAttributeMetadataResponse extends \Google\Collection
{
protected $collection_key = 'attributeMetadata';
protected $attributeMetadataType = AttributeMetadata::class;
protected $attributeMetadataDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param AttributeMetadata[]
*/
public function setAttributeMetadata($attributeMetadata)
{
$this->attributeMetadata = $attributeMetadata;
}
/**
* @return AttributeMetadata[]
*/
public function getAttributeMetadata()
{
return $this->attributeMetadata;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListAttributeMetadataResponse::class, 'Google_Service_MyBusinessBusinessInformation_ListAttributeMetadataResponse');

View File

@@ -0,0 +1,61 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class ListCategoriesResponse extends \Google\Collection
{
protected $collection_key = 'categories';
protected $categoriesType = Category::class;
protected $categoriesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Category[]
*/
public function setCategories($categories)
{
$this->categories = $categories;
}
/**
* @return Category[]
*/
public function getCategories()
{
return $this->categories;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListCategoriesResponse::class, 'Google_Service_MyBusinessBusinessInformation_ListCategoriesResponse');

View File

@@ -0,0 +1,79 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class ListLocationsResponse extends \Google\Collection
{
protected $collection_key = 'locations';
protected $locationsType = Location::class;
protected $locationsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var int
*/
public $totalSize;
/**
* @param Location[]
*/
public function setLocations($locations)
{
$this->locations = $locations;
}
/**
* @return Location[]
*/
public function getLocations()
{
return $this->locations;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param int
*/
public function setTotalSize($totalSize)
{
$this->totalSize = $totalSize;
}
/**
* @return int
*/
public function getTotalSize()
{
return $this->totalSize;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListLocationsResponse::class, 'Google_Service_MyBusinessBusinessInformation_ListLocationsResponse');

View File

@@ -0,0 +1,359 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class Location extends \Google\Collection
{
protected $collection_key = 'serviceItems';
protected $adWordsLocationExtensionsType = AdWordsLocationExtensions::class;
protected $adWordsLocationExtensionsDataType = '';
protected $categoriesType = Categories::class;
protected $categoriesDataType = '';
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $languageCode;
protected $latlngType = LatLng::class;
protected $latlngDataType = '';
protected $metadataType = Metadata::class;
protected $metadataDataType = '';
protected $moreHoursType = MoreHours::class;
protected $moreHoursDataType = 'array';
/**
* @var string
*/
public $name;
protected $openInfoType = OpenInfo::class;
protected $openInfoDataType = '';
protected $phoneNumbersType = PhoneNumbers::class;
protected $phoneNumbersDataType = '';
protected $profileType = Profile::class;
protected $profileDataType = '';
protected $regularHoursType = BusinessHours::class;
protected $regularHoursDataType = '';
protected $relationshipDataType = RelationshipData::class;
protected $relationshipDataDataType = '';
protected $serviceAreaType = ServiceAreaBusiness::class;
protected $serviceAreaDataType = '';
protected $serviceItemsType = ServiceItem::class;
protected $serviceItemsDataType = 'array';
protected $specialHoursType = SpecialHours::class;
protected $specialHoursDataType = '';
/**
* @var string
*/
public $storeCode;
protected $storefrontAddressType = PostalAddress::class;
protected $storefrontAddressDataType = '';
/**
* @var string
*/
public $title;
/**
* @var string
*/
public $websiteUri;
/**
* @param AdWordsLocationExtensions
*/
public function setAdWordsLocationExtensions(AdWordsLocationExtensions $adWordsLocationExtensions)
{
$this->adWordsLocationExtensions = $adWordsLocationExtensions;
}
/**
* @return AdWordsLocationExtensions
*/
public function getAdWordsLocationExtensions()
{
return $this->adWordsLocationExtensions;
}
/**
* @param Categories
*/
public function setCategories(Categories $categories)
{
$this->categories = $categories;
}
/**
* @return Categories
*/
public function getCategories()
{
return $this->categories;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* @param LatLng
*/
public function setLatlng(LatLng $latlng)
{
$this->latlng = $latlng;
}
/**
* @return LatLng
*/
public function getLatlng()
{
return $this->latlng;
}
/**
* @param Metadata
*/
public function setMetadata(Metadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return Metadata
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param MoreHours[]
*/
public function setMoreHours($moreHours)
{
$this->moreHours = $moreHours;
}
/**
* @return MoreHours[]
*/
public function getMoreHours()
{
return $this->moreHours;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param OpenInfo
*/
public function setOpenInfo(OpenInfo $openInfo)
{
$this->openInfo = $openInfo;
}
/**
* @return OpenInfo
*/
public function getOpenInfo()
{
return $this->openInfo;
}
/**
* @param PhoneNumbers
*/
public function setPhoneNumbers(PhoneNumbers $phoneNumbers)
{
$this->phoneNumbers = $phoneNumbers;
}
/**
* @return PhoneNumbers
*/
public function getPhoneNumbers()
{
return $this->phoneNumbers;
}
/**
* @param Profile
*/
public function setProfile(Profile $profile)
{
$this->profile = $profile;
}
/**
* @return Profile
*/
public function getProfile()
{
return $this->profile;
}
/**
* @param BusinessHours
*/
public function setRegularHours(BusinessHours $regularHours)
{
$this->regularHours = $regularHours;
}
/**
* @return BusinessHours
*/
public function getRegularHours()
{
return $this->regularHours;
}
/**
* @param RelationshipData
*/
public function setRelationshipData(RelationshipData $relationshipData)
{
$this->relationshipData = $relationshipData;
}
/**
* @return RelationshipData
*/
public function getRelationshipData()
{
return $this->relationshipData;
}
/**
* @param ServiceAreaBusiness
*/
public function setServiceArea(ServiceAreaBusiness $serviceArea)
{
$this->serviceArea = $serviceArea;
}
/**
* @return ServiceAreaBusiness
*/
public function getServiceArea()
{
return $this->serviceArea;
}
/**
* @param ServiceItem[]
*/
public function setServiceItems($serviceItems)
{
$this->serviceItems = $serviceItems;
}
/**
* @return ServiceItem[]
*/
public function getServiceItems()
{
return $this->serviceItems;
}
/**
* @param SpecialHours
*/
public function setSpecialHours(SpecialHours $specialHours)
{
$this->specialHours = $specialHours;
}
/**
* @return SpecialHours
*/
public function getSpecialHours()
{
return $this->specialHours;
}
/**
* @param string
*/
public function setStoreCode($storeCode)
{
$this->storeCode = $storeCode;
}
/**
* @return string
*/
public function getStoreCode()
{
return $this->storeCode;
}
/**
* @param PostalAddress
*/
public function setStorefrontAddress(PostalAddress $storefrontAddress)
{
$this->storefrontAddress = $storefrontAddress;
}
/**
* @return PostalAddress
*/
public function getStorefrontAddress()
{
return $this->storefrontAddress;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* @param string
*/
public function setWebsiteUri($websiteUri)
{
$this->websiteUri = $websiteUri;
}
/**
* @return string
*/
public function getWebsiteUri()
{
return $this->websiteUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Location::class, 'Google_Service_MyBusinessBusinessInformation_Location');

View File

@@ -0,0 +1,278 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class Metadata extends \Google\Model
{
/**
* @var bool
*/
public $canDelete;
/**
* @var bool
*/
public $canHaveBusinessCalls;
/**
* @var bool
*/
public $canHaveFoodMenus;
/**
* @var bool
*/
public $canModifyServiceList;
/**
* @var bool
*/
public $canOperateHealthData;
/**
* @var bool
*/
public $canOperateLocalPost;
/**
* @var bool
*/
public $canOperateLodgingData;
/**
* @var string
*/
public $duplicateLocation;
/**
* @var bool
*/
public $hasGoogleUpdated;
/**
* @var bool
*/
public $hasPendingEdits;
/**
* @var bool
*/
public $hasVoiceOfMerchant;
/**
* @var string
*/
public $mapsUri;
/**
* @var string
*/
public $newReviewUri;
/**
* @var string
*/
public $placeId;
/**
* @param bool
*/
public function setCanDelete($canDelete)
{
$this->canDelete = $canDelete;
}
/**
* @return bool
*/
public function getCanDelete()
{
return $this->canDelete;
}
/**
* @param bool
*/
public function setCanHaveBusinessCalls($canHaveBusinessCalls)
{
$this->canHaveBusinessCalls = $canHaveBusinessCalls;
}
/**
* @return bool
*/
public function getCanHaveBusinessCalls()
{
return $this->canHaveBusinessCalls;
}
/**
* @param bool
*/
public function setCanHaveFoodMenus($canHaveFoodMenus)
{
$this->canHaveFoodMenus = $canHaveFoodMenus;
}
/**
* @return bool
*/
public function getCanHaveFoodMenus()
{
return $this->canHaveFoodMenus;
}
/**
* @param bool
*/
public function setCanModifyServiceList($canModifyServiceList)
{
$this->canModifyServiceList = $canModifyServiceList;
}
/**
* @return bool
*/
public function getCanModifyServiceList()
{
return $this->canModifyServiceList;
}
/**
* @param bool
*/
public function setCanOperateHealthData($canOperateHealthData)
{
$this->canOperateHealthData = $canOperateHealthData;
}
/**
* @return bool
*/
public function getCanOperateHealthData()
{
return $this->canOperateHealthData;
}
/**
* @param bool
*/
public function setCanOperateLocalPost($canOperateLocalPost)
{
$this->canOperateLocalPost = $canOperateLocalPost;
}
/**
* @return bool
*/
public function getCanOperateLocalPost()
{
return $this->canOperateLocalPost;
}
/**
* @param bool
*/
public function setCanOperateLodgingData($canOperateLodgingData)
{
$this->canOperateLodgingData = $canOperateLodgingData;
}
/**
* @return bool
*/
public function getCanOperateLodgingData()
{
return $this->canOperateLodgingData;
}
/**
* @param string
*/
public function setDuplicateLocation($duplicateLocation)
{
$this->duplicateLocation = $duplicateLocation;
}
/**
* @return string
*/
public function getDuplicateLocation()
{
return $this->duplicateLocation;
}
/**
* @param bool
*/
public function setHasGoogleUpdated($hasGoogleUpdated)
{
$this->hasGoogleUpdated = $hasGoogleUpdated;
}
/**
* @return bool
*/
public function getHasGoogleUpdated()
{
return $this->hasGoogleUpdated;
}
/**
* @param bool
*/
public function setHasPendingEdits($hasPendingEdits)
{
$this->hasPendingEdits = $hasPendingEdits;
}
/**
* @return bool
*/
public function getHasPendingEdits()
{
return $this->hasPendingEdits;
}
/**
* @param bool
*/
public function setHasVoiceOfMerchant($hasVoiceOfMerchant)
{
$this->hasVoiceOfMerchant = $hasVoiceOfMerchant;
}
/**
* @return bool
*/
public function getHasVoiceOfMerchant()
{
return $this->hasVoiceOfMerchant;
}
/**
* @param string
*/
public function setMapsUri($mapsUri)
{
$this->mapsUri = $mapsUri;
}
/**
* @return string
*/
public function getMapsUri()
{
return $this->mapsUri;
}
/**
* @param string
*/
public function setNewReviewUri($newReviewUri)
{
$this->newReviewUri = $newReviewUri;
}
/**
* @return string
*/
public function getNewReviewUri()
{
return $this->newReviewUri;
}
/**
* @param string
*/
public function setPlaceId($placeId)
{
$this->placeId = $placeId;
}
/**
* @return string
*/
public function getPlaceId()
{
return $this->placeId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Metadata::class, 'Google_Service_MyBusinessBusinessInformation_Metadata');

View File

@@ -0,0 +1,80 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class Money extends \Google\Model
{
/**
* @var string
*/
public $currencyCode;
/**
* @var int
*/
public $nanos;
/**
* @var string
*/
public $units;
/**
* @param string
*/
public function setCurrencyCode($currencyCode)
{
$this->currencyCode = $currencyCode;
}
/**
* @return string
*/
public function getCurrencyCode()
{
return $this->currencyCode;
}
/**
* @param int
*/
public function setNanos($nanos)
{
$this->nanos = $nanos;
}
/**
* @return int
*/
public function getNanos()
{
return $this->nanos;
}
/**
* @param string
*/
public function setUnits($units)
{
$this->units = $units;
}
/**
* @return string
*/
public function getUnits()
{
return $this->units;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Money::class, 'Google_Service_MyBusinessBusinessInformation_Money');

View File

@@ -0,0 +1,61 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class MoreHours extends \Google\Collection
{
protected $collection_key = 'periods';
/**
* @var string
*/
public $hoursTypeId;
protected $periodsType = TimePeriod::class;
protected $periodsDataType = 'array';
/**
* @param string
*/
public function setHoursTypeId($hoursTypeId)
{
$this->hoursTypeId = $hoursTypeId;
}
/**
* @return string
*/
public function getHoursTypeId()
{
return $this->hoursTypeId;
}
/**
* @param TimePeriod[]
*/
public function setPeriods($periods)
{
$this->periods = $periods;
}
/**
* @return TimePeriod[]
*/
public function getPeriods()
{
return $this->periods;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MoreHours::class, 'Google_Service_MyBusinessBusinessInformation_MoreHours');

View File

@@ -0,0 +1,80 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class MoreHoursType extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $hoursTypeId;
/**
* @var string
*/
public $localizedDisplayName;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setHoursTypeId($hoursTypeId)
{
$this->hoursTypeId = $hoursTypeId;
}
/**
* @return string
*/
public function getHoursTypeId()
{
return $this->hoursTypeId;
}
/**
* @param string
*/
public function setLocalizedDisplayName($localizedDisplayName)
{
$this->localizedDisplayName = $localizedDisplayName;
}
/**
* @return string
*/
public function getLocalizedDisplayName()
{
return $this->localizedDisplayName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MoreHoursType::class, 'Google_Service_MyBusinessBusinessInformation_MoreHoursType');

View File

@@ -0,0 +1,25 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class MybusinessbusinessinformationEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MybusinessbusinessinformationEmpty::class, 'Google_Service_MyBusinessBusinessInformation_MybusinessbusinessinformationEmpty');

View File

@@ -0,0 +1,78 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class OpenInfo extends \Google\Model
{
/**
* @var bool
*/
public $canReopen;
protected $openingDateType = Date::class;
protected $openingDateDataType = '';
/**
* @var string
*/
public $status;
/**
* @param bool
*/
public function setCanReopen($canReopen)
{
$this->canReopen = $canReopen;
}
/**
* @return bool
*/
public function getCanReopen()
{
return $this->canReopen;
}
/**
* @param Date
*/
public function setOpeningDate(Date $openingDate)
{
$this->openingDate = $openingDate;
}
/**
* @return Date
*/
public function getOpeningDate()
{
return $this->openingDate;
}
/**
* @param string
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return string
*/
public function getStatus()
{
return $this->status;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OpenInfo::class, 'Google_Service_MyBusinessBusinessInformation_OpenInfo');

View File

@@ -0,0 +1,63 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class PhoneNumbers extends \Google\Collection
{
protected $collection_key = 'additionalPhones';
/**
* @var string[]
*/
public $additionalPhones;
/**
* @var string
*/
public $primaryPhone;
/**
* @param string[]
*/
public function setAdditionalPhones($additionalPhones)
{
$this->additionalPhones = $additionalPhones;
}
/**
* @return string[]
*/
public function getAdditionalPhones()
{
return $this->additionalPhones;
}
/**
* @param string
*/
public function setPrimaryPhone($primaryPhone)
{
$this->primaryPhone = $primaryPhone;
}
/**
* @return string
*/
public function getPrimaryPhone()
{
return $this->primaryPhone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PhoneNumbers::class, 'Google_Service_MyBusinessBusinessInformation_PhoneNumbers');

View File

@@ -0,0 +1,62 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class PlaceInfo extends \Google\Model
{
/**
* @var string
*/
public $placeId;
/**
* @var string
*/
public $placeName;
/**
* @param string
*/
public function setPlaceId($placeId)
{
$this->placeId = $placeId;
}
/**
* @return string
*/
public function getPlaceId()
{
return $this->placeId;
}
/**
* @param string
*/
public function setPlaceName($placeName)
{
$this->placeName = $placeName;
}
/**
* @return string
*/
public function getPlaceName()
{
return $this->placeName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PlaceInfo::class, 'Google_Service_MyBusinessBusinessInformation_PlaceInfo');

View File

@@ -0,0 +1,43 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class Places extends \Google\Collection
{
protected $collection_key = 'placeInfos';
protected $placeInfosType = PlaceInfo::class;
protected $placeInfosDataType = 'array';
/**
* @param PlaceInfo[]
*/
public function setPlaceInfos($placeInfos)
{
$this->placeInfos = $placeInfos;
}
/**
* @return PlaceInfo[]
*/
public function getPlaceInfos()
{
return $this->placeInfos;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Places::class, 'Google_Service_MyBusinessBusinessInformation_Places');

View File

@@ -0,0 +1,225 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class PostalAddress extends \Google\Collection
{
protected $collection_key = 'recipients';
/**
* @var string[]
*/
public $addressLines;
/**
* @var string
*/
public $administrativeArea;
/**
* @var string
*/
public $languageCode;
/**
* @var string
*/
public $locality;
/**
* @var string
*/
public $organization;
/**
* @var string
*/
public $postalCode;
/**
* @var string[]
*/
public $recipients;
/**
* @var string
*/
public $regionCode;
/**
* @var int
*/
public $revision;
/**
* @var string
*/
public $sortingCode;
/**
* @var string
*/
public $sublocality;
/**
* @param string[]
*/
public function setAddressLines($addressLines)
{
$this->addressLines = $addressLines;
}
/**
* @return string[]
*/
public function getAddressLines()
{
return $this->addressLines;
}
/**
* @param string
*/
public function setAdministrativeArea($administrativeArea)
{
$this->administrativeArea = $administrativeArea;
}
/**
* @return string
*/
public function getAdministrativeArea()
{
return $this->administrativeArea;
}
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* @param string
*/
public function setLocality($locality)
{
$this->locality = $locality;
}
/**
* @return string
*/
public function getLocality()
{
return $this->locality;
}
/**
* @param string
*/
public function setOrganization($organization)
{
$this->organization = $organization;
}
/**
* @return string
*/
public function getOrganization()
{
return $this->organization;
}
/**
* @param string
*/
public function setPostalCode($postalCode)
{
$this->postalCode = $postalCode;
}
/**
* @return string
*/
public function getPostalCode()
{
return $this->postalCode;
}
/**
* @param string[]
*/
public function setRecipients($recipients)
{
$this->recipients = $recipients;
}
/**
* @return string[]
*/
public function getRecipients()
{
return $this->recipients;
}
/**
* @param string
*/
public function setRegionCode($regionCode)
{
$this->regionCode = $regionCode;
}
/**
* @return string
*/
public function getRegionCode()
{
return $this->regionCode;
}
/**
* @param int
*/
public function setRevision($revision)
{
$this->revision = $revision;
}
/**
* @return int
*/
public function getRevision()
{
return $this->revision;
}
/**
* @param string
*/
public function setSortingCode($sortingCode)
{
$this->sortingCode = $sortingCode;
}
/**
* @return string
*/
public function getSortingCode()
{
return $this->sortingCode;
}
/**
* @param string
*/
public function setSublocality($sublocality)
{
$this->sublocality = $sublocality;
}
/**
* @return string
*/
public function getSublocality()
{
return $this->sublocality;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PostalAddress::class, 'Google_Service_MyBusinessBusinessInformation_PostalAddress');

View File

@@ -0,0 +1,44 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class Profile extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Profile::class, 'Google_Service_MyBusinessBusinessInformation_Profile');

View File

@@ -0,0 +1,77 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class RelationshipData extends \Google\Collection
{
protected $collection_key = 'childrenLocations';
protected $childrenLocationsType = RelevantLocation::class;
protected $childrenLocationsDataType = 'array';
/**
* @var string
*/
public $parentChain;
protected $parentLocationType = RelevantLocation::class;
protected $parentLocationDataType = '';
/**
* @param RelevantLocation[]
*/
public function setChildrenLocations($childrenLocations)
{
$this->childrenLocations = $childrenLocations;
}
/**
* @return RelevantLocation[]
*/
public function getChildrenLocations()
{
return $this->childrenLocations;
}
/**
* @param string
*/
public function setParentChain($parentChain)
{
$this->parentChain = $parentChain;
}
/**
* @return string
*/
public function getParentChain()
{
return $this->parentChain;
}
/**
* @param RelevantLocation
*/
public function setParentLocation(RelevantLocation $parentLocation)
{
$this->parentLocation = $parentLocation;
}
/**
* @return RelevantLocation
*/
public function getParentLocation()
{
return $this->parentLocation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RelationshipData::class, 'Google_Service_MyBusinessBusinessInformation_RelationshipData');

View File

@@ -0,0 +1,62 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class RelevantLocation extends \Google\Model
{
/**
* @var string
*/
public $placeId;
/**
* @var string
*/
public $relationType;
/**
* @param string
*/
public function setPlaceId($placeId)
{
$this->placeId = $placeId;
}
/**
* @return string
*/
public function getPlaceId()
{
return $this->placeId;
}
/**
* @param string
*/
public function setRelationType($relationType)
{
$this->relationType = $relationType;
}
/**
* @return string
*/
public function getRelationType()
{
return $this->relationType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RelevantLocation::class, 'Google_Service_MyBusinessBusinessInformation_RelevantLocation');

View File

@@ -0,0 +1,63 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class RepeatedEnumAttributeValue extends \Google\Collection
{
protected $collection_key = 'unsetValues';
/**
* @var string[]
*/
public $setValues;
/**
* @var string[]
*/
public $unsetValues;
/**
* @param string[]
*/
public function setSetValues($setValues)
{
$this->setValues = $setValues;
}
/**
* @return string[]
*/
public function getSetValues()
{
return $this->setValues;
}
/**
* @param string[]
*/
public function setUnsetValues($unsetValues)
{
$this->unsetValues = $unsetValues;
}
/**
* @return string[]
*/
public function getUnsetValues()
{
return $this->unsetValues;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RepeatedEnumAttributeValue::class, 'Google_Service_MyBusinessBusinessInformation_RepeatedEnumAttributeValue');

View File

@@ -0,0 +1,33 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation\Resource;
/**
* The "accounts" collection of methods.
* Typical usage is:
* <code>
* $mybusinessbusinessinformationService = new Google\Service\MyBusinessBusinessInformation(...);
* $accounts = $mybusinessbusinessinformationService->accounts;
* </code>
*/
class Accounts extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Accounts::class, 'Google_Service_MyBusinessBusinessInformation_Resource_Accounts');

View File

@@ -0,0 +1,98 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation\Resource;
use Google\Service\MyBusinessBusinessInformation\ListLocationsResponse;
use Google\Service\MyBusinessBusinessInformation\Location;
/**
* The "locations" collection of methods.
* Typical usage is:
* <code>
* $mybusinessbusinessinformationService = new Google\Service\MyBusinessBusinessInformation(...);
* $locations = $mybusinessbusinessinformationService->accounts_locations;
* </code>
*/
class AccountsLocations extends \Google\Service\Resource
{
/**
* Creates a new Location that will be owned by the logged in user.
* (locations.create)
*
* @param string $parent Required. The name of the account in which to create
* this location.
* @param Location $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. A unique request ID for the server to
* detect duplicated requests. We recommend using UUIDs. Max length is 50
* characters.
* @opt_param bool validateOnly Optional. If true, the request is validated
* without actually creating the location.
* @return Location
* @throws \Google\Service\Exception
*/
public function create($parent, Location $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Location::class);
}
/**
* Lists the locations for the specified account.
* (locations.listAccountsLocations)
*
* @param string $parent Required. The name of the account to fetch locations
* from. If the parent Account is of AccountType PERSONAL, only Locations that
* are directly owned by the Account are returned, otherwise it will return all
* accessible locations from the Account, either directly or indirectly.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. A filter constraining the locations to
* return. The response includes only entries that match the filter. If `filter`
* is empty, then constraints are applied and all locations (paginated) are
* retrieved for the requested account. For more information about valid fields
* and example usage, see [Work with Location Data
* Guide](https://developers.google.com/my-business/content/location-
* data#filter_results_when_you_list_locations).
* @opt_param string orderBy Optional. Sorting order for the request. Multiple
* fields should be comma-separated, following SQL syntax. The default sorting
* order is ascending. To specify descending order, a suffix " desc" should be
* added. Valid fields to order_by are title and store_code. For example:
* "title, store_code desc" or "title" or "store_code desc"
* @opt_param int pageSize Optional. How many locations to fetch per page.
* Default value is 10 if not set. Minimum is 1, and maximum page size is 100.
* @opt_param string pageToken Optional. If specified, it fetches the next
* `page` of locations. The page token is returned by previous calls to
* `ListLocations` when there were more locations than could fit in the
* requested page size.
* @opt_param string readMask Required. Read mask to specify what fields will be
* returned in the response.
* @return ListLocationsResponse
* @throws \Google\Service\Exception
*/
public function listAccountsLocations($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListLocationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccountsLocations::class, 'Google_Service_MyBusinessBusinessInformation_Resource_AccountsLocations');

View File

@@ -0,0 +1,67 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation\Resource;
use Google\Service\MyBusinessBusinessInformation\ListAttributeMetadataResponse;
/**
* The "attributes" collection of methods.
* Typical usage is:
* <code>
* $mybusinessbusinessinformationService = new Google\Service\MyBusinessBusinessInformation(...);
* $attributes = $mybusinessbusinessinformationService->attributes;
* </code>
*/
class Attributes extends \Google\Service\Resource
{
/**
* Returns the list of attributes that would be available for a location with
* the given primary category and country. (attributes.listAttributes)
*
* @param array $optParams Optional parameters.
*
* @opt_param string categoryName The primary category stable ID to find
* available attributes. Must be of the format categories/{category_id}.
* @opt_param string languageCode The BCP 47 code of language to get attribute
* display names in. If this language is not available, they will be provided in
* English.
* @opt_param int pageSize How many attributes to include per page. Default is
* 200, minimum is 1.
* @opt_param string pageToken If specified, the next page of attribute metadata
* is retrieved.
* @opt_param string parent Resource name of the location to look up available
* attributes. If this field is set, category_name, region_code, language_code
* and show_all are not required and must not be set.
* @opt_param string regionCode The ISO 3166-1 alpha-2 country code to find
* available attributes.
* @opt_param bool showAll Metadata for all available attributes are returned
* when this field is set to true, disregarding parent and category_name fields.
* language_code and region_code are required when show_all is set to true.
* @return ListAttributeMetadataResponse
* @throws \Google\Service\Exception
*/
public function listAttributes($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListAttributeMetadataResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Attributes::class, 'Google_Service_MyBusinessBusinessInformation_Resource_Attributes');

View File

@@ -0,0 +1,87 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation\Resource;
use Google\Service\MyBusinessBusinessInformation\BatchGetCategoriesResponse;
use Google\Service\MyBusinessBusinessInformation\ListCategoriesResponse;
/**
* The "categories" collection of methods.
* Typical usage is:
* <code>
* $mybusinessbusinessinformationService = new Google\Service\MyBusinessBusinessInformation(...);
* $categories = $mybusinessbusinessinformationService->categories;
* </code>
*/
class Categories extends \Google\Service\Resource
{
/**
* Returns a list of business categories for the provided language and GConcept
* ids. (categories.batchGet)
*
* @param array $optParams Optional parameters.
*
* @opt_param string languageCode Required. The BCP 47 code of language that the
* category names should be returned in.
* @opt_param string names Required. At least one name must be set. The GConcept
* ids the localized category names should be returned for. To return details
* for more than one category, repeat this parameter in the request.
* @opt_param string regionCode Optional. The ISO 3166-1 alpha-2 country code
* used to infer non-standard language.
* @opt_param string view Required. Specifies which parts to the Category
* resource should be returned in the response.
* @return BatchGetCategoriesResponse
* @throws \Google\Service\Exception
*/
public function batchGet($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('batchGet', [$params], BatchGetCategoriesResponse::class);
}
/**
* Returns a list of business categories. Search will match the category name
* but not the category ID. Search only matches the front of a category name
* (that is, 'food' may return 'Food Court' but not 'Fast Food Restaurant').
* (categories.listCategories)
*
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Filter string from user. The only field
* that supported is `displayName`. Eg: `filter=displayName=foo`.
* @opt_param string languageCode Required. The BCP 47 code of language.
* @opt_param int pageSize Optional. How many categories to fetch per page.
* Default is 100, minimum is 1, and maximum page size is 100.
* @opt_param string pageToken Optional. If specified, the next page of
* categories will be fetched.
* @opt_param string regionCode Required. The ISO 3166-1 alpha-2 country code.
* @opt_param string view Required. Specifies which parts to the Category
* resource should be returned in the response.
* @return ListCategoriesResponse
* @throws \Google\Service\Exception
*/
public function listCategories($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListCategoriesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Categories::class, 'Google_Service_MyBusinessBusinessInformation_Resource_Categories');

View File

@@ -0,0 +1,71 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation\Resource;
use Google\Service\MyBusinessBusinessInformation\Chain;
use Google\Service\MyBusinessBusinessInformation\SearchChainsResponse;
/**
* The "chains" collection of methods.
* Typical usage is:
* <code>
* $mybusinessbusinessinformationService = new Google\Service\MyBusinessBusinessInformation(...);
* $chains = $mybusinessbusinessinformationService->chains;
* </code>
*/
class Chains extends \Google\Service\Resource
{
/**
* Gets the specified chain. Returns `NOT_FOUND` if the chain does not exist.
* (chains.get)
*
* @param string $name Required. The chain's resource name, in the format
* `chains/{chain_place_id}`.
* @param array $optParams Optional parameters.
* @return Chain
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Chain::class);
}
/**
* Searches the chain based on chain name. (chains.search)
*
* @param array $optParams Optional parameters.
*
* @opt_param string chainName Required. Search for a chain by its name.
* Exact/partial/fuzzy/related queries are supported. Examples: "walmart", "wal-
* mart", "walmmmart", "沃尔玛"
* @opt_param int pageSize The maximum number of matched chains to return from
* this query. The default is 10. The maximum possible value is 500.
* @return SearchChainsResponse
* @throws \Google\Service\Exception
*/
public function search($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('search', [$params], SearchChainsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Chains::class, 'Google_Service_MyBusinessBusinessInformation_Resource_Chains');

View File

@@ -0,0 +1,51 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation\Resource;
use Google\Service\MyBusinessBusinessInformation\SearchGoogleLocationsRequest;
use Google\Service\MyBusinessBusinessInformation\SearchGoogleLocationsResponse;
/**
* The "googleLocations" collection of methods.
* Typical usage is:
* <code>
* $mybusinessbusinessinformationService = new Google\Service\MyBusinessBusinessInformation(...);
* $googleLocations = $mybusinessbusinessinformationService->googleLocations;
* </code>
*/
class GoogleLocations extends \Google\Service\Resource
{
/**
* Search all of the possible locations that are a match to the specified
* request. (googleLocations.search)
*
* @param SearchGoogleLocationsRequest $postBody
* @param array $optParams Optional parameters.
* @return SearchGoogleLocationsResponse
* @throws \Google\Service\Exception
*/
public function search(SearchGoogleLocationsRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('search', [$params], SearchGoogleLocationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleLocations::class, 'Google_Service_MyBusinessBusinessInformation_Resource_GoogleLocations');

View File

@@ -0,0 +1,155 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation\Resource;
use Google\Service\MyBusinessBusinessInformation\Attributes as AttributesModel;
use Google\Service\MyBusinessBusinessInformation\GoogleUpdatedLocation;
use Google\Service\MyBusinessBusinessInformation\Location;
use Google\Service\MyBusinessBusinessInformation\MybusinessbusinessinformationEmpty;
/**
* The "locations" collection of methods.
* Typical usage is:
* <code>
* $mybusinessbusinessinformationService = new Google\Service\MyBusinessBusinessInformation(...);
* $locations = $mybusinessbusinessinformationService->locations;
* </code>
*/
class Locations extends \Google\Service\Resource
{
/**
* Deletes a location. If this location cannot be deleted using the API and it
* is marked so in the `google.mybusiness.businessinformation.v1.LocationState`,
* use the [Google Business Profile](https://business.google.com/manage/)
* website. (locations.delete)
*
* @param string $name Required. The name of the location to delete.
* @param array $optParams Optional parameters.
* @return MybusinessbusinessinformationEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], MybusinessbusinessinformationEmpty::class);
}
/**
* Returns the specified location. (locations.get)
*
* @param string $name Required. The name of the location to fetch.
* @param array $optParams Optional parameters.
*
* @opt_param string readMask Required. Read mask to specify what fields will be
* returned in the response.
* @return Location
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Location::class);
}
/**
* Looks up all the attributes set for a given location.
* (locations.getAttributes)
*
* @param string $name Required. Google identifier for this location in the form
* of `locations/{location_id}/attributes`.
* @param array $optParams Optional parameters.
* @return AttributesModel
* @throws \Google\Service\Exception
*/
public function getAttributes($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('getAttributes', [$params], AttributesModel::class);
}
/**
* Gets the Google-updated version of the specified location.
* (locations.getGoogleUpdated)
*
* @param string $name Required. The name of the location to fetch.
* @param array $optParams Optional parameters.
*
* @opt_param string readMask Required. Read mask to specify what fields will be
* returned in the response.
* @return GoogleUpdatedLocation
* @throws \Google\Service\Exception
*/
public function getGoogleUpdated($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('getGoogleUpdated', [$params], GoogleUpdatedLocation::class);
}
/**
* Updates the specified location. (locations.patch)
*
* @param string $name Google identifier for this location in the form:
* `locations/{location_id}`.
* @param Location $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. The specific fields to update.
* @opt_param bool validateOnly Optional. If true, the request is validated
* without actually updating the location. When this field is set, we will only
* return validation errors if there were any. The response will be empty if no
* errors were found.
* @return Location
* @throws \Google\Service\Exception
*/
public function patch($name, Location $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Location::class);
}
/**
* Update attributes for a given location. (locations.updateAttributes)
*
* @param string $name Required. Google identifier for this location in the form
* of `locations/{location_id}/attributes`.
* @param AttributesModel $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string attributeMask Required. Attribute name of attributes that
* you'd like to update. Represented by `attributes/{attribute}`. Updates: All
* attributes provided in the attributes field that you would like to update
* must be set in the `attribute_mask`. Attributes set in the above list but not
* in the `attribute_mask` will be ignored. Deletes: If you'd like to delete
* certain attributes, they must be specified in the `attribute_mask` with no
* matching entry in the attributes list. If you'd like to delete all attributes
* set on a location, you should look up all the applicable attributes for the
* location and then add them to the `attribute_mask` with an empty attributes
* field.
* @return AttributesModel
* @throws \Google\Service\Exception
*/
public function updateAttributes($name, AttributesModel $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('updateAttributes', [$params], AttributesModel::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Locations::class, 'Google_Service_MyBusinessBusinessInformation_Resource_Locations');

View File

@@ -0,0 +1,51 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation\Resource;
use Google\Service\MyBusinessBusinessInformation\Attributes as AttributesModel;
/**
* The "attributes" collection of methods.
* Typical usage is:
* <code>
* $mybusinessbusinessinformationService = new Google\Service\MyBusinessBusinessInformation(...);
* $attributes = $mybusinessbusinessinformationService->locations_attributes;
* </code>
*/
class LocationsAttributes extends \Google\Service\Resource
{
/**
* Gets the Google-updated version of the specified location.
* (attributes.getGoogleUpdated)
*
* @param string $name Required. Google identifier for this location in the form
* of `locations/{location_id}/attributes`.
* @param array $optParams Optional parameters.
* @return AttributesModel
* @throws \Google\Service\Exception
*/
public function getGoogleUpdated($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('getGoogleUpdated', [$params], AttributesModel::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LocationsAttributes::class, 'Google_Service_MyBusinessBusinessInformation_Resource_LocationsAttributes');

View File

@@ -0,0 +1,43 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class SearchChainsResponse extends \Google\Collection
{
protected $collection_key = 'chains';
protected $chainsType = Chain::class;
protected $chainsDataType = 'array';
/**
* @param Chain[]
*/
public function setChains($chains)
{
$this->chains = $chains;
}
/**
* @return Chain[]
*/
public function getChains()
{
return $this->chains;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SearchChainsResponse::class, 'Google_Service_MyBusinessBusinessInformation_SearchChainsResponse');

View File

@@ -0,0 +1,78 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class SearchGoogleLocationsRequest extends \Google\Model
{
protected $locationType = Location::class;
protected $locationDataType = '';
/**
* @var int
*/
public $pageSize;
/**
* @var string
*/
public $query;
/**
* @param Location
*/
public function setLocation(Location $location)
{
$this->location = $location;
}
/**
* @return Location
*/
public function getLocation()
{
return $this->location;
}
/**
* @param int
*/
public function setPageSize($pageSize)
{
$this->pageSize = $pageSize;
}
/**
* @return int
*/
public function getPageSize()
{
return $this->pageSize;
}
/**
* @param string
*/
public function setQuery($query)
{
$this->query = $query;
}
/**
* @return string
*/
public function getQuery()
{
return $this->query;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SearchGoogleLocationsRequest::class, 'Google_Service_MyBusinessBusinessInformation_SearchGoogleLocationsRequest');

View File

@@ -0,0 +1,43 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class SearchGoogleLocationsResponse extends \Google\Collection
{
protected $collection_key = 'googleLocations';
protected $googleLocationsType = GoogleLocation::class;
protected $googleLocationsDataType = 'array';
/**
* @param GoogleLocation[]
*/
public function setGoogleLocations($googleLocations)
{
$this->googleLocations = $googleLocations;
}
/**
* @return GoogleLocation[]
*/
public function getGoogleLocations()
{
return $this->googleLocations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SearchGoogleLocationsResponse::class, 'Google_Service_MyBusinessBusinessInformation_SearchGoogleLocationsResponse');

View File

@@ -0,0 +1,78 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class ServiceAreaBusiness extends \Google\Model
{
/**
* @var string
*/
public $businessType;
protected $placesType = Places::class;
protected $placesDataType = '';
/**
* @var string
*/
public $regionCode;
/**
* @param string
*/
public function setBusinessType($businessType)
{
$this->businessType = $businessType;
}
/**
* @return string
*/
public function getBusinessType()
{
return $this->businessType;
}
/**
* @param Places
*/
public function setPlaces(Places $places)
{
$this->places = $places;
}
/**
* @return Places
*/
public function getPlaces()
{
return $this->places;
}
/**
* @param string
*/
public function setRegionCode($regionCode)
{
$this->regionCode = $regionCode;
}
/**
* @return string
*/
public function getRegionCode()
{
return $this->regionCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ServiceAreaBusiness::class, 'Google_Service_MyBusinessBusinessInformation_ServiceAreaBusiness');

View File

@@ -0,0 +1,74 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class ServiceItem extends \Google\Model
{
protected $freeFormServiceItemType = FreeFormServiceItem::class;
protected $freeFormServiceItemDataType = '';
protected $priceType = Money::class;
protected $priceDataType = '';
protected $structuredServiceItemType = StructuredServiceItem::class;
protected $structuredServiceItemDataType = '';
/**
* @param FreeFormServiceItem
*/
public function setFreeFormServiceItem(FreeFormServiceItem $freeFormServiceItem)
{
$this->freeFormServiceItem = $freeFormServiceItem;
}
/**
* @return FreeFormServiceItem
*/
public function getFreeFormServiceItem()
{
return $this->freeFormServiceItem;
}
/**
* @param Money
*/
public function setPrice(Money $price)
{
$this->price = $price;
}
/**
* @return Money
*/
public function getPrice()
{
return $this->price;
}
/**
* @param StructuredServiceItem
*/
public function setStructuredServiceItem(StructuredServiceItem $structuredServiceItem)
{
$this->structuredServiceItem = $structuredServiceItem;
}
/**
* @return StructuredServiceItem
*/
public function getStructuredServiceItem()
{
return $this->structuredServiceItem;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ServiceItem::class, 'Google_Service_MyBusinessBusinessInformation_ServiceItem');

View File

@@ -0,0 +1,62 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class ServiceType extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $serviceTypeId;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setServiceTypeId($serviceTypeId)
{
$this->serviceTypeId = $serviceTypeId;
}
/**
* @return string
*/
public function getServiceTypeId()
{
return $this->serviceTypeId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ServiceType::class, 'Google_Service_MyBusinessBusinessInformation_ServiceType');

View File

@@ -0,0 +1,108 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class SpecialHourPeriod extends \Google\Model
{
protected $closeTimeType = TimeOfDay::class;
protected $closeTimeDataType = '';
/**
* @var bool
*/
public $closed;
protected $endDateType = Date::class;
protected $endDateDataType = '';
protected $openTimeType = TimeOfDay::class;
protected $openTimeDataType = '';
protected $startDateType = Date::class;
protected $startDateDataType = '';
/**
* @param TimeOfDay
*/
public function setCloseTime(TimeOfDay $closeTime)
{
$this->closeTime = $closeTime;
}
/**
* @return TimeOfDay
*/
public function getCloseTime()
{
return $this->closeTime;
}
/**
* @param bool
*/
public function setClosed($closed)
{
$this->closed = $closed;
}
/**
* @return bool
*/
public function getClosed()
{
return $this->closed;
}
/**
* @param Date
*/
public function setEndDate(Date $endDate)
{
$this->endDate = $endDate;
}
/**
* @return Date
*/
public function getEndDate()
{
return $this->endDate;
}
/**
* @param TimeOfDay
*/
public function setOpenTime(TimeOfDay $openTime)
{
$this->openTime = $openTime;
}
/**
* @return TimeOfDay
*/
public function getOpenTime()
{
return $this->openTime;
}
/**
* @param Date
*/
public function setStartDate(Date $startDate)
{
$this->startDate = $startDate;
}
/**
* @return Date
*/
public function getStartDate()
{
return $this->startDate;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SpecialHourPeriod::class, 'Google_Service_MyBusinessBusinessInformation_SpecialHourPeriod');

View File

@@ -0,0 +1,43 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class SpecialHours extends \Google\Collection
{
protected $collection_key = 'specialHourPeriods';
protected $specialHourPeriodsType = SpecialHourPeriod::class;
protected $specialHourPeriodsDataType = 'array';
/**
* @param SpecialHourPeriod[]
*/
public function setSpecialHourPeriods($specialHourPeriods)
{
$this->specialHourPeriods = $specialHourPeriods;
}
/**
* @return SpecialHourPeriod[]
*/
public function getSpecialHourPeriods()
{
return $this->specialHourPeriods;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SpecialHours::class, 'Google_Service_MyBusinessBusinessInformation_SpecialHours');

View File

@@ -0,0 +1,62 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class StructuredServiceItem extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $serviceTypeId;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setServiceTypeId($serviceTypeId)
{
$this->serviceTypeId = $serviceTypeId;
}
/**
* @return string
*/
public function getServiceTypeId()
{
return $this->serviceTypeId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(StructuredServiceItem::class, 'Google_Service_MyBusinessBusinessInformation_StructuredServiceItem');

View File

@@ -0,0 +1,98 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class TimeOfDay extends \Google\Model
{
/**
* @var int
*/
public $hours;
/**
* @var int
*/
public $minutes;
/**
* @var int
*/
public $nanos;
/**
* @var int
*/
public $seconds;
/**
* @param int
*/
public function setHours($hours)
{
$this->hours = $hours;
}
/**
* @return int
*/
public function getHours()
{
return $this->hours;
}
/**
* @param int
*/
public function setMinutes($minutes)
{
$this->minutes = $minutes;
}
/**
* @return int
*/
public function getMinutes()
{
return $this->minutes;
}
/**
* @param int
*/
public function setNanos($nanos)
{
$this->nanos = $nanos;
}
/**
* @return int
*/
public function getNanos()
{
return $this->nanos;
}
/**
* @param int
*/
public function setSeconds($seconds)
{
$this->seconds = $seconds;
}
/**
* @return int
*/
public function getSeconds()
{
return $this->seconds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TimeOfDay::class, 'Google_Service_MyBusinessBusinessInformation_TimeOfDay');

View File

@@ -0,0 +1,94 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class TimePeriod extends \Google\Model
{
/**
* @var string
*/
public $closeDay;
protected $closeTimeType = TimeOfDay::class;
protected $closeTimeDataType = '';
/**
* @var string
*/
public $openDay;
protected $openTimeType = TimeOfDay::class;
protected $openTimeDataType = '';
/**
* @param string
*/
public function setCloseDay($closeDay)
{
$this->closeDay = $closeDay;
}
/**
* @return string
*/
public function getCloseDay()
{
return $this->closeDay;
}
/**
* @param TimeOfDay
*/
public function setCloseTime(TimeOfDay $closeTime)
{
$this->closeTime = $closeTime;
}
/**
* @return TimeOfDay
*/
public function getCloseTime()
{
return $this->closeTime;
}
/**
* @param string
*/
public function setOpenDay($openDay)
{
$this->openDay = $openDay;
}
/**
* @return string
*/
public function getOpenDay()
{
return $this->openDay;
}
/**
* @param TimeOfDay
*/
public function setOpenTime(TimeOfDay $openTime)
{
$this->openTime = $openTime;
}
/**
* @return TimeOfDay
*/
public function getOpenTime()
{
return $this->openTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TimePeriod::class, 'Google_Service_MyBusinessBusinessInformation_TimePeriod');

View File

@@ -0,0 +1,44 @@
<?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.
*/
namespace Google\Service\MyBusinessBusinessInformation;
class UriAttributeValue extends \Google\Model
{
/**
* @var string
*/
public $uri;
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UriAttributeValue::class, 'Google_Service_MyBusinessBusinessInformation_UriAttributeValue');