Members on this page
Meshline.Sdk
Meshline.Models.Client
AccountEstablishmentOptions Class
Configures idempotent account setup without starting background synchronization.
public sealed class AccountEstablishmentOptions
Inheritance System.Object → AccountEstablishmentOptions
Remarks
Options and initial profile fields are copied when setup is called.
An unfinished setup retains its saved lifetimes, initial push gateway and initial profile. Omitted options resume that operation;
conflicting explicit relay, gateway or profile values are rejected. Valid certificates and routes are retained.
Properties
AccountEstablishmentOptions.CertificateValidity Property
The lifetime for a certificate that needs issuance or renewal, from one second through 720 days; defaults to 365 days.
public System.TimeSpan CertificateValidity { get; set; }
Property Value
AccountEstablishmentOptions.InitialProfile Property
Optional creation-only profile values. Existing profile fields are never changed by account setup.
public Meshline.Models.Client.AccountInitialProfile? InitialProfile { get; set; }
Property Value
AccountEstablishmentOptions.PushGateway Property
The complete HTTPS callback URL for a new local device, or null for no declaration when starting setup.
public string? PushGateway { get; set; }
Property Value
Remarks
Existing devices and saved drafts retain their declaration. Omit this value to resume saved intent;
a conflicting non-null value is rejected while setup is unfinished.
Use PushGateway to change or remove an existing declaration.
AccountEstablishmentOptions.RelayId Property
The relay's canonical identifier. An existing route or unfinished operation retains its original relay; a conflicting value is rejected.
public string? RelayId { get; set; }
Property Value
AccountEstablishmentOptions.ReplaceDeviceId Property
The device explicitly selected for removal while authorizing the local device in one publication.
public string? ReplaceDeviceId { get; set; }
Property Value
Remarks
A null value resumes any saved replacement choice; without one, all other devices are preserved.
An unresolved submission or an effective replacement cannot be changed while setup is unfinished.
AccountEstablishmentOptions.RouteValidity Property
The lifetime for a route that needs publication or renewal, from one second through 3650 days; defaults to 365 days.
public System.TimeSpan RouteValidity { get; set; }