Skip to content

Commit

Permalink
Merge pull request #629 from microsoftgraph/beta/pipelinebuild/120562
Browse files Browse the repository at this point in the history
Generated Beta models and request builders
  • Loading branch information
ramsessanchez authored Jul 19, 2023
2 parents 748aaae + b185df6 commit dee26b1
Show file tree
Hide file tree
Showing 53 changed files with 1,283 additions and 68 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.76.0] - 2023-07-19

### Changed

- Weekly generation.

## [0.75.0] - 2023-07-12

### 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.75.0-SNAPSHOT'
implementation 'com.microsoft.graph:microsoft-graph-beta:0.76.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.75.0-SNAPSHOT</version>
<version>0.76.0-SNAPSHOT</version>
</dependency>
<dependency>
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->
Expand Down Expand Up @@ -147,3 +147,4 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI
## 9. Third-party notices

[Third-party notices](THIRD%20PARTY%20NOTICES)

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 = 75
mavenMinorVersion = 76
mavenPatchVersion = 0
mavenArtifactSuffix =

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






Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public enum AlertRuleTemplate
*/
UNKNOWN_FUTURE_VALUE,
/**
* cloud Pc In Grace Period Scenario
*/
CLOUD_PC_IN_GRACE_PERIOD_SCENARIO,
/**
* For AlertRuleTemplate values that were not expected from the service
*/
UNEXPECTED_VALUE
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.75.0";
public static final String VERSION_NAME = "0.76.0";
}


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






10 changes: 10 additions & 0 deletions src/main/java/com/microsoft/graph/models/CloudPC.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.CloudPcConnectionSettings;
import com.microsoft.graph.models.CloudPcConnectivityResult;
import com.microsoft.graph.models.CloudPcDiskEncryptionState;
import com.microsoft.graph.models.CloudPcLoginResult;
Expand Down Expand Up @@ -47,6 +48,15 @@ public class CloudPC extends Entity implements IJsonBackedObject {
@Nullable
public String aadDeviceId;

/**
* The Connection Settings.
*
*/
@SerializedName(value = "connectionSettings", alternate = {"ConnectionSettings"})
@Expose
@Nullable
public CloudPcConnectionSettings connectionSettings;

/**
* The Connectivity Result.
* The connectivity health check result of a Cloud PC, including the updated timestamp and whether the Cloud PC can be connected.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
// Template Source: BaseEntity.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.microsoft.graph.serializer.ISerializer;
import com.microsoft.graph.serializer.IJsonBackedObject;
import com.microsoft.graph.serializer.AdditionalDataManager;
import java.util.EnumSet;


import com.google.gson.JsonObject;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import javax.annotation.Nullable;
import javax.annotation.Nonnull;

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

/**
* The class for the Cloud Pc Connection Settings.
*/
public class CloudPcConnectionSettings implements IJsonBackedObject {

/** the OData type of the object as returned by the service */
@SerializedName("@odata.type")
@Expose
@Nullable
public String oDataType;

private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);

@Override
@Nonnull
public final AdditionalDataManager additionalDataManager() {
return additionalDataManager;
}

/**
* The Enable Single Sign On.
*
*/
@SerializedName(value = "enableSingleSignOn", alternate = {"EnableSingleSignOn"})
@Expose
@Nullable
public Boolean enableSingleSignOn;


/**
* Sets the raw JSON object
*
* @param serializer the serializer
* @param json the JSON object to set this object to
*/
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
// Template Source: BaseEntity.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.microsoft.graph.serializer.ISerializer;
import com.microsoft.graph.serializer.IJsonBackedObject;
import com.microsoft.graph.serializer.AdditionalDataManager;
import java.util.EnumSet;
import com.microsoft.graph.models.Entity;


import com.google.gson.JsonObject;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import javax.annotation.Nullable;
import javax.annotation.Nonnull;

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

/**
* The class for the Cloud Pc Front Line Service Plan.
*/
public class CloudPcFrontLineServicePlan extends Entity implements IJsonBackedObject {


/**
* The Display Name.
*
*/
@SerializedName(value = "displayName", alternate = {"DisplayName"})
@Expose
@Nullable
public String displayName;

/**
* The Total Count.
*
*/
@SerializedName(value = "totalCount", alternate = {"TotalCount"})
@Expose
@Nullable
public Integer totalCount;

/**
* The Used Count.
*
*/
@SerializedName(value = "usedCount", alternate = {"UsedCount"})
@Expose
@Nullable
public Integer usedCount;


/**
* Sets the raw JSON object
*
* @param serializer the serializer
* @param json the JSON object to set this object to
*/
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ public enum CloudPcOnPremisesConnectionStatus
*/
WARNING,
/**
* informational
*/
INFORMATIONAL,
/**
* unknown Future Value
*/
UNKNOWN_FUTURE_VALUE,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ public enum CloudPcReportName
*/
NO_LICENSE_AVAILABLE_CONNECTIVITY_FAILURE_REPORT,
/**
* remote Connection Quality Reports
*/
REMOTE_CONNECTION_QUALITY_REPORTS,
/**
* For CloudPcReportName values that were not expected from the service
*/
UNEXPECTED_VALUE
Expand Down
Loading

0 comments on commit dee26b1

Please sign in to comment.