2021-12-07 09:33:05 -08:00
|
|
|
// Code generated by "make api"; DO NOT EDIT.
|
2023-05-09 12:03:54 -04:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
|
2021-12-07 09:33:05 -08:00
|
|
|
package sessions
|
|
|
|
|
|
|
|
|
|
type Connection struct {
|
|
|
|
|
ClientTcpAddress string `json:"client_tcp_address,omitempty"`
|
|
|
|
|
ClientTcpPort uint32 `json:"client_tcp_port,omitempty"`
|
|
|
|
|
EndpointTcpAddress string `json:"endpoint_tcp_address,omitempty"`
|
|
|
|
|
EndpointTcpPort uint32 `json:"endpoint_tcp_port,omitempty"`
|
2022-10-06 17:37:50 +01:00
|
|
|
BytesUp int64 `json:"bytes_up,string,omitempty"`
|
|
|
|
|
BytesDown int64 `json:"bytes_down,string,omitempty"`
|
2021-12-07 09:33:05 -08:00
|
|
|
ClosedReason string `json:"closed_reason,omitempty"`
|
|
|
|
|
}
|