-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmodel_draft_read.go
More file actions
32 lines (31 loc) · 1.71 KB
/
model_draft_read.go
File metadata and controls
32 lines (31 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
* Dyspatch API
*
* # Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby)
*
* API version: 2020.11
* Contact: support@dyspatch.io
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package dyspatch
import (
"time"
)
// DraftRead template draft metadata included latest draft revision
type DraftRead struct {
// An opaque, unique identifier for a draft
Id string `json:"id,omitempty"`
// An opaque, unique identifier for a template
Template string `json:"template,omitempty"`
// The name of a draft
Name string `json:"name,omitempty"`
// The API url for a specific draft
Url string `json:"url,omitempty"`
Compiled CompiledRead `json:"compiled,omitempty"`
// The time of initial creation
CreatedAt time.Time `json:"createdAt,omitempty"`
// The time of last update
UpdatedAt time.Time `json:"updatedAt,omitempty"`
// A list of the Template's available localizations
Localizations []LocalizationMetaRead `json:"localizations,omitempty"`
}