Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
Google_Service_Calendar_CalendarListEntry Class Reference
Inheritance diagram for Google_Service_Calendar_CalendarListEntry:
Google_Collection 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.
 
 count ()
 
 current ()
 
 getAccessRole ()
 
 getBackgroundColor ()
 
 getColorId ()
 
 getDefaultReminders ()
 
 getDeleted ()
 
 getDescription ()
 
 getEtag ()
 
 getForegroundColor ()
 
 getHidden ()
 
 getId ()
 
 getKind ()
 
 getLocation ()
 
 getNotificationSettings ()
 
 getPrimary ()
 
 getSelected ()
 
 getSummary ()
 
 getSummaryOverride ()
 
 getTimeZone ()
 
 key ()
 
 next ()
 
 offsetExists ($offset)
 
 offsetGet ($offset)
 
 offsetSet ($offset, $value)
 
 offsetUnset ($offset)
 
 rewind ()
 
 setAccessRole ($accessRole)
 
 setBackgroundColor ($backgroundColor)
 
 setColorId ($colorId)
 
 setDefaultReminders ($defaultReminders)
 
 setDeleted ($deleted)
 
 setDescription ($description)
 
 setEtag ($etag)
 
 setForegroundColor ($foregroundColor)
 
 setHidden ($hidden)
 
 setId ($id)
 
 setKind ($kind)
 
 setLocation ($location)
 
 setNotificationSettings (Google_Service_Calendar_CalendarListEntryNotificationSettings $notificationSettings)
 
 setPrimary ($primary)
 
 setSelected ($selected)
 
 setSummary ($summary)
 
 setSummaryOverride ($summaryOverride)
 
 setTimeZone ($timeZone)
 
 toSimpleObject ()
 Create a simplified object suitable for straightforward conversion to JSON.
 
 valid ()
 

Public Attributes

 $accessRole
 
 $backgroundColor
 
 $colorId
 
 $deleted
 
 $description
 
 $etag
 
 $foregroundColor
 
 $hidden
 
 $id
 
 $kind
 
 $location
 
 $primary
 
 $selected
 
 $summary
 
 $summaryOverride
 
 $timeZone
 
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

 $collection_key = 'defaultReminders'
 
 $defaultRemindersDataType = 'array'
 
 $defaultRemindersType = 'Google_Service_Calendar_EventReminder'
 
 $internal_gapi_mappings
 
 $modelData = array()
 
 $notificationSettingsDataType = ''
 
 $notificationSettingsType = 'Google_Service_Calendar_CalendarListEntryNotificationSettings'
 
 $processed = array()
 

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

◆ offsetExists()

Google_Collection::offsetExists ( $offset)
inherited

Reimplemented from Google_Model.

◆ offsetGet()

Google_Collection::offsetGet ( $offset)
inherited

Reimplemented from Google_Model.

◆ offsetSet()

Google_Collection::offsetSet ( $offset,
$value )
inherited

Reimplemented from Google_Model.

◆ offsetUnset()

Google_Collection::offsetUnset ( $offset)
inherited

Reimplemented from Google_Model.

◆ 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_Calendar_CalendarListEntry::$internal_gapi_mappings
protected
Initial value:
= array(
)

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