Class ContentType
Represents a single content type.
Inheritance
System.Object
ContentType
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
Assembly:cs.temp.dll.dll
Syntax
public class ContentType : IContentfulResource
Properties
Description
The description of the content type.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DisplayField
The ID of the main field used for display.
Declaration
public string DisplayField { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Fields
List of Field this content type contains.
Declaration
public List<Field> Fields { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Field> |
Name
The name of the content type.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SystemProperties
Common system managed metadata properties.
Declaration
public SystemProperties SystemProperties { get; set; }
Property Value
Type | Description |
---|---|
SystemProperties |