mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-06 04:20:52 +00:00
41 lines
1.8 KiB
Swift
41 lines
1.8 KiB
Swift
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
import Foundation
|
|
|
|
extension Operations {
|
|
/// A model object
|
|
public struct GetServerResourcesRequest: APIValue {
|
|
/// The unique identifier for the client application
|
|
/// This is used to track the client application and its usage
|
|
/// (UUID, serial number, or other number unique per device)
|
|
///
|
|
public let clientID: String?
|
|
/// Include Https entries in the results
|
|
public let includeHttps: Operations.IncludeHttps?
|
|
/// Include IPv6 entries in the results
|
|
public let includeIPv6: Operations.IncludeIPv6?
|
|
/// Include Relay addresses in the results
|
|
/// E.g: https://10-0-0-25.bbf8e10c7fa20447cacee74cd9914cde.plex.direct:32400
|
|
///
|
|
public let includeRelay: Operations.IncludeRelay?
|
|
|
|
/// Creates an object with the specified parameters
|
|
///
|
|
/// - Parameter clientID: The unique identifier for the client application
|
|
/// This is used to track the client application and its usage
|
|
/// (UUID, serial number, or other number unique per device)
|
|
///
|
|
/// - Parameter includeHttps: Include Https entries in the results
|
|
/// - Parameter includeIPv6: Include IPv6 entries in the results
|
|
/// - Parameter includeRelay: Include Relay addresses in the results
|
|
/// E.g: https://10-0-0-25.bbf8e10c7fa20447cacee74cd9914cde.plex.direct:32400
|
|
///
|
|
///
|
|
public init(clientID: String? = nil, includeHttps: Operations.IncludeHttps? = nil, includeIPv6: Operations.IncludeIPv6? = nil, includeRelay: Operations.IncludeRelay? = nil) {
|
|
self.clientID = clientID
|
|
self.includeHttps = includeHttps
|
|
self.includeIPv6 = includeIPv6
|
|
self.includeRelay = includeRelay
|
|
}
|
|
}}
|