public void marshall(SlotTypeMetadata slotTypeMetadata, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(slotTypeMetadata.getName(), NAME_BINDING);
            protocolMarshaller.marshall(slotTypeMetadata.getDescription(), DESCRIPTION_BINDING);
            protocolMarshaller.marshall(slotTypeMetadata.getLastUpdatedDate(), LASTUPDATEDDATE_BINDING);
            protocolMarshaller.marshall(slotTypeMetadata.getCreatedDate(), CREATEDDATE_BINDING);
            protocolMarshaller.marshall(slotTypeMetadata.getVersion(), VERSION_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( SlotTypeMetadata slotTypeMetadata , ProtocolMarshaller protocolMarshaller ) { if ( slotTypeMetadata == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( slotTypeMetadata . getName ( ) , NAME_BINDING ) ; protocolMarshaller . marshall ( slotTypeMetadata . getDescription ( ) , DESCRIPTION_BINDING ) ; protocolMarshaller . marshall ( slotTypeMetadata . getLastUpdatedDate ( ) , LASTUPDATEDDATE_BINDING ) ; protocolMarshaller . marshall ( slotTypeMetadata . getCreatedDate ( ) , CREATEDDATE_BINDING ) ; protocolMarshaller . marshall ( slotTypeMetadata . getVersion ( ) , VERSION_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.