文章 ForumRepliesUpdateOptions 类

  • 命名空间: Limyee.Extensibility.Api.Version1
  • 程序集: Limyee.Api.dll

定义

class ForumRepliesUpdateOptions
{
	string Body { get; set;  }
	string ContentType { get; set;  }
	string EditNotes { get; set;  }
	IList<ExtendedAttribute> ExtendedAttributes { get; set;  }
	Byte[] FileData { get; set;  }
	string FileName { get; set;  }
	Stream FileStream { get; set;  }
	string FileUploadContext { get; set;  }
	string FileUrl { get; set;  }
	bool? IsAnonymous { get; set;  }
	bool? IsAnswer { get; set;  }
	bool? IsSuggestedAnswer { get; set;  }
	int? ParentReplyId { get; set;  }
	DateTime? PostDate { get; set;  }
	bool? RemoveAttachment { get; set;  }
	bool? SubscribeToThread { get; set;  }
	string Tags { get; set;  }
}

属性

名称

类型

描述

默认值

选项

Body

string

Content of the reply

ContentType

string

Used when adding a post attachment

EditNotes

string

Edit Notes

ExtendedAttributes

IList<ExtendedAttribute>

ExtendedAttributes

FileData

Byte[]

When adding a post attachment either FileData, FileUrl or FileUploadContext is required

FileName

string

Used when adding a post attachment

FileStream

Stream

Used when adding a post attachment

FileUploadContext

string

When adding a post attachment either FileData, FileUrl or FileUploadContext is required

FileUrl

string

When adding a post attachment either FileData, FileUrl or FileUploadContext is required

IsAnonymous

bool?

Used when the reply should be made anonymously

IsAnswer

bool?

Only applied to replies to threads that are questions.

IsSuggestedAnswer

bool?

Only applied to replies to threads that are questions.

ParentReplyId

int?

Id of the reply this reply is in response to.

PostDate

DateTime?

Reply Date

RemoveAttachment

bool?

Used to remove an existing post attachment

SubscribeToThread

bool?

Whether the thread should be subscribed

Tags

string

A comma separated list of tags