Class: QgsArcGisRestContext

class qgis.core.QgsArcGisRestContext

Bases: sip.wrapper

Contains the context of a ArcGIS REST service operation.

New in version 3.28:

Methods

objectIdFieldName

Returns the name of the objectId field.

setObjectIdFieldName

Sets the name of the objectId field.

setTimeZone

Sets the time zone for datetime values.

timeZone

Returns the time zone for datetime values.

objectIdFieldName(self) str

Returns the name of the objectId field.

Return type:

str

setObjectIdFieldName(self, name: str)

Sets the name of the objectId field.

Parameters:

name (str) –

setTimeZone(self, zone: QTimeZone)

Sets the time zone for datetime values.

See also

timeZone()

Parameters:

zone (QTimeZone) –

timeZone(self) QTimeZone

Returns the time zone for datetime values.

See also

setTimeZone()

Return type:

QTimeZone