state property

String? state
getter/setter pair

The state of the object.

This field is used to determine how an object is displayed in the app. For example, an inactive object is moved to the "Expired passes" section.

Required. Possible string values are:

  • "STATE_UNSPECIFIED" : Default value.
  • "ACTIVE" : Object is active and displayed to with other active objects.
  • "active" : Legacy alias for ACTIVE. Deprecated.
  • "COMPLETED" : Object has completed it's lifecycle.
  • "completed" : Legacy alias for COMPLETED. Deprecated.
  • "EXPIRED" : Object is no longer valid (validTimeInterval passed).
  • "expired" : Legacy alias for EXPIRED. Deprecated.
  • "INACTIVE" : Object is no longer valid
  • "inactive" : Legacy alias for INACTIVE. Deprecated.

Implementation

core.String? state;