public Query toQuery ( ) throws UnsupportedEncodingException { return new Query ( ) . append ( "name" , name ) . append ( "path" , path ) . appendIf ( "ldap_cn" , ldapCn ) . appendIf ( "description" , description ) . appendIf ( "membershipLock" , membershipLock ) . appendIf ( "share_with_group_lock" , shareWithGroupLock ) . appendIf ( "visibility" , visibility != null ? visibility . toString ( ) : null ) . appendIf ( "lfs_enabled" , lfsEnabled ) . appendIf ( "request_access_enabled" , requestAccessEnabled ) . appendIf ( "parent_id" , parentId ) ; }
Generates query representing this request s properties .