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

import Foundation
import AnyCodable
import AnyCodable

/** Name Server Record */
@objc public class NameServerRecord: NSObject, Codable {

    public var priority: String
    public var raw: String
    public var recordType: String
    public var value: String

    public init(priority: String, raw: String, recordType: String, value: String) {
        self.priority = priority
        self.raw = raw
        self.recordType = recordType
        self.value = value
    }
    public enum CodingKeys: String, CodingKey, CaseIterable {
        case priority
        case raw
        case recordType
        case value
    }

    // Encodable protocol methods

    public func encode(to encoder: Encoder) throws {
        var container = encoder.container(keyedBy: CodingKeys.self)
        try container.encode(priority, forKey: .priority)
        try container.encode(raw, forKey: .raw)
        try container.encode(recordType, forKey: .recordType)
        try container.encode(value, forKey: .value)
    }



}
