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

import Foundation


public struct RetentionRule: Codable {

    public enum ModelType: String, Codable, CaseIterable {
        case expire = "expire"
    }
    public var type: ModelType = .expire
    /** Duration in seconds for how long data will be kept in the database. */
    public var everySeconds: Int

    public init(type: ModelType, everySeconds: Int) {
        self.type = type
        self.everySeconds = everySeconds
    }

}

