- 命名空间: Limyee.Extensibility.Api.Version1
- 程序集: Limyee.Api.dll
定义
class MediaUpdateOptions { string ContentType { get; set; } string Description { get; set; } IList<ExtendedAttribute> ExtendedAttributes { get; set; } string FeaturedImage { get; set; } Byte[] FileData { get; set; } string FileName { get; set; } Stream FileStream { get; set; } string FileUploadContext { get; set; } string FileUrl { get; set; } bool? IsFeatured { get; set; } string MetaDescription { get; set; } string MetaKeywords { get; set; } string MetaTitle { get; set; } string Name { get; set; } string OpenGraphDescription { get; set; } string OpenGraphImageContext { get; set; } string OpenGraphImageFileName { get; set; } string OpenGraphTitle { get; set; } bool? RemoveOpenGraphImage { get; set; } string Tags { get; set; } }
属性
名称 |
类型 |
描述 |
默认值 |
选项 |
ContentType |
string |
Required when updating FileData, FileUrl or FileUploadContext. |
||
Description |
string |
Description |
||
ExtendedAttributes |
IList<ExtendedAttribute> |
ExtendedAttributes |
||
FeaturedImage |
string |
Used to include a featured image when IsFeatured is true. |
||
FileData |
Byte[] |
FileData, FileStream, FileUrl or FileUploadContext is required. |
||
FileName |
string |
Required when updating FileData, FileUrl or FileUploadContext. |
||
FileStream |
Stream |
FileData, FileStream, FileUrl or FileUploadContext is required. |
||
FileUploadContext |
string |
FileData, FileStream, FileUrl or FileUploadContext is required. |
||
FileUrl |
string |
FileData, FileStream, FileUrl or FileUploadContext is required. |
||
IsFeatured |
bool? |
Is featured |
||
MetaDescription |
string |
A brief description of the content used in the meta description tag. |
||
MetaKeywords |
string |
A comma-seperated list of keywords |
||
MetaTitle |
string |
Title used in page's title tag |
||
Name |
string |
Name |
||
OpenGraphDescription |
string |
Description used in open graph tag. |
||
OpenGraphImageContext |
string |
Image context for file used in open graph tag. |
||
OpenGraphImageFileName |
string |
Name for file used in open graph tag. |
||
OpenGraphTitle |
string |
|||
RemoveOpenGraphImage |
bool? |
Remove the current open graph image. |
||
Tags |
string |
A comma separated list of tags. |