Package com.microsoft.graph.models
Class ApplicationRiskFactorCertificateInfo
java.lang.Object
com.microsoft.graph.models.ApplicationRiskFactorCertificateInfo
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class ApplicationRiskFactorCertificateInfo
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
ConstructorsConstructorDescriptionInstantiates a newApplicationRiskFactorCertificateInfoand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptioncreateFromDiscriminatorValue(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 modelGets the hasBadCommonName property value.Gets the hasInsecureSignature property value.Gets the hasNoChainOfTrust property value.Gets the isDenylisted property value.Gets the isHostnameMismatch property value.Gets the isNotAfter property value.Gets the isNotBefore property value.Gets the isRevoked property value.Gets the isSelfSigned property value.Gets the @odata.type 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.voidsetHasBadCommonName(Boolean value) Sets the hasBadCommonName property value.voidsetHasInsecureSignature(Boolean value) Sets the hasInsecureSignature property value.voidsetHasNoChainOfTrust(Boolean value) Sets the hasNoChainOfTrust property value.voidsetIsDenylisted(Boolean value) Sets the isDenylisted property value.voidsetIsHostnameMismatch(Boolean value) Sets the isHostnameMismatch property value.voidsetIsNotAfter(Boolean value) Sets the isNotAfter property value.voidsetIsNotBefore(Boolean value) Sets the isNotBefore property value.voidsetIsRevoked(Boolean value) Sets the isRevoked property value.voidsetIsSelfSigned(Boolean value) Sets the isSelfSigned property value.voidsetOdataType(String value) Sets the @odata.type property value.
-
Field Details
-
backingStore
@Nonnull protected com.microsoft.kiota.store.BackingStore backingStoreStores model information.
-
-
Constructor Details
-
ApplicationRiskFactorCertificateInfo
public ApplicationRiskFactorCertificateInfo()Instantiates a newApplicationRiskFactorCertificateInfoand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static ApplicationRiskFactorCertificateInfo 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
ApplicationRiskFactorCertificateInfo
-
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 -
getHasBadCommonName
Gets the hasBadCommonName property value. Indicates whether the certificate's common name doesn't match the expected domain name.- Returns:
- a
Boolean
-
getHasInsecureSignature
Gets the hasInsecureSignature property value. Indicates whether the certificate uses a weak or insecure signature algorithm (for example, MD5 or SHA-1).- Returns:
- a
Boolean
-
getHasNoChainOfTrust
Gets the hasNoChainOfTrust property value. Indicates whether the certificate chain of trust is incomplete or invalid.- Returns:
- a
Boolean
-
getIsDenylisted
Gets the isDenylisted property value. Indicates whether the certificate is on a known denylist or associated with compromised issuers.- Returns:
- a
Boolean
-
getIsHostnameMismatch
Gets the isHostnameMismatch property value. Indicates whether the certificate's hostname doesn't match the domain it was issued for.- Returns:
- a
Boolean
-
getIsNotAfter
Gets the isNotAfter property value. Indicates whether the certificate is expired and no longer valid.- Returns:
- a
Boolean
-
getIsNotBefore
Gets the isNotBefore property value. Indicates whether the certificate isn't yet valid based on its activation date.- Returns:
- a
Boolean
-
getIsRevoked
Gets the isRevoked property value. Indicates whether the issuing certificate authority revoked the certificate.- Returns:
- a
Boolean
-
getIsSelfSigned
Gets the isSelfSigned property value. Indicates whether the certificate is self-signed rather than issued by a trusted certificate authority.- Returns:
- a
Boolean
-
getOdataType
Gets the @odata.type property value. The OdataType property- 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.
-
setHasBadCommonName
Sets the hasBadCommonName property value. Indicates whether the certificate's common name doesn't match the expected domain name.- Parameters:
value- Value to set for the hasBadCommonName property.
-
setHasInsecureSignature
Sets the hasInsecureSignature property value. Indicates whether the certificate uses a weak or insecure signature algorithm (for example, MD5 or SHA-1).- Parameters:
value- Value to set for the hasInsecureSignature property.
-
setHasNoChainOfTrust
Sets the hasNoChainOfTrust property value. Indicates whether the certificate chain of trust is incomplete or invalid.- Parameters:
value- Value to set for the hasNoChainOfTrust property.
-
setIsDenylisted
Sets the isDenylisted property value. Indicates whether the certificate is on a known denylist or associated with compromised issuers.- Parameters:
value- Value to set for the isDenylisted property.
-
setIsHostnameMismatch
Sets the isHostnameMismatch property value. Indicates whether the certificate's hostname doesn't match the domain it was issued for.- Parameters:
value- Value to set for the isHostnameMismatch property.
-
setIsNotAfter
Sets the isNotAfter property value. Indicates whether the certificate is expired and no longer valid.- Parameters:
value- Value to set for the isNotAfter property.
-
setIsNotBefore
Sets the isNotBefore property value. Indicates whether the certificate isn't yet valid based on its activation date.- Parameters:
value- Value to set for the isNotBefore property.
-
setIsRevoked
Sets the isRevoked property value. Indicates whether the issuing certificate authority revoked the certificate.- Parameters:
value- Value to set for the isRevoked property.
-
setIsSelfSigned
Sets the isSelfSigned property value. Indicates whether the certificate is self-signed rather than issued by a trusted certificate authority.- Parameters:
value- Value to set for the isSelfSigned property.
-
setOdataType
Sets the @odata.type property value. The OdataType property- Parameters:
value- Value to set for the @odata.type property.
-