Class

# VMware_VCloud_SDK_Query

class VMware_VCloud_SDK_Query extends VMware_VCloud_SDK_Query_Abstract

## Constants

QUERY_REFERENCES | 'references' query format.
QUERY_RECORDS | 'records' query format.
QUERY_IDRECORDS | 'idrecords' query format.

## Methods

VMware_VCloud_API_ReferencesType | queryReferences(string $type, array|VMware_VCloud_SDK_QueryParams $params = null) Retrieves references for the specified query type. |
VMware_VCloud_API_QueryResultRecordsType | queryRecords(string $type, array|VMware_VCloud_SDK_QueryParams $params = null) Retrieves records for the specified query type. |
VMware_VCloud_API_QueryResultRecordsType | queryIdRecords(string $type, array|VMware_VCloud_SDK_QueryParams $params = null) Retrieves idrecords for the specified query type. |
static array | getSupportedQueryReferencesTypes() Returns a list of supported query types used to query in references format. | from VMware_VCloud_SDK_Query_Abstract
static array | getSupportedQueryRecordsTypes() Returns a list of supported query types used to query in records format. | from VMware_VCloud_SDK_Query_Abstract
static array | getSupportedQueryIdRecordsTypes() Returns a list of supported query types used to query in idrecords format. | from VMware_VCloud_SDK_Query_Abstract
static VMware_VCloud_SDK_Query | getInstance(VMware_VCloud_SDK_Service $svc) Returns an instance of VMwareVCloudSDK_Query object. |

## Details

###
at line 70
`public VMware_VCloud_API_ReferencesType queryReferences(string $type, array|VMware_VCloud_SDK_QueryParams $params = null)`

Retrieves references for the specified query type.

#### Parameters

string | $type | Name of the query type.
array|VMware_VCloud_SDK_QueryParams | $params | or VMwareVCloudSDK_QueryParam $params Query parameters map.

#### Return Value

VMware_VCloud_API_ReferencesType |

###
at line 83
`public VMware_VCloud_API_QueryResultRecordsType queryRecords(string $type, array|VMware_VCloud_SDK_QueryParams $params = null)`

Retrieves records for the specified query type.

#### Parameters

string | $type | Name of the query type.
array|VMware_VCloud_SDK_QueryParams | $params | or VMwareVCloudSDK_QueryParam $params Query parameters map.

#### Return Value

VMware_VCloud_API_QueryResultRecordsType |

###
at line 96
`public VMware_VCloud_API_QueryResultRecordsType queryIdRecords(string $type, array|VMware_VCloud_SDK_QueryParams $params = null)`

Retrieves idrecords for the specified query type.

#### Parameters

string | $type | Name of the query type.
array|VMware_VCloud_SDK_QueryParams | $params | or VMwareVCloudSDK_QueryParam $params Query parameters map.

#### Return Value

VMware_VCloud_API_QueryResultRecordsType |

###
in VMware_VCloud_SDK_Query_Abstract at line 41
`final static public array getSupportedQueryReferencesTypes()`

Returns a list of supported query types used to query in references format.

#### Return Value

array |

###
in VMware_VCloud_SDK_Query_Abstract at line 125
`final static public array getSupportedQueryRecordsTypes()`

Returns a list of supported query types used to query in records format.

#### Return Value

array |

###
in VMware_VCloud_SDK_Query_Abstract at line 233
`final static public array getSupportedQueryIdRecordsTypes()`

Returns a list of supported query types used to query in idrecords format.

#### Return Value

array |

###
at line 53
`static public VMware_VCloud_SDK_Query getInstance(VMware_VCloud_SDK_Service $svc)`

Returns an instance of VMwareVCloudSDK_Query object.

#### Parameters

VMware_VCloud_SDK_Service | $svc |

#### Return Value

VMware_VCloud_SDK_Query |