AgentConfigInfo

public class AgentConfigInfo : Codable

Represents information about agent configuration.

Attributes,

  • The host name used for MQTT broker connections and REST based services (optional).

    If not set the value defaults to an empty string.

    Declaration

    Swift

    public var serviceHost: String
  • Any other config-specific properties accessible by indexer

    Declaration

    Swift

    public var extra: [String : Any]

Initializers.

  • Create a new instance of AgentConfigInfo.

    Declaration

    Swift

    public init(serviceHost: String, extra: [String : Any]? = nil)

Codable methods.

  • Declaration

    Swift

    public required init(from decoder: Decoder) throws
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws