public void marshall(UpdateResourceRequest updateResourceRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(updateResourceRequest.getOrganizationId(), ORGANIZATIONID_BINDING);
            protocolMarshaller.marshall(updateResourceRequest.getResourceId(), RESOURCEID_BINDING);
            protocolMarshaller.marshall(updateResourceRequest.getName(), NAME_BINDING);
            protocolMarshaller.marshall(updateResourceRequest.getBookingOptions(), BOOKINGOPTIONS_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( UpdateResourceRequest updateResourceRequest , ProtocolMarshaller protocolMarshaller ) { if ( updateResourceRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( updateResourceRequest . getOrganizationId ( ) , ORGANIZATIONID_BINDING ) ; protocolMarshaller . marshall ( updateResourceRequest . getResourceId ( ) , RESOURCEID_BINDING ) ; protocolMarshaller . marshall ( updateResourceRequest . getName ( ) , NAME_BINDING ) ; protocolMarshaller . marshall ( updateResourceRequest . getBookingOptions ( ) , BOOKINGOPTIONS_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.