Class PriceSearchRequest
java.lang.Object
com.eqixiac.equinix.internetaccess.model.json.creators.PriceSearchRequest
Request body (
FilterBody) for searching Equinix Internet Access (EIA) v1 prices via
POST /internetAccess/v1/prices/search.
Wraps a required AND group of equality expressions. Each expression matches a
product/price property — expressed as a JSON pointer (for example
/service/connection/type or /service/bandwidth) — against one or more
values. Build it fluently:
PriceSearchRequest filter = new PriceSearchRequest()
.equals("/account/accountNumber", "2-57689234")
.equals("/service/connection/type", "IA_C")
.equals("/service/bandwidth", "100");
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds an equality expression to theANDgroup.Adds an equality expression to theANDgroup.
-
Constructor Details
-
PriceSearchRequest
public PriceSearchRequest()
-
-
Method Details
-
equals
Adds an equality expression to theANDgroup.- Parameters:
property- the property pointer to match (e.g./service/connection/type)values- the values to match against- Returns:
- this request for chaining
-
equals
Adds an equality expression to theANDgroup.- Parameters:
property- the property pointer to match (e.g./service/connection/type)values- the values to match against- Returns:
- this request for chaining
-