internal OrganisationScope(string slug, FeedzClient client) { _client = client; Slug = slug; RootUri = "organisations/" + slug; Repositories = new Repositories(this, client.ApiClientWrapper); Members = new Members(this, client.ApiClientWrapper); ServiceAccounts = new ServiceAccounts(this, client.ApiClientWrapper); Teams = new Teams(this, client.ApiClientWrapper); Billing = new Billing(this, client.ApiClientWrapper); CustomDomains = new CustomDomains(this, client.ApiClientWrapper); }
internal RepositoryScope(OrganisationScope organisationScope, string slug, FeedzClient client) : base($"{organisationScope.RootUri}/repositories/{slug}", client.ApiClientWrapper) { OrganisationScope = organisationScope; Slug = slug; PackageFeed = new PackageFeed(this, client); Packages = new Packages(this, client); Integrations = new Integrations(this, client.ApiClientWrapper); Triggers = new Triggers(this, client.ApiClientWrapper); Tasks = new RepositoryServerTasks(this, client.ApiClientWrapper); Agents = new Agents(this, client.ApiClientWrapper); InternalUpstreams = new InternalUpstreams(this, client.ApiClientWrapper); CustomDomains = new CustomDomains(this, client.ApiClientWrapper); }