C# Class gdapi.CollectionFilter

Represents a filter to be used with a request for a Collection.
显示文件 Open project: godaddy/gdapi-csharp Class Usage Examples

Public Methods

Method Description
CollectionFilter ( ) : System.Collections.Generic

Creates a new CollectionFilter

CollectionFilter ( string property, string modifier, string value ) : System.Collections.Generic

Creates a new CollectionFilter with a filter with property, modifier, and value.

addFilterItem ( string property, string modifier, string value ) : void

Adds a filter item to the filter

getFilterItems ( ) : Dictionary>>

Gets the filter items

Method Details

CollectionFilter() public method

Creates a new CollectionFilter
public CollectionFilter ( ) : System.Collections.Generic
return System.Collections.Generic

CollectionFilter() public method

Creates a new CollectionFilter with a filter with property, modifier, and value.
public CollectionFilter ( string property, string modifier, string value ) : System.Collections.Generic
property string The property of the Resource to filter by
modifier string The modifier type
value string The value to filter by
return System.Collections.Generic

addFilterItem() public method

Adds a filter item to the filter
public addFilterItem ( string property, string modifier, string value ) : void
property string The property of the Resource to filter by
modifier string The modifier type
value string The value to filter by
return void

getFilterItems() public method

Gets the filter items
public getFilterItems ( ) : Dictionary>>
return Dictionary>>