Class alertInfoResource
Data class for the resource element of the alertInfo class.
Inherited Members
Namespace: CommonAlertingProtocol
Assembly: Ng911Lib.dll
Syntax
[Serializable]
public class alertInfoResource
Properties
| Edit this page View SourcederefUri
The base-64 encoded data content of the resource file (CONDITIONAL).
Declaration
public string derefUri { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
- MAY be used either with or instead of the uri element in messages transmitted over one-way (e.g., broadcast) data links where retrieval of a resource via a URI is not feasible.
- Clients intended for use with one-way data links MUST support this element.
- This element MUST NOT be used unless the sender is certain that all direct clients are capable of processing it.
- If messages including this element are forwarded onto a two-way network, the forwarder MUST strip the derefUri element and SHOULD extract the file contents and provide a uri link to a retrievable version of the file.
- Providers of one-way data links MAY enforce additional restrictions on the use of this element, including message-size limits and restrictions regarding file types.
digest
The code representing the digital digest (“hash”) computed from the resource file (OPTIONAL). Calculated using the Secure Hash Algorithm (SHA-1) per [FIPS 180-2].
Declaration
public string digest { get; set; }
Property Value
Type | Description |
---|---|
string |
mimeType
The identifier of the MIME content type and sub-type describing the resource file (REQUIRED).
Declaration
public string mimeType { get; set; }
Property Value
Type | Description |
---|---|
string |
resourceDesc
Text describing the type and content of the resource file (REQUIRED). Human-readable text describing the type and content, such as “map” or “photo”, of the resource file.
Declaration
public string resourceDesc { get; set; }
Property Value
Type | Description |
---|---|
string |
size
Integer indicating the size of the resource file (OPTIONAL). The size may be approximate.
Declaration
public string size { get; set; }
Property Value
Type | Description |
---|---|
string |
uri
The identifier of the hyperlink for the resource file (OPTIONAL). A full absolute URI, typically a Uniform Resource Locator that can be used to retrieve the resource over the Internet or a relative URI to name the content of a derefUri element if one is present in this resource block.
Declaration
public string uri { get; set; }
Property Value
Type | Description |
---|---|
string |