public void marshall(GetApiMappingsRequest getApiMappingsRequest, ProtocolMarshaller protocolMarshaller) {

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

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