Skip to content

[Feature] Add additional zone settings #122

@bjammin

Description

@bjammin

Thanks for the great library.

I am happy to submit a PR for this, but wanted to check if it's likely to get merged first.

There are a lot of zone settings missing from the Zones.Settings namespace.

Since so many of them are boolean (feature on/off), it would be handy to add a custom method to cover them without having to implement specifically.

Task<CloudFlareResult<ZoneSetting<FeatureStatus>>> GetFeatureSettingAsync(string zoneId, string settingId, CancellationToken cancellationToken = default);

Task<CloudFlareResult<ZoneSetting<FeatureStatus>>> UpdateFeatureSettingAsync(string zoneId, string settingId, FeatureStatus status, CancellationToken cancellationToken = default);

Or would you prefer they are each implemented individually?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions