ExternalObject

public class ExternalObject : Hashable

ExternalObject represents the value of a URI type in a data model. The application is responsible for uploading/downloading the content referred to by the URI.

  • Returns a Boolean value indicating whether two values are equal.

    Equality is the inverse of inequality. For any values a and b, a == b implies that a != b is false.

    Declaration

    Swift

    public static func == (lhs: ExternalObject, rhs: ExternalObject) -> Bool

    Parameters

    lhs

    A value to compare.

    rhs

    Another value to compare.

  • Get the URI value.

    Declaration

    Swift

    public func getURI() -> String

    Return Value

    the URI

  • Create an ExternalObject.

    Declaration

    Swift

    public init(uri: String)

    Parameters

    uri

    The URI