Skip to main content

dinio_sdk/models/
mod.rs

1//! Wire shapes of Core resources (`../core/src/models.ts`). Enums are string labels on the
2//! wire (`../core/src/api/enum_labels.ts`); unknown labels must not fail deserialization.
3//! Timestamps are Unix seconds unless a field says otherwise.
4
5mod audit_log;
6mod certificate;
7mod client_identity;
8mod free_domain;
9mod geo;
10mod geo_ban;
11mod health;
12mod health_check;
13mod record;
14mod redirect;
15mod sinkhole;
16mod stats;
17mod user;
18mod zone;
19mod zone_file;
20mod zone_member;
21
22pub use audit_log::AuditLog;
23pub use certificate::{Certificate, CertificateRenewal, CertificateSource, NewCertificate};
24pub use client_identity::{
25    ClientIdentity, ClientIdentityPatch, ClientIdentityType, NewClientIdentity,
26};
27pub use free_domain::{FreeDomainList, FreeLabelAvailability};
28pub use geo::{GeoCatalog, GeoCountry, GeoRegion, GeoSubregion};
29pub use geo_ban::GeoBan;
30pub use health::Health;
31pub use health_check::{
32    HealthCheck, HealthCheckConfig, HealthCheckPatch, HttpCheck, NewHealthCheck, PingCheck,
33    TcpCheck,
34};
35pub use record::{
36    HostHealthMode, NewRecordValue, RecordManager, RecordSet, RecordValue, RecordValuePatch,
37};
38pub use redirect::{
39    AcmeStatus, NewRedirect, REDIRECT_CODES, Redirect, RedirectCertificate, RedirectPatch,
40    RedirectTls,
41};
42pub use sinkhole::{
43    CreatedSinkholeList, NewSinkholeList, NewSinkholeRole, SinkholeLink, SinkholeList,
44    SinkholeListPatch, SinkholeListType, SinkholeRole, SinkholeRolePatch, SinkholeRoleType,
45};
46pub use stats::{
47    StatsPeak, StatsSeries, StatsSeriesResult, StatsTopItem, StatsTopList, ZoneNameStats,
48    ZoneNamesStats, ZoneNxStats,
49};
50pub use user::User;
51pub use zone::Zone;
52pub use zone_file::{
53    Discovery, ImportIssue, ImportRecordsReport, ImportRedirectsReport, ImportReport,
54    ZoneDocGeoBan, ZoneDocHealthCheck, ZoneDocHostHealth, ZoneDocRecord, ZoneDocRedirect,
55    ZoneDocument, ZoneFileFormat,
56};
57pub use zone_member::ZoneMember;