public void marshall(AssociateDeviceWithPlacementRequest associateDeviceWithPlacementRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(associateDeviceWithPlacementRequest.getProjectName(), PROJECTNAME_BINDING);
            protocolMarshaller.marshall(associateDeviceWithPlacementRequest.getPlacementName(), PLACEMENTNAME_BINDING);
            protocolMarshaller.marshall(associateDeviceWithPlacementRequest.getDeviceId(), DEVICEID_BINDING);
            protocolMarshaller.marshall(associateDeviceWithPlacementRequest.getDeviceTemplateName(), DEVICETEMPLATENAME_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( AssociateDeviceWithPlacementRequest associateDeviceWithPlacementRequest , ProtocolMarshaller protocolMarshaller ) { if ( associateDeviceWithPlacementRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( associateDeviceWithPlacementRequest . getProjectName ( ) , PROJECTNAME_BINDING ) ; protocolMarshaller . marshall ( associateDeviceWithPlacementRequest . getPlacementName ( ) , PLACEMENTNAME_BINDING ) ; protocolMarshaller . marshall ( associateDeviceWithPlacementRequest . getDeviceId ( ) , DEVICEID_BINDING ) ; protocolMarshaller . marshall ( associateDeviceWithPlacementRequest . getDeviceTemplateName ( ) , DEVICETEMPLATENAME_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.