docs: public void marshall(Trust trust, ProtocolMarshaller protocolMarshaller) {
  
          if (trust == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(trust.getDirectoryId(), DIRECTORYID_BINDING);
              protocolMarshaller.marshall(trust.getTrustId(), TRUSTID_BINDING);
              protocolMarshaller.marshall(trust.getRemoteDomainName(), REMOTEDOMAINNAME_BINDING);
              protocolMarshaller.marshall(trust.getTrustType(), TRUSTTYPE_BINDING);
              protocolMarshaller.marshall(trust.getTrustDirection(), TRUSTDIRECTION_BINDING);
              protocolMarshaller.marshall(trust.getTrustState(), TRUSTSTATE_BINDING);
              protocolMarshaller.marshall(trust.getCreatedDateTime(), CREATEDDATETIME_BINDING);
              protocolMarshaller.marshall(trust.getLastUpdatedDateTime(), LASTUPDATEDDATETIME_BINDING);
              protocolMarshaller.marshall(trust.getStateLastUpdatedDateTime(), STATELASTUPDATEDDATETIME_BINDING);
              protocolMarshaller.marshall(trust.getTrustStateReason(), TRUSTSTATEREASON_BINDING);
              protocolMarshaller.marshall(trust.getSelectiveAuth(), SELECTIVEAUTH_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }