Plegma API  v2
Yodiwo.API.Plegma.BinaryResourceDescriptor Class Reference

Descriptor of a binary resource. More...

Public Member Functions

 BinaryResourceDescriptor (string name, eBinaryResourceContentType contentType, eBinaryResourceLocationType locationType, ContentDescriptor contentDescriptor, LocationDescriptor locationDescriptor, int size=0, string description="")
 
bool IsImage ()
 Return true if this binary resource is image, elsewhere return false More...
 
void Update (BinaryResourceDescriptor brd)
 

Public Attributes

string Key
 
string FriendlyName
 
string FriendlyDescription
 
long Size
 
eBinaryResourceContentType ContentType
 
eBinaryResourceLocationType LocationType
 
string ContentDescriptorJson
 Json-encoded Content descriptor (a class that derives from ContentDescriptor) More...
 
string LocationDescriptorJson
 Json-encoded Location descriptor (a class that derives from LocationDescriptor) More...
 

Properties

object ContentDescriptor [get, set]
 
object LocationDescriptor [get, set]
 

Detailed Description

Descriptor of a binary resource.

Member Function Documentation

bool Yodiwo.API.Plegma.BinaryResourceDescriptor.IsImage ( )

Return true if this binary resource is image, elsewhere return false

Returns
void Yodiwo.API.Plegma.BinaryResourceDescriptor.Update ( BinaryResourceDescriptor  brd)

Parameters
brd

Member Data Documentation

string Yodiwo.API.Plegma.BinaryResourceDescriptor.ContentDescriptorJson

Json-encoded Content descriptor (a class that derives from ContentDescriptor)

string Yodiwo.API.Plegma.BinaryResourceDescriptor.LocationDescriptorJson

Json-encoded Location descriptor (a class that derives from LocationDescriptor)


The documentation for this class was generated from the following file: