ExpandTransform

open class ExpandTransform : TransformValue

Represents an expand transform item.

  • Creates an expand transformation item.

    Declaration

    Swift

    open class func create(_ propertyPath: PropertyPath) -> ExpandTransform

    Parameters

    propertyPath

    The property path of the navigation property to be expanded in the expand transformation.

    Return Value

    The expand transformation item.

  • The child expand item to be applied.

    Declaration

    Swift

    public final var expandItem: ExpandTransform? { get }
  • The filter transform to be applied for the expand transformation.

    Declaration

    Swift

    public final var filter: FilterTransform? { get }
  • The path of the navigation property to expand.

    Declaration

    Swift

    public final var propertyPath: PropertyPath { get }
  • Creates an expand transformation item with a child expand transformation item.

    Declaration

    Swift

    open class func withExpand(_ propertyPath: PropertyPath, expandItem: ExpandTransform) -> ExpandTransform

    Parameters

    propertyPath

    The property path of the navigation property to be expanded in the expand transformation.

    expandItem

    The child expand transformation item of the expand transformation item to be created.

    Return Value

    The expand transformation item.

  • Creates an expand transformation item with a filter transformation.

    Declaration

    Swift

    open class func withFilter(_ propertyPath: PropertyPath, filter: FilterTransform) -> ExpandTransform

    Parameters

    propertyPath

    The property path of the navigation property to be expanded in the expand transformation.

    filter

    The filter transform of the expand transformation item to be created.

    Return Value

    The expand transformation item.