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