in pkg/dataplane/internal/client/models_serde.go [187:206]
func (m ManagedIdentityCredentials) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "authentication_endpoint", m.AuthenticationEndpoint)
populate(objectMap, "cannot_renew_after", m.CannotRenewAfter)
populate(objectMap, "client_id", m.ClientID)
populate(objectMap, "client_secret", m.ClientSecret)
populate(objectMap, "client_secret_url", m.ClientSecretURL)
populate(objectMap, "custom_claims", m.CustomClaims)
populate(objectMap, "delegated_resources", m.DelegatedResources)
populate(objectMap, "delegation_url", m.DelegationURL)
populate(objectMap, "explicit_identities", m.ExplicitIdentities)
populate(objectMap, "internal_id", m.InternalID)
populate(objectMap, "mtls_authentication_endpoint", m.MtlsAuthenticationEndpoint)
populate(objectMap, "not_after", m.NotAfter)
populate(objectMap, "not_before", m.NotBefore)
populate(objectMap, "object_id", m.ObjectID)
populate(objectMap, "renew_after", m.RenewAfter)
populate(objectMap, "tenant_id", m.TenantID)
return json.Marshal(objectMap)
}