Class UpdateDraftData
Represents the data to be modified when updating a draft.
public sealed class UpdateDraftData
- Inheritance
-
objectUpdateDraftData
- Extension Methods
Constructors
UpdateDraftData(ContentItemData)
Initializes a new instance of UpdateDraftData.
public UpdateDraftData(ContentItemData contentItemData)
Parameters
contentItemData
ContentItemDataType specific content item data which will be used to update a web page.
Exceptions
- ArgumentNullException
Thrown when
contentItemData
is null.
UpdateDraftData(ContentItemData, string)
Initializes a new instance of UpdateDraftData.
public UpdateDraftData(ContentItemData contentItemData, string urlPathSlug)
Parameters
contentItemData
ContentItemDataType specific content item data which will be used to update a web page.
urlPathSlug
stringNew web page URL path slug.
Exceptions
- ArgumentNullException
Thrown when
contentItemData
is null.- ArgumentException
Thrown when
urlPathSlug
is null or empty.
UpdateDraftData(string)
Initializes a new instance of UpdateDraftData.
public UpdateDraftData(string urlPathSlug)
Parameters
urlPathSlug
stringNew web page URL path slug.
Exceptions
- ArgumentException
Thrown when
urlPathSlug
is null or empty.
Properties
ContentItemData
Gets type specific content item data or null. See ContentItemData.
public ContentItemData ContentItemData { get; }
Property Value
UrlPathSlug
Gets web page URL path slug or null.
public string UrlPathSlug { get; }
Property Value
- string