I have a service response of ReceiveResult. I needed to customize the return type. It wasn't possible to simply add or hide properties for the type because there were nested types that also needed to be customized. I customized the generated type to be ReceiveResultInternal, and then added a custom ReceiveResult type with custom serialization. The samples that are generated use the internal type and do not compile.
I have a service response of ReceiveResult. I needed to customize the return type. It wasn't possible to simply add or hide properties for the type because there were nested types that also needed to be customized. I customized the generated type to be ReceiveResultInternal, and then added a custom ReceiveResult type with custom serialization. The samples that are generated use the internal type and do not compile.
See https://github.com/Azure/azure-sdk-for-net/pull/43209/files#diff-68514ed562b597382757c424835e69135225af118d0a042def4c6014a5d7a870R416