Add visits info
This commit is contained in:
@@ -10,11 +10,16 @@ open System.Threading.Tasks
|
||||
// System.Text.Json does not support internal F# records as of .NET 8, presumably because it can't find the constructor.
|
||||
// So we end up with this gruesome soup of C#.
|
||||
// TODO(net8): make this internal
|
||||
/// An internal type. Don't use it.
|
||||
type AuthResponseRaw [<JsonConstructor>] (access_token : string, expires_in : int, token_type : string, scope : string)
|
||||
=
|
||||
/// Don't use this internal type.
|
||||
member _.access_token = access_token
|
||||
/// Don't use this internal type.
|
||||
member _.expires_in = expires_in
|
||||
/// Don't use this internal type.
|
||||
member _.token_type = token_type
|
||||
/// Don't use this internal type.
|
||||
member _.scope = scope
|
||||
|
||||
/// A token which can be used to authenticate with the PureGym API.
|
||||
|
Reference in New Issue
Block a user