-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmodel_localization_read.go
34 lines (33 loc) · 2.06 KB
/
model_localization_read.go
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
33
34
/*
* 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: [email protected]
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package dyspatch
import (
"time"
)
// LocalizationRead localization metadata and latest revision for associated template
type LocalizationRead struct {
// An opaque, unique identifier for a localization
Id string `json:"id,omitempty"`
// a list of locale codes that are available in the localization. See [supported languages](https://docs.dyspatch.io/localization/supported_languages/) for an exhaustive list of locale codes.
Languages []string `json:"languages,omitempty"`
// The API url for a specific localization
Url string `json:"url,omitempty"`
// An opaque, unique identifier for a template
Template string `json:"template,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"`
// The user-specified name of a localization
Name string `json:"name,omitempty"`
// the locale group this localization belongs to, if this field is empty the localization does not belong to any locale group
LocaleGroup string `json:"localeGroup,omitempty"`
}