public void marshall(CreateSubscriberRequest createSubscriberRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(createSubscriberRequest.getAccountId(), ACCOUNTID_BINDING);
            protocolMarshaller.marshall(createSubscriberRequest.getBudgetName(), BUDGETNAME_BINDING);
            protocolMarshaller.marshall(createSubscriberRequest.getNotification(), NOTIFICATION_BINDING);
            protocolMarshaller.marshall(createSubscriberRequest.getSubscriber(), SUBSCRIBER_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( CreateSubscriberRequest createSubscriberRequest , ProtocolMarshaller protocolMarshaller ) { if ( createSubscriberRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( createSubscriberRequest . getAccountId ( ) , ACCOUNTID_BINDING ) ; protocolMarshaller . marshall ( createSubscriberRequest . getBudgetName ( ) , BUDGETNAME_BINDING ) ; protocolMarshaller . marshall ( createSubscriberRequest . getNotification ( ) , NOTIFICATION_BINDING ) ; protocolMarshaller . marshall ( createSubscriberRequest . getSubscriber ( ) , SUBSCRIBER_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.