//
// PipelineRunImpl.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//

import Foundation



public struct PipelineRunImpl: Codable {

    public var _class: String?
    public var links: PipelineRunImpllinks?
    public var durationInMillis: Int?
    public var enQueueTime: String?
    public var endTime: String?
    public var estimatedDurationInMillis: Int?
    public var _id: String?
    public var organization: String?
    public var pipeline: String?
    public var result: String?
    public var runSummary: String?
    public var startTime: String?
    public var state: String?
    public var type: String?
    public var commitId: String?

    public init(_class: String?, links: PipelineRunImpllinks?, durationInMillis: Int?, enQueueTime: String?, endTime: String?, estimatedDurationInMillis: Int?, _id: String?, organization: String?, pipeline: String?, result: String?, runSummary: String?, startTime: String?, state: String?, type: String?, commitId: String?) {
        self._class = _class
        self.links = links
        self.durationInMillis = durationInMillis
        self.enQueueTime = enQueueTime
        self.endTime = endTime
        self.estimatedDurationInMillis = estimatedDurationInMillis
        self._id = _id
        self.organization = organization
        self.pipeline = pipeline
        self.result = result
        self.runSummary = runSummary
        self.startTime = startTime
        self.state = state
        self.type = type
        self.commitId = commitId
    }

    public enum CodingKeys: String, CodingKey { 
        case _class
        case links = "_links"
        case durationInMillis
        case enQueueTime
        case endTime
        case estimatedDurationInMillis
        case _id = "id"
        case organization
        case pipeline
        case result
        case runSummary
        case startTime
        case state
        case type
        case commitId
    }


}

