ServiceObjectType

public struct ServiceObjectType : Encodable

Represents an object scope with which data requests can be limited to

  • Undocumented

    Declaration

    Swift

    public let identifier: UInt
  • convenience property

    Declaration

    Swift

    public let name: String?
  • Limits service-based data response to include this object. An object is a distinct piece of user data retrieved from a service, such as social media Post, a afitness Activity, or financial Transaction.

    See https://developers.digi.me/reference-objects#objects for a list of object identifiers.

    Declaration

    Swift

    public init(identifier: UInt, name: String? = nil)

    Parameters

    identifier

    The object identifier

    name

    The object name

  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws