62f687b589
.NET Build and Publish / build (push) Has been cancelled
chore(sdk)!: Remove fallback behaviour from hashed account info
47 lines
1.2 KiB
C#
47 lines
1.2 KiB
C#
namespace Speckle.Sdk.Api.GraphQL.Models;
|
|
|
|
public sealed class AuthStrategy
|
|
{
|
|
public string? color { get; init; }
|
|
public string icon { get; init; }
|
|
public string id { get; init; }
|
|
public string name { get; init; }
|
|
public string url { get; init; }
|
|
}
|
|
|
|
public sealed class ServerInfo
|
|
{
|
|
public string name { get; init; }
|
|
public string? company { get; init; }
|
|
public string? version { get; init; }
|
|
public string? description { get; init; }
|
|
|
|
[Obsolete("Don't use")]
|
|
public bool frontend2 { get; set; } = true;
|
|
|
|
/// <summary>
|
|
/// The URL that should be used to talk with the server
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// This field is not returned from the GQL API,
|
|
/// it should be populated after construction.
|
|
/// see <see cref="Speckle.Sdk.Credentials.AccountManager"/>
|
|
/// </remarks>
|
|
public string url { get; set; }
|
|
|
|
public ServerMigration? migration { get; init; }
|
|
}
|
|
|
|
public sealed class ServerMigration
|
|
{
|
|
/// <summary>
|
|
/// Previous URI where this server used to be deployed
|
|
/// </summary>
|
|
public Uri? movedFrom { get; set; }
|
|
|
|
/// <summary>
|
|
/// New URI where this server is now deployed
|
|
/// </summary>
|
|
public Uri? movedTo { get; set; }
|
|
}
|