docs: public void marshall(Attribute attribute, ProtocolMarshaller protocolMarshaller) {
  
          if (attribute == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(attribute.getType(), TYPE_BINDING);
              protocolMarshaller.marshall(attribute.getScore(), SCORE_BINDING);
              protocolMarshaller.marshall(attribute.getRelationshipScore(), RELATIONSHIPSCORE_BINDING);
              protocolMarshaller.marshall(attribute.getId(), ID_BINDING);
              protocolMarshaller.marshall(attribute.getBeginOffset(), BEGINOFFSET_BINDING);
              protocolMarshaller.marshall(attribute.getEndOffset(), ENDOFFSET_BINDING);
              protocolMarshaller.marshall(attribute.getText(), TEXT_BINDING);
              protocolMarshaller.marshall(attribute.getTraits(), TRAITS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }