partial void CopyExtraPropertiesToClone(SwaggerResourceListing clone, bool includeLocalProperties);
public SwaggerResourceListing Clone(bool includeLocalProperties) { var c = new SwaggerResourceListing { apiVersion = apiVersion, basePath = basePath, swaggerVersion = swaggerVersion, apis = apis.Select(x=>x.Clone(includeLocalProperties)).ToList(), }; CopyExtraPropertiesToClone(c, includeLocalProperties); return c; }