mirror of
https://github.com/Tribufu/TribufuDotNet
synced 2026-08-10 13:21:06 +00:00
Compare commits
10 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 63ebbcb234 | |||
| 7e8e192dc3 | |||
| be25ee8fe3 | |||
| 248d69bad0 | |||
| 7d34004bfa | |||
| 1a1e6f6931 | |||
| ae692bb7a9 | |||
| 38914ab87e | |||
| 7530662be9 | |||
| 02642f9dfa |
119 changed files with 926 additions and 2028 deletions
7
.gitignore
vendored
7
.gitignore
vendored
|
|
@ -1,11 +1,14 @@
|
||||||
|
.agents/
|
||||||
|
.codex/
|
||||||
.vs/
|
.vs/
|
||||||
bin/
|
bin/
|
||||||
|
Binaries
|
||||||
|
Intermediate/
|
||||||
obj/
|
obj/
|
||||||
releases/*
|
|
||||||
|
|
||||||
!releases/.gitkeep
|
|
||||||
.DS_Store
|
.DS_Store
|
||||||
.env
|
.env
|
||||||
*.filters
|
*.filters
|
||||||
*.user
|
*.user
|
||||||
|
*.lscache
|
||||||
desktop.ini
|
desktop.ini
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,6 @@ src/Tribufu/Client/OpenAPIDateConverter.cs
|
||||||
src/Tribufu/Client/RequestOptions.cs
|
src/Tribufu/Client/RequestOptions.cs
|
||||||
src/Tribufu/Client/RetryConfiguration.cs
|
src/Tribufu/Client/RetryConfiguration.cs
|
||||||
src/Tribufu/Model/AbstractOpenAPISchema.cs
|
src/Tribufu/Model/AbstractOpenAPISchema.cs
|
||||||
src/Tribufu/Model/Account.cs
|
|
||||||
src/Tribufu/Model/Application.cs
|
src/Tribufu/Model/Application.cs
|
||||||
src/Tribufu/Model/ApplicationType.cs
|
src/Tribufu/Model/ApplicationType.cs
|
||||||
src/Tribufu/Model/AuthorizeRequest.cs
|
src/Tribufu/Model/AuthorizeRequest.cs
|
||||||
|
|
@ -26,6 +25,7 @@ src/Tribufu/Model/CodeChallengeMethod.cs
|
||||||
src/Tribufu/Model/CodeResponse.cs
|
src/Tribufu/Model/CodeResponse.cs
|
||||||
src/Tribufu/Model/CreateUser.cs
|
src/Tribufu/Model/CreateUser.cs
|
||||||
src/Tribufu/Model/CryptoViewModel.cs
|
src/Tribufu/Model/CryptoViewModel.cs
|
||||||
|
src/Tribufu/Model/ExternalAccount.cs
|
||||||
src/Tribufu/Model/Game.cs
|
src/Tribufu/Model/Game.cs
|
||||||
src/Tribufu/Model/GameServer.cs
|
src/Tribufu/Model/GameServer.cs
|
||||||
src/Tribufu/Model/GameServerCluster.cs
|
src/Tribufu/Model/GameServerCluster.cs
|
||||||
|
|
@ -37,12 +37,12 @@ src/Tribufu/Model/GroupApplication.cs
|
||||||
src/Tribufu/Model/GroupMember.cs
|
src/Tribufu/Model/GroupMember.cs
|
||||||
src/Tribufu/Model/GroupRank.cs
|
src/Tribufu/Model/GroupRank.cs
|
||||||
src/Tribufu/Model/HashViewModel.cs
|
src/Tribufu/Model/HashViewModel.cs
|
||||||
|
src/Tribufu/Model/IdentityProviderType.cs
|
||||||
src/Tribufu/Model/IntrospectRequest.cs
|
src/Tribufu/Model/IntrospectRequest.cs
|
||||||
src/Tribufu/Model/IntrospectResponse.cs
|
src/Tribufu/Model/IntrospectResponse.cs
|
||||||
src/Tribufu/Model/IpAddress.cs
|
src/Tribufu/Model/IpAddress.cs
|
||||||
src/Tribufu/Model/LeaderboardItem.cs
|
src/Tribufu/Model/LeaderboardItem.cs
|
||||||
src/Tribufu/Model/LeaderboardOrder.cs
|
src/Tribufu/Model/LeaderboardOrder.cs
|
||||||
src/Tribufu/Model/LoginProvider.cs
|
|
||||||
src/Tribufu/Model/ModelClient.cs
|
src/Tribufu/Model/ModelClient.cs
|
||||||
src/Tribufu/Model/Package.cs
|
src/Tribufu/Model/Package.cs
|
||||||
src/Tribufu/Model/PackageRelease.cs
|
src/Tribufu/Model/PackageRelease.cs
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,17 @@
|
||||||
<Copyright>Copyright (c) Tribufu. All Rights Reserved.</Copyright>
|
<Copyright>Copyright (c) Tribufu. All Rights Reserved.</Copyright>
|
||||||
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
||||||
<RepositoryType>git</RepositoryType>
|
<RepositoryType>git</RepositoryType>
|
||||||
<RepositoryUrl>https://github.com/tribufu/tribufu-dotnet</RepositoryUrl>
|
<RepositoryUrl>https://github.com/Tribufu/TribufuDotNet</RepositoryUrl>
|
||||||
<Version>1.3.0</Version>
|
<Version>1.3.0</Version>
|
||||||
<AssemblyVersion>$(Version).0</AssemblyVersion>
|
<AssemblyVersion>$(Version).0</AssemblyVersion>
|
||||||
<NoWarn>$(NoWarn);0618;1591;1998;2002;8767</NoWarn>
|
<NoWarn>$(NoWarn);0618;1591;1998;2002;8767</NoWarn>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<BaseIntermediateOutputPath>$(SolutionDir)Intermediate\DotNet\$(MSBuildProjectName)\</BaseIntermediateOutputPath>
|
||||||
|
<IntermediateOutputPath>$(BaseIntermediateOutputPath)$(Configuration)\</IntermediateOutputPath>
|
||||||
|
<MSBuildProjectExtensionsPath>$(BaseIntermediateOutputPath)</MSBuildProjectExtensionsPath>
|
||||||
|
<NuspecOutputPath>$(IntermediateOutputPath)</NuspecOutputPath>
|
||||||
|
<OutputPath>$(SolutionDir)Binaries\$(Configuration)\DotNet\</OutputPath>
|
||||||
|
<PackageOutputPath>$(SolutionDir)Intermediate\</PackageOutputPath>
|
||||||
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
[nuget-badge]: https://img.shields.io/nuget/v/Tribufu.svg
|
[nuget-badge]: https://img.shields.io/nuget/v/Tribufu.svg
|
||||||
[nuget-url]: https://www.nuget.org/packages/Tribufu
|
[nuget-url]: https://www.nuget.org/packages/Tribufu
|
||||||
[mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg
|
[mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg
|
||||||
[mit-url]: https://github.com/tribufu/tribufu-dotnet/blob/main/LICENSE.txt
|
[mit-url]: https://github.com/Tribufu/TribufuDotNet/blob/main/LICENSE.txt
|
||||||
[discord-badge]: https://img.shields.io/discord/276504514616623104.svg?logo=discord&style=flat-square
|
[discord-badge]: https://img.shields.io/discord/276504514616623104.svg?logo=discord&style=flat-square
|
||||||
[discord-url]: https://www.tribufu.com/discord
|
[discord-url]: https://www.tribufu.com/discord
|
||||||
|
|
||||||
|
|
@ -20,4 +20,4 @@
|
||||||
|
|
||||||
This project is licensed under the [MIT License].
|
This project is licensed under the [MIT License].
|
||||||
|
|
||||||
[MIT License]: https://github.com/tribufu/tribufu-dotnet/blob/main/LICENSE.txt
|
[MIT License]: https://github.com/Tribufu/TribufuDotNet/blob/main/LICENSE.txt
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
#!/usr/bin/env pwsh
|
#!/usr/bin/env pwsh
|
||||||
|
|
||||||
|
$ErrorActionPreference = "Stop"
|
||||||
|
|
||||||
$env:CSHARP_POST_PROCESS_FILE = ""
|
$env:CSHARP_POST_PROCESS_FILE = ""
|
||||||
|
|
||||||
java -jar ./vendor/openapi-generator/openapi-generator-cli.jar generate `
|
java -jar ./vendor/openapi-generator/openapi-generator-cli.jar generate `
|
||||||
|
|
@ -10,3 +12,12 @@ java -jar ./vendor/openapi-generator/openapi-generator-cli.jar generate `
|
||||||
--additional-properties=packageName=Tribufu,library=restsharp,targetFramework=net47,zeroBasedEnums=true `
|
--additional-properties=packageName=Tribufu,library=restsharp,targetFramework=net47,zeroBasedEnums=true `
|
||||||
--openapi-normalizer SET_TAGS_FOR_ALL_OPERATIONS=TribufuGenerated `
|
--openapi-normalizer SET_TAGS_FOR_ALL_OPERATIONS=TribufuGenerated `
|
||||||
--skip-validate-spec
|
--skip-validate-spec
|
||||||
|
|
||||||
|
$srcDir = "./src"
|
||||||
|
$sourceDir = "./Source"
|
||||||
|
|
||||||
|
if (Test-Path $srcDir) {
|
||||||
|
New-Item -ItemType Directory -Force -Path $sourceDir | Out-Null
|
||||||
|
Copy-Item -Path (Join-Path $srcDir "*") -Destination $sourceDir -Recurse -Force
|
||||||
|
Remove-Item $srcDir -Recurse -Force
|
||||||
|
}
|
||||||
7
Scripts/Package.ps1
Normal file
7
Scripts/Package.ps1
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
#!/usr/bin/env pwsh
|
||||||
|
|
||||||
|
Get-ChildItem ./Intermediate -Filter *.nupkg -Recurse -Force | Remove-Item -Force
|
||||||
|
|
||||||
|
dotnet clean
|
||||||
|
dotnet build -c Release
|
||||||
|
dotnet pack -c Release -o ./Intermediate
|
||||||
|
|
@ -4,23 +4,25 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace Tribufu.EntityFrameworkCore.Repositories
|
namespace Tribufu.EntityFrameworkCore
|
||||||
{
|
{
|
||||||
public interface IRepository<T, K> where T : class
|
public interface IRepository<T, K> where T : class
|
||||||
{
|
{
|
||||||
|
void Seed();
|
||||||
|
|
||||||
Task SeedAsync();
|
Task SeedAsync();
|
||||||
|
|
||||||
IList<T> GetAll();
|
IList<T> List();
|
||||||
|
|
||||||
Task<IList<T>> GetAllAsync();
|
Task<IList<T>> ListAsync();
|
||||||
|
|
||||||
IList<T> GetPage(uint page, uint limit);
|
IList<T> List(uint page, uint limit);
|
||||||
|
|
||||||
Task<IList<T>> GetPageAsync(uint page, uint limit);
|
Task<IList<T>> ListAsync(uint page, uint limit);
|
||||||
|
|
||||||
T? GetOne(K key);
|
T? Find(K key);
|
||||||
|
|
||||||
Task<T?> GetOneAsync(K key);
|
Task<T?> FindAsync(K key);
|
||||||
|
|
||||||
T? Create(T entity);
|
T? Create(T entity);
|
||||||
|
|
||||||
|
|
@ -7,50 +7,54 @@ using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace Tribufu.EntityFrameworkCore.Repositories
|
namespace Tribufu.EntityFrameworkCore
|
||||||
{
|
{
|
||||||
public class Repository<C, T, K> : IRepository<T, K> where C : DbContext where T : class
|
public class Repository<C, T, K> : IRepository<T, K> where C : DbContext where T : class
|
||||||
{
|
{
|
||||||
protected readonly C _context;
|
protected readonly C _dbContext;
|
||||||
|
|
||||||
protected readonly DbSet<T> _dbSet;
|
protected readonly DbSet<T> _dbSet;
|
||||||
|
|
||||||
public Repository(C context)
|
public Repository(C dbContext)
|
||||||
|
{
|
||||||
|
_dbContext = dbContext ?? throw new ArgumentNullException(nameof(dbContext));
|
||||||
|
_dbSet = dbContext.Set<T>();
|
||||||
|
}
|
||||||
|
|
||||||
|
public virtual void Seed()
|
||||||
{
|
{
|
||||||
_context = context ?? throw new ArgumentNullException(nameof(context));
|
|
||||||
_dbSet = context.Set<T>();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual async Task SeedAsync()
|
public virtual async Task SeedAsync()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual IList<T> GetAll()
|
public virtual IList<T> List()
|
||||||
{
|
{
|
||||||
return [.. _dbSet];
|
return [.. _dbSet];
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual async Task<IList<T>> GetAllAsync()
|
public virtual async Task<IList<T>> ListAsync()
|
||||||
{
|
{
|
||||||
return await _dbSet.ToListAsync();
|
return await _dbSet.ToListAsync();
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual IList<T> GetPage(uint page, uint limit)
|
public virtual IList<T> List(uint page, uint limit)
|
||||||
{
|
{
|
||||||
return _dbSet.Skip((int)((page < 1 ? 0 : page - 1) * limit)).Take((int)limit).ToList();
|
return _dbSet.Skip((int)((page < 1 ? 0 : page - 1) * limit)).Take((int)limit).ToList();
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual async Task<IList<T>> GetPageAsync(uint page, uint limit)
|
public virtual async Task<IList<T>> ListAsync(uint page, uint limit)
|
||||||
{
|
{
|
||||||
return await _dbSet.Skip((int)((page < 1 ? 0 : page - 1) * limit)).Take((int)limit).ToListAsync();
|
return await _dbSet.Skip((int)((page < 1 ? 0 : page - 1) * limit)).Take((int)limit).ToListAsync();
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual T? GetOne(K key)
|
public virtual T? Find(K key)
|
||||||
{
|
{
|
||||||
return _dbSet.Find(key);
|
return _dbSet.Find(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual async Task<T?> GetOneAsync(K key)
|
public virtual async Task<T?> FindAsync(K key)
|
||||||
{
|
{
|
||||||
return await _dbSet.FindAsync(key);
|
return await _dbSet.FindAsync(key);
|
||||||
}
|
}
|
||||||
|
|
@ -58,29 +62,28 @@ namespace Tribufu.EntityFrameworkCore.Repositories
|
||||||
public virtual T? Create(T entity)
|
public virtual T? Create(T entity)
|
||||||
{
|
{
|
||||||
_dbSet.Add(entity);
|
_dbSet.Add(entity);
|
||||||
|
var result = _dbContext.SaveChanges();
|
||||||
var result = _context.SaveChanges();
|
|
||||||
return result > 0 ? entity : null;
|
return result > 0 ? entity : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual async Task<T?> CreateAsync(T entity)
|
public virtual async Task<T?> CreateAsync(T entity)
|
||||||
{
|
{
|
||||||
await _dbSet.AddAsync(entity);
|
await _dbSet.AddAsync(entity);
|
||||||
var result = await _context.SaveChangesAsync();
|
var result = await _dbContext.SaveChangesAsync();
|
||||||
return result > 0 ? entity : null;
|
return result > 0 ? entity : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual T? Update(T entity)
|
public virtual T? Update(T entity)
|
||||||
{
|
{
|
||||||
_dbSet.Update(entity);
|
_dbSet.Update(entity);
|
||||||
var result = _context.SaveChanges();
|
var result = _dbContext.SaveChanges();
|
||||||
return result > 0 ? entity : null;
|
return result > 0 ? entity : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual async Task<T?> UpdateAsync(T entity)
|
public virtual async Task<T?> UpdateAsync(T entity)
|
||||||
{
|
{
|
||||||
_dbSet.Update(entity);
|
_dbSet.Update(entity);
|
||||||
var result = await _context.SaveChangesAsync();
|
var result = await _dbContext.SaveChangesAsync();
|
||||||
return result > 0 ? entity : null;
|
return result > 0 ? entity : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -105,13 +108,13 @@ namespace Tribufu.EntityFrameworkCore.Repositories
|
||||||
public virtual void Delete(T entity)
|
public virtual void Delete(T entity)
|
||||||
{
|
{
|
||||||
_dbSet.Remove(entity);
|
_dbSet.Remove(entity);
|
||||||
_context.SaveChanges();
|
_dbContext.SaveChanges();
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual async Task DeleteAsync(T entity)
|
public virtual async Task DeleteAsync(T entity)
|
||||||
{
|
{
|
||||||
_dbSet.Remove(entity);
|
_dbSet.Remove(entity);
|
||||||
await _context.SaveChangesAsync();
|
await _dbContext.SaveChangesAsync();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -540,7 +540,7 @@ namespace Tribufu.Client
|
||||||
string report = "C# SDK (Tribufu) Debug Report:\n";
|
string report = "C# SDK (Tribufu) Debug Report:\n";
|
||||||
report += " OS: " + System.Environment.OSVersion + "\n";
|
report += " OS: " + System.Environment.OSVersion + "\n";
|
||||||
report += " .NET Framework Version: " + System.Environment.Version + "\n";
|
report += " .NET Framework Version: " + System.Environment.Version + "\n";
|
||||||
report += " Version of the API: 1.3.0\n";
|
report += " Version of the API: 1.4.3\n";
|
||||||
report += " SDK Package Version: 1.0.0\n";
|
report += " SDK Package Version: 1.0.0\n";
|
||||||
|
|
||||||
return report;
|
return report;
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -56,9 +56,10 @@ namespace Tribufu.Model
|
||||||
/// <param name="capsuleImageUrl">capsuleImageUrl.</param>
|
/// <param name="capsuleImageUrl">capsuleImageUrl.</param>
|
||||||
/// <param name="libraryImageUrl">libraryImageUrl.</param>
|
/// <param name="libraryImageUrl">libraryImageUrl.</param>
|
||||||
/// <param name="slug">slug.</param>
|
/// <param name="slug">slug.</param>
|
||||||
/// <param name="created">created.</param>
|
/// <param name="createdAt">createdAt.</param>
|
||||||
/// <param name="updated">updated.</param>
|
/// <param name="updatedAt">updatedAt.</param>
|
||||||
public Application(string id = default(string), string name = default(string), string description = default(string), ApplicationType? type = default(ApplicationType?), string organizationId = default(string), string iconUrl = default(string), string bannerUrl = default(string), string capsuleImageUrl = default(string), string libraryImageUrl = default(string), string slug = default(string), DateTime created = default(DateTime), DateTime? updated = default(DateTime?))
|
/// <param name="deletedAt">deletedAt.</param>
|
||||||
|
public Application(string id = default(string), string name = default(string), string description = default(string), ApplicationType? type = default(ApplicationType?), string organizationId = default(string), string iconUrl = default(string), string bannerUrl = default(string), string capsuleImageUrl = default(string), string libraryImageUrl = default(string), string slug = default(string), DateTime createdAt = default(DateTime), DateTime? updatedAt = default(DateTime?), DateTime? deletedAt = default(DateTime?))
|
||||||
{
|
{
|
||||||
// to ensure "name" is required (not null)
|
// to ensure "name" is required (not null)
|
||||||
if (name == null)
|
if (name == null)
|
||||||
|
|
@ -75,8 +76,9 @@ namespace Tribufu.Model
|
||||||
this.CapsuleImageUrl = capsuleImageUrl;
|
this.CapsuleImageUrl = capsuleImageUrl;
|
||||||
this.LibraryImageUrl = libraryImageUrl;
|
this.LibraryImageUrl = libraryImageUrl;
|
||||||
this.Slug = slug;
|
this.Slug = slug;
|
||||||
this.Created = created;
|
this.CreatedAt = createdAt;
|
||||||
this.Updated = updated;
|
this.UpdatedAt = updatedAt;
|
||||||
|
this.DeletedAt = deletedAt;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
@ -100,7 +102,7 @@ namespace Tribufu.Model
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets OrganizationId
|
/// Gets or Sets OrganizationId
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "organization_id", EmitDefaultValue = true)]
|
[DataMember(Name = "organization_id", EmitDefaultValue = false)]
|
||||||
public string OrganizationId { get; set; }
|
public string OrganizationId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
@ -134,16 +136,22 @@ namespace Tribufu.Model
|
||||||
public string Slug { get; set; }
|
public string Slug { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets Created
|
/// Gets or Sets CreatedAt
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "created", EmitDefaultValue = false)]
|
[DataMember(Name = "created_at", EmitDefaultValue = false)]
|
||||||
public DateTime Created { get; set; }
|
public DateTime CreatedAt { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets Updated
|
/// Gets or Sets UpdatedAt
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "updated", EmitDefaultValue = true)]
|
[DataMember(Name = "updated_at", EmitDefaultValue = true)]
|
||||||
public DateTime? Updated { get; set; }
|
public DateTime? UpdatedAt { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets DeletedAt
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name = "deleted_at", EmitDefaultValue = true)]
|
||||||
|
public DateTime? DeletedAt { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns the string presentation of the object
|
/// Returns the string presentation of the object
|
||||||
|
|
@ -163,8 +171,9 @@ namespace Tribufu.Model
|
||||||
sb.Append(" CapsuleImageUrl: ").Append(CapsuleImageUrl).Append("\n");
|
sb.Append(" CapsuleImageUrl: ").Append(CapsuleImageUrl).Append("\n");
|
||||||
sb.Append(" LibraryImageUrl: ").Append(LibraryImageUrl).Append("\n");
|
sb.Append(" LibraryImageUrl: ").Append(LibraryImageUrl).Append("\n");
|
||||||
sb.Append(" Slug: ").Append(Slug).Append("\n");
|
sb.Append(" Slug: ").Append(Slug).Append("\n");
|
||||||
sb.Append(" Created: ").Append(Created).Append("\n");
|
sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n");
|
||||||
sb.Append(" Updated: ").Append(Updated).Append("\n");
|
sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n");
|
||||||
|
sb.Append(" DeletedAt: ").Append(DeletedAt).Append("\n");
|
||||||
sb.Append("}\n");
|
sb.Append("}\n");
|
||||||
return sb.ToString();
|
return sb.ToString();
|
||||||
}
|
}
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -33,10 +33,10 @@ namespace Tribufu.Model
|
||||||
public enum ApplicationType
|
public enum ApplicationType
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Enum Application for value: application
|
/// Enum Software for value: software
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[EnumMember(Value = "application")]
|
[EnumMember(Value = "software")]
|
||||||
Application,
|
Software,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Enum Game for value: game
|
/// Enum Game for value: game
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -49,7 +49,7 @@ namespace Tribufu.Model
|
||||||
/// <param name="timezone">timezone.</param>
|
/// <param name="timezone">timezone.</param>
|
||||||
/// <param name="currency">currency.</param>
|
/// <param name="currency">currency.</param>
|
||||||
/// <param name="ipAddress">ipAddress.</param>
|
/// <param name="ipAddress">ipAddress.</param>
|
||||||
public CreateUser(Guid? uuid = default(Guid?), string name = default(string), string displayName = default(string), string email = default(string), string password = default(string), string language = default(string), string timezone = default(string), string currency = default(string), string ipAddress = default(string))
|
public CreateUser(string uuid = default(string), string name = default(string), string displayName = default(string), string email = default(string), string password = default(string), string language = default(string), string timezone = default(string), string currency = default(string), string ipAddress = default(string))
|
||||||
{
|
{
|
||||||
// to ensure "name" is required (not null)
|
// to ensure "name" is required (not null)
|
||||||
if (name == null)
|
if (name == null)
|
||||||
|
|
@ -70,8 +70,8 @@ namespace Tribufu.Model
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets Uuid
|
/// Gets or Sets Uuid
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "uuid", EmitDefaultValue = true)]
|
[DataMember(Name = "uuid", EmitDefaultValue = false)]
|
||||||
public Guid? Uuid { get; set; }
|
public string Uuid { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets Name
|
/// Gets or Sets Name
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -27,68 +27,70 @@ using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter;
|
||||||
namespace Tribufu.Model
|
namespace Tribufu.Model
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Account
|
/// ExternalAccount
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataContract(Name = "Account")]
|
[DataContract(Name = "ExternalAccount")]
|
||||||
public partial class Account : IValidatableObject
|
public partial class ExternalAccount : IValidatableObject
|
||||||
{
|
{
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets Provider
|
/// Gets or Sets Provider
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "provider", IsRequired = true, EmitDefaultValue = true)]
|
[DataMember(Name = "provider", IsRequired = true, EmitDefaultValue = true)]
|
||||||
public LoginProvider Provider { get; set; }
|
public IdentityProviderType Provider { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of the <see cref="Account" /> class.
|
/// Initializes a new instance of the <see cref="ExternalAccount" /> class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonConstructorAttribute]
|
[JsonConstructorAttribute]
|
||||||
protected Account() { }
|
protected ExternalAccount() { }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of the <see cref="Account" /> class.
|
/// Initializes a new instance of the <see cref="ExternalAccount" /> class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="id">id (required).</param>
|
|
||||||
/// <param name="name">name.</param>
|
|
||||||
/// <param name="provider">provider (required).</param>
|
|
||||||
/// <param name="userId">userId.</param>
|
/// <param name="userId">userId.</param>
|
||||||
|
/// <param name="provider">provider (required).</param>
|
||||||
|
/// <param name="externalId">externalId (required).</param>
|
||||||
|
/// <param name="name">name.</param>
|
||||||
/// <param name="authorized">authorized.</param>
|
/// <param name="authorized">authorized.</param>
|
||||||
/// <param name="fields">fields.</param>
|
/// <param name="fields">fields.</param>
|
||||||
/// <param name="created">created.</param>
|
/// <param name="createdAt">createdAt.</param>
|
||||||
/// <param name="updated">updated.</param>
|
/// <param name="updatedAt">updatedAt.</param>
|
||||||
public Account(string id = default(string), string name = default(string), LoginProvider provider = default(LoginProvider), string userId = default(string), bool authorized = default(bool), Object fields = default(Object), DateTime created = default(DateTime), DateTime? updated = default(DateTime?))
|
/// <param name="deletedAt">deletedAt.</param>
|
||||||
|
public ExternalAccount(string userId = default(string), IdentityProviderType provider = default(IdentityProviderType), string externalId = default(string), string name = default(string), bool authorized = default(bool), Dictionary<string, Object> fields = default(Dictionary<string, Object>), DateTime createdAt = default(DateTime), DateTime? updatedAt = default(DateTime?), DateTime? deletedAt = default(DateTime?))
|
||||||
{
|
{
|
||||||
// to ensure "id" is required (not null)
|
|
||||||
if (id == null)
|
|
||||||
{
|
|
||||||
throw new ArgumentNullException("id is a required property for Account and cannot be null");
|
|
||||||
}
|
|
||||||
this.Id = id;
|
|
||||||
this.Provider = provider;
|
this.Provider = provider;
|
||||||
this.Name = name;
|
// to ensure "externalId" is required (not null)
|
||||||
|
if (externalId == null)
|
||||||
|
{
|
||||||
|
throw new ArgumentNullException("externalId is a required property for ExternalAccount and cannot be null");
|
||||||
|
}
|
||||||
|
this.ExternalId = externalId;
|
||||||
this.UserId = userId;
|
this.UserId = userId;
|
||||||
|
this.Name = name;
|
||||||
this.Authorized = authorized;
|
this.Authorized = authorized;
|
||||||
this.Fields = fields;
|
this.Fields = fields;
|
||||||
this.Created = created;
|
this.CreatedAt = createdAt;
|
||||||
this.Updated = updated;
|
this.UpdatedAt = updatedAt;
|
||||||
|
this.DeletedAt = deletedAt;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Gets or Sets Id
|
|
||||||
/// </summary>
|
|
||||||
[DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)]
|
|
||||||
public string Id { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Gets or Sets Name
|
|
||||||
/// </summary>
|
|
||||||
[DataMember(Name = "name", EmitDefaultValue = true)]
|
|
||||||
public string Name { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets UserId
|
/// Gets or Sets UserId
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "user_id", EmitDefaultValue = false)]
|
[DataMember(Name = "user_id", EmitDefaultValue = false)]
|
||||||
public string UserId { get; set; }
|
public string UserId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets ExternalId
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name = "external_id", IsRequired = true, EmitDefaultValue = true)]
|
||||||
|
public string ExternalId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets Name
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name = "name", EmitDefaultValue = true)]
|
||||||
|
public string Name { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets Authorized
|
/// Gets or Sets Authorized
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -99,19 +101,25 @@ namespace Tribufu.Model
|
||||||
/// Gets or Sets Fields
|
/// Gets or Sets Fields
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "fields", EmitDefaultValue = true)]
|
[DataMember(Name = "fields", EmitDefaultValue = true)]
|
||||||
public Object Fields { get; set; }
|
public Dictionary<string, Object> Fields { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets Created
|
/// Gets or Sets CreatedAt
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "created", EmitDefaultValue = false)]
|
[DataMember(Name = "created_at", EmitDefaultValue = false)]
|
||||||
public DateTime Created { get; set; }
|
public DateTime CreatedAt { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets Updated
|
/// Gets or Sets UpdatedAt
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "updated", EmitDefaultValue = true)]
|
[DataMember(Name = "updated_at", EmitDefaultValue = true)]
|
||||||
public DateTime? Updated { get; set; }
|
public DateTime? UpdatedAt { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets DeletedAt
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name = "deleted_at", EmitDefaultValue = true)]
|
||||||
|
public DateTime? DeletedAt { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns the string presentation of the object
|
/// Returns the string presentation of the object
|
||||||
|
|
@ -120,15 +128,16 @@ namespace Tribufu.Model
|
||||||
public override string ToString()
|
public override string ToString()
|
||||||
{
|
{
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
sb.Append("class Account {\n");
|
sb.Append("class ExternalAccount {\n");
|
||||||
sb.Append(" Id: ").Append(Id).Append("\n");
|
|
||||||
sb.Append(" Name: ").Append(Name).Append("\n");
|
|
||||||
sb.Append(" Provider: ").Append(Provider).Append("\n");
|
|
||||||
sb.Append(" UserId: ").Append(UserId).Append("\n");
|
sb.Append(" UserId: ").Append(UserId).Append("\n");
|
||||||
|
sb.Append(" Provider: ").Append(Provider).Append("\n");
|
||||||
|
sb.Append(" ExternalId: ").Append(ExternalId).Append("\n");
|
||||||
|
sb.Append(" Name: ").Append(Name).Append("\n");
|
||||||
sb.Append(" Authorized: ").Append(Authorized).Append("\n");
|
sb.Append(" Authorized: ").Append(Authorized).Append("\n");
|
||||||
sb.Append(" Fields: ").Append(Fields).Append("\n");
|
sb.Append(" Fields: ").Append(Fields).Append("\n");
|
||||||
sb.Append(" Created: ").Append(Created).Append("\n");
|
sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n");
|
||||||
sb.Append(" Updated: ").Append(Updated).Append("\n");
|
sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n");
|
||||||
|
sb.Append(" DeletedAt: ").Append(DeletedAt).Append("\n");
|
||||||
sb.Append("}\n");
|
sb.Append("}\n");
|
||||||
return sb.ToString();
|
return sb.ToString();
|
||||||
}
|
}
|
||||||
|
|
@ -149,6 +158,18 @@ namespace Tribufu.Model
|
||||||
/// <returns>Validation Result</returns>
|
/// <returns>Validation Result</returns>
|
||||||
IEnumerable<ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
|
IEnumerable<ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
|
||||||
{
|
{
|
||||||
|
// ExternalId (string) maxLength
|
||||||
|
if (this.ExternalId != null && this.ExternalId.Length > 45)
|
||||||
|
{
|
||||||
|
yield return new ValidationResult("Invalid value for ExternalId, length must be less than 45.", new [] { "ExternalId" });
|
||||||
|
}
|
||||||
|
|
||||||
|
// Name (string) maxLength
|
||||||
|
if (this.Name != null && this.Name.Length > 75)
|
||||||
|
{
|
||||||
|
yield return new ValidationResult("Invalid value for Name, length must be less than 75.", new [] { "Name" });
|
||||||
|
}
|
||||||
|
|
||||||
yield break;
|
yield break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -56,8 +56,9 @@ namespace Tribufu.Model
|
||||||
/// <param name="capsuleImageUrl">capsuleImageUrl.</param>
|
/// <param name="capsuleImageUrl">capsuleImageUrl.</param>
|
||||||
/// <param name="libraryImageUrl">libraryImageUrl.</param>
|
/// <param name="libraryImageUrl">libraryImageUrl.</param>
|
||||||
/// <param name="slug">slug.</param>
|
/// <param name="slug">slug.</param>
|
||||||
/// <param name="created">created.</param>
|
/// <param name="createdAt">createdAt.</param>
|
||||||
/// <param name="updated">updated.</param>
|
/// <param name="updatedAt">updatedAt.</param>
|
||||||
|
/// <param name="deletedAt">deletedAt.</param>
|
||||||
/// <param name="enableServers">enableServers.</param>
|
/// <param name="enableServers">enableServers.</param>
|
||||||
/// <param name="gamePort">gamePort.</param>
|
/// <param name="gamePort">gamePort.</param>
|
||||||
/// <param name="queryPort">queryPort.</param>
|
/// <param name="queryPort">queryPort.</param>
|
||||||
|
|
@ -65,7 +66,7 @@ namespace Tribufu.Model
|
||||||
/// <param name="gamedigId">gamedigId.</param>
|
/// <param name="gamedigId">gamedigId.</param>
|
||||||
/// <param name="steamAppId">steamAppId.</param>
|
/// <param name="steamAppId">steamAppId.</param>
|
||||||
/// <param name="steamServerAppId">steamServerAppId.</param>
|
/// <param name="steamServerAppId">steamServerAppId.</param>
|
||||||
public Game(string id = default(string), string name = default(string), string description = default(string), ApplicationType? type = default(ApplicationType?), string organizationId = default(string), string iconUrl = default(string), string bannerUrl = default(string), string capsuleImageUrl = default(string), string libraryImageUrl = default(string), string slug = default(string), DateTime created = default(DateTime), DateTime? updated = default(DateTime?), bool enableServers = default(bool), int? gamePort = default(int?), int? queryPort = default(int?), int? rconPort = default(int?), string gamedigId = default(string), int? steamAppId = default(int?), int? steamServerAppId = default(int?))
|
public Game(string id = default(string), string name = default(string), string description = default(string), ApplicationType? type = default(ApplicationType?), string organizationId = default(string), string iconUrl = default(string), string bannerUrl = default(string), string capsuleImageUrl = default(string), string libraryImageUrl = default(string), string slug = default(string), DateTime createdAt = default(DateTime), DateTime? updatedAt = default(DateTime?), DateTime? deletedAt = default(DateTime?), bool enableServers = default(bool), int? gamePort = default(int?), int? queryPort = default(int?), int? rconPort = default(int?), string gamedigId = default(string), int? steamAppId = default(int?), int? steamServerAppId = default(int?))
|
||||||
{
|
{
|
||||||
// to ensure "name" is required (not null)
|
// to ensure "name" is required (not null)
|
||||||
if (name == null)
|
if (name == null)
|
||||||
|
|
@ -82,8 +83,9 @@ namespace Tribufu.Model
|
||||||
this.CapsuleImageUrl = capsuleImageUrl;
|
this.CapsuleImageUrl = capsuleImageUrl;
|
||||||
this.LibraryImageUrl = libraryImageUrl;
|
this.LibraryImageUrl = libraryImageUrl;
|
||||||
this.Slug = slug;
|
this.Slug = slug;
|
||||||
this.Created = created;
|
this.CreatedAt = createdAt;
|
||||||
this.Updated = updated;
|
this.UpdatedAt = updatedAt;
|
||||||
|
this.DeletedAt = deletedAt;
|
||||||
this.EnableServers = enableServers;
|
this.EnableServers = enableServers;
|
||||||
this.GamePort = gamePort;
|
this.GamePort = gamePort;
|
||||||
this.QueryPort = queryPort;
|
this.QueryPort = queryPort;
|
||||||
|
|
@ -114,7 +116,7 @@ namespace Tribufu.Model
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets OrganizationId
|
/// Gets or Sets OrganizationId
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "organization_id", EmitDefaultValue = true)]
|
[DataMember(Name = "organization_id", EmitDefaultValue = false)]
|
||||||
public string OrganizationId { get; set; }
|
public string OrganizationId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
@ -148,16 +150,22 @@ namespace Tribufu.Model
|
||||||
public string Slug { get; set; }
|
public string Slug { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets Created
|
/// Gets or Sets CreatedAt
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "created", EmitDefaultValue = false)]
|
[DataMember(Name = "created_at", EmitDefaultValue = false)]
|
||||||
public DateTime Created { get; set; }
|
public DateTime CreatedAt { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets Updated
|
/// Gets or Sets UpdatedAt
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "updated", EmitDefaultValue = true)]
|
[DataMember(Name = "updated_at", EmitDefaultValue = true)]
|
||||||
public DateTime? Updated { get; set; }
|
public DateTime? UpdatedAt { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets DeletedAt
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name = "deleted_at", EmitDefaultValue = true)]
|
||||||
|
public DateTime? DeletedAt { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets EnableServers
|
/// Gets or Sets EnableServers
|
||||||
|
|
@ -219,8 +227,9 @@ namespace Tribufu.Model
|
||||||
sb.Append(" CapsuleImageUrl: ").Append(CapsuleImageUrl).Append("\n");
|
sb.Append(" CapsuleImageUrl: ").Append(CapsuleImageUrl).Append("\n");
|
||||||
sb.Append(" LibraryImageUrl: ").Append(LibraryImageUrl).Append("\n");
|
sb.Append(" LibraryImageUrl: ").Append(LibraryImageUrl).Append("\n");
|
||||||
sb.Append(" Slug: ").Append(Slug).Append("\n");
|
sb.Append(" Slug: ").Append(Slug).Append("\n");
|
||||||
sb.Append(" Created: ").Append(Created).Append("\n");
|
sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n");
|
||||||
sb.Append(" Updated: ").Append(Updated).Append("\n");
|
sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n");
|
||||||
|
sb.Append(" DeletedAt: ").Append(DeletedAt).Append("\n");
|
||||||
sb.Append(" EnableServers: ").Append(EnableServers).Append("\n");
|
sb.Append(" EnableServers: ").Append(EnableServers).Append("\n");
|
||||||
sb.Append(" GamePort: ").Append(GamePort).Append("\n");
|
sb.Append(" GamePort: ").Append(GamePort).Append("\n");
|
||||||
sb.Append(" QueryPort: ").Append(QueryPort).Append("\n");
|
sb.Append(" QueryPort: ").Append(QueryPort).Append("\n");
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -59,9 +59,10 @@ namespace Tribufu.Model
|
||||||
/// <param name="steam">steam.</param>
|
/// <param name="steam">steam.</param>
|
||||||
/// <param name="discordServerId">discordServerId.</param>
|
/// <param name="discordServerId">discordServerId.</param>
|
||||||
/// <param name="youtubeVideoUrl">youtubeVideoUrl.</param>
|
/// <param name="youtubeVideoUrl">youtubeVideoUrl.</param>
|
||||||
/// <param name="created">created.</param>
|
/// <param name="createdAt">createdAt.</param>
|
||||||
/// <param name="updated">updated.</param>
|
/// <param name="updatedAt">updatedAt.</param>
|
||||||
public GameServer(string id = default(string), string name = default(string), string description = default(string), string ownerId = default(string), string address = default(string), int queryPort = default(int), int? gamePort = default(int?), string map = default(string), string varVersion = default(string), string gameId = default(string), string gameIconUrl = default(string), string clusterId = default(string), string websiteUrl = default(string), string bannerUrl = default(string), double uptime = default(double), string country = default(string), bool steam = default(bool), string discordServerId = default(string), string youtubeVideoUrl = default(string), DateTime created = default(DateTime), DateTime? updated = default(DateTime?))
|
/// <param name="deletedAt">deletedAt.</param>
|
||||||
|
public GameServer(string id = default(string), string name = default(string), string description = default(string), string ownerId = default(string), string address = default(string), int queryPort = default(int), int? gamePort = default(int?), string map = default(string), string varVersion = default(string), string gameId = default(string), string gameIconUrl = default(string), string clusterId = default(string), string websiteUrl = default(string), string bannerUrl = default(string), double uptime = default(double), string country = default(string), bool steam = default(bool), long? discordServerId = default(long?), string youtubeVideoUrl = default(string), DateTime createdAt = default(DateTime), DateTime? updatedAt = default(DateTime?), DateTime? deletedAt = default(DateTime?))
|
||||||
{
|
{
|
||||||
// to ensure "name" is required (not null)
|
// to ensure "name" is required (not null)
|
||||||
if (name == null)
|
if (name == null)
|
||||||
|
|
@ -92,8 +93,9 @@ namespace Tribufu.Model
|
||||||
this.Steam = steam;
|
this.Steam = steam;
|
||||||
this.DiscordServerId = discordServerId;
|
this.DiscordServerId = discordServerId;
|
||||||
this.YoutubeVideoUrl = youtubeVideoUrl;
|
this.YoutubeVideoUrl = youtubeVideoUrl;
|
||||||
this.Created = created;
|
this.CreatedAt = createdAt;
|
||||||
this.Updated = updated;
|
this.UpdatedAt = updatedAt;
|
||||||
|
this.DeletedAt = deletedAt;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
@ -117,7 +119,7 @@ namespace Tribufu.Model
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets OwnerId
|
/// Gets or Sets OwnerId
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "owner_id", EmitDefaultValue = true)]
|
[DataMember(Name = "owner_id", EmitDefaultValue = false)]
|
||||||
public string OwnerId { get; set; }
|
public string OwnerId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
@ -165,7 +167,7 @@ namespace Tribufu.Model
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets ClusterId
|
/// Gets or Sets ClusterId
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "cluster_id", EmitDefaultValue = true)]
|
[DataMember(Name = "cluster_id", EmitDefaultValue = false)]
|
||||||
public string ClusterId { get; set; }
|
public string ClusterId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
@ -202,7 +204,7 @@ namespace Tribufu.Model
|
||||||
/// Gets or Sets DiscordServerId
|
/// Gets or Sets DiscordServerId
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "discord_server_id", EmitDefaultValue = true)]
|
[DataMember(Name = "discord_server_id", EmitDefaultValue = true)]
|
||||||
public string DiscordServerId { get; set; }
|
public long? DiscordServerId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets YoutubeVideoUrl
|
/// Gets or Sets YoutubeVideoUrl
|
||||||
|
|
@ -211,16 +213,22 @@ namespace Tribufu.Model
|
||||||
public string YoutubeVideoUrl { get; set; }
|
public string YoutubeVideoUrl { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets Created
|
/// Gets or Sets CreatedAt
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "created", EmitDefaultValue = false)]
|
[DataMember(Name = "created_at", EmitDefaultValue = false)]
|
||||||
public DateTime Created { get; set; }
|
public DateTime CreatedAt { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets Updated
|
/// Gets or Sets UpdatedAt
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "updated", EmitDefaultValue = true)]
|
[DataMember(Name = "updated_at", EmitDefaultValue = true)]
|
||||||
public DateTime? Updated { get; set; }
|
public DateTime? UpdatedAt { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets DeletedAt
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name = "deleted_at", EmitDefaultValue = true)]
|
||||||
|
public DateTime? DeletedAt { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns the string presentation of the object
|
/// Returns the string presentation of the object
|
||||||
|
|
@ -249,8 +257,9 @@ namespace Tribufu.Model
|
||||||
sb.Append(" Steam: ").Append(Steam).Append("\n");
|
sb.Append(" Steam: ").Append(Steam).Append("\n");
|
||||||
sb.Append(" DiscordServerId: ").Append(DiscordServerId).Append("\n");
|
sb.Append(" DiscordServerId: ").Append(DiscordServerId).Append("\n");
|
||||||
sb.Append(" YoutubeVideoUrl: ").Append(YoutubeVideoUrl).Append("\n");
|
sb.Append(" YoutubeVideoUrl: ").Append(YoutubeVideoUrl).Append("\n");
|
||||||
sb.Append(" Created: ").Append(Created).Append("\n");
|
sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n");
|
||||||
sb.Append(" Updated: ").Append(Updated).Append("\n");
|
sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n");
|
||||||
|
sb.Append(" DeletedAt: ").Append(DeletedAt).Append("\n");
|
||||||
sb.Append("}\n");
|
sb.Append("}\n");
|
||||||
return sb.ToString();
|
return sb.ToString();
|
||||||
}
|
}
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -52,9 +52,10 @@ namespace Tribufu.Model
|
||||||
/// <param name="tags">tags.</param>
|
/// <param name="tags">tags.</param>
|
||||||
/// <param name="commentCount">commentCount.</param>
|
/// <param name="commentCount">commentCount.</param>
|
||||||
/// <param name="serverCount">serverCount.</param>
|
/// <param name="serverCount">serverCount.</param>
|
||||||
/// <param name="created">created.</param>
|
/// <param name="createdAt">createdAt.</param>
|
||||||
/// <param name="updated">updated.</param>
|
/// <param name="updatedAt">updatedAt.</param>
|
||||||
public GameServerCluster(string id = default(string), string name = default(string), string description = default(string), string gameId = default(string), string websiteUrl = default(string), string bannerUrl = default(string), string ownerId = default(string), string discordServerId = default(string), string youtubeVideoUrl = default(string), string tags = default(string), int commentCount = default(int), int serverCount = default(int), DateTime created = default(DateTime), DateTime? updated = default(DateTime?))
|
/// <param name="deletedAt">deletedAt.</param>
|
||||||
|
public GameServerCluster(string id = default(string), string name = default(string), string description = default(string), string gameId = default(string), string websiteUrl = default(string), string bannerUrl = default(string), string ownerId = default(string), long? discordServerId = default(long?), string youtubeVideoUrl = default(string), string tags = default(string), int commentCount = default(int), int serverCount = default(int), DateTime createdAt = default(DateTime), DateTime? updatedAt = default(DateTime?), DateTime? deletedAt = default(DateTime?))
|
||||||
{
|
{
|
||||||
// to ensure "name" is required (not null)
|
// to ensure "name" is required (not null)
|
||||||
if (name == null)
|
if (name == null)
|
||||||
|
|
@ -73,8 +74,9 @@ namespace Tribufu.Model
|
||||||
this.Tags = tags;
|
this.Tags = tags;
|
||||||
this.CommentCount = commentCount;
|
this.CommentCount = commentCount;
|
||||||
this.ServerCount = serverCount;
|
this.ServerCount = serverCount;
|
||||||
this.Created = created;
|
this.CreatedAt = createdAt;
|
||||||
this.Updated = updated;
|
this.UpdatedAt = updatedAt;
|
||||||
|
this.DeletedAt = deletedAt;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
@ -123,7 +125,7 @@ namespace Tribufu.Model
|
||||||
/// Gets or Sets DiscordServerId
|
/// Gets or Sets DiscordServerId
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "discord_server_id", EmitDefaultValue = true)]
|
[DataMember(Name = "discord_server_id", EmitDefaultValue = true)]
|
||||||
public string DiscordServerId { get; set; }
|
public long? DiscordServerId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets YoutubeVideoUrl
|
/// Gets or Sets YoutubeVideoUrl
|
||||||
|
|
@ -150,16 +152,22 @@ namespace Tribufu.Model
|
||||||
public int ServerCount { get; set; }
|
public int ServerCount { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets Created
|
/// Gets or Sets CreatedAt
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "created", EmitDefaultValue = false)]
|
[DataMember(Name = "created_at", EmitDefaultValue = false)]
|
||||||
public DateTime Created { get; set; }
|
public DateTime CreatedAt { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets Updated
|
/// Gets or Sets UpdatedAt
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "updated", EmitDefaultValue = true)]
|
[DataMember(Name = "updated_at", EmitDefaultValue = true)]
|
||||||
public DateTime? Updated { get; set; }
|
public DateTime? UpdatedAt { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets DeletedAt
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name = "deleted_at", EmitDefaultValue = true)]
|
||||||
|
public DateTime? DeletedAt { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns the string presentation of the object
|
/// Returns the string presentation of the object
|
||||||
|
|
@ -181,8 +189,9 @@ namespace Tribufu.Model
|
||||||
sb.Append(" Tags: ").Append(Tags).Append("\n");
|
sb.Append(" Tags: ").Append(Tags).Append("\n");
|
||||||
sb.Append(" CommentCount: ").Append(CommentCount).Append("\n");
|
sb.Append(" CommentCount: ").Append(CommentCount).Append("\n");
|
||||||
sb.Append(" ServerCount: ").Append(ServerCount).Append("\n");
|
sb.Append(" ServerCount: ").Append(ServerCount).Append("\n");
|
||||||
sb.Append(" Created: ").Append(Created).Append("\n");
|
sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n");
|
||||||
sb.Append(" Updated: ").Append(Updated).Append("\n");
|
sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n");
|
||||||
|
sb.Append(" DeletedAt: ").Append(DeletedAt).Append("\n");
|
||||||
sb.Append("}\n");
|
sb.Append("}\n");
|
||||||
return sb.ToString();
|
return sb.ToString();
|
||||||
}
|
}
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -48,8 +48,8 @@ namespace Tribufu.Model
|
||||||
/// <param name="currentPlayers">currentPlayers.</param>
|
/// <param name="currentPlayers">currentPlayers.</param>
|
||||||
/// <param name="maxPlayers">maxPlayers.</param>
|
/// <param name="maxPlayers">maxPlayers.</param>
|
||||||
/// <param name="motd">motd.</param>
|
/// <param name="motd">motd.</param>
|
||||||
/// <param name="created">created.</param>
|
/// <param name="createdAt">createdAt.</param>
|
||||||
public GameServerQuery(string id = default(string), string serverId = default(string), GameServerStatus? status = default(GameServerStatus?), int ping = default(int), int currentPlayers = default(int), int maxPlayers = default(int), string motd = default(string), DateTime created = default(DateTime))
|
public GameServerQuery(string id = default(string), string serverId = default(string), GameServerStatus? status = default(GameServerStatus?), int ping = default(int), int currentPlayers = default(int), int maxPlayers = default(int), string motd = default(string), DateTime createdAt = default(DateTime))
|
||||||
{
|
{
|
||||||
this.Id = id;
|
this.Id = id;
|
||||||
this.ServerId = serverId;
|
this.ServerId = serverId;
|
||||||
|
|
@ -58,7 +58,7 @@ namespace Tribufu.Model
|
||||||
this.CurrentPlayers = currentPlayers;
|
this.CurrentPlayers = currentPlayers;
|
||||||
this.MaxPlayers = maxPlayers;
|
this.MaxPlayers = maxPlayers;
|
||||||
this.Motd = motd;
|
this.Motd = motd;
|
||||||
this.Created = created;
|
this.CreatedAt = createdAt;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
@ -98,10 +98,10 @@ namespace Tribufu.Model
|
||||||
public string Motd { get; set; }
|
public string Motd { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets Created
|
/// Gets or Sets CreatedAt
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "created", EmitDefaultValue = false)]
|
[DataMember(Name = "created_at", EmitDefaultValue = false)]
|
||||||
public DateTime Created { get; set; }
|
public DateTime CreatedAt { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns the string presentation of the object
|
/// Returns the string presentation of the object
|
||||||
|
|
@ -118,7 +118,7 @@ namespace Tribufu.Model
|
||||||
sb.Append(" CurrentPlayers: ").Append(CurrentPlayers).Append("\n");
|
sb.Append(" CurrentPlayers: ").Append(CurrentPlayers).Append("\n");
|
||||||
sb.Append(" MaxPlayers: ").Append(MaxPlayers).Append("\n");
|
sb.Append(" MaxPlayers: ").Append(MaxPlayers).Append("\n");
|
||||||
sb.Append(" Motd: ").Append(Motd).Append("\n");
|
sb.Append(" Motd: ").Append(Motd).Append("\n");
|
||||||
sb.Append(" Created: ").Append(Created).Append("\n");
|
sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n");
|
||||||
sb.Append("}\n");
|
sb.Append("}\n");
|
||||||
return sb.ToString();
|
return sb.ToString();
|
||||||
}
|
}
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -54,9 +54,10 @@ namespace Tribufu.Model
|
||||||
/// <param name="memberCount">memberCount.</param>
|
/// <param name="memberCount">memberCount.</param>
|
||||||
/// <param name="followerCount">followerCount.</param>
|
/// <param name="followerCount">followerCount.</param>
|
||||||
/// <param name="viewCount">viewCount.</param>
|
/// <param name="viewCount">viewCount.</param>
|
||||||
/// <param name="created">created.</param>
|
/// <param name="createdAt">createdAt.</param>
|
||||||
/// <param name="updated">updated.</param>
|
/// <param name="updatedAt">updatedAt.</param>
|
||||||
public Group(string id = default(string), Guid uuid = default(Guid), string name = default(string), string tag = default(string), string description = default(string), int type = default(int), int privacy = default(int), string ownerId = default(string), bool verified = default(bool), string photoUrl = default(string), string bannerUrl = default(string), int memberCount = default(int), int followerCount = default(int), int viewCount = default(int), DateTime created = default(DateTime), DateTime? updated = default(DateTime?))
|
/// <param name="deletedAt">deletedAt.</param>
|
||||||
|
public Group(string id = default(string), string uuid = default(string), string name = default(string), string tag = default(string), string description = default(string), int type = default(int), int privacy = default(int), string ownerId = default(string), bool verified = default(bool), string photoUrl = default(string), string bannerUrl = default(string), int memberCount = default(int), int followerCount = default(int), int viewCount = default(int), DateTime createdAt = default(DateTime), DateTime? updatedAt = default(DateTime?), DateTime? deletedAt = default(DateTime?))
|
||||||
{
|
{
|
||||||
// to ensure "name" is required (not null)
|
// to ensure "name" is required (not null)
|
||||||
if (name == null)
|
if (name == null)
|
||||||
|
|
@ -77,8 +78,9 @@ namespace Tribufu.Model
|
||||||
this.MemberCount = memberCount;
|
this.MemberCount = memberCount;
|
||||||
this.FollowerCount = followerCount;
|
this.FollowerCount = followerCount;
|
||||||
this.ViewCount = viewCount;
|
this.ViewCount = viewCount;
|
||||||
this.Created = created;
|
this.CreatedAt = createdAt;
|
||||||
this.Updated = updated;
|
this.UpdatedAt = updatedAt;
|
||||||
|
this.DeletedAt = deletedAt;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
@ -91,7 +93,7 @@ namespace Tribufu.Model
|
||||||
/// Gets or Sets Uuid
|
/// Gets or Sets Uuid
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "uuid", EmitDefaultValue = false)]
|
[DataMember(Name = "uuid", EmitDefaultValue = false)]
|
||||||
public Guid Uuid { get; set; }
|
public string Uuid { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets Name
|
/// Gets or Sets Name
|
||||||
|
|
@ -166,16 +168,22 @@ namespace Tribufu.Model
|
||||||
public int ViewCount { get; set; }
|
public int ViewCount { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets Created
|
/// Gets or Sets CreatedAt
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "created", EmitDefaultValue = false)]
|
[DataMember(Name = "created_at", EmitDefaultValue = false)]
|
||||||
public DateTime Created { get; set; }
|
public DateTime CreatedAt { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets Updated
|
/// Gets or Sets UpdatedAt
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "updated", EmitDefaultValue = true)]
|
[DataMember(Name = "updated_at", EmitDefaultValue = true)]
|
||||||
public DateTime? Updated { get; set; }
|
public DateTime? UpdatedAt { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets DeletedAt
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name = "deleted_at", EmitDefaultValue = true)]
|
||||||
|
public DateTime? DeletedAt { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns the string presentation of the object
|
/// Returns the string presentation of the object
|
||||||
|
|
@ -199,8 +207,9 @@ namespace Tribufu.Model
|
||||||
sb.Append(" MemberCount: ").Append(MemberCount).Append("\n");
|
sb.Append(" MemberCount: ").Append(MemberCount).Append("\n");
|
||||||
sb.Append(" FollowerCount: ").Append(FollowerCount).Append("\n");
|
sb.Append(" FollowerCount: ").Append(FollowerCount).Append("\n");
|
||||||
sb.Append(" ViewCount: ").Append(ViewCount).Append("\n");
|
sb.Append(" ViewCount: ").Append(ViewCount).Append("\n");
|
||||||
sb.Append(" Created: ").Append(Created).Append("\n");
|
sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n");
|
||||||
sb.Append(" Updated: ").Append(Updated).Append("\n");
|
sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n");
|
||||||
|
sb.Append(" DeletedAt: ").Append(DeletedAt).Append("\n");
|
||||||
sb.Append("}\n");
|
sb.Append("}\n");
|
||||||
return sb.ToString();
|
return sb.ToString();
|
||||||
}
|
}
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -42,23 +42,17 @@ namespace Tribufu.Model
|
||||||
/// Initializes a new instance of the <see cref="GroupMember" /> class.
|
/// Initializes a new instance of the <see cref="GroupMember" /> class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="id">id.</param>
|
/// <param name="id">id.</param>
|
||||||
/// <param name="uuid">uuid.</param>
|
|
||||||
/// <param name="name">name.</param>
|
/// <param name="name">name.</param>
|
||||||
/// <param name="displayName">displayName.</param>
|
/// <param name="displayName">displayName.</param>
|
||||||
/// <param name="verified">verified.</param>
|
|
||||||
/// <param name="photoUrl">photoUrl.</param>
|
/// <param name="photoUrl">photoUrl.</param>
|
||||||
/// <param name="lastOnline">lastOnline.</param>
|
|
||||||
/// <param name="rank">rank.</param>
|
/// <param name="rank">rank.</param>
|
||||||
/// <param name="since">since.</param>
|
/// <param name="since">since.</param>
|
||||||
public GroupMember(string id = default(string), Guid uuid = default(Guid), string name = default(string), string displayName = default(string), bool verified = default(bool), string photoUrl = default(string), DateTime? lastOnline = default(DateTime?), GroupRank? rank = default(GroupRank?), DateTime since = default(DateTime))
|
public GroupMember(string id = default(string), string name = default(string), string displayName = default(string), string photoUrl = default(string), GroupRank? rank = default(GroupRank?), DateTime since = default(DateTime))
|
||||||
{
|
{
|
||||||
this.Id = id;
|
this.Id = id;
|
||||||
this.Uuid = uuid;
|
|
||||||
this.Name = name;
|
this.Name = name;
|
||||||
this.DisplayName = displayName;
|
this.DisplayName = displayName;
|
||||||
this.Verified = verified;
|
|
||||||
this.PhotoUrl = photoUrl;
|
this.PhotoUrl = photoUrl;
|
||||||
this.LastOnline = lastOnline;
|
|
||||||
this.Rank = rank;
|
this.Rank = rank;
|
||||||
this.Since = since;
|
this.Since = since;
|
||||||
}
|
}
|
||||||
|
|
@ -69,12 +63,6 @@ namespace Tribufu.Model
|
||||||
[DataMember(Name = "id", EmitDefaultValue = false)]
|
[DataMember(Name = "id", EmitDefaultValue = false)]
|
||||||
public string Id { get; set; }
|
public string Id { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Gets or Sets Uuid
|
|
||||||
/// </summary>
|
|
||||||
[DataMember(Name = "uuid", EmitDefaultValue = false)]
|
|
||||||
public Guid Uuid { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets Name
|
/// Gets or Sets Name
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -87,24 +75,12 @@ namespace Tribufu.Model
|
||||||
[DataMember(Name = "display_name", EmitDefaultValue = true)]
|
[DataMember(Name = "display_name", EmitDefaultValue = true)]
|
||||||
public string DisplayName { get; set; }
|
public string DisplayName { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Gets or Sets Verified
|
|
||||||
/// </summary>
|
|
||||||
[DataMember(Name = "verified", EmitDefaultValue = true)]
|
|
||||||
public bool Verified { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets PhotoUrl
|
/// Gets or Sets PhotoUrl
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "photo_url", EmitDefaultValue = true)]
|
[DataMember(Name = "photo_url", EmitDefaultValue = true)]
|
||||||
public string PhotoUrl { get; set; }
|
public string PhotoUrl { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Gets or Sets LastOnline
|
|
||||||
/// </summary>
|
|
||||||
[DataMember(Name = "last_online", EmitDefaultValue = true)]
|
|
||||||
public DateTime? LastOnline { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets Since
|
/// Gets or Sets Since
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -120,12 +96,9 @@ namespace Tribufu.Model
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
sb.Append("class GroupMember {\n");
|
sb.Append("class GroupMember {\n");
|
||||||
sb.Append(" Id: ").Append(Id).Append("\n");
|
sb.Append(" Id: ").Append(Id).Append("\n");
|
||||||
sb.Append(" Uuid: ").Append(Uuid).Append("\n");
|
|
||||||
sb.Append(" Name: ").Append(Name).Append("\n");
|
sb.Append(" Name: ").Append(Name).Append("\n");
|
||||||
sb.Append(" DisplayName: ").Append(DisplayName).Append("\n");
|
sb.Append(" DisplayName: ").Append(DisplayName).Append("\n");
|
||||||
sb.Append(" Verified: ").Append(Verified).Append("\n");
|
|
||||||
sb.Append(" PhotoUrl: ").Append(PhotoUrl).Append("\n");
|
sb.Append(" PhotoUrl: ").Append(PhotoUrl).Append("\n");
|
||||||
sb.Append(" LastOnline: ").Append(LastOnline).Append("\n");
|
|
||||||
sb.Append(" Rank: ").Append(Rank).Append("\n");
|
sb.Append(" Rank: ").Append(Rank).Append("\n");
|
||||||
sb.Append(" Since: ").Append(Since).Append("\n");
|
sb.Append(" Since: ").Append(Since).Append("\n");
|
||||||
sb.Append("}\n");
|
sb.Append("}\n");
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -27,10 +27,10 @@ using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter;
|
||||||
namespace Tribufu.Model
|
namespace Tribufu.Model
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Defines LoginProvider
|
/// Defines IdentityProviderType
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonConverter(typeof(StringEnumConverter))]
|
[JsonConverter(typeof(StringEnumConverter))]
|
||||||
public enum LoginProvider
|
public enum IdentityProviderType
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Enum Steam for value: steam
|
/// Enum Steam for value: steam
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -56,9 +56,10 @@ namespace Tribufu.Model
|
||||||
/// <param name="backgroundUrl">backgroundUrl.</param>
|
/// <param name="backgroundUrl">backgroundUrl.</param>
|
||||||
/// <param name="redirects">redirects.</param>
|
/// <param name="redirects">redirects.</param>
|
||||||
/// <param name="scopes">scopes.</param>
|
/// <param name="scopes">scopes.</param>
|
||||||
/// <param name="created">created.</param>
|
/// <param name="createdAt">createdAt.</param>
|
||||||
/// <param name="updated">updated.</param>
|
/// <param name="updatedAt">updatedAt.</param>
|
||||||
public ModelClient(string id = default(string), string name = default(string), ClientType? type = default(ClientType?), string organizationId = default(string), bool trusted = default(bool), string websiteUrl = default(string), string photoUrl = default(string), string backgroundUrl = default(string), string redirects = default(string), string scopes = default(string), DateTime created = default(DateTime), DateTime? updated = default(DateTime?))
|
/// <param name="deletedAt">deletedAt.</param>
|
||||||
|
public ModelClient(string id = default(string), string name = default(string), ClientType? type = default(ClientType?), string organizationId = default(string), bool trusted = default(bool), string websiteUrl = default(string), string photoUrl = default(string), string backgroundUrl = default(string), string redirects = default(string), string scopes = default(string), DateTime createdAt = default(DateTime), DateTime? updatedAt = default(DateTime?), DateTime? deletedAt = default(DateTime?))
|
||||||
{
|
{
|
||||||
// to ensure "name" is required (not null)
|
// to ensure "name" is required (not null)
|
||||||
if (name == null)
|
if (name == null)
|
||||||
|
|
@ -75,8 +76,9 @@ namespace Tribufu.Model
|
||||||
this.BackgroundUrl = backgroundUrl;
|
this.BackgroundUrl = backgroundUrl;
|
||||||
this.Redirects = redirects;
|
this.Redirects = redirects;
|
||||||
this.Scopes = scopes;
|
this.Scopes = scopes;
|
||||||
this.Created = created;
|
this.CreatedAt = createdAt;
|
||||||
this.Updated = updated;
|
this.UpdatedAt = updatedAt;
|
||||||
|
this.DeletedAt = deletedAt;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
@ -148,16 +150,22 @@ namespace Tribufu.Model
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets Created
|
/// Gets or Sets CreatedAt
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "created", EmitDefaultValue = false)]
|
[DataMember(Name = "created_at", EmitDefaultValue = false)]
|
||||||
public DateTime Created { get; set; }
|
public DateTime CreatedAt { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets Updated
|
/// Gets or Sets UpdatedAt
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "updated", EmitDefaultValue = true)]
|
[DataMember(Name = "updated_at", EmitDefaultValue = true)]
|
||||||
public DateTime? Updated { get; set; }
|
public DateTime? UpdatedAt { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets DeletedAt
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name = "deleted_at", EmitDefaultValue = true)]
|
||||||
|
public DateTime? DeletedAt { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns the string presentation of the object
|
/// Returns the string presentation of the object
|
||||||
|
|
@ -178,8 +186,9 @@ namespace Tribufu.Model
|
||||||
sb.Append(" Redirects: ").Append(Redirects).Append("\n");
|
sb.Append(" Redirects: ").Append(Redirects).Append("\n");
|
||||||
sb.Append(" Scopes: ").Append(Scopes).Append("\n");
|
sb.Append(" Scopes: ").Append(Scopes).Append("\n");
|
||||||
sb.Append(" Permissions: ").Append(Permissions).Append("\n");
|
sb.Append(" Permissions: ").Append(Permissions).Append("\n");
|
||||||
sb.Append(" Created: ").Append(Created).Append("\n");
|
sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n");
|
||||||
sb.Append(" Updated: ").Append(Updated).Append("\n");
|
sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n");
|
||||||
|
sb.Append(" DeletedAt: ").Append(DeletedAt).Append("\n");
|
||||||
sb.Append("}\n");
|
sb.Append("}\n");
|
||||||
return sb.ToString();
|
return sb.ToString();
|
||||||
}
|
}
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -50,9 +50,10 @@ namespace Tribufu.Model
|
||||||
/// <param name="downloadCount">downloadCount.</param>
|
/// <param name="downloadCount">downloadCount.</param>
|
||||||
/// <param name="lastDownload">lastDownload.</param>
|
/// <param name="lastDownload">lastDownload.</param>
|
||||||
/// <param name="releases">releases.</param>
|
/// <param name="releases">releases.</param>
|
||||||
/// <param name="created">created.</param>
|
/// <param name="createdAt">createdAt.</param>
|
||||||
/// <param name="updated">updated.</param>
|
/// <param name="updatedAt">updatedAt.</param>
|
||||||
public Package(string id = default(string), string name = default(string), string description = default(string), string authorId = default(string), string imageUrl = default(string), string applicationId = default(string), string categoryId = default(string), int downloadCount = default(int), DateTime? lastDownload = default(DateTime?), List<PackageRelease> releases = default(List<PackageRelease>), DateTime created = default(DateTime), DateTime? updated = default(DateTime?))
|
/// <param name="deletedAt">deletedAt.</param>
|
||||||
|
public Package(string id = default(string), string name = default(string), string description = default(string), string authorId = default(string), string imageUrl = default(string), string applicationId = default(string), string categoryId = default(string), int downloadCount = default(int), DateTime? lastDownload = default(DateTime?), List<PackageRelease> releases = default(List<PackageRelease>), DateTime createdAt = default(DateTime), DateTime? updatedAt = default(DateTime?), DateTime? deletedAt = default(DateTime?))
|
||||||
{
|
{
|
||||||
// to ensure "name" is required (not null)
|
// to ensure "name" is required (not null)
|
||||||
if (name == null)
|
if (name == null)
|
||||||
|
|
@ -74,8 +75,9 @@ namespace Tribufu.Model
|
||||||
this.DownloadCount = downloadCount;
|
this.DownloadCount = downloadCount;
|
||||||
this.LastDownload = lastDownload;
|
this.LastDownload = lastDownload;
|
||||||
this.Releases = releases;
|
this.Releases = releases;
|
||||||
this.Created = created;
|
this.CreatedAt = createdAt;
|
||||||
this.Updated = updated;
|
this.UpdatedAt = updatedAt;
|
||||||
|
this.DeletedAt = deletedAt;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
@ -111,13 +113,13 @@ namespace Tribufu.Model
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets ApplicationId
|
/// Gets or Sets ApplicationId
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "application_id", EmitDefaultValue = true)]
|
[DataMember(Name = "application_id", EmitDefaultValue = false)]
|
||||||
public string ApplicationId { get; set; }
|
public string ApplicationId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets CategoryId
|
/// Gets or Sets CategoryId
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "category_id", EmitDefaultValue = true)]
|
[DataMember(Name = "category_id", EmitDefaultValue = false)]
|
||||||
public string CategoryId { get; set; }
|
public string CategoryId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
@ -139,16 +141,22 @@ namespace Tribufu.Model
|
||||||
public List<PackageRelease> Releases { get; set; }
|
public List<PackageRelease> Releases { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets Created
|
/// Gets or Sets CreatedAt
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "created", EmitDefaultValue = false)]
|
[DataMember(Name = "created_at", EmitDefaultValue = false)]
|
||||||
public DateTime Created { get; set; }
|
public DateTime CreatedAt { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets Updated
|
/// Gets or Sets UpdatedAt
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "updated", EmitDefaultValue = true)]
|
[DataMember(Name = "updated_at", EmitDefaultValue = true)]
|
||||||
public DateTime? Updated { get; set; }
|
public DateTime? UpdatedAt { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets DeletedAt
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name = "deleted_at", EmitDefaultValue = true)]
|
||||||
|
public DateTime? DeletedAt { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns the string presentation of the object
|
/// Returns the string presentation of the object
|
||||||
|
|
@ -168,8 +176,9 @@ namespace Tribufu.Model
|
||||||
sb.Append(" DownloadCount: ").Append(DownloadCount).Append("\n");
|
sb.Append(" DownloadCount: ").Append(DownloadCount).Append("\n");
|
||||||
sb.Append(" LastDownload: ").Append(LastDownload).Append("\n");
|
sb.Append(" LastDownload: ").Append(LastDownload).Append("\n");
|
||||||
sb.Append(" Releases: ").Append(Releases).Append("\n");
|
sb.Append(" Releases: ").Append(Releases).Append("\n");
|
||||||
sb.Append(" Created: ").Append(Created).Append("\n");
|
sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n");
|
||||||
sb.Append(" Updated: ").Append(Updated).Append("\n");
|
sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n");
|
||||||
|
sb.Append(" DeletedAt: ").Append(DeletedAt).Append("\n");
|
||||||
sb.Append("}\n");
|
sb.Append("}\n");
|
||||||
return sb.ToString();
|
return sb.ToString();
|
||||||
}
|
}
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -44,9 +44,10 @@ namespace Tribufu.Model
|
||||||
/// <param name="varVersion">varVersion (required).</param>
|
/// <param name="varVersion">varVersion (required).</param>
|
||||||
/// <param name="packageId">packageId.</param>
|
/// <param name="packageId">packageId.</param>
|
||||||
/// <param name="notes">notes.</param>
|
/// <param name="notes">notes.</param>
|
||||||
/// <param name="created">created.</param>
|
/// <param name="createdAt">createdAt.</param>
|
||||||
/// <param name="updated">updated.</param>
|
/// <param name="updatedAt">updatedAt.</param>
|
||||||
public PackageRelease(string id = default(string), string varVersion = default(string), string packageId = default(string), string notes = default(string), DateTime created = default(DateTime), DateTime? updated = default(DateTime?))
|
/// <param name="deletedAt">deletedAt.</param>
|
||||||
|
public PackageRelease(string id = default(string), string varVersion = default(string), string packageId = default(string), string notes = default(string), DateTime createdAt = default(DateTime), DateTime? updatedAt = default(DateTime?), DateTime? deletedAt = default(DateTime?))
|
||||||
{
|
{
|
||||||
// to ensure "varVersion" is required (not null)
|
// to ensure "varVersion" is required (not null)
|
||||||
if (varVersion == null)
|
if (varVersion == null)
|
||||||
|
|
@ -57,8 +58,9 @@ namespace Tribufu.Model
|
||||||
this.Id = id;
|
this.Id = id;
|
||||||
this.PackageId = packageId;
|
this.PackageId = packageId;
|
||||||
this.Notes = notes;
|
this.Notes = notes;
|
||||||
this.Created = created;
|
this.CreatedAt = createdAt;
|
||||||
this.Updated = updated;
|
this.UpdatedAt = updatedAt;
|
||||||
|
this.DeletedAt = deletedAt;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
@ -100,16 +102,22 @@ namespace Tribufu.Model
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets Created
|
/// Gets or Sets CreatedAt
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "created", EmitDefaultValue = false)]
|
[DataMember(Name = "created_at", EmitDefaultValue = false)]
|
||||||
public DateTime Created { get; set; }
|
public DateTime CreatedAt { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets Updated
|
/// Gets or Sets UpdatedAt
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "updated", EmitDefaultValue = true)]
|
[DataMember(Name = "updated_at", EmitDefaultValue = true)]
|
||||||
public DateTime? Updated { get; set; }
|
public DateTime? UpdatedAt { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets DeletedAt
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name = "deleted_at", EmitDefaultValue = true)]
|
||||||
|
public DateTime? DeletedAt { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns the string presentation of the object
|
/// Returns the string presentation of the object
|
||||||
|
|
@ -124,8 +132,9 @@ namespace Tribufu.Model
|
||||||
sb.Append(" PackageId: ").Append(PackageId).Append("\n");
|
sb.Append(" PackageId: ").Append(PackageId).Append("\n");
|
||||||
sb.Append(" Notes: ").Append(Notes).Append("\n");
|
sb.Append(" Notes: ").Append(Notes).Append("\n");
|
||||||
sb.Append(" Files: ").Append(Files).Append("\n");
|
sb.Append(" Files: ").Append(Files).Append("\n");
|
||||||
sb.Append(" Created: ").Append(Created).Append("\n");
|
sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n");
|
||||||
sb.Append(" Updated: ").Append(Updated).Append("\n");
|
sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n");
|
||||||
|
sb.Append(" DeletedAt: ").Append(DeletedAt).Append("\n");
|
||||||
sb.Append("}\n");
|
sb.Append("}\n");
|
||||||
return sb.ToString();
|
return sb.ToString();
|
||||||
}
|
}
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -48,15 +48,16 @@ namespace Tribufu.Model
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="id">id.</param>
|
/// <param name="id">id.</param>
|
||||||
/// <param name="name">name (required).</param>
|
/// <param name="name">name (required).</param>
|
||||||
|
/// <param name="sku">sku.</param>
|
||||||
/// <param name="description">description.</param>
|
/// <param name="description">description.</param>
|
||||||
/// <param name="type">type.</param>
|
/// <param name="type">type.</param>
|
||||||
/// <param name="slug">slug.</param>
|
/// <param name="slug">slug.</param>
|
||||||
/// <param name="imageUrl">imageUrl.</param>
|
/// <param name="imageUrl">imageUrl.</param>
|
||||||
/// <param name="isPhysical">isPhysical.</param>
|
|
||||||
/// <param name="prices">prices.</param>
|
/// <param name="prices">prices.</param>
|
||||||
/// <param name="created">created.</param>
|
/// <param name="createdAt">createdAt.</param>
|
||||||
/// <param name="updated">updated.</param>
|
/// <param name="updatedAt">updatedAt.</param>
|
||||||
public Product(string id = default(string), string name = default(string), string description = default(string), ProductType? type = default(ProductType?), string slug = default(string), string imageUrl = default(string), bool isPhysical = default(bool), List<ProductPrice> prices = default(List<ProductPrice>), DateTime created = default(DateTime), DateTime? updated = default(DateTime?))
|
/// <param name="deletedAt">deletedAt.</param>
|
||||||
|
public Product(string id = default(string), string name = default(string), string sku = default(string), string description = default(string), ProductType? type = default(ProductType?), string slug = default(string), string imageUrl = default(string), List<ProductPrice> prices = default(List<ProductPrice>), DateTime createdAt = default(DateTime), DateTime? updatedAt = default(DateTime?), DateTime? deletedAt = default(DateTime?))
|
||||||
{
|
{
|
||||||
// to ensure "name" is required (not null)
|
// to ensure "name" is required (not null)
|
||||||
if (name == null)
|
if (name == null)
|
||||||
|
|
@ -65,14 +66,15 @@ namespace Tribufu.Model
|
||||||
}
|
}
|
||||||
this.Name = name;
|
this.Name = name;
|
||||||
this.Id = id;
|
this.Id = id;
|
||||||
|
this.Sku = sku;
|
||||||
this.Description = description;
|
this.Description = description;
|
||||||
this.Type = type;
|
this.Type = type;
|
||||||
this.Slug = slug;
|
this.Slug = slug;
|
||||||
this.ImageUrl = imageUrl;
|
this.ImageUrl = imageUrl;
|
||||||
this.IsPhysical = isPhysical;
|
|
||||||
this.Prices = prices;
|
this.Prices = prices;
|
||||||
this.Created = created;
|
this.CreatedAt = createdAt;
|
||||||
this.Updated = updated;
|
this.UpdatedAt = updatedAt;
|
||||||
|
this.DeletedAt = deletedAt;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
@ -87,6 +89,12 @@ namespace Tribufu.Model
|
||||||
[DataMember(Name = "name", IsRequired = true, EmitDefaultValue = true)]
|
[DataMember(Name = "name", IsRequired = true, EmitDefaultValue = true)]
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets Sku
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name = "sku", EmitDefaultValue = true)]
|
||||||
|
public string Sku { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets Description
|
/// Gets or Sets Description
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -105,12 +113,6 @@ namespace Tribufu.Model
|
||||||
[DataMember(Name = "image_url", EmitDefaultValue = true)]
|
[DataMember(Name = "image_url", EmitDefaultValue = true)]
|
||||||
public string ImageUrl { get; set; }
|
public string ImageUrl { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Gets or Sets IsPhysical
|
|
||||||
/// </summary>
|
|
||||||
[DataMember(Name = "is_physical", EmitDefaultValue = true)]
|
|
||||||
public bool IsPhysical { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets Prices
|
/// Gets or Sets Prices
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -118,16 +120,22 @@ namespace Tribufu.Model
|
||||||
public List<ProductPrice> Prices { get; set; }
|
public List<ProductPrice> Prices { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets Created
|
/// Gets or Sets CreatedAt
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "created", EmitDefaultValue = false)]
|
[DataMember(Name = "created_at", EmitDefaultValue = false)]
|
||||||
public DateTime Created { get; set; }
|
public DateTime CreatedAt { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets Updated
|
/// Gets or Sets UpdatedAt
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "updated", EmitDefaultValue = true)]
|
[DataMember(Name = "updated_at", EmitDefaultValue = true)]
|
||||||
public DateTime? Updated { get; set; }
|
public DateTime? UpdatedAt { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets DeletedAt
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name = "deleted_at", EmitDefaultValue = true)]
|
||||||
|
public DateTime? DeletedAt { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns the string presentation of the object
|
/// Returns the string presentation of the object
|
||||||
|
|
@ -139,14 +147,15 @@ namespace Tribufu.Model
|
||||||
sb.Append("class Product {\n");
|
sb.Append("class Product {\n");
|
||||||
sb.Append(" Id: ").Append(Id).Append("\n");
|
sb.Append(" Id: ").Append(Id).Append("\n");
|
||||||
sb.Append(" Name: ").Append(Name).Append("\n");
|
sb.Append(" Name: ").Append(Name).Append("\n");
|
||||||
|
sb.Append(" Sku: ").Append(Sku).Append("\n");
|
||||||
sb.Append(" Description: ").Append(Description).Append("\n");
|
sb.Append(" Description: ").Append(Description).Append("\n");
|
||||||
sb.Append(" Type: ").Append(Type).Append("\n");
|
sb.Append(" Type: ").Append(Type).Append("\n");
|
||||||
sb.Append(" Slug: ").Append(Slug).Append("\n");
|
sb.Append(" Slug: ").Append(Slug).Append("\n");
|
||||||
sb.Append(" ImageUrl: ").Append(ImageUrl).Append("\n");
|
sb.Append(" ImageUrl: ").Append(ImageUrl).Append("\n");
|
||||||
sb.Append(" IsPhysical: ").Append(IsPhysical).Append("\n");
|
|
||||||
sb.Append(" Prices: ").Append(Prices).Append("\n");
|
sb.Append(" Prices: ").Append(Prices).Append("\n");
|
||||||
sb.Append(" Created: ").Append(Created).Append("\n");
|
sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n");
|
||||||
sb.Append(" Updated: ").Append(Updated).Append("\n");
|
sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n");
|
||||||
|
sb.Append(" DeletedAt: ").Append(DeletedAt).Append("\n");
|
||||||
sb.Append("}\n");
|
sb.Append("}\n");
|
||||||
return sb.ToString();
|
return sb.ToString();
|
||||||
}
|
}
|
||||||
|
|
@ -173,6 +182,12 @@ namespace Tribufu.Model
|
||||||
yield return new ValidationResult("Invalid value for Name, length must be less than 75.", new [] { "Name" });
|
yield return new ValidationResult("Invalid value for Name, length must be less than 75.", new [] { "Name" });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Sku (string) maxLength
|
||||||
|
if (this.Sku != null && this.Sku.Length > 75)
|
||||||
|
{
|
||||||
|
yield return new ValidationResult("Invalid value for Sku, length must be less than 75.", new [] { "Sku" });
|
||||||
|
}
|
||||||
|
|
||||||
// Slug (string) maxLength
|
// Slug (string) maxLength
|
||||||
if (this.Slug != null && this.Slug.Length > 75)
|
if (this.Slug != null && this.Slug.Length > 75)
|
||||||
{
|
{
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -41,9 +41,9 @@ namespace Tribufu.Model
|
||||||
/// Initializes a new instance of the <see cref="ProductPrice" /> class.
|
/// Initializes a new instance of the <see cref="ProductPrice" /> class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="currency">currency (required).</param>
|
/// <param name="currency">currency (required).</param>
|
||||||
/// <param name="amount">amount.</param>
|
/// <param name="price">price.</param>
|
||||||
/// <param name="renewal">renewal.</param>
|
/// <param name="renewal">renewal.</param>
|
||||||
public ProductPrice(string currency = default(string), double amount = default(double), double? renewal = default(double?))
|
public ProductPrice(string currency = default(string), double price = default(double), double? renewal = default(double?))
|
||||||
{
|
{
|
||||||
// to ensure "currency" is required (not null)
|
// to ensure "currency" is required (not null)
|
||||||
if (currency == null)
|
if (currency == null)
|
||||||
|
|
@ -51,7 +51,7 @@ namespace Tribufu.Model
|
||||||
throw new ArgumentNullException("currency is a required property for ProductPrice and cannot be null");
|
throw new ArgumentNullException("currency is a required property for ProductPrice and cannot be null");
|
||||||
}
|
}
|
||||||
this.Currency = currency;
|
this.Currency = currency;
|
||||||
this.Amount = amount;
|
this.Price = price;
|
||||||
this.Renewal = renewal;
|
this.Renewal = renewal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -62,10 +62,10 @@ namespace Tribufu.Model
|
||||||
public string Currency { get; set; }
|
public string Currency { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets Amount
|
/// Gets or Sets Price
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "amount", EmitDefaultValue = false)]
|
[DataMember(Name = "price", EmitDefaultValue = false)]
|
||||||
public double Amount { get; set; }
|
public double Price { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets Renewal
|
/// Gets or Sets Renewal
|
||||||
|
|
@ -82,7 +82,7 @@ namespace Tribufu.Model
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
sb.Append("class ProductPrice {\n");
|
sb.Append("class ProductPrice {\n");
|
||||||
sb.Append(" Currency: ").Append(Currency).Append("\n");
|
sb.Append(" Currency: ").Append(Currency).Append("\n");
|
||||||
sb.Append(" Amount: ").Append(Amount).Append("\n");
|
sb.Append(" Price: ").Append(Price).Append("\n");
|
||||||
sb.Append(" Renewal: ").Append(Renewal).Append("\n");
|
sb.Append(" Renewal: ").Append(Renewal).Append("\n");
|
||||||
sb.Append("}\n");
|
sb.Append("}\n");
|
||||||
return sb.ToString();
|
return sb.ToString();
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
283
Source/Tribufu/Model/Profile.cs
Normal file
283
Source/Tribufu/Model/Profile.cs
Normal file
|
|
@ -0,0 +1,283 @@
|
||||||
|
/*
|
||||||
|
* Tribufu API
|
||||||
|
*
|
||||||
|
* API to access Tribufu services.
|
||||||
|
*
|
||||||
|
* The version of the OpenAPI document: 1.4.3
|
||||||
|
* Contact: contact@tribufu.com
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using System.Linq;
|
||||||
|
using System.IO;
|
||||||
|
using System.Runtime.Serialization;
|
||||||
|
using System.Text;
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
using Newtonsoft.Json.Converters;
|
||||||
|
using Newtonsoft.Json.Linq;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter;
|
||||||
|
|
||||||
|
namespace Tribufu.Model
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Profile
|
||||||
|
/// </summary>
|
||||||
|
[DataContract(Name = "Profile")]
|
||||||
|
public partial class Profile : IValidatableObject
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Initializes a new instance of the <see cref="Profile" /> class.
|
||||||
|
/// </summary>
|
||||||
|
[JsonConstructorAttribute]
|
||||||
|
public Profile()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets Id
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name = "id", EmitDefaultValue = false)]
|
||||||
|
public string Id { get; private set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns false as Id should not be serialized given that it's read-only.
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>false (boolean)</returns>
|
||||||
|
public bool ShouldSerializeId()
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets Name
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name = "name", EmitDefaultValue = true)]
|
||||||
|
public string Name { get; private set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns false as Name should not be serialized given that it's read-only.
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>false (boolean)</returns>
|
||||||
|
public bool ShouldSerializeName()
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets DisplayName
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name = "display_name", EmitDefaultValue = true)]
|
||||||
|
public string DisplayName { get; private set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns false as DisplayName should not be serialized given that it's read-only.
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>false (boolean)</returns>
|
||||||
|
public bool ShouldSerializeDisplayName()
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets Level
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name = "level", EmitDefaultValue = false)]
|
||||||
|
public int Level { get; private set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns false as Level should not be serialized given that it's read-only.
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>false (boolean)</returns>
|
||||||
|
public bool ShouldSerializeLevel()
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets Experience
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name = "experience", EmitDefaultValue = false)]
|
||||||
|
public double Experience { get; private set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns false as Experience should not be serialized given that it's read-only.
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>false (boolean)</returns>
|
||||||
|
public bool ShouldSerializeExperience()
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets Birthday
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name = "birthday", EmitDefaultValue = true)]
|
||||||
|
[JsonConverter(typeof(OpenAPIDateConverter))]
|
||||||
|
public DateTime? Birthday { get; private set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns false as Birthday should not be serialized given that it's read-only.
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>false (boolean)</returns>
|
||||||
|
public bool ShouldSerializeBirthday()
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets Points
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name = "points", EmitDefaultValue = false)]
|
||||||
|
public double Points { get; private set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns false as Points should not be serialized given that it's read-only.
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>false (boolean)</returns>
|
||||||
|
public bool ShouldSerializePoints()
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets PhotoUrl
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name = "photo_url", EmitDefaultValue = true)]
|
||||||
|
public string PhotoUrl { get; private set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns false as PhotoUrl should not be serialized given that it's read-only.
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>false (boolean)</returns>
|
||||||
|
public bool ShouldSerializePhotoUrl()
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets BannerUrl
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name = "banner_url", EmitDefaultValue = true)]
|
||||||
|
public string BannerUrl { get; private set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns false as BannerUrl should not be serialized given that it's read-only.
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>false (boolean)</returns>
|
||||||
|
public bool ShouldSerializeBannerUrl()
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets LastOnline
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name = "last_online", EmitDefaultValue = true)]
|
||||||
|
public DateTime? LastOnline { get; private set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns false as LastOnline should not be serialized given that it's read-only.
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>false (boolean)</returns>
|
||||||
|
public bool ShouldSerializeLastOnline()
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets Biography
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name = "biography", EmitDefaultValue = true)]
|
||||||
|
public string Biography { get; private set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns false as Biography should not be serialized given that it's read-only.
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>false (boolean)</returns>
|
||||||
|
public bool ShouldSerializeBiography()
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets CreatedAt
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name = "created_at", EmitDefaultValue = false)]
|
||||||
|
public DateTime CreatedAt { get; private set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns false as CreatedAt should not be serialized given that it's read-only.
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>false (boolean)</returns>
|
||||||
|
public bool ShouldSerializeCreatedAt()
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets UpdatedAt
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name = "updated_at", EmitDefaultValue = true)]
|
||||||
|
public DateTime? UpdatedAt { get; private set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns false as UpdatedAt should not be serialized given that it's read-only.
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>false (boolean)</returns>
|
||||||
|
public bool ShouldSerializeUpdatedAt()
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// Returns the string presentation of the object
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>String presentation of the object</returns>
|
||||||
|
public override string ToString()
|
||||||
|
{
|
||||||
|
StringBuilder sb = new StringBuilder();
|
||||||
|
sb.Append("class Profile {\n");
|
||||||
|
sb.Append(" Id: ").Append(Id).Append("\n");
|
||||||
|
sb.Append(" Name: ").Append(Name).Append("\n");
|
||||||
|
sb.Append(" DisplayName: ").Append(DisplayName).Append("\n");
|
||||||
|
sb.Append(" Level: ").Append(Level).Append("\n");
|
||||||
|
sb.Append(" Experience: ").Append(Experience).Append("\n");
|
||||||
|
sb.Append(" Birthday: ").Append(Birthday).Append("\n");
|
||||||
|
sb.Append(" Points: ").Append(Points).Append("\n");
|
||||||
|
sb.Append(" PhotoUrl: ").Append(PhotoUrl).Append("\n");
|
||||||
|
sb.Append(" BannerUrl: ").Append(BannerUrl).Append("\n");
|
||||||
|
sb.Append(" LastOnline: ").Append(LastOnline).Append("\n");
|
||||||
|
sb.Append(" Biography: ").Append(Biography).Append("\n");
|
||||||
|
sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n");
|
||||||
|
sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n");
|
||||||
|
sb.Append("}\n");
|
||||||
|
return sb.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns the JSON string presentation of the object
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>JSON string presentation of the object</returns>
|
||||||
|
public virtual string ToJson()
|
||||||
|
{
|
||||||
|
return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// To validate all properties of the instance
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="validationContext">Validation context</param>
|
||||||
|
/// <returns>Validation Result</returns>
|
||||||
|
IEnumerable<ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
|
||||||
|
{
|
||||||
|
// DisplayName (string) maxLength
|
||||||
|
if (this.DisplayName != null && this.DisplayName.Length > 45)
|
||||||
|
{
|
||||||
|
yield return new ValidationResult("Invalid value for DisplayName, length must be less than 45.", new [] { "DisplayName" });
|
||||||
|
}
|
||||||
|
|
||||||
|
// BannerUrl (string) maxLength
|
||||||
|
if (this.BannerUrl != null && this.BannerUrl.Length > 255)
|
||||||
|
{
|
||||||
|
yield return new ValidationResult("Invalid value for BannerUrl, length must be less than 255.", new [] { "BannerUrl" });
|
||||||
|
}
|
||||||
|
|
||||||
|
yield break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -51,7 +51,7 @@ namespace Tribufu.Model
|
||||||
/// <param name="memberCount">memberCount.</param>
|
/// <param name="memberCount">memberCount.</param>
|
||||||
/// <param name="rank">rank.</param>
|
/// <param name="rank">rank.</param>
|
||||||
/// <param name="since">since.</param>
|
/// <param name="since">since.</param>
|
||||||
public ProfileGroup(string id = default(string), Guid uuid = default(Guid), string name = default(string), string tag = default(string), int privacy = default(int), bool verified = default(bool), string photoUrl = default(string), int memberCount = default(int), GroupRank? rank = default(GroupRank?), DateTime since = default(DateTime))
|
public ProfileGroup(string id = default(string), string uuid = default(string), string name = default(string), string tag = default(string), int privacy = default(int), bool verified = default(bool), string photoUrl = default(string), int memberCount = default(int), GroupRank? rank = default(GroupRank?), DateTime since = default(DateTime))
|
||||||
{
|
{
|
||||||
this.Id = id;
|
this.Id = id;
|
||||||
this.Uuid = uuid;
|
this.Uuid = uuid;
|
||||||
|
|
@ -75,7 +75,7 @@ namespace Tribufu.Model
|
||||||
/// Gets or Sets Uuid
|
/// Gets or Sets Uuid
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "uuid", EmitDefaultValue = false)]
|
[DataMember(Name = "uuid", EmitDefaultValue = false)]
|
||||||
public Guid Uuid { get; set; }
|
public string Uuid { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets Name
|
/// Gets or Sets Name
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -78,7 +78,7 @@ namespace Tribufu.Model
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets GameId
|
/// Gets or Sets GameId
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "game_id", EmitDefaultValue = true)]
|
[DataMember(Name = "game_id", EmitDefaultValue = false)]
|
||||||
public string GameId { get; set; }
|
public string GameId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
|
|
@ -47,9 +47,10 @@ namespace Tribufu.Model
|
||||||
/// <param name="size">size.</param>
|
/// <param name="size">size.</param>
|
||||||
/// <param name="hash">hash.</param>
|
/// <param name="hash">hash.</param>
|
||||||
/// <param name="etag">etag.</param>
|
/// <param name="etag">etag.</param>
|
||||||
/// <param name="created">created.</param>
|
/// <param name="createdAt">createdAt.</param>
|
||||||
/// <param name="updated">updated.</param>
|
/// <param name="updatedAt">updatedAt.</param>
|
||||||
public StorageFile(string id = default(string), string name = default(string), string contentType = default(string), string url = default(string), long size = default(long), string hash = default(string), string etag = default(string), DateTime created = default(DateTime), DateTime? updated = default(DateTime?))
|
/// <param name="deletedAt">deletedAt.</param>
|
||||||
|
public StorageFile(string id = default(string), string name = default(string), string contentType = default(string), string url = default(string), long size = default(long), string hash = default(string), string etag = default(string), DateTime createdAt = default(DateTime), DateTime? updatedAt = default(DateTime?), DateTime? deletedAt = default(DateTime?))
|
||||||
{
|
{
|
||||||
// to ensure "name" is required (not null)
|
// to ensure "name" is required (not null)
|
||||||
if (name == null)
|
if (name == null)
|
||||||
|
|
@ -73,8 +74,9 @@ namespace Tribufu.Model
|
||||||
this.Size = size;
|
this.Size = size;
|
||||||
this.Hash = hash;
|
this.Hash = hash;
|
||||||
this.Etag = etag;
|
this.Etag = etag;
|
||||||
this.Created = created;
|
this.CreatedAt = createdAt;
|
||||||
this.Updated = updated;
|
this.UpdatedAt = updatedAt;
|
||||||
|
this.DeletedAt = deletedAt;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
@ -120,16 +122,22 @@ namespace Tribufu.Model
|
||||||
public string Etag { get; set; }
|
public string Etag { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets Created
|
/// Gets or Sets CreatedAt
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "created", EmitDefaultValue = false)]
|
[DataMember(Name = "created_at", EmitDefaultValue = false)]
|
||||||
public DateTime Created { get; set; }
|
public DateTime CreatedAt { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets Updated
|
/// Gets or Sets UpdatedAt
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "updated", EmitDefaultValue = true)]
|
[DataMember(Name = "updated_at", EmitDefaultValue = true)]
|
||||||
public DateTime? Updated { get; set; }
|
public DateTime? UpdatedAt { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets DeletedAt
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name = "deleted_at", EmitDefaultValue = true)]
|
||||||
|
public DateTime? DeletedAt { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns the string presentation of the object
|
/// Returns the string presentation of the object
|
||||||
|
|
@ -146,8 +154,9 @@ namespace Tribufu.Model
|
||||||
sb.Append(" Size: ").Append(Size).Append("\n");
|
sb.Append(" Size: ").Append(Size).Append("\n");
|
||||||
sb.Append(" Hash: ").Append(Hash).Append("\n");
|
sb.Append(" Hash: ").Append(Hash).Append("\n");
|
||||||
sb.Append(" Etag: ").Append(Etag).Append("\n");
|
sb.Append(" Etag: ").Append(Etag).Append("\n");
|
||||||
sb.Append(" Created: ").Append(Created).Append("\n");
|
sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n");
|
||||||
sb.Append(" Updated: ").Append(Updated).Append("\n");
|
sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n");
|
||||||
|
sb.Append(" DeletedAt: ").Append(DeletedAt).Append("\n");
|
||||||
sb.Append("}\n");
|
sb.Append("}\n");
|
||||||
return sb.ToString();
|
return sb.ToString();
|
||||||
}
|
}
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.3
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
*/
|
*/
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue