public void marshall(ProjectDetails projectDetails, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(projectDetails.getName(), NAME_BINDING);
            protocolMarshaller.marshall(projectDetails.getProjectId(), PROJECTID_BINDING);
            protocolMarshaller.marshall(projectDetails.getRegion(), REGION_BINDING);
            protocolMarshaller.marshall(projectDetails.getState(), STATE_BINDING);
            protocolMarshaller.marshall(projectDetails.getCreatedDate(), CREATEDDATE_BINDING);
            protocolMarshaller.marshall(projectDetails.getLastUpdatedDate(), LASTUPDATEDDATE_BINDING);
            protocolMarshaller.marshall(projectDetails.getConsoleUrl(), CONSOLEURL_BINDING);
            protocolMarshaller.marshall(projectDetails.getResources(), RESOURCES_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( ProjectDetails projectDetails , ProtocolMarshaller protocolMarshaller ) { if ( projectDetails == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( projectDetails . getName ( ) , NAME_BINDING ) ; protocolMarshaller . marshall ( projectDetails . getProjectId ( ) , PROJECTID_BINDING ) ; protocolMarshaller . marshall ( projectDetails . getRegion ( ) , REGION_BINDING ) ; protocolMarshaller . marshall ( projectDetails . getState ( ) , STATE_BINDING ) ; protocolMarshaller . marshall ( projectDetails . getCreatedDate ( ) , CREATEDDATE_BINDING ) ; protocolMarshaller . marshall ( projectDetails . getLastUpdatedDate ( ) , LASTUPDATEDDATE_BINDING ) ; protocolMarshaller . marshall ( projectDetails . getConsoleUrl ( ) , CONSOLEURL_BINDING ) ; protocolMarshaller . marshall ( projectDetails . getResources ( ) , RESOURCES_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.