ServiceGroupScope
public struct ServiceGroupScope : Encodable
Represents a service group scope with which data requests can be limited to
-
Undocumented
Declaration
Swift
public let identifier: UInt
-
Undocumented
Declaration
Swift
public let serviceTypes: [ServiceType]
-
Limits service-based data response to a service group and associated services. A service group is a top level category grouping similar services, such as Social, Fitness, etc.
See https://developers.digi.me/reference-objects#service-group for a list of service group identifiers.
Declaration
Swift
public init(identifier: UInt, serviceTypes: [ServiceType])
Parameters
identifier
The identifier of the service group.
serviceTypes
The service types to additionally limit data response to. If an empty array is passed, all services associated with service group will be included