public void marshall(ItemResponse itemResponse, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(itemResponse.getEndpointItemResponse(), ENDPOINTITEMRESPONSE_BINDING);
            protocolMarshaller.marshall(itemResponse.getEventsItemResponse(), EVENTSITEMRESPONSE_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( ItemResponse itemResponse , ProtocolMarshaller protocolMarshaller ) { if ( itemResponse == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( itemResponse . getEndpointItemResponse ( ) , ENDPOINTITEMRESPONSE_BINDING ) ; protocolMarshaller . marshall ( itemResponse . getEventsItemResponse ( ) , EVENTSITEMRESPONSE_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.