Skip to content

Commit

Permalink
feat: make teams location params optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Rex Scaria committed Dec 19, 2024
1 parent 7005664 commit 84f579c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .changelog/3758.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
teams_location: make location parameters optional
```
8 changes: 4 additions & 4 deletions teams_locations.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ type TeamsLocation struct {
Ip string `json:"ip,omitempty"`
Subdomain string `json:"doh_subdomain"`
AnonymizedLogsEnabled bool `json:"anonymized_logs_enabled"`
IPv4Destination string `json:"ipv4_destination"`
IPv4DestinationBackup string `json:"ipv4_destination_backup"`
DNSDestinationIPsID string `json:"dns_destination_ips_id"`
DNSDestinationIPv6BlockID string `json:"dns_destination_ipv6_block_id"`
IPv4Destination string `json:"ipv4_destination,omitempty"`
IPv4DestinationBackup string `json:"ipv4_destination_backup,omitempty"`
DNSDestinationIPsID string `json:"dns_destination_ips_id,omitempty"`
DNSDestinationIPv6BlockID string `json:"dns_destination_ipv6_block_id,omitempty"`
ClientDefault bool `json:"client_default"`
ECSSupport *bool `json:"ecs_support,omitempty"`
Endpoints *LocationEndpoints `json:"endpoints,omitempty"`
Expand Down

0 comments on commit 84f579c

Please sign in to comment.