Skip to content

Commit

Permalink
Merge pull request #1531 from microsoftgraph/v1.0/pipelinebuild/122943
Browse files Browse the repository at this point in the history
Generated  models and request builders
  • Loading branch information
ramsessanchez authored Aug 18, 2023
2 parents d7b25b2 + bb81134 commit 3759e42
Show file tree
Hide file tree
Showing 10 changed files with 55 additions and 7 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

## [5.68.0] - 2023-08-18

### Changed

- Added properties to the PublicationFacet model.
- Added properties to the Alert and Incident models in the security namespace.

## [5.67.0] - 2023-08-10

### Added
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repositories {
dependencies {
// Include the sdk as a dependency
implementation 'com.microsoft.graph:microsoft-graph:5.67.0'
implementation 'com.microsoft.graph:microsoft-graph:5.68.0'
// Uncomment the line below if you are building an android application
//implementation 'com.google.guava:guava:30.1.1-android'
// This dependency is only needed if you are using the TokenCrendentialAuthProvider
Expand All @@ -36,7 +36,7 @@ Add the dependency in `dependencies` in pom.xml
<!-- Include the sdk as a dependency -->
<groupId>com.microsoft.graph</groupId>
<artifactId>microsoft-graph</artifactId>
<version>5.67.0</version>
<version>5.68.0</version>
</dependency>
<dependency>
<!-- This dependency is only needed if you are using the TokenCredentialAuthProvider -->
Expand Down Expand Up @@ -198,5 +198,6 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI






3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ org.gradle.caching=true
mavenGroupId = com.microsoft.graph
mavenArtifactId = microsoft-graph
mavenMajorVersion = 5
mavenMinorVersion = 67
mavenMinorVersion = 68
mavenPatchVersion = 0
mavenArtifactSuffix =

Expand Down Expand Up @@ -121,5 +121,6 @@ mavenCentralPublishingEnabled=false






3 changes: 2 additions & 1 deletion src/main/java/com/microsoft/graph/info/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ private Constants() {
/** The client secret to use for unit testing */
public static final String CLIENTSECRET = "clientsecret";
/** The SDK version */
public static final String VERSION_NAME = "5.67.0";
public static final String VERSION_NAME = "5.68.0";
}


Expand Down Expand Up @@ -98,5 +98,6 @@ private Constants() {






2 changes: 1 addition & 1 deletion src/main/java/com/microsoft/graph/models/Application.java
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ public class Application extends DirectoryObject implements IJsonBackedObject {

/**
* The Owners.
* Directory objects that are owners of the application. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1).
* Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
*/
@Nullable
public com.microsoft.graph.requests.DirectoryObjectCollectionPage owners;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public final AdditionalDataManager additionalDataManager() {

/**
* The Client App Types.
* Client application types included in the policy. Possible values are: all, browser, mobileAppsAndDesktopClients, exchangeActiveSync, easSupported, other. Required.
* Client application types included in the policy. Possible values are: all, browser, mobileAppsAndDesktopClients, exchangeActiveSync, easSupported, other. Required. The easUnsupported enumeration member will be deprecated in favor of exchangeActiveSync which includes EAS supported and unsupported platforms.
*/
@SerializedName(value = "clientAppTypes", alternate = {"ClientAppTypes"})
@Expose
Expand Down
10 changes: 10 additions & 0 deletions src/main/java/com/microsoft/graph/models/PublicationFacet.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import com.microsoft.graph.serializer.IJsonBackedObject;
import com.microsoft.graph.serializer.AdditionalDataManager;
import java.util.EnumSet;
import com.microsoft.graph.models.IdentitySet;


import com.google.gson.JsonObject;
Expand Down Expand Up @@ -37,6 +38,15 @@ public final AdditionalDataManager additionalDataManager() {
return additionalDataManager;
}

/**
* The Checked Out By.
*
*/
@SerializedName(value = "checkedOutBy", alternate = {"CheckedOutBy"})
@Expose
@Nullable
public IdentitySet checkedOutBy;

/**
* The Level.
* The state of publication for this document. Either published or checkout. Read-only.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ public class ServicePrincipal extends DirectoryObject implements IJsonBackedObje

/**
* The Owners.
* Directory objects that are owners of this servicePrincipal. The owners are a set of non-admin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1).
* Directory objects that are owners of this servicePrincipal. The owners are a set of non-admin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
*/
@Nullable
public com.microsoft.graph.requests.DirectoryObjectCollectionPage owners;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import com.microsoft.graph.serializer.AdditionalDataManager;
import java.util.EnumSet;
import com.microsoft.graph.http.BaseCollectionPage;
import com.microsoft.graph.security.models.Dictionary;
import com.microsoft.graph.security.models.AlertClassification;
import com.microsoft.graph.security.models.AlertComment;
import com.microsoft.graph.security.models.DetectionSource;
Expand Down Expand Up @@ -43,6 +44,24 @@ public class Alert extends Entity implements IJsonBackedObject {
@Nullable
public String actorDisplayName;

/**
* The Additional Data.
*
*/
@SerializedName(value = "additionalData", alternate = {"AdditionalData"})
@Expose
@Nullable
public Dictionary additionalData;

/**
* The Alert Policy Id.
*
*/
@SerializedName(value = "alertPolicyId", alternate = {"AlertPolicyId"})
@Expose
@Nullable
public String alertPolicyId;

/**
* The Alert Web Url.
* URL for the alert page in the Microsoft 365 Defender portal.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,15 @@ public class Incident extends Entity implements IJsonBackedObject {
@Nullable
public String incidentWebUrl;

/**
* The Last Modified By.
*
*/
@SerializedName(value = "lastModifiedBy", alternate = {"LastModifiedBy"})
@Expose
@Nullable
public String lastModifiedBy;

/**
* The Last Update Date Time.
* Time when the incident was last updated.
Expand Down

0 comments on commit 3759e42

Please sign in to comment.