Files
plexswift/Sources/Plexswift/models/operations/GetUsersMediaContainer.swift

37 lines
1.5 KiB
Swift

// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
import Foundation
extension Operations {
/// Container holding user and server details.
public struct GetUsersMediaContainer {
/// The friendly name of the Plex instance.
public let friendlyName: String
public let identifier: String
/// Unique Machine identifier of the Plex server.
public let machineIdentifier: String
/// Number of users in the current response.
public let size: Int
/// Total number of users.
public let totalSize: Int
/// List of users with access to the Plex server.
public let user: [Operations.User]
/// Creates an object with the specified parameters
///
/// - Parameter friendlyName: The friendly name of the Plex instance.
/// - Parameter machineIdentifier: Unique Machine identifier of the Plex server.
/// - Parameter size: Number of users in the current response.
/// - Parameter totalSize: Total number of users.
/// - Parameter user: List of users with access to the Plex server.
///
public init(friendlyName: String, identifier: String, machineIdentifier: String, size: Int, totalSize: Int, user: [Operations.User]) {
self.friendlyName = friendlyName
self.identifier = identifier
self.machineIdentifier = machineIdentifier
self.size = size
self.totalSize = totalSize
self.user = user
}
}}