Class Locale
Represents a single locale in a Space.
Inheritance
System.Object
Locale
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace:Contentful.Core.Models.Management
Assembly:cs.temp.dll.dll
Syntax
public class Locale : IContentfulResource
Properties
Code
The culture code for the locale.
Declaration
public string Code { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ContentDeliveryApi
Whether or not this locale is available in the delivery api.
Declaration
public bool ContentDeliveryApi { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ContentManagementApi
Whether or not this locale is available in the management api.
Declaration
public bool ContentManagementApi { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Default
Whether or not this locale is the default one for this Space
Declaration
public bool Default { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
FallbackCode
The code of the locale to use as a fallback for this one.
Declaration
public string FallbackCode { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
The name of the locale.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Optional
Whether or not this locale is optional.
Declaration
public bool Optional { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
SystemProperties
Common system managed metadata properties.
Declaration
public SystemProperties SystemProperties { get; set; }
Property Value
Type | Description |
---|---|
SystemProperties |