UpdateSelectedEffectRequest
public struct UpdateSelectedEffectRequest : HTTPRequest
Select an effect.
Use FetchEffectsRequest
to fetch a list of available effects.
-
Declaration
Swift
public typealias ResponseObject = Void
-
Declaration
Swift
public typealias ErrorObject = APIError
-
Declaration
Swift
public let baseURL: URL
-
Declaration
Swift
public var method: HTTPMethod { get }
-
Declaration
Swift
public var path: String { get }
-
Declaration
Swift
public var isAuthenticated: Bool { get }
-
Declaration
Swift
public var body: Data?
-
Initialize a new instance.
Declaration
Swift
public init( url: URL, token: String, effect: String ) throws
Parameters
url
The device’s URL.
token
The device’s token.
effect
The effect to set.