Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TemplateRead" /> class.
 /// </summary>
 /// <param name="id">An opaque, unique identifier for a template.</param>
 /// <param name="name">The name of a template.</param>
 /// <param name="description">A description of the template.</param>
 /// <param name="url">The API url for a specific template.</param>
 /// <param name="compiled">compiled.</param>
 /// <param name="createdAt">The time of initial creation.</param>
 /// <param name="updatedAt">The time of last update.</param>
 /// <param name="localizations">A list of the Template&#39;s available localizations.</param>
 public TemplateRead(string id = default(string), string name = default(string), string description = default(string), string url = default(string), CompiledRead compiled = default(CompiledRead), DateTimeOffset createdAt = default(DateTimeOffset), DateTimeOffset updatedAt = default(DateTimeOffset), List <LocalizationMetaRead> localizations = default(List <LocalizationMetaRead>))
 {
     this.Id            = id;
     this.Name          = name;
     this.Description   = description;
     this.Url           = url;
     this.Compiled      = compiled;
     this.CreatedAt     = createdAt;
     this.UpdatedAt     = updatedAt;
     this.Localizations = localizations;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="LocalizationRead" /> class.
 /// </summary>
 /// <param name="id">An opaque, unique identifier for a localization.</param>
 /// <param name="languages">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. .</param>
 /// <param name="url">The API url for a specific localization.</param>
 /// <param name="template">An opaque, unique identifier for a template.</param>
 /// <param name="compiled">compiled.</param>
 /// <param name="createdAt">The time of initial creation.</param>
 /// <param name="updatedAt">The time of last update.</param>
 /// <param name="name">The user-specified name of a localization.</param>
 /// <param name="localeGroup">the locale group this localization belongs to, if this field is empty the localization does not belong to any locale group.</param>
 public LocalizationRead(string id = default(string), List <string> languages = default(List <string>), string url = default(string), string template = default(string), CompiledRead compiled = default(CompiledRead), DateTimeOffset createdAt = default(DateTimeOffset), DateTimeOffset updatedAt = default(DateTimeOffset), string name = default(string), string localeGroup = default(string))
 {
     this.Id          = id;
     this.Languages   = languages;
     this.Url         = url;
     this.Template    = template;
     this.Compiled    = compiled;
     this.CreatedAt   = createdAt;
     this.UpdatedAt   = updatedAt;
     this.Name        = name;
     this.LocaleGroup = localeGroup;
 }