Activity

public struct Activity : Codable, Equatable

Struct representing Activity related values.

  • The time stamp of the Activity.

    Declaration

    Swift

    public var activityTimeStamp: String
  • The Activity’s details.

    Declaration

    Swift

    public var details: Activity.Detail?
  • The label of the Activity.

    Declaration

    Swift

    public var label: String
  • The metric value of the Activity.

    Declaration

    Swift

    public var metricAmount: String
  • The metric label of the Activity.

    Declaration

    Swift

    public var metricLabel: String
  • The metric used in the Activity.

    Declaration

    Swift

    public var metricName: String
  • The type label of the Activity.

    Declaration

    Swift

    public var typeLabel: String
  • The type of Activity.

    Declaration

    Swift

    public var typeName: String
  • Undocumented

    Declaration

    Swift

    public init(activityTimeStamp: String, details: Activity.Detail?, label: String, metricAmount: String,
                metricLabel: String, metricName: String, typeLabel: String, typeName: String)
  • Struct representing Activity Detail related values.

    See more

    Declaration

    Swift

    public struct Detail : Codable, Equatable
  • Declaration

    Swift

    public init(from decoder: Decoder) throws