code: public void marshall(PullRequestMergedStateChangedEventMetadata pullRequestMergedStateChangedEventMetadata, ProtocolMarshaller protocolMarshaller) {
  
          if (pullRequestMergedStateChangedEventMetadata == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(pullRequestMergedStateChangedEventMetadata.getRepositoryName(), REPOSITORYNAME_BINDING);
              protocolMarshaller.marshall(pullRequestMergedStateChangedEventMetadata.getDestinationReference(), DESTINATIONREFERENCE_BINDING);
              protocolMarshaller.marshall(pullRequestMergedStateChangedEventMetadata.getMergeMetadata(), MERGEMETADATA_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.