public void marshall(CreateUserRequest createUserRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(createUserRequest.getUsername(), USERNAME_BINDING);
            protocolMarshaller.marshall(createUserRequest.getPassword(), PASSWORD_BINDING);
            protocolMarshaller.marshall(createUserRequest.getIdentityInfo(), IDENTITYINFO_BINDING);
            protocolMarshaller.marshall(createUserRequest.getPhoneConfig(), PHONECONFIG_BINDING);
            protocolMarshaller.marshall(createUserRequest.getDirectoryUserId(), DIRECTORYUSERID_BINDING);
            protocolMarshaller.marshall(createUserRequest.getSecurityProfileIds(), SECURITYPROFILEIDS_BINDING);
            protocolMarshaller.marshall(createUserRequest.getRoutingProfileId(), ROUTINGPROFILEID_BINDING);
            protocolMarshaller.marshall(createUserRequest.getHierarchyGroupId(), HIERARCHYGROUPID_BINDING);
            protocolMarshaller.marshall(createUserRequest.getInstanceId(), INSTANCEID_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( CreateUserRequest createUserRequest , ProtocolMarshaller protocolMarshaller ) { if ( createUserRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( createUserRequest . getUsername ( ) , USERNAME_BINDING ) ; protocolMarshaller . marshall ( createUserRequest . getPassword ( ) , PASSWORD_BINDING ) ; protocolMarshaller . marshall ( createUserRequest . getIdentityInfo ( ) , IDENTITYINFO_BINDING ) ; protocolMarshaller . marshall ( createUserRequest . getPhoneConfig ( ) , PHONECONFIG_BINDING ) ; protocolMarshaller . marshall ( createUserRequest . getDirectoryUserId ( ) , DIRECTORYUSERID_BINDING ) ; protocolMarshaller . marshall ( createUserRequest . getSecurityProfileIds ( ) , SECURITYPROFILEIDS_BINDING ) ; protocolMarshaller . marshall ( createUserRequest . getRoutingProfileId ( ) , ROUTINGPROFILEID_BINDING ) ; protocolMarshaller . marshall ( createUserRequest . getHierarchyGroupId ( ) , HIERARCHYGROUPID_BINDING ) ; protocolMarshaller . marshall ( createUserRequest . getInstanceId ( ) , INSTANCEID_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.