Skip to content

Commit

Permalink
feat(api): update via SDK Studio (#1674)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored Apr 5, 2024
1 parent 64de539 commit ffc7df7
Show file tree
Hide file tree
Showing 30 changed files with 119 additions and 128 deletions.
9 changes: 2 additions & 7 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1223,13 +1223,8 @@ Methods:

## CertificatePacks

Params Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/ssl">ssl</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/ssl#HostItemParam">HostItemParam</a>

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/ssl">ssl</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/ssl#HostItem">HostItem</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/ssl">ssl</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/ssl#CertificatePackListResponse">CertificatePackListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/ssl">ssl</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/ssl#CertificatePackEditResponse">CertificatePackEditResponse</a>

Expand Down Expand Up @@ -1855,14 +1850,14 @@ Params Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/healthchecks#CheckRegionItem">CheckRegionItem</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/healthchecks#HTTPConfigurationParam">HTTPConfigurationParam</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/healthchecks#TcpConfigurationParam">TcpConfigurationParam</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/healthchecks#TCPConfigurationParam">TCPConfigurationParam</a>

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/healthchecks#CheckRegionItem">CheckRegionItem</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/healthchecks#Healthcheck">Healthcheck</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/healthchecks#HTTPConfiguration">HTTPConfiguration</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/healthchecks#TcpConfiguration">TcpConfiguration</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/healthchecks#TCPConfiguration">TCPConfiguration</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/healthchecks">healthchecks</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/healthchecks#HealthcheckDeleteResponse">HealthcheckDeleteResponse</a>

Methods:
Expand Down
4 changes: 2 additions & 2 deletions diagnostics/traceroute.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,15 +259,15 @@ type TracerouteNewParamsOptionsPacketType string

const (
TracerouteNewParamsOptionsPacketTypeIcmp TracerouteNewParamsOptionsPacketType = "icmp"
TracerouteNewParamsOptionsPacketTypeTcp TracerouteNewParamsOptionsPacketType = "tcp"
TracerouteNewParamsOptionsPacketTypeTCP TracerouteNewParamsOptionsPacketType = "tcp"
TracerouteNewParamsOptionsPacketTypeUdp TracerouteNewParamsOptionsPacketType = "udp"
TracerouteNewParamsOptionsPacketTypeGRE TracerouteNewParamsOptionsPacketType = "gre"
TracerouteNewParamsOptionsPacketTypeGREIcmp TracerouteNewParamsOptionsPacketType = "gre+icmp"
)

func (r TracerouteNewParamsOptionsPacketType) IsKnown() bool {
switch r {
case TracerouteNewParamsOptionsPacketTypeIcmp, TracerouteNewParamsOptionsPacketTypeTcp, TracerouteNewParamsOptionsPacketTypeUdp, TracerouteNewParamsOptionsPacketTypeGRE, TracerouteNewParamsOptionsPacketTypeGREIcmp:
case TracerouteNewParamsOptionsPacketTypeIcmp, TracerouteNewParamsOptionsPacketTypeTCP, TracerouteNewParamsOptionsPacketTypeUdp, TracerouteNewParamsOptionsPacketTypeGRE, TracerouteNewParamsOptionsPacketTypeGREIcmp:
return true
}
return false
Expand Down
32 changes: 16 additions & 16 deletions healthchecks/healthcheck.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ type Healthcheck struct {
// If suspended, no health checks are sent to the origin.
Suspended bool `json:"suspended"`
// Parameters specific to TCP health check.
TcpConfig TcpConfiguration `json:"tcp_config,nullable"`
TCPConfig TCPConfiguration `json:"tcp_config,nullable"`
// The timeout (in seconds) before marking the health check as failed.
Timeout int64 `json:"timeout"`
// The protocol to use for the health check. Currently supported protocols are
Expand All @@ -219,7 +219,7 @@ type healthcheckJSON struct {
Retries apijson.Field
Status apijson.Field
Suspended apijson.Field
TcpConfig apijson.Field
TCPConfig apijson.Field
Timeout apijson.Field
Type apijson.Field
raw string
Expand Down Expand Up @@ -377,24 +377,24 @@ func (r HTTPConfigurationParam) MarshalJSON() (data []byte, err error) {
}

// Parameters specific to TCP health check.
type TcpConfiguration struct {
type TCPConfiguration struct {
// The TCP connection method to use for the health check.
Method TcpConfigurationMethod `json:"method"`
Method TCPConfigurationMethod `json:"method"`
// Port number to connect to for the health check. Defaults to 80.
Port int64 `json:"port"`
JSON tcpConfigurationJSON `json:"-"`
}

// tcpConfigurationJSON contains the JSON metadata for the struct
// [TcpConfiguration]
// [TCPConfiguration]
type tcpConfigurationJSON struct {
Method apijson.Field
Port apijson.Field
raw string
ExtraFields map[string]apijson.Field
}

func (r *TcpConfiguration) UnmarshalJSON(data []byte) (err error) {
func (r *TCPConfiguration) UnmarshalJSON(data []byte) (err error) {
return apijson.UnmarshalRoot(data, r)
}

Expand All @@ -403,29 +403,29 @@ func (r tcpConfigurationJSON) RawJSON() string {
}

// The TCP connection method to use for the health check.
type TcpConfigurationMethod string
type TCPConfigurationMethod string

const (
TcpConfigurationMethodConnectionEstablished TcpConfigurationMethod = "connection_established"
TCPConfigurationMethodConnectionEstablished TCPConfigurationMethod = "connection_established"
)

func (r TcpConfigurationMethod) IsKnown() bool {
func (r TCPConfigurationMethod) IsKnown() bool {
switch r {
case TcpConfigurationMethodConnectionEstablished:
case TCPConfigurationMethodConnectionEstablished:
return true
}
return false
}

// Parameters specific to TCP health check.
type TcpConfigurationParam struct {
type TCPConfigurationParam struct {
// The TCP connection method to use for the health check.
Method param.Field[TcpConfigurationMethod] `json:"method"`
Method param.Field[TCPConfigurationMethod] `json:"method"`
// Port number to connect to for the health check. Defaults to 80.
Port param.Field[int64] `json:"port"`
}

func (r TcpConfigurationParam) MarshalJSON() (data []byte, err error) {
func (r TCPConfigurationParam) MarshalJSON() (data []byte, err error) {
return apijson.MarshalRoot(r)
}

Expand Down Expand Up @@ -482,7 +482,7 @@ type HealthcheckNewParams struct {
// If suspended, no health checks are sent to the origin.
Suspended param.Field[bool] `json:"suspended"`
// Parameters specific to TCP health check.
TcpConfig param.Field[TcpConfigurationParam] `json:"tcp_config"`
TCPConfig param.Field[TCPConfigurationParam] `json:"tcp_config"`
// The timeout (in seconds) before marking the health check as failed.
Timeout param.Field[int64] `json:"timeout"`
// The protocol to use for the health check. Currently supported protocols are
Expand Down Expand Up @@ -568,7 +568,7 @@ type HealthcheckUpdateParams struct {
// If suspended, no health checks are sent to the origin.
Suspended param.Field[bool] `json:"suspended"`
// Parameters specific to TCP health check.
TcpConfig param.Field[TcpConfigurationParam] `json:"tcp_config"`
TCPConfig param.Field[TCPConfigurationParam] `json:"tcp_config"`
// The timeout (in seconds) before marking the health check as failed.
Timeout param.Field[int64] `json:"timeout"`
// The protocol to use for the health check. Currently supported protocols are
Expand Down Expand Up @@ -712,7 +712,7 @@ type HealthcheckEditParams struct {
// If suspended, no health checks are sent to the origin.
Suspended param.Field[bool] `json:"suspended"`
// Parameters specific to TCP health check.
TcpConfig param.Field[TcpConfigurationParam] `json:"tcp_config"`
TCPConfig param.Field[TCPConfigurationParam] `json:"tcp_config"`
// The timeout (in seconds) before marking the health check as failed.
Timeout param.Field[int64] `json:"timeout"`
// The protocol to use for the health check. Currently supported protocols are
Expand Down
12 changes: 6 additions & 6 deletions healthchecks/healthcheck_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ func TestHealthcheckNewWithOptionalParams(t *testing.T) {
Interval: cloudflare.F(int64(0)),
Retries: cloudflare.F(int64(0)),
Suspended: cloudflare.F(true),
TcpConfig: cloudflare.F(healthchecks.TcpConfigurationParam{
Method: cloudflare.F(healthchecks.TcpConfigurationMethodConnectionEstablished),
TCPConfig: cloudflare.F(healthchecks.TCPConfigurationParam{
Method: cloudflare.F(healthchecks.TCPConfigurationMethodConnectionEstablished),
Port: cloudflare.F(int64(0)),
}),
Timeout: cloudflare.F(int64(0)),
Expand Down Expand Up @@ -117,8 +117,8 @@ func TestHealthcheckUpdateWithOptionalParams(t *testing.T) {
Interval: cloudflare.F(int64(0)),
Retries: cloudflare.F(int64(0)),
Suspended: cloudflare.F(true),
TcpConfig: cloudflare.F(healthchecks.TcpConfigurationParam{
Method: cloudflare.F(healthchecks.TcpConfigurationMethodConnectionEstablished),
TCPConfig: cloudflare.F(healthchecks.TCPConfigurationParam{
Method: cloudflare.F(healthchecks.TCPConfigurationMethodConnectionEstablished),
Port: cloudflare.F(int64(0)),
}),
Timeout: cloudflare.F(int64(0)),
Expand Down Expand Up @@ -236,8 +236,8 @@ func TestHealthcheckEditWithOptionalParams(t *testing.T) {
Interval: cloudflare.F(int64(0)),
Retries: cloudflare.F(int64(0)),
Suspended: cloudflare.F(true),
TcpConfig: cloudflare.F(healthchecks.TcpConfigurationParam{
Method: cloudflare.F(healthchecks.TcpConfigurationMethodConnectionEstablished),
TCPConfig: cloudflare.F(healthchecks.TCPConfigurationParam{
Method: cloudflare.F(healthchecks.TCPConfigurationMethodConnectionEstablished),
Port: cloudflare.F(int64(0)),
}),
Timeout: cloudflare.F(int64(0)),
Expand Down
2 changes: 1 addition & 1 deletion healthchecks/preview.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ type PreviewNewParams struct {
// If suspended, no health checks are sent to the origin.
Suspended param.Field[bool] `json:"suspended"`
// Parameters specific to TCP health check.
TcpConfig param.Field[TcpConfigurationParam] `json:"tcp_config"`
TCPConfig param.Field[TCPConfigurationParam] `json:"tcp_config"`
// The timeout (in seconds) before marking the health check as failed.
Timeout param.Field[int64] `json:"timeout"`
// The protocol to use for the health check. Currently supported protocols are
Expand Down
4 changes: 2 additions & 2 deletions healthchecks/preview_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ func TestPreviewNewWithOptionalParams(t *testing.T) {
Interval: cloudflare.F(int64(0)),
Retries: cloudflare.F(int64(0)),
Suspended: cloudflare.F(true),
TcpConfig: cloudflare.F(healthchecks.TcpConfigurationParam{
Method: cloudflare.F(healthchecks.TcpConfigurationMethodConnectionEstablished),
TCPConfig: cloudflare.F(healthchecks.TCPConfigurationParam{
Method: cloudflare.F(healthchecks.TCPConfigurationMethodConnectionEstablished),
Port: cloudflare.F(int64(0)),
}),
Timeout: cloudflare.F(int64(0)),
Expand Down
12 changes: 6 additions & 6 deletions load_balancers/monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,15 +211,15 @@ type MonitorNewParamsType string
const (
MonitorNewParamsTypeHTTP MonitorNewParamsType = "http"
MonitorNewParamsTypeHTTPS MonitorNewParamsType = "https"
MonitorNewParamsTypeTcp MonitorNewParamsType = "tcp"
MonitorNewParamsTypeTCP MonitorNewParamsType = "tcp"
MonitorNewParamsTypeUdpIcmp MonitorNewParamsType = "udp_icmp"
MonitorNewParamsTypeIcmpPing MonitorNewParamsType = "icmp_ping"
MonitorNewParamsTypeSmtp MonitorNewParamsType = "smtp"
)

func (r MonitorNewParamsType) IsKnown() bool {
switch r {
case MonitorNewParamsTypeHTTP, MonitorNewParamsTypeHTTPS, MonitorNewParamsTypeTcp, MonitorNewParamsTypeUdpIcmp, MonitorNewParamsTypeIcmpPing, MonitorNewParamsTypeSmtp:
case MonitorNewParamsTypeHTTP, MonitorNewParamsTypeHTTPS, MonitorNewParamsTypeTCP, MonitorNewParamsTypeUdpIcmp, MonitorNewParamsTypeIcmpPing, MonitorNewParamsTypeSmtp:
return true
}
return false
Expand Down Expand Up @@ -333,15 +333,15 @@ type MonitorUpdateParamsType string
const (
MonitorUpdateParamsTypeHTTP MonitorUpdateParamsType = "http"
MonitorUpdateParamsTypeHTTPS MonitorUpdateParamsType = "https"
MonitorUpdateParamsTypeTcp MonitorUpdateParamsType = "tcp"
MonitorUpdateParamsTypeTCP MonitorUpdateParamsType = "tcp"
MonitorUpdateParamsTypeUdpIcmp MonitorUpdateParamsType = "udp_icmp"
MonitorUpdateParamsTypeIcmpPing MonitorUpdateParamsType = "icmp_ping"
MonitorUpdateParamsTypeSmtp MonitorUpdateParamsType = "smtp"
)

func (r MonitorUpdateParamsType) IsKnown() bool {
switch r {
case MonitorUpdateParamsTypeHTTP, MonitorUpdateParamsTypeHTTPS, MonitorUpdateParamsTypeTcp, MonitorUpdateParamsTypeUdpIcmp, MonitorUpdateParamsTypeIcmpPing, MonitorUpdateParamsTypeSmtp:
case MonitorUpdateParamsTypeHTTP, MonitorUpdateParamsTypeHTTPS, MonitorUpdateParamsTypeTCP, MonitorUpdateParamsTypeUdpIcmp, MonitorUpdateParamsTypeIcmpPing, MonitorUpdateParamsTypeSmtp:
return true
}
return false
Expand Down Expand Up @@ -513,15 +513,15 @@ type MonitorEditParamsType string
const (
MonitorEditParamsTypeHTTP MonitorEditParamsType = "http"
MonitorEditParamsTypeHTTPS MonitorEditParamsType = "https"
MonitorEditParamsTypeTcp MonitorEditParamsType = "tcp"
MonitorEditParamsTypeTCP MonitorEditParamsType = "tcp"
MonitorEditParamsTypeUdpIcmp MonitorEditParamsType = "udp_icmp"
MonitorEditParamsTypeIcmpPing MonitorEditParamsType = "icmp_ping"
MonitorEditParamsTypeSmtp MonitorEditParamsType = "smtp"
)

func (r MonitorEditParamsType) IsKnown() bool {
switch r {
case MonitorEditParamsTypeHTTP, MonitorEditParamsTypeHTTPS, MonitorEditParamsTypeTcp, MonitorEditParamsTypeUdpIcmp, MonitorEditParamsTypeIcmpPing, MonitorEditParamsTypeSmtp:
case MonitorEditParamsTypeHTTP, MonitorEditParamsTypeHTTPS, MonitorEditParamsTypeTCP, MonitorEditParamsTypeUdpIcmp, MonitorEditParamsTypeIcmpPing, MonitorEditParamsTypeSmtp:
return true
}
return false
Expand Down
4 changes: 2 additions & 2 deletions load_balancers/monitorpreview.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,15 +135,15 @@ type MonitorPreviewNewParamsType string
const (
MonitorPreviewNewParamsTypeHTTP MonitorPreviewNewParamsType = "http"
MonitorPreviewNewParamsTypeHTTPS MonitorPreviewNewParamsType = "https"
MonitorPreviewNewParamsTypeTcp MonitorPreviewNewParamsType = "tcp"
MonitorPreviewNewParamsTypeTCP MonitorPreviewNewParamsType = "tcp"
MonitorPreviewNewParamsTypeUdpIcmp MonitorPreviewNewParamsType = "udp_icmp"
MonitorPreviewNewParamsTypeIcmpPing MonitorPreviewNewParamsType = "icmp_ping"
MonitorPreviewNewParamsTypeSmtp MonitorPreviewNewParamsType = "smtp"
)

func (r MonitorPreviewNewParamsType) IsKnown() bool {
switch r {
case MonitorPreviewNewParamsTypeHTTP, MonitorPreviewNewParamsTypeHTTPS, MonitorPreviewNewParamsTypeTcp, MonitorPreviewNewParamsTypeUdpIcmp, MonitorPreviewNewParamsTypeIcmpPing, MonitorPreviewNewParamsTypeSmtp:
case MonitorPreviewNewParamsTypeHTTP, MonitorPreviewNewParamsTypeHTTPS, MonitorPreviewNewParamsTypeTCP, MonitorPreviewNewParamsTypeUdpIcmp, MonitorPreviewNewParamsTypeIcmpPing, MonitorPreviewNewParamsTypeSmtp:
return true
}
return false
Expand Down
4 changes: 2 additions & 2 deletions load_balancers/poolhealth.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,15 +169,15 @@ type PoolHealthNewParamsType string
const (
PoolHealthNewParamsTypeHTTP PoolHealthNewParamsType = "http"
PoolHealthNewParamsTypeHTTPS PoolHealthNewParamsType = "https"
PoolHealthNewParamsTypeTcp PoolHealthNewParamsType = "tcp"
PoolHealthNewParamsTypeTCP PoolHealthNewParamsType = "tcp"
PoolHealthNewParamsTypeUdpIcmp PoolHealthNewParamsType = "udp_icmp"
PoolHealthNewParamsTypeIcmpPing PoolHealthNewParamsType = "icmp_ping"
PoolHealthNewParamsTypeSmtp PoolHealthNewParamsType = "smtp"
)

func (r PoolHealthNewParamsType) IsKnown() bool {
switch r {
case PoolHealthNewParamsTypeHTTP, PoolHealthNewParamsTypeHTTPS, PoolHealthNewParamsTypeTcp, PoolHealthNewParamsTypeUdpIcmp, PoolHealthNewParamsTypeIcmpPing, PoolHealthNewParamsTypeSmtp:
case PoolHealthNewParamsTypeHTTP, PoolHealthNewParamsTypeHTTPS, PoolHealthNewParamsTypeTCP, PoolHealthNewParamsTypeUdpIcmp, PoolHealthNewParamsTypeIcmpPing, PoolHealthNewParamsTypeSmtp:
return true
}
return false
Expand Down
4 changes: 2 additions & 2 deletions magic_transit/siteacl.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,14 +222,14 @@ type SubnetUnionParam interface {
type UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916 string

const (
UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916Tcp UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916 = "tcp"
UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916TCP UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916 = "tcp"
UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916Udp UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916 = "udp"
UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916Icmp UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916 = "icmp"
)

func (r UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916) IsKnown() bool {
switch r {
case UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916Tcp, UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916Udp, UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916Icmp:
case UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916TCP, UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916Udp, UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916Icmp:
return true
}
return false
Expand Down
4 changes: 2 additions & 2 deletions magic_transit/siteacl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func TestSiteACLNewWithOptionalParams(t *testing.T) {
Subnets: cloudflare.F([]magic_transit.SubnetUnionParam{shared.UnionString("192.0.2.1"), shared.UnionString("192.0.2.1"), shared.UnionString("192.0.2.1")}),
}),
Name: cloudflare.F("PIN Pad - Cash Register"),
Protocols: cloudflare.F([]magic_transit.UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916{magic_transit.UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916Tcp, magic_transit.UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916Udp, magic_transit.UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916Icmp}),
Protocols: cloudflare.F([]magic_transit.UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916{magic_transit.UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916TCP, magic_transit.UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916Udp, magic_transit.UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916Icmp}),
}),
},
)
Expand Down Expand Up @@ -99,7 +99,7 @@ func TestSiteACLUpdateWithOptionalParams(t *testing.T) {
Subnets: cloudflare.F([]magic_transit.SubnetUnionParam{shared.UnionString("192.0.2.1"), shared.UnionString("192.0.2.1"), shared.UnionString("192.0.2.1")}),
}),
Name: cloudflare.F("PIN Pad - Cash Register"),
Protocols: cloudflare.F([]magic_transit.UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916{magic_transit.UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916Tcp, magic_transit.UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916Udp, magic_transit.UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916Icmp}),
Protocols: cloudflare.F([]magic_transit.UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916{magic_transit.UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916TCP, magic_transit.UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916Udp, magic_transit.UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916Icmp}),
}),
},
)
Expand Down
Loading

0 comments on commit ffc7df7

Please sign in to comment.