Package com.microsoft.graph.models
Class NetworkConnection
java.lang.Object
com.microsoft.graph.models.NetworkConnection
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class NetworkConnection
extends Object
implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.store.BackedModel, com.microsoft.kiota.serialization.Parsable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.microsoft.kiota.store.BackingStoreStores model information. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NetworkConnectioncreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the AdditionalData property value.Gets the applicationName property value.com.microsoft.kiota.store.BackingStoreGets the backingStore property value.Gets the destinationAddress property value.Gets the destinationDomain property value.Gets the destinationLocation property value.Gets the destinationPort property value.Gets the destinationUrl property value.Gets the direction property value.Gets the domainRegisteredDateTime property value.The deserialization information for the current modelGets the localDnsName property value.Gets the natDestinationAddress property value.Gets the natDestinationPort property value.Gets the natSourceAddress property value.Gets the natSourcePort property value.Gets the @odata.type property value.Gets the protocol property value.Gets the riskScore property value.Gets the sourceAddress property value.Gets the sourceLocation property value.Gets the sourcePort property value.Gets the status property value.Gets the urlParameters property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAdditionalData(Map<String, Object> value) Sets the AdditionalData property value.voidsetApplicationName(String value) Sets the applicationName property value.voidsetBackingStore(com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value.voidsetDestinationAddress(String value) Sets the destinationAddress property value.voidsetDestinationDomain(String value) Sets the destinationDomain property value.voidsetDestinationLocation(String value) Sets the destinationLocation property value.voidsetDestinationPort(String value) Sets the destinationPort property value.voidsetDestinationUrl(String value) Sets the destinationUrl property value.voidsetDirection(ConnectionDirection value) Sets the direction property value.voidSets the domainRegisteredDateTime property value.voidsetLocalDnsName(String value) Sets the localDnsName property value.voidsetNatDestinationAddress(String value) Sets the natDestinationAddress property value.voidsetNatDestinationPort(String value) Sets the natDestinationPort property value.voidsetNatSourceAddress(String value) Sets the natSourceAddress property value.voidsetNatSourcePort(String value) Sets the natSourcePort property value.voidsetOdataType(String value) Sets the @odata.type property value.voidSets the protocol property value.voidsetRiskScore(String value) Sets the riskScore property value.voidsetSourceAddress(String value) Sets the sourceAddress property value.voidsetSourceLocation(String value) Sets the sourceLocation property value.voidsetSourcePort(String value) Sets the sourcePort property value.voidsetStatus(ConnectionStatus value) Sets the status property value.voidsetUrlParameters(String value) Sets the urlParameters property value.
-
Field Details
-
backingStore
@Nonnull protected com.microsoft.kiota.store.BackingStore backingStoreStores model information.
-
-
Constructor Details
-
NetworkConnection
public NetworkConnection()Instantiates a newNetworkConnectionand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static NetworkConnection createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode- The parse node to use to read the discriminator value and create the object- Returns:
- a
NetworkConnection
-
getAdditionalData
Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -
getApplicationName
Gets the applicationName property value. Name of the application managing the network connection (for example, Facebook or SMTP).- Returns:
- a
String
-
getBackingStore
@Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()Gets the backingStore property value. Stores model information.- Specified by:
getBackingStorein interfacecom.microsoft.kiota.store.BackedModel- Returns:
- a
BackingStore
-
getDestinationAddress
Gets the destinationAddress property value. Destination IP address (of the network connection).- Returns:
- a
String
-
getDestinationDomain
Gets the destinationDomain property value. Destination domain portion of the destination URL. (for example 'www.contoso.com').- Returns:
- a
String
-
getDestinationLocation
Gets the destinationLocation property value. Location (by IP address mapping) associated with the destination of a network connection.- Returns:
- a
String
-
getDestinationPort
Gets the destinationPort property value. Destination port (of the network connection).- Returns:
- a
String
-
getDestinationUrl
Gets the destinationUrl property value. Network connection URL/URI string - excluding parameters. (for example 'www.contoso.com/products/default.html')- Returns:
- a
String
-
getDirection
Gets the direction property value. Network connection direction. Possible values are: unknown, inbound, outbound.- Returns:
- a
ConnectionDirection
-
getDomainRegisteredDateTime
Gets the domainRegisteredDateTime property value. Date when the destination domain was registered. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z- Returns:
- a
OffsetDateTime
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model -
getLocalDnsName
Gets the localDnsName property value. The local DNS name resolution as it appears in the host's local DNS cache (for example, in case the 'hosts' file was tampered with).- Returns:
- a
String
-
getNatDestinationAddress
Gets the natDestinationAddress property value. Network Address Translation destination IP address.- Returns:
- a
String
-
getNatDestinationPort
Gets the natDestinationPort property value. Network Address Translation destination port.- Returns:
- a
String
-
getNatSourceAddress
Gets the natSourceAddress property value. Network Address Translation source IP address.- Returns:
- a
String
-
getNatSourcePort
Gets the natSourcePort property value. Network Address Translation source port.- Returns:
- a
String
-
getOdataType
Gets the @odata.type property value. The OdataType property- Returns:
- a
String
-
getProtocol
Gets the protocol property value. Network protocol. Possible values are: unknown, ip, icmp, igmp, ggp, ipv4, tcp, pup, udp, idp, ipv6, ipv6RoutingHeader, ipv6FragmentHeader, ipSecEncapsulatingSecurityPayload, ipSecAuthenticationHeader, icmpV6, ipv6NoNextHeader, ipv6DestinationOptions, nd, raw, ipx, spx, spxII.- Returns:
- a
SecurityNetworkProtocol
-
getRiskScore
Gets the riskScore property value. Provider generated/calculated risk score of the network connection. Recommended value range of 0-1, which equates to a percentage.- Returns:
- a
String
-
getSourceAddress
Gets the sourceAddress property value. Source (i.e. origin) IP address (of the network connection).- Returns:
- a
String
-
getSourceLocation
Gets the sourceLocation property value. Location (by IP address mapping) associated with the source of a network connection.- Returns:
- a
String
-
getSourcePort
Gets the sourcePort property value. Source (i.e. origin) IP port (of the network connection).- Returns:
- a
String
-
getStatus
Gets the status property value. Network connection status. Possible values are: unknown, attempted, succeeded, blocked, failed.- Returns:
- a
ConnectionStatus
-
getUrlParameters
Gets the urlParameters property value. Parameters (suffix) of the destination URL.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Parameters:
writer- Serialization writer to use to serialize this model
-
setAdditionalData
Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.- Parameters:
value- Value to set for the AdditionalData property.
-
setApplicationName
Sets the applicationName property value. Name of the application managing the network connection (for example, Facebook or SMTP).- Parameters:
value- Value to set for the applicationName property.
-
setBackingStore
public void setBackingStore(@Nonnull com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value. Stores model information.- Parameters:
value- Value to set for the backingStore property.
-
setDestinationAddress
Sets the destinationAddress property value. Destination IP address (of the network connection).- Parameters:
value- Value to set for the destinationAddress property.
-
setDestinationDomain
Sets the destinationDomain property value. Destination domain portion of the destination URL. (for example 'www.contoso.com').- Parameters:
value- Value to set for the destinationDomain property.
-
setDestinationLocation
Sets the destinationLocation property value. Location (by IP address mapping) associated with the destination of a network connection.- Parameters:
value- Value to set for the destinationLocation property.
-
setDestinationPort
Sets the destinationPort property value. Destination port (of the network connection).- Parameters:
value- Value to set for the destinationPort property.
-
setDestinationUrl
Sets the destinationUrl property value. Network connection URL/URI string - excluding parameters. (for example 'www.contoso.com/products/default.html')- Parameters:
value- Value to set for the destinationUrl property.
-
setDirection
Sets the direction property value. Network connection direction. Possible values are: unknown, inbound, outbound.- Parameters:
value- Value to set for the direction property.
-
setDomainRegisteredDateTime
Sets the domainRegisteredDateTime property value. Date when the destination domain was registered. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z- Parameters:
value- Value to set for the domainRegisteredDateTime property.
-
setLocalDnsName
Sets the localDnsName property value. The local DNS name resolution as it appears in the host's local DNS cache (for example, in case the 'hosts' file was tampered with).- Parameters:
value- Value to set for the localDnsName property.
-
setNatDestinationAddress
Sets the natDestinationAddress property value. Network Address Translation destination IP address.- Parameters:
value- Value to set for the natDestinationAddress property.
-
setNatDestinationPort
Sets the natDestinationPort property value. Network Address Translation destination port.- Parameters:
value- Value to set for the natDestinationPort property.
-
setNatSourceAddress
Sets the natSourceAddress property value. Network Address Translation source IP address.- Parameters:
value- Value to set for the natSourceAddress property.
-
setNatSourcePort
Sets the natSourcePort property value. Network Address Translation source port.- Parameters:
value- Value to set for the natSourcePort property.
-
setOdataType
Sets the @odata.type property value. The OdataType property- Parameters:
value- Value to set for the @odata.type property.
-
setProtocol
Sets the protocol property value. Network protocol. Possible values are: unknown, ip, icmp, igmp, ggp, ipv4, tcp, pup, udp, idp, ipv6, ipv6RoutingHeader, ipv6FragmentHeader, ipSecEncapsulatingSecurityPayload, ipSecAuthenticationHeader, icmpV6, ipv6NoNextHeader, ipv6DestinationOptions, nd, raw, ipx, spx, spxII.- Parameters:
value- Value to set for the protocol property.
-
setRiskScore
Sets the riskScore property value. Provider generated/calculated risk score of the network connection. Recommended value range of 0-1, which equates to a percentage.- Parameters:
value- Value to set for the riskScore property.
-
setSourceAddress
Sets the sourceAddress property value. Source (i.e. origin) IP address (of the network connection).- Parameters:
value- Value to set for the sourceAddress property.
-
setSourceLocation
Sets the sourceLocation property value. Location (by IP address mapping) associated with the source of a network connection.- Parameters:
value- Value to set for the sourceLocation property.
-
setSourcePort
Sets the sourcePort property value. Source (i.e. origin) IP port (of the network connection).- Parameters:
value- Value to set for the sourcePort property.
-
setStatus
Sets the status property value. Network connection status. Possible values are: unknown, attempted, succeeded, blocked, failed.- Parameters:
value- Value to set for the status property.
-
setUrlParameters
Sets the urlParameters property value. Parameters (suffix) of the destination URL.- Parameters:
value- Value to set for the urlParameters property.
-