public void marshall(SearchRoomsRequest searchRoomsRequest, ProtocolMarshaller protocolMarshaller) {

        if (searchRoomsRequest == null) {
            throw new SdkClientException("Invalid argument passed to marshall(...)");
        }

        try {
            protocolMarshaller.marshall(searchRoomsRequest.getNextToken(), NEXTTOKEN_BINDING);
            protocolMarshaller.marshall(searchRoomsRequest.getMaxResults(), MAXRESULTS_BINDING);
            protocolMarshaller.marshall(searchRoomsRequest.getFilters(), FILTERS_BINDING);
            protocolMarshaller.marshall(searchRoomsRequest.getSortCriteria(), SORTCRITERIA_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( SearchRoomsRequest searchRoomsRequest , ProtocolMarshaller protocolMarshaller ) { if ( searchRoomsRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( searchRoomsRequest . getNextToken ( ) , NEXTTOKEN_BINDING ) ; protocolMarshaller . marshall ( searchRoomsRequest . getMaxResults ( ) , MAXRESULTS_BINDING ) ; protocolMarshaller . marshall ( searchRoomsRequest . getFilters ( ) , FILTERS_BINDING ) ; protocolMarshaller . marshall ( searchRoomsRequest . getSortCriteria ( ) , SORTCRITERIA_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.