Google_Service_AndroidEnterprise_Product
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.
- $authorName : mixed
- $availableCountries : mixed
- $availableTracks : mixed
- $category : mixed
- $contentRating : mixed
- $description : mixed
- $detailsUrl : mixed
- $distributionChannel : mixed
- $features : mixed
- $iconUrl : mixed
- $lastUpdatedTimestampMillis : mixed
- $minAndroidSdkVersion : mixed
- $productId : mixed
- $productPricing : mixed
- $recentChanges : mixed
- $requiresContainerApp : mixed
- $screenshotUrls : mixed
- $smallIconUrl : mixed
- $title : mixed
- $workDetailsUrl : mixed
- $appTracksDataType : mixed
- $appTracksType : mixed
- $appVersionDataType : mixed
- $appVersionType : mixed
- $collection_key : mixed
- $internal_gapi_mappings : mixed
- $modelData : mixed
- $permissionsDataType : mixed
- $permissionsType : mixed
- $processed : mixed
- $signingCertificateDataType : mixed
- $signingCertificateType : 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
- getAppTracks() : Google_Service_AndroidEnterprise_TrackInfo
- getAppVersion() : Google_Service_AndroidEnterprise_AppVersion
- getAuthorName() : mixed
- getAvailableCountries() : mixed
- getAvailableTracks() : mixed
- getCategory() : mixed
- getContentRating() : mixed
- getDescription() : mixed
- getDetailsUrl() : mixed
- getDistributionChannel() : mixed
- getFeatures() : mixed
- getIconUrl() : mixed
- getLastUpdatedTimestampMillis() : mixed
- getMinAndroidSdkVersion() : mixed
- getPermissions() : Google_Service_AndroidEnterprise_ProductPermission
- getProductId() : mixed
- getProductPricing() : mixed
- getRecentChanges() : mixed
- getRequiresContainerApp() : mixed
- getScreenshotUrls() : mixed
- getSigningCertificate() : Google_Service_AndroidEnterprise_ProductSigningCertificate
- getSmallIconUrl() : mixed
- getTitle() : mixed
- getWorkDetailsUrl() : mixed
- key() : mixed
- next() : mixed
- offsetExists() : mixed
- offsetGet() : mixed
- offsetSet() : mixed
- offsetUnset() : mixed
- rewind() : mixed
- setAppTracks() : mixed
- setAppVersion() : mixed
- setAuthorName() : mixed
- setAvailableCountries() : mixed
- setAvailableTracks() : mixed
- setCategory() : mixed
- setContentRating() : mixed
- setDescription() : mixed
- setDetailsUrl() : mixed
- setDistributionChannel() : mixed
- setFeatures() : mixed
- setIconUrl() : mixed
- setLastUpdatedTimestampMillis() : mixed
- setMinAndroidSdkVersion() : mixed
- setPermissions() : mixed
- setProductId() : mixed
- setProductPricing() : mixed
- setRecentChanges() : mixed
- setRequiresContainerApp() : mixed
- setScreenshotUrls() : mixed
- setSigningCertificate() : mixed
- setSmallIconUrl() : mixed
- setTitle() : mixed
- setWorkDetailsUrl() : 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
$authorName
public
mixed
$authorName
$availableCountries
public
mixed
$availableCountries
$availableTracks
public
mixed
$availableTracks
$category
public
mixed
$category
$contentRating
public
mixed
$contentRating
$description
public
mixed
$description
$detailsUrl
public
mixed
$detailsUrl
$distributionChannel
public
mixed
$distributionChannel
$features
public
mixed
$features
$iconUrl
public
mixed
$iconUrl
$lastUpdatedTimestampMillis
public
mixed
$lastUpdatedTimestampMillis
$minAndroidSdkVersion
public
mixed
$minAndroidSdkVersion
$productId
public
mixed
$productId
$productPricing
public
mixed
$productPricing
$recentChanges
public
mixed
$recentChanges
$requiresContainerApp
public
mixed
$requiresContainerApp
$screenshotUrls
public
mixed
$screenshotUrls
$smallIconUrl
public
mixed
$smallIconUrl
$title
public
mixed
$title
$workDetailsUrl
public
mixed
$workDetailsUrl
$appTracksDataType
protected
mixed
$appTracksDataType
= 'array'
$appTracksType
protected
mixed
$appTracksType
= 'Google_Service_AndroidEnterprise_TrackInfo'
$appVersionDataType
protected
mixed
$appVersionDataType
= 'array'
$appVersionType
protected
mixed
$appVersionType
= 'Google_Service_AndroidEnterprise_AppVersion'
$collection_key
protected
mixed
$collection_key
= 'screenshotUrls'
$internal_gapi_mappings
protected
mixed
$internal_gapi_mappings
= array()
$modelData
protected
mixed
$modelData
= array()
$permissionsDataType
protected
mixed
$permissionsDataType
= 'array'
$permissionsType
protected
mixed
$permissionsType
= 'Google_Service_AndroidEnterprise_ProductPermission'
$processed
protected
mixed
$processed
= array()
$signingCertificateDataType
protected
mixed
$signingCertificateDataType
= ''
$signingCertificateType
protected
mixed
$signingCertificateType
= 'Google_Service_AndroidEnterprise_ProductSigningCertificate'
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 —getAppTracks()
public
getAppTracks() : Google_Service_AndroidEnterprise_TrackInfo
Return values
Google_Service_AndroidEnterprise_TrackInfo —getAppVersion()
public
getAppVersion() : Google_Service_AndroidEnterprise_AppVersion
Return values
Google_Service_AndroidEnterprise_AppVersion —getAuthorName()
public
getAuthorName() : mixed
Return values
mixed —getAvailableCountries()
public
getAvailableCountries() : mixed
Return values
mixed —getAvailableTracks()
public
getAvailableTracks() : mixed
Return values
mixed —getCategory()
public
getCategory() : mixed
Return values
mixed —getContentRating()
public
getContentRating() : mixed
Return values
mixed —getDescription()
public
getDescription() : mixed
Return values
mixed —getDetailsUrl()
public
getDetailsUrl() : mixed
Return values
mixed —getDistributionChannel()
public
getDistributionChannel() : mixed
Return values
mixed —getFeatures()
public
getFeatures() : mixed
Return values
mixed —getIconUrl()
public
getIconUrl() : mixed
Return values
mixed —getLastUpdatedTimestampMillis()
public
getLastUpdatedTimestampMillis() : mixed
Return values
mixed —getMinAndroidSdkVersion()
public
getMinAndroidSdkVersion() : mixed
Return values
mixed —getPermissions()
public
getPermissions() : Google_Service_AndroidEnterprise_ProductPermission
Return values
Google_Service_AndroidEnterprise_ProductPermission —getProductId()
public
getProductId() : mixed
Return values
mixed —getProductPricing()
public
getProductPricing() : mixed
Return values
mixed —getRecentChanges()
public
getRecentChanges() : mixed
Return values
mixed —getRequiresContainerApp()
public
getRequiresContainerApp() : mixed
Return values
mixed —getScreenshotUrls()
public
getScreenshotUrls() : mixed
Return values
mixed —getSigningCertificate()
public
getSigningCertificate() : Google_Service_AndroidEnterprise_ProductSigningCertificate
Return values
Google_Service_AndroidEnterprise_ProductSigningCertificate —getSmallIconUrl()
public
getSmallIconUrl() : mixed
Return values
mixed —getTitle()
public
getTitle() : mixed
Return values
mixed —getWorkDetailsUrl()
public
getWorkDetailsUrl() : 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 —setAppTracks()
public
setAppTracks(mixed $appTracks) : mixed
Parameters
- $appTracks : mixed
Return values
mixed —setAppVersion()
public
setAppVersion(mixed $appVersion) : mixed
Parameters
- $appVersion : mixed
Return values
mixed —setAuthorName()
public
setAuthorName(mixed $authorName) : mixed
Parameters
- $authorName : mixed
Return values
mixed —setAvailableCountries()
public
setAvailableCountries(mixed $availableCountries) : mixed
Parameters
- $availableCountries : mixed
Return values
mixed —setAvailableTracks()
public
setAvailableTracks(mixed $availableTracks) : mixed
Parameters
- $availableTracks : mixed
Return values
mixed —setCategory()
public
setCategory(mixed $category) : mixed
Parameters
- $category : mixed
Return values
mixed —setContentRating()
public
setContentRating(mixed $contentRating) : mixed
Parameters
- $contentRating : mixed
Return values
mixed —setDescription()
public
setDescription(mixed $description) : mixed
Parameters
- $description : mixed
Return values
mixed —setDetailsUrl()
public
setDetailsUrl(mixed $detailsUrl) : mixed
Parameters
- $detailsUrl : mixed
Return values
mixed —setDistributionChannel()
public
setDistributionChannel(mixed $distributionChannel) : mixed
Parameters
- $distributionChannel : mixed
Return values
mixed —setFeatures()
public
setFeatures(mixed $features) : mixed
Parameters
- $features : mixed
Return values
mixed —setIconUrl()
public
setIconUrl(mixed $iconUrl) : mixed
Parameters
- $iconUrl : mixed
Return values
mixed —setLastUpdatedTimestampMillis()
public
setLastUpdatedTimestampMillis(mixed $lastUpdatedTimestampMillis) : mixed
Parameters
- $lastUpdatedTimestampMillis : mixed
Return values
mixed —setMinAndroidSdkVersion()
public
setMinAndroidSdkVersion(mixed $minAndroidSdkVersion) : mixed
Parameters
- $minAndroidSdkVersion : mixed
Return values
mixed —setPermissions()
public
setPermissions(mixed $permissions) : mixed
Parameters
- $permissions : mixed
Return values
mixed —setProductId()
public
setProductId(mixed $productId) : mixed
Parameters
- $productId : mixed
Return values
mixed —setProductPricing()
public
setProductPricing(mixed $productPricing) : mixed
Parameters
- $productPricing : mixed
Return values
mixed —setRecentChanges()
public
setRecentChanges(mixed $recentChanges) : mixed
Parameters
- $recentChanges : mixed
Return values
mixed —setRequiresContainerApp()
public
setRequiresContainerApp(mixed $requiresContainerApp) : mixed
Parameters
- $requiresContainerApp : mixed
Return values
mixed —setScreenshotUrls()
public
setScreenshotUrls(mixed $screenshotUrls) : mixed
Parameters
- $screenshotUrls : mixed
Return values
mixed —setSigningCertificate()
public
setSigningCertificate(Google_Service_AndroidEnterprise_ProductSigningCertificate $signingCertificate) : mixed
Parameters
- $signingCertificate : Google_Service_AndroidEnterprise_ProductSigningCertificate
Return values
mixed —setSmallIconUrl()
public
setSmallIconUrl(mixed $smallIconUrl) : mixed
Parameters
- $smallIconUrl : mixed
Return values
mixed —setTitle()
public
setTitle(mixed $title) : mixed
Parameters
- $title : mixed
Return values
mixed —setWorkDetailsUrl()
public
setWorkDetailsUrl(mixed $workDetailsUrl) : mixed
Parameters
- $workDetailsUrl : 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