public void marshall(ModelPackageSummary modelPackageSummary, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(modelPackageSummary.getModelPackageName(), MODELPACKAGENAME_BINDING);
            protocolMarshaller.marshall(modelPackageSummary.getModelPackageArn(), MODELPACKAGEARN_BINDING);
            protocolMarshaller.marshall(modelPackageSummary.getModelPackageDescription(), MODELPACKAGEDESCRIPTION_BINDING);
            protocolMarshaller.marshall(modelPackageSummary.getCreationTime(), CREATIONTIME_BINDING);
            protocolMarshaller.marshall(modelPackageSummary.getModelPackageStatus(), MODELPACKAGESTATUS_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( ModelPackageSummary modelPackageSummary , ProtocolMarshaller protocolMarshaller ) { if ( modelPackageSummary == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( modelPackageSummary . getModelPackageName ( ) , MODELPACKAGENAME_BINDING ) ; protocolMarshaller . marshall ( modelPackageSummary . getModelPackageArn ( ) , MODELPACKAGEARN_BINDING ) ; protocolMarshaller . marshall ( modelPackageSummary . getModelPackageDescription ( ) , MODELPACKAGEDESCRIPTION_BINDING ) ; protocolMarshaller . marshall ( modelPackageSummary . getCreationTime ( ) , CREATIONTIME_BINDING ) ; protocolMarshaller . marshall ( modelPackageSummary . getModelPackageStatus ( ) , MODELPACKAGESTATUS_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.