public void marshall(VerifySoftwareTokenRequest verifySoftwareTokenRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(verifySoftwareTokenRequest.getAccessToken(), ACCESSTOKEN_BINDING);
            protocolMarshaller.marshall(verifySoftwareTokenRequest.getSession(), SESSION_BINDING);
            protocolMarshaller.marshall(verifySoftwareTokenRequest.getUserCode(), USERCODE_BINDING);
            protocolMarshaller.marshall(verifySoftwareTokenRequest.getFriendlyDeviceName(), FRIENDLYDEVICENAME_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( VerifySoftwareTokenRequest verifySoftwareTokenRequest , ProtocolMarshaller protocolMarshaller ) { if ( verifySoftwareTokenRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( verifySoftwareTokenRequest . getAccessToken ( ) , ACCESSTOKEN_BINDING ) ; protocolMarshaller . marshall ( verifySoftwareTokenRequest . getSession ( ) , SESSION_BINDING ) ; protocolMarshaller . marshall ( verifySoftwareTokenRequest . getUserCode ( ) , USERCODE_BINDING ) ; protocolMarshaller . marshall ( verifySoftwareTokenRequest . getFriendlyDeviceName ( ) , FRIENDLYDEVICENAME_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.