public ServiceCall < ValueCollection > listValues ( ListValuesOptions listValuesOptions ) { Validator . notNull ( listValuesOptions , "listValuesOptions cannot be null" ) ; String [ ] pathSegments = { "v1/workspaces" , "entities" , "values" } ; String [ ] pathParameters = { listValuesOptions . workspaceId ( ) , listValuesOptions . entity ( ) } ; RequestBuilder builder = RequestBuilder . get ( RequestBuilder . constructHttpUrl ( getEndPoint ( ) , pathSegments , pathParameters ) ) ; builder . query ( "version" , versionDate ) ; Map < String , String > sdkHeaders = SdkCommon . getSdkHeaders ( "conversation" , "v1" , "listValues" ) ; for ( Entry < String , String > header : sdkHeaders . entrySet ( ) ) { builder . header ( header . getKey ( ) , header . getValue ( ) ) ; } builder . header ( "Accept" , "application/json" ) ; if ( listValuesOptions . export ( ) != null ) { builder . query ( "export" , String . valueOf ( listValuesOptions . export ( ) ) ) ; } if ( listValuesOptions . pageLimit ( ) != null ) { builder . query ( "page_limit" , String . valueOf ( listValuesOptions . pageLimit ( ) ) ) ; } if ( listValuesOptions . includeCount ( ) != null ) { builder . query ( "include_count" , String . valueOf ( listValuesOptions . includeCount ( ) ) ) ; } if ( listValuesOptions . sort ( ) != null ) { builder . query ( "sort" , listValuesOptions . sort ( ) ) ; } if ( listValuesOptions . cursor ( ) != null ) { builder . query ( "cursor" , listValuesOptions . cursor ( ) ) ; } if ( listValuesOptions . includeAudit ( ) != null ) { builder . query ( "include_audit" , String . valueOf ( listValuesOptions . includeAudit ( ) ) ) ; } return createServiceCall ( builder . build ( ) , ResponseConverterUtils . getObject ( ValueCollection . class ) ) ; }
List entity values .