Class ContentstackOptions
Represents a set of options to configure a Stack.
Inheritance
System.Object
ContentstackOptions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Contentstack.Core.Configuration
Assembly: Contentstack.Core.dll
Syntax
public class ContentstackOptions
Properties
| Improve this Doc View SourceAccessToken
The access token used when communicating with the Contentstack API.
Declaration
[Obsolete("We have deprecated AccessToken and we will stop supporting it in the near future. We strongly recommend using DeliveryToken.")]
public string AccessToken { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ApiKey
The api key used when communicating with the Contentstack API.
Declaration
public string ApiKey { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Branch
The Branch used to set Branch for the Contentstack API.
Declaration
public string Branch { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DeliveryToken
The delivery token used when communicating with the Contentstack API.
Declaration
public string DeliveryToken { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Environment
The environment used when communicating with the Contentstack API.
Declaration
public string Environment { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Host
The Host used to set host url for the Contentstack API.
Declaration
public string Host { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LivePreview
The Live preview configuration for the Contentstack API.
Declaration
public LivePreviewConfig LivePreview { get; set; }
Property Value
Type | Description |
---|---|
LivePreviewConfig |
Region
The Region used to set region for the Contentstack API.
Declaration
[TypeConverter(typeof(ContentstackRegionConverter))]
public ContentstackRegion Region { get; set; }
Property Value
Type | Description |
---|---|
ContentstackRegion |
Version
The Version number for the Contentstack API.
Declaration
public string Version { get; set; }
Property Value
Type | Description |
---|---|
System.String |