code: public void marshall(BaiduMessage baiduMessage, ProtocolMarshaller protocolMarshaller) {
  
          if (baiduMessage == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(baiduMessage.getAction(), ACTION_BINDING);
              protocolMarshaller.marshall(baiduMessage.getBody(), BODY_BINDING);
              protocolMarshaller.marshall(baiduMessage.getData(), DATA_BINDING);
              protocolMarshaller.marshall(baiduMessage.getIconReference(), ICONREFERENCE_BINDING);
              protocolMarshaller.marshall(baiduMessage.getImageIconUrl(), IMAGEICONURL_BINDING);
              protocolMarshaller.marshall(baiduMessage.getImageUrl(), IMAGEURL_BINDING);
              protocolMarshaller.marshall(baiduMessage.getRawContent(), RAWCONTENT_BINDING);
              protocolMarshaller.marshall(baiduMessage.getSilentPush(), SILENTPUSH_BINDING);
              protocolMarshaller.marshall(baiduMessage.getSmallImageIconUrl(), SMALLIMAGEICONURL_BINDING);
              protocolMarshaller.marshall(baiduMessage.getSound(), SOUND_BINDING);
              protocolMarshaller.marshall(baiduMessage.getSubstitutions(), SUBSTITUTIONS_BINDING);
              protocolMarshaller.marshall(baiduMessage.getTimeToLive(), TIMETOLIVE_BINDING);
              protocolMarshaller.marshall(baiduMessage.getTitle(), TITLE_BINDING);
              protocolMarshaller.marshall(baiduMessage.getUrl(), URL_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.