Google_Service_Partners_Company
extends Google_Collection
in package
Extension to the regular Google_Model that automatically exposes the items array for iteration, so you can just iterate over the object rather than a reference inside.
Table of Contents
- NULL_VALUE = "{}gapi-php-null"
- If you need to specify a NULL JSON value, use Google_Model::NULL_VALUE instead - it will be replaced when converting to JSON with a real null.
- $additionalWebsites : mixed
- $autoApprovalEmailDomains : mixed
- $badgeAuthorityInAwn : mixed
- $badgeTier : mixed
- $companyTypes : mixed
- $id : mixed
- $industries : mixed
- $name : mixed
- $primaryAdwordsManagerAccountId : mixed
- $primaryLanguageCode : mixed
- $profileStatus : mixed
- $services : mixed
- $websiteUrl : mixed
- $certificationStatusesDataType : mixed
- $certificationStatusesType : mixed
- $collection_key : mixed
- $convertedMinMonthlyBudgetDataType : mixed
- $convertedMinMonthlyBudgetType : mixed
- $internal_gapi_mappings : mixed
- $localizedInfosDataType : mixed
- $localizedInfosType : mixed
- $locationsDataType : mixed
- $locationsType : mixed
- $modelData : mixed
- $originalMinMonthlyBudgetDataType : mixed
- $originalMinMonthlyBudgetType : mixed
- $primaryLocationDataType : mixed
- $primaryLocationType : mixed
- $processed : mixed
- $publicProfileDataType : mixed
- $publicProfileType : mixed
- $ranksDataType : mixed
- $ranksType : mixed
- $specializationStatusDataType : mixed
- $specializationStatusType : mixed
- __construct() : mixed
- Polymorphic - accepts a variable number of arguments dependent on the type of the model subclass.
- __get() : mixed
- Getter that handles passthrough access to the data array, and lazy object creation.
- __isset() : mixed
- __unset() : mixed
- assertIsArray() : mixed
- Verify if $obj is an array.
- count() : mixed
- current() : mixed
- getAdditionalWebsites() : mixed
- getAutoApprovalEmailDomains() : mixed
- getBadgeAuthorityInAwn() : mixed
- getBadgeTier() : mixed
- getCertificationStatuses() : Google_Service_Partners_CertificationStatus
- getCompanyTypes() : mixed
- getConvertedMinMonthlyBudget() : Google_Service_Partners_Money
- getId() : mixed
- getIndustries() : mixed
- getLocalizedInfos() : Google_Service_Partners_LocalizedCompanyInfo
- getLocations() : Google_Service_Partners_Location
- getName() : mixed
- getOriginalMinMonthlyBudget() : Google_Service_Partners_Money
- getPrimaryAdwordsManagerAccountId() : mixed
- getPrimaryLanguageCode() : mixed
- getPrimaryLocation() : Google_Service_Partners_Location
- getProfileStatus() : mixed
- getPublicProfile() : Google_Service_Partners_PublicProfile
- getRanks() : Google_Service_Partners_Rank
- getServices() : mixed
- getSpecializationStatus() : Google_Service_Partners_SpecializationStatus
- getWebsiteUrl() : mixed
- key() : mixed
- next() : mixed
- offsetExists() : mixed
- offsetGet() : mixed
- offsetSet() : mixed
- offsetUnset() : mixed
- rewind() : mixed
- setAdditionalWebsites() : mixed
- setAutoApprovalEmailDomains() : mixed
- setBadgeAuthorityInAwn() : mixed
- setBadgeTier() : mixed
- setCertificationStatuses() : mixed
- setCompanyTypes() : mixed
- setConvertedMinMonthlyBudget() : mixed
- setId() : mixed
- setIndustries() : mixed
- setLocalizedInfos() : mixed
- setLocations() : mixed
- setName() : mixed
- setOriginalMinMonthlyBudget() : mixed
- setPrimaryAdwordsManagerAccountId() : mixed
- setPrimaryLanguageCode() : mixed
- setPrimaryLocation() : mixed
- setProfileStatus() : mixed
- setPublicProfile() : mixed
- setRanks() : mixed
- setServices() : mixed
- setSpecializationStatus() : mixed
- setWebsiteUrl() : mixed
- toSimpleObject() : mixed
- Create a simplified object suitable for straightforward conversion to JSON. This is relatively expensive due to the usage of reflection, but shouldn't be called a whole lot, and is the most straightforward way to filter.
- valid() : mixed
- dataType() : mixed
- gapiInit() : mixed
- Blank initialiser to be used in subclasses to do post-construction initialisation - this avoids the need for subclasses to have to implement the variadics handling in their constructors.
- isAssociativeArray() : bool
- Returns true only if the array is associative.
- keyType() : mixed
- mapTypes() : void
- Initialize this object's properties from an array.
- camelCase() : string
- Convert a string to camelCase
- coerceType() : mixed
- getMappedName() : mixed
- If there is an internal name mapping, use that.
- getSimpleValue() : mixed
- Handle different types of values, primarily other objects and map and array data types.
- nullPlaceholderCheck() : mixed
- Check whether the value is the null placeholder and return true null.
Constants
NULL_VALUE
If you need to specify a NULL JSON value, use Google_Model::NULL_VALUE instead - it will be replaced when converting to JSON with a real null.
public
mixed
NULL_VALUE
= "{}gapi-php-null"
Properties
$additionalWebsites
public
mixed
$additionalWebsites
$autoApprovalEmailDomains
public
mixed
$autoApprovalEmailDomains
$badgeAuthorityInAwn
public
mixed
$badgeAuthorityInAwn
$badgeTier
public
mixed
$badgeTier
$companyTypes
public
mixed
$companyTypes
$id
public
mixed
$id
$industries
public
mixed
$industries
$name
public
mixed
$name
$primaryAdwordsManagerAccountId
public
mixed
$primaryAdwordsManagerAccountId
$primaryLanguageCode
public
mixed
$primaryLanguageCode
$profileStatus
public
mixed
$profileStatus
$services
public
mixed
$services
$websiteUrl
public
mixed
$websiteUrl
$certificationStatusesDataType
protected
mixed
$certificationStatusesDataType
= 'array'
$certificationStatusesType
protected
mixed
$certificationStatusesType
= 'Google_Service_Partners_CertificationStatus'
$collection_key
protected
mixed
$collection_key
= 'specializationStatus'
$convertedMinMonthlyBudgetDataType
protected
mixed
$convertedMinMonthlyBudgetDataType
= ''
$convertedMinMonthlyBudgetType
protected
mixed
$convertedMinMonthlyBudgetType
= 'Google_Service_Partners_Money'
$internal_gapi_mappings
protected
mixed
$internal_gapi_mappings
= array()
$localizedInfosDataType
protected
mixed
$localizedInfosDataType
= 'array'
$localizedInfosType
protected
mixed
$localizedInfosType
= 'Google_Service_Partners_LocalizedCompanyInfo'
$locationsDataType
protected
mixed
$locationsDataType
= 'array'
$locationsType
protected
mixed
$locationsType
= 'Google_Service_Partners_Location'
$modelData
protected
mixed
$modelData
= array()
$originalMinMonthlyBudgetDataType
protected
mixed
$originalMinMonthlyBudgetDataType
= ''
$originalMinMonthlyBudgetType
protected
mixed
$originalMinMonthlyBudgetType
= 'Google_Service_Partners_Money'
$primaryLocationDataType
protected
mixed
$primaryLocationDataType
= ''
$primaryLocationType
protected
mixed
$primaryLocationType
= 'Google_Service_Partners_Location'
$processed
protected
mixed
$processed
= array()
$publicProfileDataType
protected
mixed
$publicProfileDataType
= ''
$publicProfileType
protected
mixed
$publicProfileType
= 'Google_Service_Partners_PublicProfile'
$ranksDataType
protected
mixed
$ranksDataType
= 'array'
$ranksType
protected
mixed
$ranksType
= 'Google_Service_Partners_Rank'
$specializationStatusDataType
protected
mixed
$specializationStatusDataType
= 'array'
$specializationStatusType
protected
mixed
$specializationStatusType
= 'Google_Service_Partners_SpecializationStatus'
Methods
__construct()
Polymorphic - accepts a variable number of arguments dependent on the type of the model subclass.
public
final __construct() : mixed
Return values
mixed —__get()
Getter that handles passthrough access to the data array, and lazy object creation.
public
__get(string $key) : mixed
Parameters
- $key : string
-
Property name.
Return values
mixed —The value if any, or null.
__isset()
public
__isset(mixed $key) : mixed
Parameters
- $key : mixed
Return values
mixed —__unset()
public
__unset(mixed $key) : mixed
Parameters
- $key : mixed
Return values
mixed —assertIsArray()
Verify if $obj is an array.
public
assertIsArray(array<string|int, mixed> $obj, string $method) : mixed
Parameters
- $obj : array<string|int, mixed>
-
Items that should be validated.
- $method : string
-
Method expecting an array as an argument.
Tags
Return values
mixed —count()
public
count() : mixed
Return values
mixed —current()
public
current() : mixed
Return values
mixed —getAdditionalWebsites()
public
getAdditionalWebsites() : mixed
Return values
mixed —getAutoApprovalEmailDomains()
public
getAutoApprovalEmailDomains() : mixed
Return values
mixed —getBadgeAuthorityInAwn()
public
getBadgeAuthorityInAwn() : mixed
Return values
mixed —getBadgeTier()
public
getBadgeTier() : mixed
Return values
mixed —getCertificationStatuses()
public
getCertificationStatuses() : Google_Service_Partners_CertificationStatus
Return values
Google_Service_Partners_CertificationStatus —getCompanyTypes()
public
getCompanyTypes() : mixed
Return values
mixed —getConvertedMinMonthlyBudget()
public
getConvertedMinMonthlyBudget() : Google_Service_Partners_Money
Return values
Google_Service_Partners_Money —getId()
public
getId() : mixed
Return values
mixed —getIndustries()
public
getIndustries() : mixed
Return values
mixed —getLocalizedInfos()
public
getLocalizedInfos() : Google_Service_Partners_LocalizedCompanyInfo
Return values
Google_Service_Partners_LocalizedCompanyInfo —getLocations()
public
getLocations() : Google_Service_Partners_Location
Return values
Google_Service_Partners_Location —getName()
public
getName() : mixed
Return values
mixed —getOriginalMinMonthlyBudget()
public
getOriginalMinMonthlyBudget() : Google_Service_Partners_Money
Return values
Google_Service_Partners_Money —getPrimaryAdwordsManagerAccountId()
public
getPrimaryAdwordsManagerAccountId() : mixed
Return values
mixed —getPrimaryLanguageCode()
public
getPrimaryLanguageCode() : mixed
Return values
mixed —getPrimaryLocation()
public
getPrimaryLocation() : Google_Service_Partners_Location
Return values
Google_Service_Partners_Location —getProfileStatus()
public
getProfileStatus() : mixed
Return values
mixed —getPublicProfile()
public
getPublicProfile() : Google_Service_Partners_PublicProfile
Return values
Google_Service_Partners_PublicProfile —getRanks()
public
getRanks() : Google_Service_Partners_Rank
Return values
Google_Service_Partners_Rank —getServices()
public
getServices() : mixed
Return values
mixed —getSpecializationStatus()
public
getSpecializationStatus() : Google_Service_Partners_SpecializationStatus
Return values
Google_Service_Partners_SpecializationStatus —getWebsiteUrl()
public
getWebsiteUrl() : mixed
Return values
mixed —key()
public
key() : mixed
Return values
mixed —next()
public
next() : mixed
Return values
mixed —offsetExists()
public
offsetExists(mixed $offset) : mixed
Parameters
- $offset : mixed
Return values
mixed —offsetGet()
public
offsetGet(mixed $offset) : mixed
Parameters
- $offset : mixed
Return values
mixed —offsetSet()
public
offsetSet(mixed $offset, mixed $value) : mixed
Parameters
- $offset : mixed
- $value : mixed
Return values
mixed —offsetUnset()
public
offsetUnset(mixed $offset) : mixed
Parameters
- $offset : mixed
Return values
mixed —rewind()
public
rewind() : mixed
Return values
mixed —setAdditionalWebsites()
public
setAdditionalWebsites(mixed $additionalWebsites) : mixed
Parameters
- $additionalWebsites : mixed
Return values
mixed —setAutoApprovalEmailDomains()
public
setAutoApprovalEmailDomains(mixed $autoApprovalEmailDomains) : mixed
Parameters
- $autoApprovalEmailDomains : mixed
Return values
mixed —setBadgeAuthorityInAwn()
public
setBadgeAuthorityInAwn(mixed $badgeAuthorityInAwn) : mixed
Parameters
- $badgeAuthorityInAwn : mixed
Return values
mixed —setBadgeTier()
public
setBadgeTier(mixed $badgeTier) : mixed
Parameters
- $badgeTier : mixed
Return values
mixed —setCertificationStatuses()
public
setCertificationStatuses(mixed $certificationStatuses) : mixed
Parameters
- $certificationStatuses : mixed
Return values
mixed —setCompanyTypes()
public
setCompanyTypes(mixed $companyTypes) : mixed
Parameters
- $companyTypes : mixed
Return values
mixed —setConvertedMinMonthlyBudget()
public
setConvertedMinMonthlyBudget(Google_Service_Partners_Money $convertedMinMonthlyBudget) : mixed
Parameters
- $convertedMinMonthlyBudget : Google_Service_Partners_Money
Return values
mixed —setId()
public
setId(mixed $id) : mixed
Parameters
- $id : mixed
Return values
mixed —setIndustries()
public
setIndustries(mixed $industries) : mixed
Parameters
- $industries : mixed
Return values
mixed —setLocalizedInfos()
public
setLocalizedInfos(mixed $localizedInfos) : mixed
Parameters
- $localizedInfos : mixed
Return values
mixed —setLocations()
public
setLocations(mixed $locations) : mixed
Parameters
- $locations : mixed
Return values
mixed —setName()
public
setName(mixed $name) : mixed
Parameters
- $name : mixed
Return values
mixed —setOriginalMinMonthlyBudget()
public
setOriginalMinMonthlyBudget(Google_Service_Partners_Money $originalMinMonthlyBudget) : mixed
Parameters
- $originalMinMonthlyBudget : Google_Service_Partners_Money
Return values
mixed —setPrimaryAdwordsManagerAccountId()
public
setPrimaryAdwordsManagerAccountId(mixed $primaryAdwordsManagerAccountId) : mixed
Parameters
- $primaryAdwordsManagerAccountId : mixed
Return values
mixed —setPrimaryLanguageCode()
public
setPrimaryLanguageCode(mixed $primaryLanguageCode) : mixed
Parameters
- $primaryLanguageCode : mixed
Return values
mixed —setPrimaryLocation()
public
setPrimaryLocation(Google_Service_Partners_Location $primaryLocation) : mixed
Parameters
- $primaryLocation : Google_Service_Partners_Location
Return values
mixed —setProfileStatus()
public
setProfileStatus(mixed $profileStatus) : mixed
Parameters
- $profileStatus : mixed
Return values
mixed —setPublicProfile()
public
setPublicProfile(Google_Service_Partners_PublicProfile $publicProfile) : mixed
Parameters
- $publicProfile : Google_Service_Partners_PublicProfile
Return values
mixed —setRanks()
public
setRanks(mixed $ranks) : mixed
Parameters
- $ranks : mixed
Return values
mixed —setServices()
public
setServices(mixed $services) : mixed
Parameters
- $services : mixed
Return values
mixed —setSpecializationStatus()
public
setSpecializationStatus(mixed $specializationStatus) : mixed
Parameters
- $specializationStatus : mixed
Return values
mixed —setWebsiteUrl()
public
setWebsiteUrl(mixed $websiteUrl) : mixed
Parameters
- $websiteUrl : mixed
Return values
mixed —toSimpleObject()
Create a simplified object suitable for straightforward conversion to JSON. This is relatively expensive due to the usage of reflection, but shouldn't be called a whole lot, and is the most straightforward way to filter.
public
toSimpleObject() : mixed
Return values
mixed —valid()
public
valid() : mixed
Return values
mixed —dataType()
protected
dataType(mixed $key) : mixed
Parameters
- $key : mixed
Return values
mixed —gapiInit()
Blank initialiser to be used in subclasses to do post-construction initialisation - this avoids the need for subclasses to have to implement the variadics handling in their constructors.
protected
gapiInit() : mixed
Return values
mixed —isAssociativeArray()
Returns true only if the array is associative.
protected
isAssociativeArray(array<string|int, mixed> $array) : bool
Parameters
- $array : array<string|int, mixed>
Return values
bool —True if the array is associative.
keyType()
protected
keyType(mixed $key) : mixed
Parameters
- $key : mixed
Return values
mixed —mapTypes()
Initialize this object's properties from an array.
protected
mapTypes(array<string|int, mixed> $array) : void
Parameters
- $array : array<string|int, mixed>
-
Used to seed this object's properties.
Return values
void —camelCase()
Convert a string to camelCase
private
camelCase(string $value) : string
Parameters
- $value : string
Return values
string —coerceType()
private
coerceType(mixed $offset) : mixed
Parameters
- $offset : mixed
Return values
mixed —getMappedName()
If there is an internal name mapping, use that.
private
getMappedName(mixed $key) : mixed
Parameters
- $key : mixed
Return values
mixed —getSimpleValue()
Handle different types of values, primarily other objects and map and array data types.
private
getSimpleValue(mixed $value) : mixed
Parameters
- $value : mixed
Return values
mixed —nullPlaceholderCheck()
Check whether the value is the null placeholder and return true null.
private
nullPlaceholderCheck(mixed $value) : mixed
Parameters
- $value : mixed