public final class FlightClass
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Wallet API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
FlightClass() |
Modifier and Type | Method and Description |
---|---|
FlightClass |
clone() |
Boolean |
getAllowMultipleUsersPerObject()
Deprecated.
|
BoardingAndSeatingPolicy |
getBoardingAndSeatingPolicy()
Policies for boarding and seating.
|
CallbackOptions |
getCallbackOptions()
Callback options to be used to call the issuer back for every save/delete of an object for this
class by the end-user.
|
ClassTemplateInfo |
getClassTemplateInfo()
Template information about how the class should be displayed.
|
String |
getCountryCode()
Country code used to display the card's country (when the user is not in that country), as well
as to display localized content when content is not available in the user's locale.
|
AirportInfo |
getDestination()
Required.
|
Boolean |
getEnableSmartTap()
Identifies whether this class supports Smart Tap.
|
FlightHeader |
getFlightHeader()
Required.
|
String |
getFlightStatus()
Status of this flight.
|
Image |
getHeroImage()
Optional banner image displayed on the front of the card.
|
String |
getHexBackgroundColor()
The background color for the card.
|
Uri |
getHomepageUri()
The URI of your application's home page.
|
String |
getId()
Required.
|
List<ImageModuleData> |
getImageModulesData()
Image module data.
|
InfoModuleData |
getInfoModuleData()
Deprecated.
|
String |
getIssuerName()
Required.
|
String |
getKind()
Identifies what kind of resource this is.
|
String |
getLanguageOverride()
If this field is present, boarding passes served to a user's device will always be in this
language.
|
LinksModuleData |
getLinksModuleData()
Links module data.
|
String |
getLocalBoardingDateTime()
The boarding time as it would be printed on the boarding pass.
|
String |
getLocalEstimatedOrActualArrivalDateTime()
The estimated time the aircraft plans to reach the destination gate (not the runway) or the
actual time it reached the gate.
|
String |
getLocalEstimatedOrActualDepartureDateTime()
The estimated time the aircraft plans to pull from the gate or the actual time the aircraft
already pulled from the gate.
|
String |
getLocalGateClosingDateTime()
The gate closing time as it would be printed on the boarding pass.
|
LocalizedString |
getLocalizedIssuerName()
Translated strings for the issuer_name.
|
String |
getLocalScheduledArrivalDateTime()
The scheduled time the aircraft plans to reach the destination gate (not the runway).
|
String |
getLocalScheduledDepartureDateTime()
Required.
|
List<LatLongPoint> |
getLocations()
Note: This field is currently not supported to trigger geo notifications.
|
List<Message> |
getMessages()
An array of messages displayed in the app.
|
String |
getMultipleDevicesAndHoldersAllowedStatus()
Identifies whether multiple users and devices will save the same object referencing this class.
|
AirportInfo |
getOrigin()
Required.
|
List<Long> |
getRedemptionIssuers()
Identifies which redemption issuers can redeem the pass over Smart Tap.
|
Review |
getReview()
The review comments set by the platform when a class is marked `approved` or `rejected`.
|
String |
getReviewStatus()
Required.
|
SecurityAnimation |
getSecurityAnimation()
Optional information about the security animation.
|
List<TextModuleData> |
getTextModulesData()
Text module data.
|
Long |
getVersion()
Deprecated
|
String |
getViewUnlockRequirement()
View Unlock Requirement options for the boarding pass.
|
Image |
getWordMark()
Deprecated.
|
FlightClass |
set(String fieldName,
Object value) |
FlightClass |
setAllowMultipleUsersPerObject(Boolean allowMultipleUsersPerObject)
Deprecated.
|
FlightClass |
setBoardingAndSeatingPolicy(BoardingAndSeatingPolicy boardingAndSeatingPolicy)
Policies for boarding and seating.
|
FlightClass |
setCallbackOptions(CallbackOptions callbackOptions)
Callback options to be used to call the issuer back for every save/delete of an object for this
class by the end-user.
|
FlightClass |
setClassTemplateInfo(ClassTemplateInfo classTemplateInfo)
Template information about how the class should be displayed.
|
FlightClass |
setCountryCode(String countryCode)
Country code used to display the card's country (when the user is not in that country), as well
as to display localized content when content is not available in the user's locale.
|
FlightClass |
setDestination(AirportInfo destination)
Required.
|
FlightClass |
setEnableSmartTap(Boolean enableSmartTap)
Identifies whether this class supports Smart Tap.
|
FlightClass |
setFlightHeader(FlightHeader flightHeader)
Required.
|
FlightClass |
setFlightStatus(String flightStatus)
Status of this flight.
|
FlightClass |
setHeroImage(Image heroImage)
Optional banner image displayed on the front of the card.
|
FlightClass |
setHexBackgroundColor(String hexBackgroundColor)
The background color for the card.
|
FlightClass |
setHomepageUri(Uri homepageUri)
The URI of your application's home page.
|
FlightClass |
setId(String id)
Required.
|
FlightClass |
setImageModulesData(List<ImageModuleData> imageModulesData)
Image module data.
|
FlightClass |
setInfoModuleData(InfoModuleData infoModuleData)
Deprecated.
|
FlightClass |
setIssuerName(String issuerName)
Required.
|
FlightClass |
setKind(String kind)
Identifies what kind of resource this is.
|
FlightClass |
setLanguageOverride(String languageOverride)
If this field is present, boarding passes served to a user's device will always be in this
language.
|
FlightClass |
setLinksModuleData(LinksModuleData linksModuleData)
Links module data.
|
FlightClass |
setLocalBoardingDateTime(String localBoardingDateTime)
The boarding time as it would be printed on the boarding pass.
|
FlightClass |
setLocalEstimatedOrActualArrivalDateTime(String localEstimatedOrActualArrivalDateTime)
The estimated time the aircraft plans to reach the destination gate (not the runway) or the
actual time it reached the gate.
|
FlightClass |
setLocalEstimatedOrActualDepartureDateTime(String localEstimatedOrActualDepartureDateTime)
The estimated time the aircraft plans to pull from the gate or the actual time the aircraft
already pulled from the gate.
|
FlightClass |
setLocalGateClosingDateTime(String localGateClosingDateTime)
The gate closing time as it would be printed on the boarding pass.
|
FlightClass |
setLocalizedIssuerName(LocalizedString localizedIssuerName)
Translated strings for the issuer_name.
|
FlightClass |
setLocalScheduledArrivalDateTime(String localScheduledArrivalDateTime)
The scheduled time the aircraft plans to reach the destination gate (not the runway).
|
FlightClass |
setLocalScheduledDepartureDateTime(String localScheduledDepartureDateTime)
Required.
|
FlightClass |
setLocations(List<LatLongPoint> locations)
Note: This field is currently not supported to trigger geo notifications.
|
FlightClass |
setMessages(List<Message> messages)
An array of messages displayed in the app.
|
FlightClass |
setMultipleDevicesAndHoldersAllowedStatus(String multipleDevicesAndHoldersAllowedStatus)
Identifies whether multiple users and devices will save the same object referencing this class.
|
FlightClass |
setOrigin(AirportInfo origin)
Required.
|
FlightClass |
setRedemptionIssuers(List<Long> redemptionIssuers)
Identifies which redemption issuers can redeem the pass over Smart Tap.
|
FlightClass |
setReview(Review review)
The review comments set by the platform when a class is marked `approved` or `rejected`.
|
FlightClass |
setReviewStatus(String reviewStatus)
Required.
|
FlightClass |
setSecurityAnimation(SecurityAnimation securityAnimation)
Optional information about the security animation.
|
FlightClass |
setTextModulesData(List<TextModuleData> textModulesData)
Text module data.
|
FlightClass |
setVersion(Long version)
Deprecated
|
FlightClass |
setViewUnlockRequirement(String viewUnlockRequirement)
View Unlock Requirement options for the boarding pass.
|
FlightClass |
setWordMark(Image wordMark)
Deprecated.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Boolean getAllowMultipleUsersPerObject()
null
for nonepublic FlightClass setAllowMultipleUsersPerObject(Boolean allowMultipleUsersPerObject)
allowMultipleUsersPerObject
- allowMultipleUsersPerObject or null
for nonepublic BoardingAndSeatingPolicy getBoardingAndSeatingPolicy()
null
for nonepublic FlightClass setBoardingAndSeatingPolicy(BoardingAndSeatingPolicy boardingAndSeatingPolicy)
boardingAndSeatingPolicy
- boardingAndSeatingPolicy or null
for nonepublic CallbackOptions getCallbackOptions()
null
for nonepublic FlightClass setCallbackOptions(CallbackOptions callbackOptions)
callbackOptions
- callbackOptions or null
for nonepublic ClassTemplateInfo getClassTemplateInfo()
null
for nonepublic FlightClass setClassTemplateInfo(ClassTemplateInfo classTemplateInfo)
classTemplateInfo
- classTemplateInfo or null
for nonepublic String getCountryCode()
null
for nonepublic FlightClass setCountryCode(String countryCode)
countryCode
- countryCode or null
for nonepublic AirportInfo getDestination()
null
for nonepublic FlightClass setDestination(AirportInfo destination)
destination
- destination or null
for nonepublic Boolean getEnableSmartTap()
null
for nonepublic FlightClass setEnableSmartTap(Boolean enableSmartTap)
enableSmartTap
- enableSmartTap or null
for nonepublic FlightHeader getFlightHeader()
null
for nonepublic FlightClass setFlightHeader(FlightHeader flightHeader)
flightHeader
- flightHeader or null
for nonepublic String getFlightStatus()
null
for nonepublic FlightClass setFlightStatus(String flightStatus)
flightStatus
- flightStatus or null
for nonepublic Image getHeroImage()
null
for nonepublic FlightClass setHeroImage(Image heroImage)
heroImage
- heroImage or null
for nonepublic String getHexBackgroundColor()
null
for nonepublic FlightClass setHexBackgroundColor(String hexBackgroundColor)
hexBackgroundColor
- hexBackgroundColor or null
for nonepublic Uri getHomepageUri()
null
for nonepublic FlightClass setHomepageUri(Uri homepageUri)
homepageUri
- homepageUri or null
for nonepublic String getId()
null
for nonepublic FlightClass setId(String id)
id
- id or null
for nonepublic List<ImageModuleData> getImageModulesData()
null
for nonepublic FlightClass setImageModulesData(List<ImageModuleData> imageModulesData)
imageModulesData
- imageModulesData or null
for nonepublic InfoModuleData getInfoModuleData()
null
for nonepublic FlightClass setInfoModuleData(InfoModuleData infoModuleData)
infoModuleData
- infoModuleData or null
for nonepublic String getIssuerName()
null
for nonepublic FlightClass setIssuerName(String issuerName)
issuerName
- issuerName or null
for nonepublic String getKind()
null
for nonepublic FlightClass setKind(String kind)
kind
- kind or null
for nonepublic String getLanguageOverride()
null
for nonepublic FlightClass setLanguageOverride(String languageOverride)
languageOverride
- languageOverride or null
for nonepublic LinksModuleData getLinksModuleData()
null
for nonepublic FlightClass setLinksModuleData(LinksModuleData linksModuleData)
linksModuleData
- linksModuleData or null
for nonepublic String getLocalBoardingDateTime()
null
for nonepublic FlightClass setLocalBoardingDateTime(String localBoardingDateTime)
localBoardingDateTime
- localBoardingDateTime or null
for nonepublic String getLocalEstimatedOrActualArrivalDateTime()
null
for nonepublic FlightClass setLocalEstimatedOrActualArrivalDateTime(String localEstimatedOrActualArrivalDateTime)
localEstimatedOrActualArrivalDateTime
- localEstimatedOrActualArrivalDateTime or null
for nonepublic String getLocalEstimatedOrActualDepartureDateTime()
null
for nonepublic FlightClass setLocalEstimatedOrActualDepartureDateTime(String localEstimatedOrActualDepartureDateTime)
localEstimatedOrActualDepartureDateTime
- localEstimatedOrActualDepartureDateTime or null
for nonepublic String getLocalGateClosingDateTime()
null
for nonepublic FlightClass setLocalGateClosingDateTime(String localGateClosingDateTime)
localGateClosingDateTime
- localGateClosingDateTime or null
for nonepublic String getLocalScheduledArrivalDateTime()
null
for nonepublic FlightClass setLocalScheduledArrivalDateTime(String localScheduledArrivalDateTime)
localScheduledArrivalDateTime
- localScheduledArrivalDateTime or null
for nonepublic String getLocalScheduledDepartureDateTime()
null
for nonepublic FlightClass setLocalScheduledDepartureDateTime(String localScheduledDepartureDateTime)
localScheduledDepartureDateTime
- localScheduledDepartureDateTime or null
for nonepublic LocalizedString getLocalizedIssuerName()
null
for nonepublic FlightClass setLocalizedIssuerName(LocalizedString localizedIssuerName)
localizedIssuerName
- localizedIssuerName or null
for nonepublic List<LatLongPoint> getLocations()
null
for nonepublic FlightClass setLocations(List<LatLongPoint> locations)
locations
- locations or null
for nonepublic List<Message> getMessages()
null
for nonepublic FlightClass setMessages(List<Message> messages)
messages
- messages or null
for nonepublic String getMultipleDevicesAndHoldersAllowedStatus()
null
for nonepublic FlightClass setMultipleDevicesAndHoldersAllowedStatus(String multipleDevicesAndHoldersAllowedStatus)
multipleDevicesAndHoldersAllowedStatus
- multipleDevicesAndHoldersAllowedStatus or null
for nonepublic AirportInfo getOrigin()
null
for nonepublic FlightClass setOrigin(AirportInfo origin)
origin
- origin or null
for nonepublic List<Long> getRedemptionIssuers()
null
for nonepublic FlightClass setRedemptionIssuers(List<Long> redemptionIssuers)
redemptionIssuers
- redemptionIssuers or null
for nonepublic Review getReview()
null
for nonepublic FlightClass setReview(Review review)
review
- review or null
for nonepublic String getReviewStatus()
null
for nonepublic FlightClass setReviewStatus(String reviewStatus)
reviewStatus
- reviewStatus or null
for nonepublic SecurityAnimation getSecurityAnimation()
null
for nonepublic FlightClass setSecurityAnimation(SecurityAnimation securityAnimation)
securityAnimation
- securityAnimation or null
for nonepublic List<TextModuleData> getTextModulesData()
null
for nonepublic FlightClass setTextModulesData(List<TextModuleData> textModulesData)
textModulesData
- textModulesData or null
for nonepublic Long getVersion()
null
for nonepublic FlightClass setVersion(Long version)
version
- version or null
for nonepublic String getViewUnlockRequirement()
null
for nonepublic FlightClass setViewUnlockRequirement(String viewUnlockRequirement)
viewUnlockRequirement
- viewUnlockRequirement or null
for nonepublic Image getWordMark()
null
for nonepublic FlightClass setWordMark(Image wordMark)
wordMark
- wordMark or null
for nonepublic FlightClass set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public FlightClass clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.