[F] resolveEncodedName
function resolveEncodedName(   program,   target,   mimeType): string;Resolve the encoded name for the given type when serialized to the given mime type.
If a specific value was provided by @encodedName decorator for that mime type it will return that otherwise it will return the name of the type.
Parameters
Section titled “Parameters”| Parameter | Type | 
|---|---|
| program | Program | 
| target | Type&object | 
| mimeType | string | 
Returns
Section titled “Returns”string
Example
Section titled “Example”For the given
model Certificate {  @encodedName("application/json", "exp")  @encodedName("application/xml", "expiry")  expireAt: utcDateTime;
}resolveEncodedName(program, type, "application/json") // expresolveEncodedName(program, type, "application/merge-patch+json") // expresolveEncodedName(program, type, "application/xml") // expireAtresolveEncodedName(program, type, "application/yaml") // expiry