Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -141613,23 +141613,47 @@ com.microsoft.graph.models.ProtectedContent::|public|setLabelId(value?:String):v
com.microsoft.graph.models.ProtectedContent::|public|setOdataType(value?:String):void
com.microsoft.graph.models.ProtectedContent::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ProtectedContent
com.microsoft.graph.models.ProtectedContent~~>AdditionalDataHolder; BackedModel; Parsable
com.microsoft.graph.models.ProtectionPolicyArtifactCount::|protected|backingStore:BackingStore
com.microsoft.graph.models.ProtectionPolicyArtifactCount::|public|constructor():void
com.microsoft.graph.models.ProtectionPolicyArtifactCount::|public|getAdditionalData():Map<String, Object>
com.microsoft.graph.models.ProtectionPolicyArtifactCount::|public|getBackingStore():BackingStore
com.microsoft.graph.models.ProtectionPolicyArtifactCount::|public|getCompleted():Integer
com.microsoft.graph.models.ProtectionPolicyArtifactCount::|public|getFailed():Integer
com.microsoft.graph.models.ProtectionPolicyArtifactCount::|public|getFieldDeserializers():Map<String, java.util.function.Consumer<ParseNode>>
com.microsoft.graph.models.ProtectionPolicyArtifactCount::|public|getInProgress():Integer
com.microsoft.graph.models.ProtectionPolicyArtifactCount::|public|getOdataType():String
com.microsoft.graph.models.ProtectionPolicyArtifactCount::|public|getTotal():Integer
com.microsoft.graph.models.ProtectionPolicyArtifactCount::|public|serialize(writer:SerializationWriter):Void
com.microsoft.graph.models.ProtectionPolicyArtifactCount::|public|setAdditionalData(value?:Map<String, Object>):void
com.microsoft.graph.models.ProtectionPolicyArtifactCount::|public|setBackingStore(value:BackingStore):void
com.microsoft.graph.models.ProtectionPolicyArtifactCount::|public|setCompleted(value?:Integer):void
com.microsoft.graph.models.ProtectionPolicyArtifactCount::|public|setFailed(value?:Integer):void
com.microsoft.graph.models.ProtectionPolicyArtifactCount::|public|setInProgress(value?:Integer):void
com.microsoft.graph.models.ProtectionPolicyArtifactCount::|public|setOdataType(value?:String):void
com.microsoft.graph.models.ProtectionPolicyArtifactCount::|public|setTotal(value?:Integer):void
com.microsoft.graph.models.ProtectionPolicyArtifactCount::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ProtectionPolicyArtifactCount
com.microsoft.graph.models.ProtectionPolicyArtifactCount~~>AdditionalDataHolder; BackedModel; Parsable
com.microsoft.graph.models.ProtectionPolicyBase-->Entity
com.microsoft.graph.models.ProtectionPolicyBase::|public|constructor():void
com.microsoft.graph.models.ProtectionPolicyBase::|public|getCreatedBy():IdentitySet
com.microsoft.graph.models.ProtectionPolicyBase::|public|getCreatedDateTime():OffsetDateTime
com.microsoft.graph.models.ProtectionPolicyBase::|public|getDisplayName():String
com.microsoft.graph.models.ProtectionPolicyBase::|public|getFieldDeserializers():Map<String, java.util.function.Consumer<ParseNode>>
com.microsoft.graph.models.ProtectionPolicyBase::|public|getIsEnabled():Boolean
com.microsoft.graph.models.ProtectionPolicyBase::|public|getLastModifiedBy():IdentitySet
com.microsoft.graph.models.ProtectionPolicyBase::|public|getLastModifiedDateTime():OffsetDateTime
com.microsoft.graph.models.ProtectionPolicyBase::|public|getProtectionPolicyArtifactCount():ProtectionPolicyArtifactCount
com.microsoft.graph.models.ProtectionPolicyBase::|public|getRetentionSettings():java.util.List<RetentionSetting>
com.microsoft.graph.models.ProtectionPolicyBase::|public|getStatus():ProtectionPolicyStatus
com.microsoft.graph.models.ProtectionPolicyBase::|public|OdataType:String
com.microsoft.graph.models.ProtectionPolicyBase::|public|serialize(writer:SerializationWriter):Void
com.microsoft.graph.models.ProtectionPolicyBase::|public|setCreatedBy(value?:IdentitySet):void
com.microsoft.graph.models.ProtectionPolicyBase::|public|setCreatedDateTime(value?:OffsetDateTime):void
com.microsoft.graph.models.ProtectionPolicyBase::|public|setDisplayName(value?:String):void
com.microsoft.graph.models.ProtectionPolicyBase::|public|setIsEnabled(value?:Boolean):void
com.microsoft.graph.models.ProtectionPolicyBase::|public|setLastModifiedBy(value?:IdentitySet):void
com.microsoft.graph.models.ProtectionPolicyBase::|public|setLastModifiedDateTime(value?:OffsetDateTime):void
com.microsoft.graph.models.ProtectionPolicyBase::|public|setProtectionPolicyArtifactCount(value?:ProtectionPolicyArtifactCount):void
com.microsoft.graph.models.ProtectionPolicyBase::|public|setRetentionSettings(value?:java.util.List<RetentionSetting>):void
com.microsoft.graph.models.ProtectionPolicyBase::|public|setStatus(value?:ProtectionPolicyStatus):void
com.microsoft.graph.models.ProtectionPolicyBase::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ProtectionPolicyBase
Expand Down Expand Up @@ -147196,6 +147220,7 @@ com.microsoft.graph.models.security.Incident::|public|getFieldDeserializers():Ma
com.microsoft.graph.models.security.Incident::|public|getIncidentWebUrl():String
com.microsoft.graph.models.security.Incident::|public|getLastModifiedBy():String
com.microsoft.graph.models.security.Incident::|public|getLastUpdateDateTime():OffsetDateTime
com.microsoft.graph.models.security.Incident::|public|getPriorityScore():Integer
com.microsoft.graph.models.security.Incident::|public|getRedirectIncidentId():String
com.microsoft.graph.models.security.Incident::|public|getResolvingComment():String
com.microsoft.graph.models.security.Incident::|public|getSeverity():AlertSeverity
Expand All @@ -147217,6 +147242,7 @@ com.microsoft.graph.models.security.Incident::|public|setDisplayName(value?:Stri
com.microsoft.graph.models.security.Incident::|public|setIncidentWebUrl(value?:String):void
com.microsoft.graph.models.security.Incident::|public|setLastModifiedBy(value?:String):void
com.microsoft.graph.models.security.Incident::|public|setLastUpdateDateTime(value?:OffsetDateTime):void
com.microsoft.graph.models.security.Incident::|public|setPriorityScore(value?:Integer):void
com.microsoft.graph.models.security.Incident::|public|setRedirectIncidentId(value?:String):void
com.microsoft.graph.models.security.Incident::|public|setResolvingComment(value?:String):void
com.microsoft.graph.models.security.Incident::|public|setSeverity(value?:AlertSeverity):void
Expand Down Expand Up @@ -148165,6 +148191,7 @@ com.microsoft.graph.models.security.Sensor::|public|getHealthIssues():java.util.
com.microsoft.graph.models.security.Sensor::|public|getHealthStatus():SensorHealthStatus
com.microsoft.graph.models.security.Sensor::|public|getOpenHealthIssuesCount():Long
com.microsoft.graph.models.security.Sensor::|public|getSensorType():SensorType
com.microsoft.graph.models.security.Sensor::|public|getServiceStatus():ServiceStatus
com.microsoft.graph.models.security.Sensor::|public|getSettings():SensorSettings
com.microsoft.graph.models.security.Sensor::|public|getVersion():String
com.microsoft.graph.models.security.Sensor::|public|OdataType:String
Expand All @@ -148177,18 +148204,21 @@ com.microsoft.graph.models.security.Sensor::|public|setHealthIssues(value?:java.
com.microsoft.graph.models.security.Sensor::|public|setHealthStatus(value?:SensorHealthStatus):void
com.microsoft.graph.models.security.Sensor::|public|setOpenHealthIssuesCount(value?:Long):void
com.microsoft.graph.models.security.Sensor::|public|setSensorType(value?:SensorType):void
com.microsoft.graph.models.security.Sensor::|public|setServiceStatus(value?:ServiceStatus):void
com.microsoft.graph.models.security.Sensor::|public|setSettings(value?:SensorSettings):void
com.microsoft.graph.models.security.Sensor::|public|setVersion(value?:String):void
com.microsoft.graph.models.security.Sensor::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):Sensor
com.microsoft.graph.models.security.SensorCandidate-->Entity
com.microsoft.graph.models.security.SensorCandidate::|public|constructor():void
com.microsoft.graph.models.security.SensorCandidate::|public|getComputerDnsName():String
com.microsoft.graph.models.security.SensorCandidate::|public|getDomainName():String
com.microsoft.graph.models.security.SensorCandidate::|public|getFieldDeserializers():Map<String, java.util.function.Consumer<ParseNode>>
com.microsoft.graph.models.security.SensorCandidate::|public|getLastSeenDateTime():OffsetDateTime
com.microsoft.graph.models.security.SensorCandidate::|public|getSenseClientVersion():String
com.microsoft.graph.models.security.SensorCandidate::|public|OdataType:String
com.microsoft.graph.models.security.SensorCandidate::|public|serialize(writer:SerializationWriter):Void
com.microsoft.graph.models.security.SensorCandidate::|public|setComputerDnsName(value?:String):void
com.microsoft.graph.models.security.SensorCandidate::|public|setDomainName(value?:String):void
com.microsoft.graph.models.security.SensorCandidate::|public|setLastSeenDateTime(value?:OffsetDateTime):void
com.microsoft.graph.models.security.SensorCandidate::|public|setSenseClientVersion(value?:String):void
com.microsoft.graph.models.security.SensorCandidate::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):SensorCandidate
Expand Down Expand Up @@ -148301,6 +148331,13 @@ com.microsoft.graph.models.security.ServiceSource::0010-MicrosoftDefenderForClou
com.microsoft.graph.models.security.ServiceSource::0011-MicrosoftSentinel
com.microsoft.graph.models.security.ServiceSource::0012-MicrosoftInsiderRiskManagement
com.microsoft.graph.models.security.ServiceSource::0013-MicrosoftThreatIntelligence
com.microsoft.graph.models.security.ServiceStatus::0000-Stopped
com.microsoft.graph.models.security.ServiceStatus::0001-Starting
com.microsoft.graph.models.security.ServiceStatus::0002-Running
com.microsoft.graph.models.security.ServiceStatus::0003-Disabled
com.microsoft.graph.models.security.ServiceStatus::0004-Onboarding
com.microsoft.graph.models.security.ServiceStatus::0005-Unknown
com.microsoft.graph.models.security.ServiceStatus::0006-UnknownFutureValue
com.microsoft.graph.models.security.SinglePropertySchema::|protected|backingStore:BackingStore
com.microsoft.graph.models.security.SinglePropertySchema::|public|constructor():void
com.microsoft.graph.models.security.SinglePropertySchema::|public|getAdditionalData():Map<String, Object>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"descriptionHash": "B772231A114EE0F151C5CAD415592E6EC30B995AF2CC2035B656C76E0001C925D96ED0F43B5BE31AF65452F62E25448AB3A19A7FBECB1096C50BCB71D40F0E49",
"descriptionHash": "B02CED4D519DAD7AEE3434A50C96EA210737F35497DEDEB8E7604CCBC9B0E4C9C9387FBD5AA8BDCD61AF3F723790969091A25F0BB6E7AF2D2ED117718910B5FC",
"descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.30.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,175 @@
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 ProtectionPolicyArtifactCount implements AdditionalDataHolder, BackedModel, Parsable {
/**
* Stores model information.
*/
@jakarta.annotation.Nonnull
protected BackingStore backingStore;
/**
* Instantiates a new {@link ProtectionPolicyArtifactCount} and sets the default values.
*/
public ProtectionPolicyArtifactCount() {
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 ProtectionPolicyArtifactCount}
*/
@jakarta.annotation.Nonnull
public static ProtectionPolicyArtifactCount createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
Objects.requireNonNull(parseNode);
return new ProtectionPolicyArtifactCount();
}
/**
* 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<String, Object>}
*/
@jakarta.annotation.Nonnull
public Map<String, Object> getAdditionalData() {
Map<String, Object> value = this.backingStore.get("additionalData");
if(value == null) {
value = new HashMap<>();
this.setAdditionalData(value);
}
return value;
}
/**
* Gets the backingStore property value. Stores model information.
* @return a {@link BackingStore}
*/
@jakarta.annotation.Nonnull
public BackingStore getBackingStore() {
return this.backingStore;
}
/**
* Gets the completed property value. The completed property
* @return a {@link Integer}
*/
@jakarta.annotation.Nullable
public Integer getCompleted() {
return this.backingStore.get("completed");
}
/**
* Gets the failed property value. The failed property
* @return a {@link Integer}
*/
@jakarta.annotation.Nullable
public Integer getFailed() {
return this.backingStore.get("failed");
}
/**
* The deserialization information for the current model
* @return a {@link Map<String, java.util.function.Consumer<ParseNode>>}
*/
@jakarta.annotation.Nonnull
public Map<String, java.util.function.Consumer<ParseNode>> getFieldDeserializers() {
final HashMap<String, java.util.function.Consumer<ParseNode>> deserializerMap = new HashMap<String, java.util.function.Consumer<ParseNode>>(5);
deserializerMap.put("completed", (n) -> { this.setCompleted(n.getIntegerValue()); });
deserializerMap.put("failed", (n) -> { this.setFailed(n.getIntegerValue()); });
deserializerMap.put("inProgress", (n) -> { this.setInProgress(n.getIntegerValue()); });
deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); });
deserializerMap.put("total", (n) -> { this.setTotal(n.getIntegerValue()); });
return deserializerMap;
}
/**
* Gets the inProgress property value. The inProgress property
* @return a {@link Integer}
*/
@jakarta.annotation.Nullable
public Integer getInProgress() {
return this.backingStore.get("inProgress");
}
/**
* Gets the @odata.type property value. The OdataType property
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getOdataType() {
return this.backingStore.get("odataType");
}
/**
* Gets the total property value. The total property
* @return a {@link Integer}
*/
@jakarta.annotation.Nullable
public Integer getTotal() {
return this.backingStore.get("total");
}
/**
* 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.writeIntegerValue("completed", this.getCompleted());
writer.writeIntegerValue("failed", this.getFailed());
writer.writeIntegerValue("inProgress", this.getInProgress());
writer.writeStringValue("@odata.type", this.getOdataType());
writer.writeIntegerValue("total", this.getTotal());
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<String, Object> value) {
this.backingStore.set("additionalData", 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 completed property value. The completed property
* @param value Value to set for the completed property.
*/
public void setCompleted(@jakarta.annotation.Nullable final Integer value) {
this.backingStore.set("completed", value);
}
/**
* Sets the failed property value. The failed property
* @param value Value to set for the failed property.
*/
public void setFailed(@jakarta.annotation.Nullable final Integer value) {
this.backingStore.set("failed", value);
}
/**
* Sets the inProgress property value. The inProgress property
* @param value Value to set for the inProgress property.
*/
public void setInProgress(@jakarta.annotation.Nullable final Integer value) {
this.backingStore.set("inProgress", 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);
}
/**
* Sets the total property value. The total property
* @param value Value to set for the total property.
*/
public void setTotal(@jakarta.annotation.Nullable final Integer value) {
this.backingStore.set("total", value);
}
}
Loading
Loading