Structure
Account
public struct Account: UniqueResource
Your SimpleMDM account.
Relationships
Conforms To
Resource
A protocol adopted by all resources types of the library.
Decodable
UniqueResource
Initializers
init(from:)
public init(from decoder: Decoder) throws
Creates a new instance of the resource by decoding from the given decoder.
This initializer throws an error if reading from the decoder fails, or if the data read is corrupted or otherwise invalid.
Parameters
Name | Type | Description |
---|---|---|
decoder | Decoder |
The decoder to read data from. |
Properties
appleStoreCountryCode
public let appleStoreCountryCode: String
The app store country that SimpleMDM uses for the account (in ISO 3166-1 alpha-2 format).
endpointName
public static var endpointName: String
The remote API endpoint identifying this resource.