Package com.microsoft.graph.models
Class HostSecurityState
java.lang.Object
com.microsoft.graph.models.HostSecurityState
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class HostSecurityState
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 HostSecurityStatecreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the AdditionalData property value.com.microsoft.kiota.store.BackingStoreGets the backingStore property value.The deserialization information for the current modelgetFqdn()Gets the fqdn property value.Gets the isAzureAdJoined property value.Gets the isAzureAdRegistered property value.Gets the isHybridAzureDomainJoined property value.Gets the netBiosName property value.Gets the @odata.type property value.getOs()Gets the os property value.Gets the privateIpAddress property value.Gets the publicIpAddress property value.Gets the riskScore property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAdditionalData(Map<String, Object> value) Sets the AdditionalData property value.voidsetBackingStore(com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value.voidSets the fqdn property value.voidsetIsAzureAdJoined(Boolean value) Sets the isAzureAdJoined property value.voidsetIsAzureAdRegistered(Boolean value) Sets the isAzureAdRegistered property value.voidSets the isHybridAzureDomainJoined property value.voidsetNetBiosName(String value) Sets the netBiosName property value.voidsetOdataType(String value) Sets the @odata.type property value.voidSets the os property value.voidsetPrivateIpAddress(String value) Sets the privateIpAddress property value.voidsetPublicIpAddress(String value) Sets the publicIpAddress property value.voidsetRiskScore(String value) Sets the riskScore property value.
-
Field Details
-
backingStore
@Nonnull protected com.microsoft.kiota.store.BackingStore backingStoreStores model information.
-
-
Constructor Details
-
HostSecurityState
public HostSecurityState()Instantiates a newHostSecurityStateand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static HostSecurityState 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
HostSecurityState
-
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. -
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
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model -
getFqdn
Gets the fqdn property value. Host FQDN (Fully Qualified Domain Name) (for example, machine.company.com).- Returns:
- a
String
-
getIsAzureAdJoined
Gets the isAzureAdJoined property value. The isAzureAdJoined property- Returns:
- a
Boolean
-
getIsAzureAdRegistered
Gets the isAzureAdRegistered property value. The isAzureAdRegistered property- Returns:
- a
Boolean
-
getIsHybridAzureDomainJoined
Gets the isHybridAzureDomainJoined property value. True if the host is domain joined to an on-premises Active Directory domain.- Returns:
- a
Boolean
-
getNetBiosName
Gets the netBiosName property value. The local host name, without the DNS domain name.- Returns:
- a
String
-
getOdataType
Gets the @odata.type property value. The OdataType property- Returns:
- a
String
-
getOs
Gets the os property value. Host Operating System. (For example, Windows 10, macOS, RHEL, etc.).- Returns:
- a
String
-
getPrivateIpAddress
Gets the privateIpAddress property value. Private (not routable) IPv4 or IPv6 address (see RFC 1918) at the time of the alert.- Returns:
- a
String
-
getPublicIpAddress
Gets the publicIpAddress property value. Publicly routable IPv4 or IPv6 address (see RFC 1918) at time of the alert.- Returns:
- a
String
-
getRiskScore
Gets the riskScore property value. Provider-generated/calculated risk score of the host. Recommended value range of 0-1, which equates to a percentage.- 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.
-
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.
-
setFqdn
Sets the fqdn property value. Host FQDN (Fully Qualified Domain Name) (for example, machine.company.com).- Parameters:
value- Value to set for the fqdn property.
-
setIsAzureAdJoined
Sets the isAzureAdJoined property value. The isAzureAdJoined property- Parameters:
value- Value to set for the isAzureAdJoined property.
-
setIsAzureAdRegistered
Sets the isAzureAdRegistered property value. The isAzureAdRegistered property- Parameters:
value- Value to set for the isAzureAdRegistered property.
-
setIsHybridAzureDomainJoined
Sets the isHybridAzureDomainJoined property value. True if the host is domain joined to an on-premises Active Directory domain.- Parameters:
value- Value to set for the isHybridAzureDomainJoined property.
-
setNetBiosName
Sets the netBiosName property value. The local host name, without the DNS domain name.- Parameters:
value- Value to set for the netBiosName property.
-
setOdataType
Sets the @odata.type property value. The OdataType property- Parameters:
value- Value to set for the @odata.type property.
-
setOs
Sets the os property value. Host Operating System. (For example, Windows 10, macOS, RHEL, etc.).- Parameters:
value- Value to set for the os property.
-
setPrivateIpAddress
Sets the privateIpAddress property value. Private (not routable) IPv4 or IPv6 address (see RFC 1918) at the time of the alert.- Parameters:
value- Value to set for the privateIpAddress property.
-
setPublicIpAddress
Sets the publicIpAddress property value. Publicly routable IPv4 or IPv6 address (see RFC 1918) at time of the alert.- Parameters:
value- Value to set for the publicIpAddress property.
-
setRiskScore
Sets the riskScore property value. Provider-generated/calculated risk score of the host. Recommended value range of 0-1, which equates to a percentage.- Parameters:
value- Value to set for the riskScore property.
-