mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-06 20:57:46 +00:00
27 lines
750 B
Swift
27 lines
750 B
Swift
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
import Foundation
|
|
|
|
extension Operations {
|
|
/// A model object
|
|
public struct Billing {
|
|
public let internalPaymentMethod: Operations.InternalPaymentMethod
|
|
public let paymentMethodId: Int
|
|
|
|
/// Creates an object with the specified parameters
|
|
///
|
|
///
|
|
public init(internalPaymentMethod: Operations.InternalPaymentMethod, paymentMethodId: Int) {
|
|
self.internalPaymentMethod = internalPaymentMethod
|
|
self.paymentMethodId = paymentMethodId
|
|
}
|
|
}}
|
|
|
|
extension Operations.Billing: Codable {
|
|
enum CodingKeys: String, CodingKey {
|
|
case internalPaymentMethod
|
|
case paymentMethodId
|
|
}
|
|
}
|
|
|