Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
package com.microsoft.graph.models;
import com.microsoft.kiota.serialization.AdditionalDataHolder;
import com.microsoft.kiota.serialization.Parsable;
import com.microsoft.kiota.serialization.ParseNode;
import com.microsoft.kiota.serialization.SerializationWriter;
import com.microsoft.kiota.store.BackedModel;
import com.microsoft.kiota.store.BackingStore;
import com.microsoft.kiota.store.BackingStoreFactorySingleton;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
@jakarta.annotation.Generated("com.microsoft.kiota")
public class ConditionalAccessApplications implements AdditionalDataHolder, BackedModel, Parsable {
/**
* Stores model information.
*/
@jakarta.annotation.Nonnull
protected BackingStore backingStore;
/**
* Instantiates a new {@link ConditionalAccessApplications} and sets the default values.
*/
public ConditionalAccessApplications() {
this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore();
this.setAdditionalData(new HashMap<>());
}
/**
* Creates a new instance of the appropriate class based on discriminator value
* @param parseNode The parse node to use to read the discriminator value and create the object
* @return a {@link ConditionalAccessApplications}
*/
@jakarta.annotation.Nonnull
public static ConditionalAccessApplications createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
Objects.requireNonNull(parseNode);
return new ConditionalAccessApplications();
}
/**
* Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
* @return a {@link Map}
*/
@jakarta.annotation.Nonnull
public Map getAdditionalData() {
Map value = this.backingStore.get("additionalData");
if(value == null) {
value = new HashMap<>();
this.setAdditionalData(value);
}
return value;
}
/**
* Gets the applicationFilter property value. The applicationFilter property
* @return a {@link ConditionalAccessFilter}
*/
@jakarta.annotation.Nullable
public ConditionalAccessFilter getApplicationFilter() {
return this.backingStore.get("applicationFilter");
}
/**
* Gets the backingStore property value. Stores model information.
* @return a {@link BackingStore}
*/
@jakarta.annotation.Nonnull
public BackingStore getBackingStore() {
return this.backingStore;
}
/**
* Gets the excludeApplications property value. Can be one of the following: The list of client IDs (appId) explicitly excluded from the policy. Office365 - For the list of apps included in Office365, see Apps included in Conditional Access Office 365 app suite MicrosoftAdminPortals - For more information, see Conditional Access Target resources: Microsoft Admin Portals
* @return a {@link java.util.List}
*/
@jakarta.annotation.Nullable
public java.util.List getExcludeApplications() {
return this.backingStore.get("excludeApplications");
}
/**
* The deserialization information for the current model
* @return a {@link Map>}
*/
@jakarta.annotation.Nonnull
public Map> getFieldDeserializers() {
final HashMap> deserializerMap = new HashMap>(6);
deserializerMap.put("applicationFilter", (n) -> { this.setApplicationFilter(n.getObjectValue(ConditionalAccessFilter::createFromDiscriminatorValue)); });
deserializerMap.put("excludeApplications", (n) -> { this.setExcludeApplications(n.getCollectionOfPrimitiveValues(String.class)); });
deserializerMap.put("includeApplications", (n) -> { this.setIncludeApplications(n.getCollectionOfPrimitiveValues(String.class)); });
deserializerMap.put("includeAuthenticationContextClassReferences", (n) -> { this.setIncludeAuthenticationContextClassReferences(n.getCollectionOfPrimitiveValues(String.class)); });
deserializerMap.put("includeUserActions", (n) -> { this.setIncludeUserActions(n.getCollectionOfPrimitiveValues(String.class)); });
deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); });
return deserializerMap;
}
/**
* Gets the includeApplications property value. Can be one of the following: The list of client IDs (appId) the policy applies to, unless explicitly excluded (in excludeApplications) All Office365 - For the list of apps included in Office365, see Apps included in Conditional Access Office 365 app suite MicrosoftAdminPortals - For more information, see Conditional Access Target resources: Microsoft Admin Portals
* @return a {@link java.util.List}
*/
@jakarta.annotation.Nullable
public java.util.List getIncludeApplications() {
return this.backingStore.get("includeApplications");
}
/**
* Gets the includeAuthenticationContextClassReferences property value. The includeAuthenticationContextClassReferences property
* @return a {@link java.util.List}
*/
@jakarta.annotation.Nullable
public java.util.List getIncludeAuthenticationContextClassReferences() {
return this.backingStore.get("includeAuthenticationContextClassReferences");
}
/**
* Gets the includeUserActions property value. User actions to include. Supported values are urn:user:registersecurityinfo and urn:user:registerdevice
* @return a {@link java.util.List}
*/
@jakarta.annotation.Nullable
public java.util.List getIncludeUserActions() {
return this.backingStore.get("includeUserActions");
}
/**
* Gets the @odata.type property value. The OdataType property
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getOdataType() {
return this.backingStore.get("odataType");
}
/**
* Serializes information the current object
* @param writer Serialization writer to use to serialize this model
*/
public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
Objects.requireNonNull(writer);
writer.writeObjectValue("applicationFilter", this.getApplicationFilter());
writer.writeCollectionOfPrimitiveValues("excludeApplications", this.getExcludeApplications());
writer.writeCollectionOfPrimitiveValues("includeApplications", this.getIncludeApplications());
writer.writeCollectionOfPrimitiveValues("includeAuthenticationContextClassReferences", this.getIncludeAuthenticationContextClassReferences());
writer.writeCollectionOfPrimitiveValues("includeUserActions", this.getIncludeUserActions());
writer.writeStringValue("@odata.type", this.getOdataType());
writer.writeAdditionalData(this.getAdditionalData());
}
/**
* Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
* @param value Value to set for the AdditionalData property.
*/
public void setAdditionalData(@jakarta.annotation.Nullable final Map value) {
this.backingStore.set("additionalData", value);
}
/**
* Sets the applicationFilter property value. The applicationFilter property
* @param value Value to set for the applicationFilter property.
*/
public void setApplicationFilter(@jakarta.annotation.Nullable final ConditionalAccessFilter value) {
this.backingStore.set("applicationFilter", value);
}
/**
* Sets the backingStore property value. Stores model information.
* @param value Value to set for the backingStore property.
*/
public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) {
Objects.requireNonNull(value);
this.backingStore = value;
}
/**
* Sets the excludeApplications property value. Can be one of the following: The list of client IDs (appId) explicitly excluded from the policy. Office365 - For the list of apps included in Office365, see Apps included in Conditional Access Office 365 app suite MicrosoftAdminPortals - For more information, see Conditional Access Target resources: Microsoft Admin Portals
* @param value Value to set for the excludeApplications property.
*/
public void setExcludeApplications(@jakarta.annotation.Nullable final java.util.List value) {
this.backingStore.set("excludeApplications", value);
}
/**
* Sets the includeApplications property value. Can be one of the following: The list of client IDs (appId) the policy applies to, unless explicitly excluded (in excludeApplications) All Office365 - For the list of apps included in Office365, see Apps included in Conditional Access Office 365 app suite MicrosoftAdminPortals - For more information, see Conditional Access Target resources: Microsoft Admin Portals
* @param value Value to set for the includeApplications property.
*/
public void setIncludeApplications(@jakarta.annotation.Nullable final java.util.List value) {
this.backingStore.set("includeApplications", value);
}
/**
* Sets the includeAuthenticationContextClassReferences property value. The includeAuthenticationContextClassReferences property
* @param value Value to set for the includeAuthenticationContextClassReferences property.
*/
public void setIncludeAuthenticationContextClassReferences(@jakarta.annotation.Nullable final java.util.List value) {
this.backingStore.set("includeAuthenticationContextClassReferences", value);
}
/**
* Sets the includeUserActions property value. User actions to include. Supported values are urn:user:registersecurityinfo and urn:user:registerdevice
* @param value Value to set for the includeUserActions property.
*/
public void setIncludeUserActions(@jakarta.annotation.Nullable final java.util.List value) {
this.backingStore.set("includeUserActions", value);
}
/**
* Sets the @odata.type property value. The OdataType property
* @param value Value to set for the @odata.type property.
*/
public void setOdataType(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("odataType", value);
}
}