OfflineODataRequest

public class OfflineODataRequest : EntityValue

A built-in Offline OData entity type which stores information about Offline OData requests to the backend service.

  • Undocumented

    Declaration

    Swift

    @inline(__always)
    open class var affectedEntity: Property { get set }
  • The navigation property which allows navigating from the request to the primary entity. For example, if the request was a PATCH request on the entity Customers(101), this navigation property can be used to read the current state of Customers(101) in the Offline store.

    Declaration

    Swift

    open var affectedEntity: EntityValue? { get set }
  • Undocumented

    Declaration

    Swift

    @inline(__always)
    open class var body: Property { get set }
  • The JSON body sent to the OData backend.

    Declaration

    Swift

    open var body: String? { get set }
  • Undocumented

    Declaration

    Swift

    @inline(__always)
    open class var customHeaders: Property { get set }
  • The navigation property which can be used to list the custom headers attached to this request.

    Declaration

    Swift

    open var customHeaders: Array<OfflineODataCustomHeader> { get set }
  • Undocumented

    Declaration

    Swift

    @inline(__always)
    open class var customTag: Property { get set }
  • The value of the custom tag field bound to the request.

    Declaration

    Swift

    open var customTag: String? { get set }
  • Undocumented

    Declaration

    Swift

    @inline(__always)
    open class var dependentRequests: Property { get set }
  • The navigation property which can be used to list requests that depend on this request.

    Declaration

    Swift

    open var dependentRequests: Array<OfflineODataRequest> { get set }
  • Declaration

    Swift

    override open var isProxy: Bool { get }
  • Undocumented

    Declaration

    Swift

    @inline(__always)
    open class var method: Property { get set }
  • The HTTP method of the request.

    Declaration

    Swift

    open var method: String { get set }
  • Undocumented

    Declaration

    Swift

    @inline(__always)
    open class var requestID: Property { get set }
  • The request identifier.

    Declaration

    Swift

    open var requestID: Int64 { get set }
  • Undocumented

    Declaration

    Swift

    @inline(__always)
    open class var status: Property { get set }
  • The status of the request: Unsent, Sent or Failed.

    Declaration

    Swift

    open var status: String { get set }
  • url

    Undocumented

    Declaration

    Swift

    @inline(__always)
    open class var url: Property { get set }
  • url

    The request URL used when executing the request against the OData backend.

    Declaration

    Swift

    open var url: String? { get set }