diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2022-01-30 01:41:08 +0100 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2022-01-30 01:41:08 +0100 |
| commit | 36afcdf0988e753ae2178fb8220b02f2c4d0b2b2 (patch) | |
| tree | d27cb629cd53eeef6737ddc86915d51a9ac4b9c3 /src/IOL.VippsEcommerce/Models/Api/VippsAuthorizationTokenResponse.cs | |
| parent | bbe0fb036a790b6a23a478d3f047add63b3b07a6 (diff) | |
| download | dotnet-vipps-ecommerce-36afcdf0988e753ae2178fb8220b02f2c4d0b2b2.tar.xz dotnet-vipps-ecommerce-36afcdf0988e753ae2178fb8220b02f2c4d0b2b2.zip | |
refactor: Convert solution for file-scoped namespaces
Diffstat (limited to 'src/IOL.VippsEcommerce/Models/Api/VippsAuthorizationTokenResponse.cs')
| -rw-r--r-- | src/IOL.VippsEcommerce/Models/Api/VippsAuthorizationTokenResponse.cs | 95 |
1 files changed, 47 insertions, 48 deletions
diff --git a/src/IOL.VippsEcommerce/Models/Api/VippsAuthorizationTokenResponse.cs b/src/IOL.VippsEcommerce/Models/Api/VippsAuthorizationTokenResponse.cs index b870ddb..44ab083 100644 --- a/src/IOL.VippsEcommerce/Models/Api/VippsAuthorizationTokenResponse.cs +++ b/src/IOL.VippsEcommerce/Models/Api/VippsAuthorizationTokenResponse.cs @@ -1,58 +1,57 @@ using System.Text.Json.Serialization; -namespace IOL.VippsEcommerce.Models.Api +namespace IOL.VippsEcommerce.Models.Api; + +/// <summary> +/// AuthorizationTokenResponse +/// </summary> +public class VippsAuthorizationTokenResponse { - /// <summary> - /// AuthorizationTokenResponse - /// </summary> - public class VippsAuthorizationTokenResponse - { - /// <summary> - /// String containing the type for the Access Token. - /// </summary> - /// <value>String containing the type for the Access Token.</value> - [JsonPropertyName("token_type")] - public string TokenType { get; set; } + /// <summary> + /// String containing the type for the Access Token. + /// </summary> + /// <value>String containing the type for the Access Token.</value> + [JsonPropertyName("token_type")] + public string TokenType { get; set; } - /// <summary> - /// Token expiry time in seconds. - /// </summary> - /// <value>Token expiry time in seconds.</value> - [JsonPropertyName("expires_in")] - public string ExpiresIn { get; set; } + /// <summary> + /// Token expiry time in seconds. + /// </summary> + /// <value>Token expiry time in seconds.</value> + [JsonPropertyName("expires_in")] + public string ExpiresIn { get; set; } - /// <summary> - /// Extra time added to expiry time. Currently disabled. - /// </summary> - /// <value>Extra time added to expiry time. Currently disabled.</value> - [JsonPropertyName("ext_expires_in")] - public string ExtExpiresIn { get; set; } + /// <summary> + /// Extra time added to expiry time. Currently disabled. + /// </summary> + /// <value>Extra time added to expiry time. Currently disabled.</value> + [JsonPropertyName("ext_expires_in")] + public string ExtExpiresIn { get; set; } - /// <summary> - /// Token expiry time in epoch time format. - /// </summary> - /// <value>Token expiry time in epoch time format.</value> - [JsonPropertyName("expires_on")] - public string ExpiresOn { get; set; } + /// <summary> + /// Token expiry time in epoch time format. + /// </summary> + /// <value>Token expiry time in epoch time format.</value> + [JsonPropertyName("expires_on")] + public string ExpiresOn { get; set; } - /// <summary> - /// Token creation time in epoch time format. - /// </summary> - /// <value>Token creation time in epoch time format.</value> - [JsonPropertyName("not_before")] - public string NotBefore { get; set; } + /// <summary> + /// Token creation time in epoch time format. + /// </summary> + /// <value>Token creation time in epoch time format.</value> + [JsonPropertyName("not_before")] + public string NotBefore { get; set; } - /// <summary> - /// A common resource object. Not used in token validation - /// </summary> - /// <value>A common resource object. Not used in token validation</value> - [JsonPropertyName("resource")] - public string Resource { get; set; } + /// <summary> + /// A common resource object. Not used in token validation + /// </summary> + /// <value>A common resource object. Not used in token validation</value> + [JsonPropertyName("resource")] + public string Resource { get; set; } - /// <summary> - /// Gets or Sets AccessToken - /// </summary> - [JsonPropertyName("access_token")] - public string AccessToken { get; set; } - } + /// <summary> + /// Gets or Sets AccessToken + /// </summary> + [JsonPropertyName("access_token")] + public string AccessToken { get; set; } }
\ No newline at end of file |
