code: public void marshall(User user, ProtocolMarshaller protocolMarshaller) {
  
          if (user == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(user.getId(), ID_BINDING);
              protocolMarshaller.marshall(user.getEmail(), EMAIL_BINDING);
              protocolMarshaller.marshall(user.getName(), NAME_BINDING);
              protocolMarshaller.marshall(user.getDisplayName(), DISPLAYNAME_BINDING);
              protocolMarshaller.marshall(user.getState(), STATE_BINDING);
              protocolMarshaller.marshall(user.getUserRole(), USERROLE_BINDING);
              protocolMarshaller.marshall(user.getEnabledDate(), ENABLEDDATE_BINDING);
              protocolMarshaller.marshall(user.getDisabledDate(), DISABLEDDATE_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.