Skip to content

Commit 8045a00

Browse files
authored
Merge pull request #233 from microsoftgraph/beta/pipelinebuild/62445
Generated beta models and request builders using Typewriter
2 parents 357cf8b + 7971dfd commit 8045a00

File tree

239 files changed

+7485
-3144
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

239 files changed

+7485
-3144
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
### Changed
1313

14+
## [0.36.0] - 2022-01-05
15+
16+
### Added
17+
18+
- Plenty of class additions and updates relating to Bookings, Alert_V2, MeetingRegistration, & ConnectionQuota.
19+
20+
### Changed
21+
22+
- Generated beta models and request builders using Typewriter and latest Metadata update.
23+
- M365Alert and related classes changed to Alert_V2 classes.
24+
- HardwareConfig and related classes removed.
25+
1426
## [0.35.0] - 2021-12-15
1527

1628
### Added

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ repositories {
2020
2121
dependencies {
2222
// Include the sdk as a dependency
23-
implementation 'com.microsoft.graph:microsoft-graph-beta:0.35.0-SNAPSHOT'
23+
implementation 'com.microsoft.graph:microsoft-graph-beta:0.36.0-SNAPSHOT'
2424
// Uncomment the line below if you are building an android application
2525
//implementation 'com.google.guava:guava:30.1.1-android'
2626
// This dependency is only needed if you are using the TokenCrendentialAuthProvider
@@ -37,7 +37,7 @@ Add the dependency in `dependencies` in pom.xml
3737
<!-- Include the sdk as a dependency -->
3838
<groupId>com.microsoft.graph</groupId>
3939
<artifactId>microsoft-graph-beta</artifactId>
40-
<version>0.35.0-SNAPSHOT</version>
40+
<version>0.36.0-SNAPSHOT</version>
4141
</dependency>
4242
<dependency>
4343
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->
@@ -173,5 +173,6 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI
173173

174174

175175

176+
176177

177178

gradle.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ org.gradle.caching=true
2626
mavenGroupId = com.microsoft.graph
2727
mavenArtifactId = microsoft-graph-beta
2828
mavenMajorVersion = 0
29-
mavenMinorVersion = 35
29+
mavenMinorVersion = 36
3030
mavenPatchVersion = 0
3131
mavenArtifactSuffix =
3232

@@ -72,5 +72,6 @@ mavenCentralPublishingEnabled=false
7272

7373

7474

75+
7576

7677

src/main/java/com/microsoft/graph/callrecords/models/ProductFamily.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ public enum ProductFamily
3232
*/
3333
UNKNOWN_FUTURE_VALUE,
3434
/**
35+
* azure Communication Services
36+
*/
37+
AZURE_COMMUNICATION_SERVICES,
38+
/**
3539
* For ProductFamily values that were not expected from the service
3640
*/
3741
UNEXPECTED_VALUE
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
// Template Source: BaseEntity.java.tt
2+
// ------------------------------------------------------------------------------
3+
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4+
// ------------------------------------------------------------------------------
5+
6+
package com.microsoft.graph.externalconnectors.models;
7+
import com.microsoft.graph.serializer.ISerializer;
8+
import com.microsoft.graph.serializer.IJsonBackedObject;
9+
import com.microsoft.graph.serializer.AdditionalDataManager;
10+
import java.util.EnumSet;
11+
import com.microsoft.graph.models.Entity;
12+
13+
14+
import com.google.gson.JsonObject;
15+
import com.google.gson.annotations.SerializedName;
16+
import com.google.gson.annotations.Expose;
17+
import javax.annotation.Nullable;
18+
import javax.annotation.Nonnull;
19+
20+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
21+
22+
/**
23+
* The class for the Connection Quota.
24+
*/
25+
public class ConnectionQuota extends Entity implements IJsonBackedObject {
26+
27+
28+
/**
29+
* The Items Remaining.
30+
*
31+
*/
32+
@SerializedName(value = "itemsRemaining", alternate = {"ItemsRemaining"})
33+
@Expose
34+
@Nullable
35+
public Long itemsRemaining;
36+
37+
38+
/**
39+
* Sets the raw JSON object
40+
*
41+
* @param serializer the serializer
42+
* @param json the JSON object to set this object to
43+
*/
44+
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
45+
46+
}
47+
}

src/main/java/com/microsoft/graph/externalconnectors/models/ExternalConnection.java

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
import com.microsoft.graph.externalconnectors.models.ExternalGroup;
1616
import com.microsoft.graph.externalconnectors.models.ExternalItem;
1717
import com.microsoft.graph.externalconnectors.models.ConnectionOperation;
18+
import com.microsoft.graph.externalconnectors.models.ConnectionQuota;
1819
import com.microsoft.graph.externalconnectors.models.Schema;
1920
import com.microsoft.graph.models.Entity;
2021
import com.microsoft.graph.externalconnectors.requests.ExternalGroupCollectionPage;
@@ -63,6 +64,15 @@ public class ExternalConnection extends Entity implements IJsonBackedObject {
6364
@Nullable
6465
public String description;
6566

67+
/**
68+
* The Ingested Items Count.
69+
*
70+
*/
71+
@SerializedName(value = "ingestedItemsCount", alternate = {"IngestedItemsCount"})
72+
@Expose
73+
@Nullable
74+
public Long ingestedItemsCount;
75+
6676
/**
6777
* The Name.
6878
* The display name of the connection to be displayed in the Microsoft 365 admin center. Maximum length of 128 characters. Required.
@@ -117,6 +127,15 @@ public class ExternalConnection extends Entity implements IJsonBackedObject {
117127
@Nullable
118128
public ConnectionOperationCollectionPage operations;
119129

130+
/**
131+
* The Quota.
132+
*
133+
*/
134+
@SerializedName(value = "quota", alternate = {"Quota"})
135+
@Expose
136+
@Nullable
137+
public ConnectionQuota quota;
138+
120139
/**
121140
* The Schema.
122141
* Read-only. Nullable.
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
// Template Source: BaseEntityReferenceRequest.java.tt
2+
// ------------------------------------------------------------------------------
3+
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4+
// ------------------------------------------------------------------------------
5+
6+
package com.microsoft.graph.externalconnectors.requests;
7+
8+
import com.microsoft.graph.http.IRequestBuilder;
9+
import com.microsoft.graph.core.ClientException;
10+
import com.microsoft.graph.externalconnectors.models.ConnectionQuota;
11+
import java.util.Arrays;
12+
import java.util.EnumSet;
13+
import javax.annotation.Nullable;
14+
import javax.annotation.Nonnull;
15+
16+
import com.microsoft.graph.options.QueryOption;
17+
import com.microsoft.graph.http.BaseReferenceRequest;
18+
import com.microsoft.graph.http.HttpMethod;
19+
import com.microsoft.graph.core.IBaseClient;
20+
import com.google.gson.JsonPrimitive;
21+
import com.google.gson.JsonObject;
22+
23+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
24+
25+
/**
26+
* The class for the Connection Quota Reference Request.
27+
*/
28+
public class ConnectionQuotaReferenceRequest extends BaseReferenceRequest<ConnectionQuota> {
29+
30+
/**
31+
* The request for the ConnectionQuota
32+
*
33+
* @param requestUrl the request URL
34+
* @param client the service client
35+
* @param requestOptions the options for this request
36+
*/
37+
public ConnectionQuotaReferenceRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient<?> client, @Nullable final java.util.List<? extends com.microsoft.graph.options.Option> requestOptions) {
38+
super(requestUrl, client, requestOptions, ConnectionQuota.class);
39+
}
40+
41+
/**
42+
* Sets the select clause for the request
43+
*
44+
* @param value the select clause
45+
* @return the updated request
46+
*/
47+
@Nonnull
48+
public ConnectionQuotaReferenceRequest select(@Nonnull final String value) {
49+
addSelectOption(value);
50+
return this;
51+
}
52+
53+
/**
54+
* Sets the expand clause for the request
55+
*
56+
* @param value the expand clause
57+
* @return the updated request
58+
*/
59+
@Nonnull
60+
public ConnectionQuotaReferenceRequest expand(@Nonnull final String value) {
61+
addExpandOption(value);
62+
return this;
63+
}
64+
}
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
2+
// Template Source: BaseEntityReferenceRequestBuilder.java.tt
3+
// ------------------------------------------------------------------------------
4+
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
5+
// ------------------------------------------------------------------------------
6+
7+
package com.microsoft.graph.externalconnectors.requests;
8+
9+
import com.microsoft.graph.http.IRequestBuilder;
10+
import com.microsoft.graph.core.ClientException;
11+
import com.microsoft.graph.externalconnectors.models.ConnectionQuota;
12+
import java.util.Arrays;
13+
import java.util.EnumSet;
14+
import javax.annotation.Nullable;
15+
import javax.annotation.Nonnull;
16+
17+
import com.microsoft.graph.http.BaseReferenceRequestBuilder;
18+
import com.microsoft.graph.core.IBaseClient;
19+
20+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
21+
22+
/**
23+
* The class for the Connection Quota Reference Request Builder.
24+
*/
25+
public class ConnectionQuotaReferenceRequestBuilder extends BaseReferenceRequestBuilder<ConnectionQuota, ConnectionQuotaReferenceRequest> {
26+
27+
/**
28+
* The request builder for the ConnectionQuota
29+
*
30+
* @param requestUrl the request URL
31+
* @param client the service client
32+
* @param requestOptions the options for this request
33+
*/
34+
public ConnectionQuotaReferenceRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient<?> client, @Nullable final java.util.List<? extends com.microsoft.graph.options.Option> requestOptions) {
35+
super(requestUrl, client, requestOptions, ConnectionQuotaReferenceRequest.class);
36+
}
37+
}

0 commit comments

Comments
 (0)