Public Member Functions | |
void | OnBeforeSerialize () |
void | OnAfterDeserialize () |
![]() | |
void | SetIdAndVersion (string id, string version) |
Set the &id and &version More... | |
void | SetManifestID (string manifestID) |
Set the Manifest Id More... | |
ContentObject | SetContentName (string newContentName) |
Set the name of the ContentObject More... | |
void | BroadcastUpdate () |
Broadcast an updated changed of the ContentObject field values | |
virtual void | Validate (IValidationContext ctx) |
Validate this ContentObject . More... | |
bool | HasValidationErrors (IValidationContext ctx, out List< string > errors) |
Determines if the ContentObject has Validation Errors More... | |
bool | HasValidationExceptions (IValidationContext ctx, out List< ContentException > exceptions) |
Determines if the ContentObject has Validation Exceptions More... | |
List< ContentValidationException > | GetMemberValidationErrors (IValidationContext ctx) |
Gets list of the ContentObject has Member Validation Errors | |
string | ToJson () |
Converts the ContentObject to Json More... | |
Public Attributes | |
OptionalString | Description |
Method | Method = Method.POST |
ServiceRoute | ServiceRoute = new ServiceRoute() |
RouteParameters | Parameters = new RouteParameters() |
Protected Member Functions | |
virtual ApiVariable[] | GetVariables () |
Return the set of variables that can be used on this entire class type of api callbacks. All ApiVariable will be bound to actual values from the call site of the API. If you are creating your own custom API subclass, and you are implementing this method, be careful not to include variables that are not documented by Beamable. Any variable listed in the response that isn't provided at the callsite will cause the api callback to fail. More... | |
Properties | |
ApiVariable[] | Variables [get] |
![]() | |
string | ContentVersion [get] |
string | ContentName [get] |
The name of the ContentObject | |
string | ContentType [get] |
The type of the ContentObject | |
string | Id [get] |
The id of the ContentObject | |
string | ManifestID [get] |
The Manifest Id | |
string | Version [get] |
The version of the ContentObject | |
string[]?? | Tags [getset] |
The tags of the ContentObject | |
![]() | |
string | Id [get] |
The id. A content id is a dot separated string. The right most part is the name of the content. Every part to the left of the name denotes the type of the content. | |
string | Version [get] |
The version | |
string[] | Tags [get] |
The tags | |
string | ManifestID [get] |
Additional Inherited Members | |
![]() | |
static string | GetContentTypeName (Type contentType) |
Get the TypeName of the ContentObject More... | |
static string | GetContentType< TContent > () |
Get the type of the ContentObject More... | |
static TContent | Make< TContent > (string name) |
Make an instance of the ContentObject More... | |
![]() | |
const string | TooltipNotFoundDebugFallback1a = "(No Tooltip)" |
![]() | |
ContentDelegate | OnChanged |
Invoked after ContentObject field values change | |
|
inlineprotectedvirtual |
Return the set of variables that can be used on this entire class type of api callbacks. All ApiVariable will be bound to actual values from the call site of the API. If you are creating your own custom API subclass, and you are implementing this method, be careful not to include variables that are not documented by Beamable. Any variable listed in the response that isn't provided at the callsite will cause the api callback to fail.
Reimplemented in Beamable.Common.Announcements.AnnouncementApiContent.