docs: public void marshall(Activity activity, ProtocolMarshaller protocolMarshaller) {
  
          if (activity == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(activity.getType(), TYPE_BINDING);
              protocolMarshaller.marshall(activity.getTimeStamp(), TIMESTAMP_BINDING);
              protocolMarshaller.marshall(activity.getIsIndirectActivity(), ISINDIRECTACTIVITY_BINDING);
              protocolMarshaller.marshall(activity.getOrganizationId(), ORGANIZATIONID_BINDING);
              protocolMarshaller.marshall(activity.getInitiator(), INITIATOR_BINDING);
              protocolMarshaller.marshall(activity.getParticipants(), PARTICIPANTS_BINDING);
              protocolMarshaller.marshall(activity.getResourceMetadata(), RESOURCEMETADATA_BINDING);
              protocolMarshaller.marshall(activity.getOriginalParent(), ORIGINALPARENT_BINDING);
              protocolMarshaller.marshall(activity.getCommentMetadata(), COMMENTMETADATA_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }