Class ThreatListUpdateRequestBuilder
Threat List Update Request Builder.
Inheritance
Inherited Members
Namespace: Gee.External.Browsing.Clients
Assembly: Gee.External.Browsing.dll
Syntax
public sealed class ThreatListUpdateRequestBuilder
Methods
AddQuery(ThreatListUpdateQuery)
Add a Query.
Declaration
public ThreatListUpdateRequestBuilder AddQuery(ThreatListUpdateQuery value)
Parameters
Type | Name | Description |
---|---|---|
ThreatListUpdateQuery | value | A ThreatListUpdateQuery indicating a ThreatList to retrieve. |
Returns
Type | Description |
---|---|
ThreatListUpdateRequestBuilder | This threat list update request builder. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Thrown if |
AddQuery(Func<ThreatListUpdateQueryBuilder, ThreatListUpdateQuery>)
Add a Query.
Declaration
public ThreatListUpdateRequestBuilder AddQuery(Func<ThreatListUpdateQueryBuilder, ThreatListUpdateQuery> valueAction)
Parameters
Type | Name | Description |
---|---|---|
System.Func<ThreatListUpdateQueryBuilder, ThreatListUpdateQuery> | valueAction | An action to create a ThreatListUpdateQuery indicating a ThreatList to retrieve. |
Returns
Type | Description |
---|---|
ThreatListUpdateRequestBuilder | This threat list update request builder. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Thrown if |
Build()
Build a Threat List Update Request.
Declaration
public ThreatListUpdateRequest Build()
Returns
Type | Description |
---|---|
ThreatListUpdateRequest |
SetClientMetadata(ClientMetadata)
Set Client Metadata.
Declaration
public ThreatListUpdateRequestBuilder SetClientMetadata(ClientMetadata value)
Parameters
Type | Name | Description |
---|---|---|
ClientMetadata | value | The metadata of the client making the threat list update request. A null reference indicates the client's metadata is unknown. |
Returns
Type | Description |
---|---|
ThreatListUpdateRequestBuilder | This threat list update request builder. |
SetClientMetadata(String, Int32, Int32, Int32)
Set Client Metadata.
Declaration
public ThreatListUpdateRequestBuilder SetClientMetadata(string id, int majorVersion, int minorVersion, int patchVersion)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | A unique identifier identifying the client. |
System.Int32 | majorVersion | The client's major version. |
System.Int32 | minorVersion | The client's minor version. |
System.Int32 | patchVersion | The client's patch version. |
Returns
Type | Description |
---|---|
ThreatListUpdateRequestBuilder | This threat list update request builder. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | Thrown if |
System.ArgumentNullException | Thrown if |
System.ArgumentOutOfRangeException | Thrown if |