Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
Google_Service_YouTube_ActivityContentDetails Class Reference
Inheritance diagram for Google_Service_YouTube_ActivityContentDetails:
Google_Model

Public Member Functions

 __get ($key)
 Getter that handles passthrough access to the data array, and lazy object creation.
 
 __isset ($key)
 
 __unset ($key)
 
 assertIsArray ($obj, $method)
 Verify if $obj is an array.
 
 getBulletin ()
 
 getChannelItem ()
 
 getComment ()
 
 getFavorite ()
 
 getLike ()
 
 getPlaylistItem ()
 
 getPromotedItem ()
 
 getRecommendation ()
 
 getSocial ()
 
 getSubscription ()
 
 getUpload ()
 
 offsetExists ($offset)
 
 offsetGet ($offset)
 
 offsetSet ($offset, $value)
 
 offsetUnset ($offset)
 
 setBulletin (Google_Service_YouTube_ActivityContentDetailsBulletin $bulletin)
 
 setChannelItem (Google_Service_YouTube_ActivityContentDetailsChannelItem $channelItem)
 
 setComment (Google_Service_YouTube_ActivityContentDetailsComment $comment)
 
 setFavorite (Google_Service_YouTube_ActivityContentDetailsFavorite $favorite)
 
 setLike (Google_Service_YouTube_ActivityContentDetailsLike $like)
 
 setPlaylistItem (Google_Service_YouTube_ActivityContentDetailsPlaylistItem $playlistItem)
 
 setPromotedItem (Google_Service_YouTube_ActivityContentDetailsPromotedItem $promotedItem)
 
 setRecommendation (Google_Service_YouTube_ActivityContentDetailsRecommendation $recommendation)
 
 setSocial (Google_Service_YouTube_ActivityContentDetailsSocial $social)
 
 setSubscription (Google_Service_YouTube_ActivityContentDetailsSubscription $subscription)
 
 setUpload (Google_Service_YouTube_ActivityContentDetailsUpload $upload)
 
 toSimpleObject ()
 Create a simplified object suitable for straightforward conversion to JSON.
 

Public Attributes

const 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.
 

Protected Member Functions

 dataType ($key)
 
 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.
 
 isAssociativeArray ($array)
 Returns true only if the array is associative.
 
 keyType ($key)
 
 mapTypes ($array)
 Initialize this object's properties from an array.
 

Protected Attributes

 $bulletinDataType = ''
 
 $bulletinType = 'Google_Service_YouTube_ActivityContentDetailsBulletin'
 
 $channelItemDataType = ''
 
 $channelItemType = 'Google_Service_YouTube_ActivityContentDetailsChannelItem'
 
 $commentDataType = ''
 
 $commentType = 'Google_Service_YouTube_ActivityContentDetailsComment'
 
 $favoriteDataType = ''
 
 $favoriteType = 'Google_Service_YouTube_ActivityContentDetailsFavorite'
 
 $internal_gapi_mappings
 
 $likeDataType = ''
 
 $likeType = 'Google_Service_YouTube_ActivityContentDetailsLike'
 
 $modelData = array()
 
 $playlistItemDataType = ''
 
 $playlistItemType = 'Google_Service_YouTube_ActivityContentDetailsPlaylistItem'
 
 $processed = array()
 
 $promotedItemDataType = ''
 
 $promotedItemType = 'Google_Service_YouTube_ActivityContentDetailsPromotedItem'
 
 $recommendationDataType = ''
 
 $recommendationType = 'Google_Service_YouTube_ActivityContentDetailsRecommendation'
 
 $socialDataType = ''
 
 $socialType = 'Google_Service_YouTube_ActivityContentDetailsSocial'
 
 $subscriptionDataType = ''
 
 $subscriptionType = 'Google_Service_YouTube_ActivityContentDetailsSubscription'
 
 $uploadDataType = ''
 
 $uploadType = 'Google_Service_YouTube_ActivityContentDetailsUpload'
 

Member Function Documentation

◆ __get()

Google_Model::__get ( $key)
inherited

Getter that handles passthrough access to the data array, and lazy object creation.

Parameters
string$keyProperty name.
Return values
mixedThe value if any, or null.

◆ assertIsArray()

Google_Model::assertIsArray ( $obj,
$method )
inherited

Verify if $obj is an array.

Exceptions
Google_ExceptionThrown if $obj isn't an array.
Parameters
array$objItems that should be validated.
string$methodMethod expecting an array as an argument.

◆ gapiInit()

◆ isAssociativeArray()

Google_Model::isAssociativeArray ( $array)
protectedinherited

Returns true only if the array is associative.

Parameters
array$array
Return values
boolTrue if the array is associative.

◆ mapTypes()

Google_Model::mapTypes ( $array)
protectedinherited

Initialize this object's properties from an array.

Parameters
array$arrayUsed to seed this object's properties.
Return values
void

◆ toSimpleObject()

Google_Model::toSimpleObject ( )
inherited

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.

Member Data Documentation

◆ $internal_gapi_mappings

Google_Service_YouTube_ActivityContentDetails::$internal_gapi_mappings
protected
Initial value:
= array(
)

The documentation for this class was generated from the following file: