AgentBuildInfo

public class AgentBuildInfo : Codable

Represents information about agent build.

Attributes.

  • The build date of the agent project.

    The value should be formatted according to ISO 8601.

    Declaration

    Swift

    public var buildDate: String
  • The build mode of the agent project. Determines whether the agent is built for a production, development, staging, testing, or any other custom build environment.

    Declaration

    Swift

    public var buildMode: String
  • Any other build-specific properties accessible by indexer

    Declaration

    Swift

    public var extra: [String : Any]

Initializers.

  • Create a new instance of AgentBuildInfo.

    Declaration

    Swift

    public init(buildDate: String, buildMode: 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