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 2988c50
Showing 1 changed file with 4 additions and 4 deletions.
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 2988c50

Please sign in to comment.