📂 File Browser

AgentAI/vendor/google/apiclient-services/src/Walletobjects
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 ActivationOptions.php
▶ Open 📄 View Source
🐘 ActivationStatus.php
▶ Open 📄 View Source
🐘 AddMessageRequest.php
▶ Open 📄 View Source
🐘 AirportInfo.php
▶ Open 📄 View Source
🐘 AppLinkData.php
▶ Open 📄 View Source
🐘 AppLinkDataAppLinkInfo.php
▶ Open 📄 View Source
🐘 AppLinkDataAppLinkInfoAppTarget.php
▶ Open 📄 View Source
🐘 AuthenticationKey.php
▶ Open 📄 View Source
🐘 Barcode.php
▶ Open 📄 View Source
🐘 BarcodeSectionDetail.php
▶ Open 📄 View Source
🐘 Blobstore2Info.php
▶ Open 📄 View Source
🐘 BoardingAndSeatingInfo.php
▶ Open 📄 View Source
🐘 BoardingAndSeatingPolicy.php
▶ Open 📄 View Source
🐘 CallbackOptions.php
▶ Open 📄 View Source
🐘 CardBarcodeSectionDetails.php
▶ Open 📄 View Source
🐘 CardRowOneItem.php
▶ Open 📄 View Source
🐘 CardRowTemplateInfo.php
▶ Open 📄 View Source
🐘 CardRowThreeItems.php
▶ Open 📄 View Source
🐘 CardRowTwoItems.php
▶ Open 📄 View Source
🐘 CardTemplateOverride.php
▶ Open 📄 View Source
🐘 ClassTemplateInfo.php
▶ Open 📄 View Source
🐘 CompositeMedia.php
▶ Open 📄 View Source
🐘 ContentTypeInfo.php
▶ Open 📄 View Source
🐘 DateTime.php
▶ Open 📄 View Source
🐘 DetailsItemInfo.php
▶ Open 📄 View Source
🐘 DetailsTemplateOverride.php
▶ Open 📄 View Source
🐘 DeviceContext.php
▶ Open 📄 View Source
🐘 DiffChecksumsResponse.php
▶ Open 📄 View Source
🐘 DiffDownloadResponse.php
▶ Open 📄 View Source
🐘 DiffUploadRequest.php
▶ Open 📄 View Source
🐘 DiffUploadResponse.php
▶ Open 📄 View Source
🐘 DiffVersionResponse.php
▶ Open 📄 View Source
🐘 DiscoverableProgram.php
▶ Open 📄 View Source
🐘 DiscoverableProgramMerchantSigninInfo.php
▶ Open 📄 View Source
🐘 DiscoverableProgramMerchantSignupInfo.php
▶ Open 📄 View Source
🐘 DownloadParameters.php
▶ Open 📄 View Source
🐘 EventDateTime.php
▶ Open 📄 View Source
🐘 EventReservationInfo.php
▶ Open 📄 View Source
🐘 EventSeat.php
▶ Open 📄 View Source
🐘 EventTicketClass.php
▶ Open 📄 View Source
🐘 EventTicketClassAddMessageResponse.php
▶ Open 📄 View Source
🐘 EventTicketClassListResponse.php
▶ Open 📄 View Source
🐘 EventTicketObject.php
▶ Open 📄 View Source
🐘 EventTicketObjectAddMessageResponse.php
▶ Open 📄 View Source
🐘 EventTicketObjectListResponse.php
▶ Open 📄 View Source
🐘 EventVenue.php
▶ Open 📄 View Source
🐘 ExpiryNotification.php
▶ Open 📄 View Source
🐘 FieldReference.php
▶ Open 📄 View Source
🐘 FieldSelector.php
▶ Open 📄 View Source
🐘 FirstRowOption.php
▶ Open 📄 View Source
🐘 FlightCarrier.php
▶ Open 📄 View Source
🐘 FlightClass.php
▶ Open 📄 View Source
🐘 FlightClassAddMessageResponse.php
▶ Open 📄 View Source
🐘 FlightClassListResponse.php
▶ Open 📄 View Source
🐘 FlightHeader.php
▶ Open 📄 View Source
🐘 FlightObject.php
▶ Open 📄 View Source
🐘 FlightObjectAddMessageResponse.php
▶ Open 📄 View Source
🐘 FlightObjectListResponse.php
▶ Open 📄 View Source
🐘 FrequentFlyerInfo.php
▶ Open 📄 View Source
🐘 GenericClass.php
▶ Open 📄 View Source
🐘 GenericClassAddMessageResponse.php
▶ Open 📄 View Source
🐘 GenericClassListResponse.php
▶ Open 📄 View Source
🐘 GenericObject.php
▶ Open 📄 View Source
🐘 GenericObjectAddMessageResponse.php
▶ Open 📄 View Source
🐘 GenericObjectListResponse.php
▶ Open 📄 View Source
🐘 GiftCardClass.php
▶ Open 📄 View Source
🐘 GiftCardClassAddMessageResponse.php
▶ Open 📄 View Source
🐘 GiftCardClassListResponse.php
▶ Open 📄 View Source
🐘 GiftCardObject.php
▶ Open 📄 View Source
🐘 GiftCardObjectAddMessageResponse.php
▶ Open 📄 View Source
🐘 GiftCardObjectListResponse.php
▶ Open 📄 View Source
🐘 GroupingInfo.php
▶ Open 📄 View Source
🐘 Image.php
▶ Open 📄 View Source
🐘 ImageModuleData.php
▶ Open 📄 View Source
🐘 ImageUri.php
▶ Open 📄 View Source
🐘 InfoModuleData.php
▶ Open 📄 View Source
🐘 Issuer.php
▶ Open 📄 View Source
🐘 IssuerContactInfo.php
▶ Open 📄 View Source
🐘 IssuerListResponse.php
▶ Open 📄 View Source
🐘 IssuerToUserInfo.php
▶ Open 📄 View Source
🐘 JwtInsertResponse.php
▶ Open 📄 View Source
🐘 JwtResource.php
▶ Open 📄 View Source
🐘 LabelValue.php
▶ Open 📄 View Source
🐘 LabelValueRow.php
▶ Open 📄 View Source
🐘 LatLongPoint.php
▶ Open 📄 View Source
🐘 LinksModuleData.php
▶ Open 📄 View Source
🐘 ListTemplateOverride.php
▶ Open 📄 View Source
🐘 LocalizedString.php
▶ Open 📄 View Source
🐘 LoyaltyClass.php
▶ Open 📄 View Source
🐘 LoyaltyClassAddMessageResponse.php
▶ Open 📄 View Source
🐘 LoyaltyClassListResponse.php
▶ Open 📄 View Source
🐘 LoyaltyObject.php
▶ Open 📄 View Source
🐘 LoyaltyObjectAddMessageResponse.php
▶ Open 📄 View Source
🐘 LoyaltyObjectListResponse.php
▶ Open 📄 View Source
🐘 LoyaltyPoints.php
▶ Open 📄 View Source
🐘 LoyaltyPointsBalance.php
▶ Open 📄 View Source
🐘 Media.php
▶ Open 📄 View Source
🐘 MediaRequestInfo.php
▶ Open 📄 View Source
🐘 MerchantLocation.php
▶ Open 📄 View Source
🐘 Message.php
▶ Open 📄 View Source
🐘 ModifyLinkedOfferObjects.php
▶ Open 📄 View Source
🐘 ModifyLinkedOfferObjectsRequest.php
▶ Open 📄 View Source
🐘 ModuleViewConstraints.php
▶ Open 📄 View Source
🐘 Money.php
▶ Open 📄 View Source
🐘 Notifications.php
▶ Open 📄 View Source
🐘 ObjectId.php
▶ Open 📄 View Source
🐘 OfferClass.php
▶ Open 📄 View Source
🐘 OfferClassAddMessageResponse.php
▶ Open 📄 View Source
🐘 OfferClassListResponse.php
▶ Open 📄 View Source
🐘 OfferObject.php
▶ Open 📄 View Source
🐘 OfferObjectAddMessageResponse.php
▶ Open 📄 View Source
🐘 OfferObjectListResponse.php
▶ Open 📄 View Source
🐘 Pagination.php
▶ Open 📄 View Source
🐘 PassConstraints.php
▶ Open 📄 View Source
🐘 Permission.php
▶ Open 📄 View Source
🐘 Permissions.php
▶ Open 📄 View Source
🐘 PrivateText.php
▶ Open 📄 View Source
🐘 PrivateUri.php
▶ Open 📄 View Source
🐘 PurchaseDetails.php
▶ Open 📄 View Source
🐘 ReservationInfo.php
▶ Open 📄 View Source
🐘 Resources.php
▶ Open 📄 View Source
🐘 Review.php
▶ Open 📄 View Source
🐘 RotatingBarcode.php
▶ Open 📄 View Source
🐘 RotatingBarcodeTotpDetails.php
▶ Open 📄 View Source
🐘 RotatingBarcodeTotpDetailsTotpParameters.php
▶ Open 📄 View Source
🐘 RotatingBarcodeValues.php
▶ Open 📄 View Source
🐘 SaveRestrictions.php
▶ Open 📄 View Source
🐘 SecurityAnimation.php
▶ Open 📄 View Source
🐘 SetPassUpdateNoticeRequest.php
▶ Open 📄 View Source
🐘 SetPassUpdateNoticeResponse.php
▶ Open 📄 View Source
🐘 SignUpInfo.php
▶ Open 📄 View Source
🐘 SmartTap.php
▶ Open 📄 View Source
🐘 SmartTapMerchantData.php
▶ Open 📄 View Source
🐘 TemplateItem.php
▶ Open 📄 View Source
🐘 TextModuleData.php
▶ Open 📄 View Source
🐘 TicketCost.php
▶ Open 📄 View Source
🐘 TicketLeg.php
▶ Open 📄 View Source
🐘 TicketRestrictions.php
▶ Open 📄 View Source
🐘 TicketSeat.php
▶ Open 📄 View Source
🐘 TimeInterval.php
▶ Open 📄 View Source
🐘 TransitClass.php
▶ Open 📄 View Source
🐘 TransitClassAddMessageResponse.php
▶ Open 📄 View Source
🐘 TransitClassListResponse.php
▶ Open 📄 View Source
🐘 TransitObject.php
▶ Open 📄 View Source
🐘 TransitObjectAddMessageResponse.php
▶ Open 📄 View Source
🐘 TransitObjectListResponse.php
▶ Open 📄 View Source
🐘 TransitObjectUploadRotatingBarcodeValuesRequest.php
▶ Open 📄 View Source
🐘 TransitObjectUploadRotatingBarcodeValuesResponse.php
▶ Open 📄 View Source
🐘 TranslatedString.php
▶ Open 📄 View Source
🐘 UpcomingNotification.php
▶ Open 📄 View Source
🐘 UploadPrivateDataRequest.php
▶ Open 📄 View Source
🐘 UploadPrivateDataResponse.php
▶ Open 📄 View Source
🐘 UploadPrivateImageRequest.php
▶ Open 📄 View Source
🐘 UploadPrivateImageResponse.php
▶ Open 📄 View Source
🐘 Uri.php
▶ Open 📄 View Source
🐘 ValueAddedModuleData.php
▶ Open 📄 View Source

📄 Source: MediaRequestInfo.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\Walletobjects;

class MediaRequestInfo extends \Google\Model
{
  /**
   * Such requests signals the start of a request containing media upload. Only
   * the media field(s) in the inserted/updated resource are set. The response
   * should either return an error or succeed. On success, responses don't need
   * to contain anything.
   */
  public const NOTIFICATION_TYPE_START = 'START';
  /**
   * Such requests signals that the upload has progressed and that the backend
   * might want to access the media file specified in relevant fields in the
   * resource. Only the media field(s) in the inserted/updated resource are set.
   * The response should either return an error or succeed. On success,
   * responses don't need to contain anything.
   */
  public const NOTIFICATION_TYPE_PROGRESS = 'PROGRESS';
  /**
   * Such requests signals the end of a request containing media upload. END
   * should be handled just like normal Insert/Upload requests, that is, they
   * should process the request and return a complete resource in the response.
   * Pointers to media data (a GFS path usually) appear in the relevant fields
   * in the inserted/updated resource. See gdata.Media in data.proto.
   */
  public const NOTIFICATION_TYPE_END = 'END';
  /**
   * Such requests occur after an END and signal that the response has been sent
   * back to the client. RESPONSE_SENT is only sent to the backend if it is
   * configured to receive them. The response does not need to contain anything.
   */
  public const NOTIFICATION_TYPE_RESPONSE_SENT = 'RESPONSE_SENT';
  /**
   * Such requests indicate that an error occurred while processing the request.
   * ERROR is only sent to the backend if it is configured to receive them. It
   * is not guaranteed that all errors will result in this notification to the
   * backend, even if the backend requests them. Since these requests are just
   * for informational purposes, the response does not need to contain anything.
   */
  public const NOTIFICATION_TYPE_ERROR = 'ERROR';
  /**
   * The number of current bytes uploaded or downloaded.
   *
   * @var string
   */
  public $currentBytes;
  /**
   * Data to be copied to backend requests. Custom data is returned to Scotty in
   * the agent_state field, which Scotty will then provide in subsequent upload
   * notifications.
   *
   * @var string
   */
  public $customData;
  /**
   * Set if the http request info is diff encoded. The value of this field is
   * the version number of the base revision. This is corresponding to Apiary's
   * mediaDiffObjectVersion (//depot/google3/java/com/google/api/server/media/va
   * riable/DiffObjectVersionVariable.java). See go/esf-scotty-diff-upload for
   * more information.
   *
   * @var string
   */
  public $diffObjectVersion;
  /**
   * @var int
   */
  public $finalStatus;
  /**
   * The type of notification received from Scotty.
   *
   * @var string
   */
  public $notificationType;
  /**
   * The physical headers provided by RequestReceivedParameters in Scotty
   * request. type is uploader_service.KeyValuePairs.
   *
   * @var string
   */
  public $physicalHeaders;
  /**
   * The Scotty request ID.
   *
   * @var string
   */
  public $requestId;
  /**
   * The partition of the Scotty server handling this request. type is
   * uploader_service.RequestReceivedParamsServingInfo
   * LINT.IfChange(request_received_params_serving_info_annotations)
   * LINT.ThenChange()
   *
   * @var string
   */
  public $requestReceivedParamsServingInfo;
  /**
   * The total size of the file.
   *
   * @var string
   */
  public $totalBytes;
  /**
   * Whether the total bytes field contains an estimated data.
   *
   * @var bool
   */
  public $totalBytesIsEstimated;

  /**
   * The number of current bytes uploaded or downloaded.
   *
   * @param string $currentBytes
   */
  public function setCurrentBytes($currentBytes)
  {
    $this->currentBytes = $currentBytes;
  }
  /**
   * @return string
   */
  public function getCurrentBytes()
  {
    return $this->currentBytes;
  }
  /**
   * Data to be copied to backend requests. Custom data is returned to Scotty in
   * the agent_state field, which Scotty will then provide in subsequent upload
   * notifications.
   *
   * @param string $customData
   */
  public function setCustomData($customData)
  {
    $this->customData = $customData;
  }
  /**
   * @return string
   */
  public function getCustomData()
  {
    return $this->customData;
  }
  /**
   * Set if the http request info is diff encoded. The value of this field is
   * the version number of the base revision. This is corresponding to Apiary's
   * mediaDiffObjectVersion (//depot/google3/java/com/google/api/server/media/va
   * riable/DiffObjectVersionVariable.java). See go/esf-scotty-diff-upload for
   * more information.
   *
   * @param string $diffObjectVersion
   */
  public function setDiffObjectVersion($diffObjectVersion)
  {
    $this->diffObjectVersion = $diffObjectVersion;
  }
  /**
   * @return string
   */
  public function getDiffObjectVersion()
  {
    return $this->diffObjectVersion;
  }
  /**
   * @param int $finalStatus
   */
  public function setFinalStatus($finalStatus)
  {
    $this->finalStatus = $finalStatus;
  }
  /**
   * @return int
   */
  public function getFinalStatus()
  {
    return $this->finalStatus;
  }
  /**
   * The type of notification received from Scotty.
   *
   * Accepted values: START, PROGRESS, END, RESPONSE_SENT, ERROR
   *
   * @param self::NOTIFICATION_TYPE_* $notificationType
   */
  public function setNotificationType($notificationType)
  {
    $this->notificationType = $notificationType;
  }
  /**
   * @return self::NOTIFICATION_TYPE_*
   */
  public function getNotificationType()
  {
    return $this->notificationType;
  }
  /**
   * The physical headers provided by RequestReceivedParameters in Scotty
   * request. type is uploader_service.KeyValuePairs.
   *
   * @param string $physicalHeaders
   */
  public function setPhysicalHeaders($physicalHeaders)
  {
    $this->physicalHeaders = $physicalHeaders;
  }
  /**
   * @return string
   */
  public function getPhysicalHeaders()
  {
    return $this->physicalHeaders;
  }
  /**
   * The Scotty request ID.
   *
   * @param string $requestId
   */
  public function setRequestId($requestId)
  {
    $this->requestId = $requestId;
  }
  /**
   * @return string
   */
  public function getRequestId()
  {
    return $this->requestId;
  }
  /**
   * The partition of the Scotty server handling this request. type is
   * uploader_service.RequestReceivedParamsServingInfo
   * LINT.IfChange(request_received_params_serving_info_annotations)
   * LINT.ThenChange()
   *
   * @param string $requestReceivedParamsServingInfo
   */
  public function setRequestReceivedParamsServingInfo($requestReceivedParamsServingInfo)
  {
    $this->requestReceivedParamsServingInfo = $requestReceivedParamsServingInfo;
  }
  /**
   * @return string
   */
  public function getRequestReceivedParamsServingInfo()
  {
    return $this->requestReceivedParamsServingInfo;
  }
  /**
   * The total size of the file.
   *
   * @param string $totalBytes
   */
  public function setTotalBytes($totalBytes)
  {
    $this->totalBytes = $totalBytes;
  }
  /**
   * @return string
   */
  public function getTotalBytes()
  {
    return $this->totalBytes;
  }
  /**
   * Whether the total bytes field contains an estimated data.
   *
   * @param bool $totalBytesIsEstimated
   */
  public function setTotalBytesIsEstimated($totalBytesIsEstimated)
  {
    $this->totalBytesIsEstimated = $totalBytesIsEstimated;
  }
  /**
   * @return bool
   */
  public function getTotalBytesIsEstimated()
  {
    return $this->totalBytesIsEstimated;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MediaRequestInfo::class, 'Google_Service_Walletobjects_MediaRequestInfo');
← Back