public void marshall(DeletePortfolioShareRequest deletePortfolioShareRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(deletePortfolioShareRequest.getAcceptLanguage(), ACCEPTLANGUAGE_BINDING);
            protocolMarshaller.marshall(deletePortfolioShareRequest.getPortfolioId(), PORTFOLIOID_BINDING);
            protocolMarshaller.marshall(deletePortfolioShareRequest.getAccountId(), ACCOUNTID_BINDING);
            protocolMarshaller.marshall(deletePortfolioShareRequest.getOrganizationNode(), ORGANIZATIONNODE_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( DeletePortfolioShareRequest deletePortfolioShareRequest , ProtocolMarshaller protocolMarshaller ) { if ( deletePortfolioShareRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( deletePortfolioShareRequest . getAcceptLanguage ( ) , ACCEPTLANGUAGE_BINDING ) ; protocolMarshaller . marshall ( deletePortfolioShareRequest . getPortfolioId ( ) , PORTFOLIOID_BINDING ) ; protocolMarshaller . marshall ( deletePortfolioShareRequest . getAccountId ( ) , ACCOUNTID_BINDING ) ; protocolMarshaller . marshall ( deletePortfolioShareRequest . getOrganizationNode ( ) , ORGANIZATIONNODE_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.