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

import Foundation


public class PipelineRunImpllinks: JSONEncodable {
    public var nodes: Link?
    public var log: Link?
    public var _self: Link?
    public var actions: Link?
    public var steps: Link?
    public var _class: String?

    public init() {}

    // MARK: JSONEncodable
    func encodeToJSON() -> AnyObject {
        var nillableDictionary = [String:AnyObject?]()
        nillableDictionary["nodes"] = self.nodes?.encodeToJSON()
        nillableDictionary["log"] = self.log?.encodeToJSON()
        nillableDictionary["self"] = self._self?.encodeToJSON()
        nillableDictionary["actions"] = self.actions?.encodeToJSON()
        nillableDictionary["steps"] = self.steps?.encodeToJSON()
        nillableDictionary["_class"] = self._class
        let dictionary: [String:AnyObject] = APIHelper.rejectNil(nillableDictionary) ?? [:]
        return dictionary
    }
}
