Skip to content
Merged
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
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

## [5.34.0] - 2022-09-01

### Added

- AutoRestartNotificationDismissalMethod model.
- DetectedAppPlatformType model.
- WindowsUpdateForBusinessUpdateWeeks model.
- WindowsUpdateNotificationDisplayOption model.
- PresenceClearUserPreferredPresence models and related requests.
- PresenceSetUserPreferredPresence models and related requests.

### Changed

- Generated v1.0 models and request builders using Typewriter.
- References to newly added models/requests added to current models/requests.
- Example: WindowsUpdateForBusinessConfiguration model references newly added WindowsUpdate models and requests.
- Example: PresenceRequestBuilder request references newly added PresenceClearUserPreferredPresence & PresenceSetUserPreferredPresence models/requests.

## [5.33.0] - 2022-08-23

### 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.33.0'
implementation 'com.microsoft.graph:microsoft-graph:5.34.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.33.0</version>
<version>5.34.0</version>
</dependency>
<dependency>
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->
Expand Down Expand Up @@ -164,5 +164,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 = 33
mavenMinorVersion = 34
mavenPatchVersion = 0
mavenArtifactSuffix =

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






Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,24 @@
public class ClientUserAgent extends UserAgent implements IJsonBackedObject {


/**
* The Azure ADApp Id.
* The unique identifier of the Azure AD application used by this endpoint.
*/
@SerializedName(value = "azureADAppId", alternate = {"AzureADAppId"})
@Expose
@Nullable
public String azureADAppId;

/**
* The Communication Service Id.
* Immutable resource identifier of the Azure Communication Service associated with this endpoint based on Communication Services APIs.
*/
@SerializedName(value = "communicationServiceId", alternate = {"CommunicationServiceId"})
@Expose
@Nullable
public String communicationServiceId;

/**
* The Platform.
* Identifies the platform used by this endpoint. Possible values are: unknown, windows, macOS, iOS, android, web, ipPhone, roomSystem, surfaceHub, holoLens, unknownFutureValue.
Expand Down
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.33.0";
public static final String VERSION_NAME = "5.34.0";
}


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






Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
// Template Source: Enum.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------

package com.microsoft.graph.models;


/**
* The Enum Auto Restart Notification Dismissal Method.
*/
public enum AutoRestartNotificationDismissalMethod
{
/**
* not Configured
*/
NOT_CONFIGURED,
/**
* automatic
*/
AUTOMATIC,
/**
* user
*/
USER,
/**
* unknown Future Value
*/
UNKNOWN_FUTURE_VALUE,
/**
* For AutoRestartNotificationDismissalMethod values that were not expected from the service
*/
UNEXPECTED_VALUE
}
19 changes: 19 additions & 0 deletions src/main/java/com/microsoft/graph/models/DetectedApp.java
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.models.DetectedAppPlatformType;
import com.microsoft.graph.models.Entity;
import com.microsoft.graph.requests.ManagedDeviceCollectionPage;

Expand Down Expand Up @@ -45,6 +46,24 @@ public class DetectedApp extends Entity implements IJsonBackedObject {
@Nullable
public String displayName;

/**
* The Platform.
* Indicates the operating system / platform of the discovered application. Some possible values are Windows, iOS, macOS. The default value is unknown (0).
*/
@SerializedName(value = "platform", alternate = {"Platform"})
@Expose
@Nullable
public DetectedAppPlatformType platform;

/**
* The Publisher.
* Indicates the publisher of the discovered application. For example: 'Microsoft'. The default value is an empty string.
*/
@SerializedName(value = "publisher", alternate = {"Publisher"})
@Expose
@Nullable
public String publisher;

/**
* The Size In Byte.
* Discovered application size in bytes. Read-only
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
// Template Source: Enum.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------

package com.microsoft.graph.models;


/**
* The Enum Detected App Platform Type.
*/
public enum DetectedAppPlatformType
{
/**
* unknown
*/
UNKNOWN,
/**
* windows
*/
WINDOWS,
/**
* windows Mobile
*/
WINDOWS_MOBILE,
/**
* windows Holographic
*/
WINDOWS_HOLOGRAPHIC,
/**
* ios
*/
IOS,
/**
* mac OS
*/
MAC_OS,
/**
* chrome OS
*/
CHROME_OS,
/**
* android OSP
*/
ANDROID_OSP,
/**
* android Device Administrator
*/
ANDROID_DEVICE_ADMINISTRATOR,
/**
* android Work Profile
*/
ANDROID_WORK_PROFILE,
/**
* android Dedicated And Fully Managed
*/
ANDROID_DEDICATED_AND_FULLY_MANAGED,
/**
* For DetectedAppPlatformType values that were not expected from the service
*/
UNEXPECTED_VALUE
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ public enum DeviceManagementReportFileFormat
*/
PDF,
/**
* json
*/
JSON,
/**
* unknown Future Value
*/
UNKNOWN_FUTURE_VALUE,
/**
* For DeviceManagementReportFileFormat values that were not expected from the service
*/
UNEXPECTED_VALUE
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
// Template Source: BaseMethodParameterSet.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------

package com.microsoft.graph.models;


import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import com.google.gson.JsonObject;
import java.util.EnumSet;
import java.util.ArrayList;

// **NOTE** This file was generated by a tool and any changes will be overwritten.

/**
* The class for the Presence Clear User Preferred Presence Parameter Set.
*/
public class PresenceClearUserPreferredPresenceParameterSet {

/**
* Instiaciates a new PresenceClearUserPreferredPresenceParameterSet
*/
public PresenceClearUserPreferredPresenceParameterSet() {}
/**
* Instiaciates a new PresenceClearUserPreferredPresenceParameterSet
* @param builder builder bearing the parameters to initialize from
*/
protected PresenceClearUserPreferredPresenceParameterSet(@Nonnull final PresenceClearUserPreferredPresenceParameterSetBuilder builder) {
}
/**
* Gets a new builder for the body
* @return a new builder
*/
@Nonnull
public static PresenceClearUserPreferredPresenceParameterSetBuilder newBuilder() {
return new PresenceClearUserPreferredPresenceParameterSetBuilder();
}
/**
* Fluent builder for the PresenceClearUserPreferredPresenceParameterSet
*/
public static final class PresenceClearUserPreferredPresenceParameterSetBuilder {
/**
* Instanciates a new PresenceClearUserPreferredPresenceParameterSetBuilder
*/
@Nullable
protected PresenceClearUserPreferredPresenceParameterSetBuilder(){}
/**
* Buils the resulting body object to be passed to the request
* @return the body object to pass to the request
*/
@Nonnull
public PresenceClearUserPreferredPresenceParameterSet build() {
return new PresenceClearUserPreferredPresenceParameterSet(this);
}
}
/**
* Gets the functions options from the properties that have been set
* @return a list of function options for the request
*/
@Nonnull
public java.util.List<com.microsoft.graph.options.FunctionOption> getFunctionOptions() {
final ArrayList<com.microsoft.graph.options.FunctionOption> result = new ArrayList<>();
return result;
}
}
Loading