public static class InfoRequest.ContentSearch extends java.lang.Object implements InfoRequest.Value
Parameter.Key.CONTENT_SEARCH.InfoResponse.ContentSearch| Modifier and Type | Field and Description |
|---|---|
StorageContentMetadata.ContentType |
contentType
Filter content based on there
StorageContentMetadata.ContentType. |
java.time.Instant |
endTime
Filter content based on end.
|
long |
offsetIndex
Defines offset.
|
int |
reqSearchCount
Defines length of result.
|
InfoRequest.SortOrder |
sortOrder
|
InfoRequest.SortType |
sortType
|
Identifier.SourceIdentifier |
sourceUri
Identifier for source of the content.
|
java.time.Instant |
startTime
Filter content based on start.
|
StorageContentMetadata.TriggerType |
triggerType
Filter content based on there
StorageContentMetadata.TriggerType. |
Identifier.TriggerIdentifier |
uploadTriggeredUri
Identifier for trigger that created the content.
|
| Constructor and Description |
|---|
ContentSearch(StorageContentMetadata.ContentType contentType,
StorageContentMetadata.TriggerType triggerType)
Constructs the object given
StorageContentMetadata.ContentType,
StorageContentMetadata.TriggerType. |
| Modifier and Type | Method and Description |
|---|---|
static Identifier |
getRegex(Attribute a)
This function creates an identifier for provided attribute.
|
static Identifier |
getRegex(Capability c)
This function creates an identifier for provided capability.
|
static Identifier |
getRegex(Device d)
This function creates an identifier for provided device.
|
static Identifier |
getRegex(Network n)
This function creates an identifier for provided network.
|
static Identifier |
getRegex(Resource r)
This function creates an identifier for provided resource.
|
@SerializedName(value="reqSearchCount") public int reqSearchCount
InfoResponse.ContentSearch@SerializedName(value="offsetIndex") public long offsetIndex
@SerializedName(value="startEpochTime") public java.time.Instant startTime
@SerializedName(value="endEpochTime") public java.time.Instant endTime
@SerializedName(value="contentType") public StorageContentMetadata.ContentType contentType
StorageContentMetadata.ContentType.@SerializedName(value="uploadTriggerType") public StorageContentMetadata.TriggerType triggerType
StorageContentMetadata.TriggerType.@SerializedName(value="uploadTriggeredUri") public Identifier.TriggerIdentifier uploadTriggeredUri
@SerializedName(value="sourceUri") public Identifier.SourceIdentifier sourceUri
@SerializedName(value="sortByType") public InfoRequest.SortType sortType
@SerializedName(value="sortByOrder") public InfoRequest.SortOrder sortOrder
public ContentSearch(StorageContentMetadata.ContentType contentType, StorageContentMetadata.TriggerType triggerType)
StorageContentMetadata.ContentType,
StorageContentMetadata.TriggerType.contentType - Filter content based on there StorageContentMetadata.ContentType.triggerType - Filter content based on there StorageContentMetadata.TriggerType.public static Identifier getRegex(Network n)
n - Network for which regex is requestedpublic static Identifier getRegex(Device d)
d - Device for which regex is requestedpublic static Identifier getRegex(Resource r)
r - Resource for which regex is requestedpublic static Identifier getRegex(Capability c)
c - Capability for which regex is requestedpublic static Identifier getRegex(Attribute a)
a - Attribute for which regex is requested