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

39 lines
1.9 KiB
Swift

// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
import Foundation
extension Operations {
/// A model object
public struct PostUsersSignInDataRequest: APIValue {
/// An opaque identifier unique to the client (UUID, serial number, or other unique device ID)
public let clientID: String?
/// The name of the client application. (Plex Web, Plex Media Server, etc.)
public let clientName: String?
/// The version of the client application.
public let clientVersion: String?
/// A relatively friendly name for the client device
public let deviceNickname: String?
/// The platform of the client application.
public let platform: String?
/// Login credentials
public let requestBody: Operations.PostUsersSignInDataRequestBody?
/// Creates an object with the specified parameters
///
/// - Parameter clientID: An opaque identifier unique to the client (UUID, serial number, or other unique device ID)
/// - Parameter clientName: The name of the client application. (Plex Web, Plex Media Server, etc.)
/// - Parameter clientVersion: The version of the client application.
/// - Parameter deviceNickname: A relatively friendly name for the client device
/// - Parameter platform: The platform of the client application.
/// - Parameter requestBody: Login credentials
///
public init(clientID: String? = nil, clientName: String? = nil, clientVersion: String? = nil, deviceNickname: String? = nil, platform: String? = nil, requestBody: Operations.PostUsersSignInDataRequestBody? = nil) {
self.clientID = clientID
self.clientName = clientName
self.clientVersion = clientVersion
self.deviceNickname = deviceNickname
self.platform = platform
self.requestBody = requestBody
}
}}