docusign-esign-java-client icon indicating copy to clipboard operation
docusign-esign-java-client copied to clipboard

Support iterating over Tabs

Open nextrevision opened this issue 2 years ago • 1 comments

The current com.docusign.esign.model.Tabs model contains getters and setters for all the tab types. There doesn't appear to be a good way to determine which tabs are defined without a verbose if/else chain or using some other sort of hacky solution like reflection. This is generally fine for creating tabs, but inspecting tabs becomes a chore.

Is there a good way to support iterating over Tabs to determine which ones are set? Is there merit to having a base tab type that implements some subset of fields which the other types extend?

nextrevision avatar Apr 01 '22 17:04 nextrevision

@nextrevision apologies that no one responded till now. Unfortunately the way our SDKs are created (generated from a Swagger v2 spec file) don't allow us to tackle this in the near term. That's said I created ticket so we can prioritize it.

mmallis87 avatar Apr 21 '22 20:04 mmallis87