Skip to content

Commit

Permalink
Merge pull request #528 from microsoftgraph/beta/pipelinebuild/108413
Browse files Browse the repository at this point in the history
Generated Beta models and request builders
  • Loading branch information
andrueastman authored Mar 8, 2023
2 parents b20ceae + 38d52cd commit 5cf1b38
Show file tree
Hide file tree
Showing 505 changed files with 21,138 additions and 2,285 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

## [0.63.0] - 2023-03-08

### Changed

- Weekly generation.

## [0.62.0] - 2023-01-24

### Changed
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ repositories {
dependencies {
// Include the sdk as a dependency
implementation 'com.microsoft.graph:microsoft-graph-beta:0.62.0-SNAPSHOT'
implementation 'com.microsoft.graph:microsoft-graph-beta:0.63.0-SNAPSHOT'
// 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 @@ -37,7 +37,7 @@ Add the dependency in `dependencies` in pom.xml
<!-- Include the sdk as a dependency -->
<groupId>com.microsoft.graph</groupId>
<artifactId>microsoft-graph-beta</artifactId>
<version>0.62.0-SNAPSHOT</version>
<version>0.63.0-SNAPSHOT</version>
</dependency>
<dependency>
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->
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-beta
mavenMajorVersion = 0
mavenMinorVersion = 62
mavenMinorVersion = 63
mavenPatchVersion = 0
mavenArtifactSuffix =

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






Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public final AdditionalDataManager additionalDataManager() {

/**
* The Currency.
* Type of currency used to calculate the cost of the call (ISO 4217).
* Type of currency used to calculate the cost of the call. For details, see ISO 4217.
*/
@SerializedName(value = "currency", alternate = {"Currency"})
@Expose
Expand Down Expand Up @@ -202,7 +202,7 @@ public final AdditionalDataManager additionalDataManager() {

/**
* The Tenant Country Code.
* Country code of the tenant, ISO 3166-1 alpha-2.
* Country code of the tenant. For details, see ISO 3166-1 alpha-2.
*/
@SerializedName(value = "tenantCountryCode", alternate = {"TenantCountryCode"})
@Expose
Expand All @@ -211,7 +211,7 @@ public final AdditionalDataManager additionalDataManager() {

/**
* The Usage Country Code.
* Country code of the user, ISO 3166-1 alpha-2.
* Country code of the user. For details, see ISO 3166-1 alpha-2.
*/
@SerializedName(value = "usageCountryCode", alternate = {"UsageCountryCode"})
@Expose
Expand All @@ -238,7 +238,7 @@ public final AdditionalDataManager additionalDataManager() {

/**
* The User Principal Name.
* UserPrincipalName (sign-in name) in Azure Active Directory. This is usually the same as user's SIP Address, and can be same as user's e-mail address.
* The user principal name (sign-in name) in Azure Active Directory. This is usually the same as the user's SIP address, and can be same as the user's e-mail address.
*/
@SerializedName(value = "userPrincipalName", alternate = {"UserPrincipalName"})
@Expose
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ public enum ExportOptions
PDF_REPLACEMENT,
/**
* file Info
* @deprecated The fileInfo will be deprecated on April 30, 2023.
*/
@Deprecated
FILE_INFO,
/**
* tags
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 = "0.62.0";
public static final String VERSION_NAME = "0.63.0";
}


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






6 changes: 3 additions & 3 deletions src/main/java/com/microsoft/graph/models/ActionStep.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public final AdditionalDataManager additionalDataManager() {

/**
* The Action Url.
*
* A link to the documentation or Azure portal page that is associated with the action step.
*/
@SerializedName(value = "actionUrl", alternate = {"ActionUrl"})
@Expose
Expand All @@ -49,7 +49,7 @@ public final AdditionalDataManager additionalDataManager() {

/**
* The Step Number.
*
* Indicates the position for this action in the order of the collection of actions to be taken.
*/
@SerializedName(value = "stepNumber", alternate = {"StepNumber"})
@Expose
Expand All @@ -58,7 +58,7 @@ public final AdditionalDataManager additionalDataManager() {

/**
* The Text.
*
* Friendly description of the action to take.
*/
@SerializedName(value = "text", alternate = {"Text"})
@Expose
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/microsoft/graph/models/ActionUrl.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public final AdditionalDataManager additionalDataManager() {

/**
* The Display Name.
*
* Brief title for the page that the links directs to.
*/
@SerializedName(value = "displayName", alternate = {"DisplayName"})
@Expose
Expand All @@ -48,7 +48,7 @@ public final AdditionalDataManager additionalDataManager() {

/**
* The Url.
*
* The URL to the documentation or Azure portal page.
*/
@SerializedName(value = "url", alternate = {"Url"})
@Expose
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/com/microsoft/graph/models/Admin.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import com.microsoft.graph.tenantadmin.models.Sharepoint;
import com.microsoft.graph.models.ServiceAnnouncement;
import com.microsoft.graph.models.AdminReportSettings;
import com.microsoft.graph.windowsupdates.models.Windows;
import com.microsoft.graph.models.AdminWindows;


import com.google.gson.JsonObject;
Expand Down Expand Up @@ -80,12 +80,12 @@ public final AdditionalDataManager additionalDataManager() {

/**
* The Windows.
* A container for all Windows Update for Business deployment service functionality. Read-only.
* A container for all Windows administrator functionalities. Read-only.
*/
@SerializedName(value = "windows", alternate = {"Windows"})
@Expose
@Nullable
public Windows windows;
public AdminWindows windows;


/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
// 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.windowsupdates.models;
package com.microsoft.graph.models;
import com.microsoft.graph.serializer.ISerializer;
import com.microsoft.graph.serializer.IJsonBackedObject;
import com.microsoft.graph.serializer.AdditionalDataManager;
import java.util.EnumSet;
import com.microsoft.graph.windowsupdates.models.Updates;
import com.microsoft.graph.models.AdminWindowsUpdates;
import com.microsoft.graph.models.Entity;


Expand All @@ -21,19 +21,19 @@
// **NOTE** This file was generated by a tool and any changes will be overwritten.

/**
* The class for the Windows.
* The class for the Admin Windows.
*/
public class Windows extends Entity implements IJsonBackedObject {
public class AdminWindows extends Entity implements IJsonBackedObject {


/**
* The Updates.
* Entity that acts as a container for the functionality of the Windows Update for Business deployment service. Read-only.
* Entity that acts as a container for all Windows Update for Business deployment service functionalities. Read-only.
*/
@SerializedName(value = "updates", alternate = {"Updates"})
@Expose
@Nullable
public Updates updates;
public AdminWindowsUpdates updates;


/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,19 @@
// 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.windowsupdates.models;
package com.microsoft.graph.models;
import com.microsoft.graph.serializer.ISerializer;
import com.microsoft.graph.serializer.IJsonBackedObject;
import com.microsoft.graph.serializer.AdditionalDataManager;
import java.util.EnumSet;
import com.microsoft.graph.http.BaseCollectionPage;
import com.microsoft.graph.windowsupdates.models.Catalog;
import com.microsoft.graph.models.Entity;
import com.microsoft.graph.windowsupdates.requests.DeploymentAudienceCollectionPage;
import com.microsoft.graph.windowsupdates.requests.DeploymentCollectionPage;
import com.microsoft.graph.windowsupdates.requests.ResourceConnectionCollectionPage;
import com.microsoft.graph.windowsupdates.requests.UpdatableAssetCollectionPage;
import com.microsoft.graph.windowsupdates.requests.UpdatePolicyCollectionPage;


import com.google.gson.JsonObject;
Expand All @@ -25,9 +27,9 @@
// **NOTE** This file was generated by a tool and any changes will be overwritten.

/**
* The class for the Updates.
* The class for the Admin Windows Updates.
*/
public class Updates extends Entity implements IJsonBackedObject {
public class AdminWindowsUpdates extends Entity implements IJsonBackedObject {


/**
Expand All @@ -39,9 +41,18 @@ public class Updates extends Entity implements IJsonBackedObject {
@Nullable
public Catalog catalog;

/**
* The Deployment Audiences.
* The set of updatableAsset resources to which a deployment can apply.
*/
@SerializedName(value = "deploymentAudiences", alternate = {"DeploymentAudiences"})
@Expose
@Nullable
public com.microsoft.graph.windowsupdates.requests.DeploymentAudienceCollectionPage deploymentAudiences;

/**
* The Deployments.
* Deployments created using the deployment service. Read-only.
* Deployments created using the deployment service.
*/
@SerializedName(value = "deployments", alternate = {"Deployments"})
@Expose
Expand All @@ -59,13 +70,22 @@ public class Updates extends Entity implements IJsonBackedObject {

/**
* The Updatable Assets.
* Assets registered with the deployment service that can receive updates. Read-only.
* Assets registered with the deployment service that can receive updates.
*/
@SerializedName(value = "updatableAssets", alternate = {"UpdatableAssets"})
@Expose
@Nullable
public com.microsoft.graph.windowsupdates.requests.UpdatableAssetCollectionPage updatableAssets;

/**
* The Update Policies.
* A collection of policies for approving the deployment of different content to an audience over time.
*/
@SerializedName(value = "updatePolicies", alternate = {"UpdatePolicies"})
@Expose
@Nullable
public com.microsoft.graph.windowsupdates.requests.UpdatePolicyCollectionPage updatePolicies;


/**
* Sets the raw JSON object
Expand All @@ -76,6 +96,10 @@ public class Updates extends Entity implements IJsonBackedObject {
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {


if (json.has("deploymentAudiences")) {
deploymentAudiences = serializer.deserializeObject(json.get("deploymentAudiences"), com.microsoft.graph.windowsupdates.requests.DeploymentAudienceCollectionPage.class);
}

if (json.has("deployments")) {
deployments = serializer.deserializeObject(json.get("deployments"), com.microsoft.graph.windowsupdates.requests.DeploymentCollectionPage.class);
}
Expand All @@ -87,5 +111,9 @@ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final J
if (json.has("updatableAssets")) {
updatableAssets = serializer.deserializeObject(json.get("updatableAssets"), com.microsoft.graph.windowsupdates.requests.UpdatableAssetCollectionPage.class);
}

if (json.has("updatePolicies")) {
updatePolicies = serializer.deserializeObject(json.get("updatePolicies"), com.microsoft.graph.windowsupdates.requests.UpdatePolicyCollectionPage.class);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,24 @@ public class AndroidDeviceOwnerGeneralDeviceConfiguration extends DeviceConfigur
@Nullable
public Boolean kioskModeWiFiConfigurationEnabled;

/**
* The Locate Device Lost Mode Enabled.
* Indicates whether or not LocateDevice for devices with lost mode (COBO, COPE) is enabled.
*/
@SerializedName(value = "locateDeviceLostModeEnabled", alternate = {"LocateDeviceLostModeEnabled"})
@Expose
@Nullable
public Boolean locateDeviceLostModeEnabled;

/**
* The Locate Device Userless Disabled.
* Indicates whether or not LocateDevice for userless (COSU) devices is disabled.
*/
@SerializedName(value = "locateDeviceUserlessDisabled", alternate = {"LocateDeviceUserlessDisabled"})
@Expose
@Nullable
public Boolean locateDeviceUserlessDisabled;

/**
* The Microphone Force Mute.
* Indicates whether or not to block unmuting the microphone on the device.
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/microsoft/graph/models/AndroidLobApp.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class AndroidLobApp extends MobileLobApp implements IJsonBackedObject {

/**
* The Identity Name.
* The Identity Name.
* The Identity Name. This property is deprecated starting in February 2023 (Release 2302).
*/
@SerializedName(value = "identityName", alternate = {"IdentityName"})
@Expose
Expand All @@ -37,7 +37,7 @@ public class AndroidLobApp extends MobileLobApp implements IJsonBackedObject {

/**
* The Identity Version.
* The identity version.
* The identity version. This property is deprecated starting in February 2023 (Release 2302).
*/
@SerializedName(value = "identityVersion", alternate = {"IdentityVersion"})
@Expose
Expand Down
Loading

0 comments on commit 5cf1b38

Please sign in to comment.