Search Results for

    Show / Hide Table of Contents

    Class TemplateCreateRequest

    Request to create a new template

    Inheritance
    object
    TemplateUpdateRequest
    TemplateCreateRequest
    Template
    Inherited Members
    TemplateUpdateRequest.Names
    TemplateUpdateRequest.Values
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: System.Dynamic.ExpandoObject
    Syntax
    [GeneratedCode("NJsonSchema", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
    public class TemplateCreateRequest : TemplateUpdateRequest

    Properties

    LanguageCode

    Language code of the template.

    Declaration
    [JsonProperty("languageCode", Required = Required.Always)]
    [Required]
    public string LanguageCode { get; set; }
    Property Value
    string

    Name

    Name of the template.

    Declaration
    [JsonProperty("name", Required = Required.Always)]
    [Required]
    public string Name { get; set; }
    Property Value
    string

    TemplateType

    Type of the template.

    Declaration
    [JsonProperty("templateType", Required = Required.Always)]
    [Required(AllowEmptyStrings = true)]
    [JsonConverter(typeof(StringEnumConverter))]
    public TemplateType TemplateType { get; set; }
    Property Value
    TemplateType

    Methods

    FromJson(string)

    Declaration
    public static TemplateCreateRequest FromJson(string data)
    Parameters
    string data

    Returns
    TemplateCreateRequest

    ToJson()

    Declaration
    public string ToJson()
    Returns
    string

    Back to top Generated by DocFX