-
Notifications
You must be signed in to change notification settings - Fork 0
/
ModelNetwork.go
60 lines (55 loc) · 2.25 KB
/
ModelNetwork.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// Code generated by msgraph.go/gen DO NOT EDIT.
package msgraph
import "time"
// NetworkConnection undocumented
type NetworkConnection struct {
// Object is the base model of NetworkConnection
Object
ODataType string `json:"@odata.type,omitempty"`
// ApplicationName undocumented
ApplicationName *string `json:"applicationName,omitempty"`
// DestinationAddress undocumented
DestinationAddress *string `json:"destinationAddress,omitempty"`
// DestinationDomain undocumented
DestinationDomain *string `json:"destinationDomain,omitempty"`
// DestinationLocation undocumented
DestinationLocation *string `json:"destinationLocation,omitempty"`
// DestinationPort undocumented
DestinationPort *string `json:"destinationPort,omitempty"`
// DestinationURL undocumented
DestinationURL *string `json:"destinationUrl,omitempty"`
// Direction undocumented
Direction *ConnectionDirection `json:"direction,omitempty"`
// DomainRegisteredDateTime undocumented
DomainRegisteredDateTime *time.Time `json:"domainRegisteredDateTime,omitempty"`
// LocalDnsName undocumented
LocalDnsName *string `json:"localDnsName,omitempty"`
// NatDestinationAddress undocumented
NatDestinationAddress *string `json:"natDestinationAddress,omitempty"`
// NatDestinationPort undocumented
NatDestinationPort *string `json:"natDestinationPort,omitempty"`
// NatSourceAddress undocumented
NatSourceAddress *string `json:"natSourceAddress,omitempty"`
// NatSourcePort undocumented
NatSourcePort *string `json:"natSourcePort,omitempty"`
// Protocol undocumented
Protocol *SecurityNetworkProtocol `json:"protocol,omitempty"`
// RiskScore undocumented
RiskScore *string `json:"riskScore,omitempty"`
// SourceAddress undocumented
SourceAddress *string `json:"sourceAddress,omitempty"`
// SourceLocation undocumented
SourceLocation *string `json:"sourceLocation,omitempty"`
// SourcePort undocumented
SourcePort *string `json:"sourcePort,omitempty"`
// Status undocumented
Status *ConnectionStatus `json:"status,omitempty"`
// URLParameters undocumented
URLParameters *string `json:"urlParameters,omitempty"`
}
func NewNetworkConnection() (*NetworkConnection, error) {
newNetworkConnection := &NetworkConnection{
ODataType: "#microsoft.graph.NetworkConnection",
}
return newNetworkConnection, nil
}