// autogenerated

// swiftlint:disable all
import Foundation

public struct BuildBundleFileSize: Hashable, Codable {
    public var id: String

    public var type: `Type`

    public var attributes: Attributes?

    public var links: ResourceLinks

    public init(
        id: String,
        type: `Type`,
        attributes: Attributes? = nil,
        links: ResourceLinks
    ) {
        self.id = id
        self.type = type
        self.attributes = attributes
        self.links = links
    }

    private enum CodingKeys: String, CodingKey {
        case id
        case type
        case attributes
        case links
    }

    public enum `Type`: String, Hashable, Codable {
        case buildBundleFileSizes
    }

    public struct Attributes: Hashable, Codable {
        public var deviceModel: String?

        public var downloadBytes: Int?

        public var installBytes: Int?

        public var osVersion: String?

        public init(
            deviceModel: String? = nil,
            downloadBytes: Int? = nil,
            installBytes: Int? = nil,
            osVersion: String? = nil
        ) {
            self.deviceModel = deviceModel
            self.downloadBytes = downloadBytes
            self.installBytes = installBytes
            self.osVersion = osVersion
        }

        private enum CodingKeys: String, CodingKey {
            case deviceModel
            case downloadBytes
            case installBytes
            case osVersion
        }
    }
}

// swiftlint:enable all
