Skip to content

Commit 6903e46

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
Update generated files with build 105750
1 parent 2737d5d commit 6903e46

File tree

42 files changed

+2245
-13
lines changed

Some content is hidden

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

42 files changed

+2245
-13
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ repositories {
1919
2020
dependencies {
2121
// Include the sdk as a dependency
22-
implementation 'com.microsoft.graph:microsoft-graph:5.46.0'
22+
implementation 'com.microsoft.graph:microsoft-graph:5.47.0'
2323
// Uncomment the line below if you are building an android application
2424
//implementation 'com.google.guava:guava:30.1.1-android'
2525
// This dependency is only needed if you are using the TokenCrendentialAuthProvider
@@ -36,7 +36,7 @@ Add the dependency in `dependencies` in pom.xml
3636
<!-- Include the sdk as a dependency -->
3737
<groupId>com.microsoft.graph</groupId>
3838
<artifactId>microsoft-graph</artifactId>
39-
<version>5.46.0</version>
39+
<version>5.47.0</version>
4040
</dependency>
4141
<dependency>
4242
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->
@@ -177,5 +177,6 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI
177177

178178

179179

180+
180181

181182

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
2828
mavenMajorVersion = 5
29-
mavenMinorVersion = 46
29+
mavenMinorVersion = 47
3030
mavenPatchVersion = 0
3131
mavenArtifactSuffix =
3232

@@ -100,5 +100,6 @@ mavenCentralPublishingEnabled=false
100100

101101

102102

103+
103104

104105

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public final AdditionalDataManager additionalDataManager() {
112112

113113
/**
114114
* The Currency.
115-
* Type of currency used to calculate the cost of the call (ISO 4217).
115+
* Type of currency used to calculate the cost of the call. For details, see (ISO 4217.
116116
*/
117117
@SerializedName(value = "currency", alternate = {"Currency"})
118118
@Expose
@@ -202,7 +202,7 @@ public final AdditionalDataManager additionalDataManager() {
202202

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

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

239239
/**
240240
* The User Principal Name.
241-
* 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.
241+
* 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.
242242
*/
243243
@SerializedName(value = "userPrincipalName", alternate = {"UserPrincipalName"})
244244
@Expose

src/main/java/com/microsoft/graph/info/Constants.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ private Constants() {
1818
/** The client secret to use for unit testing */
1919
public static final String CLIENTSECRET = "clientsecret";
2020
/** The SDK version */
21-
public static final String VERSION_NAME = "5.46.0";
21+
public static final String VERSION_NAME = "5.47.0";
2222
}
2323

2424

@@ -77,5 +77,6 @@ private Constants() {
7777

7878

7979

80+
8081

8182

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
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.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.AccessPackageQuestion;
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 Access Package Answer.
24+
*/
25+
public class AccessPackageAnswer implements IJsonBackedObject {
26+
27+
/** the OData type of the object as returned by the service */
28+
@SerializedName("@odata.type")
29+
@Expose
30+
@Nullable
31+
public String oDataType;
32+
33+
private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
34+
35+
@Override
36+
@Nonnull
37+
public final AdditionalDataManager additionalDataManager() {
38+
return additionalDataManager;
39+
}
40+
41+
/**
42+
* The Display Value.
43+
* The localized display value shown to the requestor and approvers.
44+
*/
45+
@SerializedName(value = "displayValue", alternate = {"DisplayValue"})
46+
@Expose
47+
@Nullable
48+
public String displayValue;
49+
50+
/**
51+
* The Answered Question.
52+
*
53+
*/
54+
@SerializedName(value = "answeredQuestion", alternate = {"AnsweredQuestion"})
55+
@Expose
56+
@Nullable
57+
public AccessPackageQuestion answeredQuestion;
58+
59+
60+
/**
61+
* Sets the raw JSON object
62+
*
63+
* @param serializer the serializer
64+
* @param json the JSON object to set this object to
65+
*/
66+
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
67+
68+
}
69+
}
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
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.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.http.BaseCollectionPage;
12+
import com.microsoft.graph.models.AccessPackageLocalizedText;
13+
14+
15+
import com.google.gson.JsonObject;
16+
import com.google.gson.annotations.SerializedName;
17+
import com.google.gson.annotations.Expose;
18+
import javax.annotation.Nullable;
19+
import javax.annotation.Nonnull;
20+
21+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
22+
23+
/**
24+
* The class for the Access Package Answer Choice.
25+
*/
26+
public class AccessPackageAnswerChoice implements IJsonBackedObject {
27+
28+
/** the OData type of the object as returned by the service */
29+
@SerializedName("@odata.type")
30+
@Expose
31+
@Nullable
32+
public String oDataType;
33+
34+
private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
35+
36+
@Override
37+
@Nonnull
38+
public final AdditionalDataManager additionalDataManager() {
39+
return additionalDataManager;
40+
}
41+
42+
/**
43+
* The Actual Value.
44+
* The actual value of the selected choice. This is typically a string value which is understandable by applications. Required.
45+
*/
46+
@SerializedName(value = "actualValue", alternate = {"ActualValue"})
47+
@Expose
48+
@Nullable
49+
public String actualValue;
50+
51+
/**
52+
* The Localizations.
53+
* The text of the answer choice represented in a format for a specific locale.
54+
*/
55+
@SerializedName(value = "localizations", alternate = {"Localizations"})
56+
@Expose
57+
@Nullable
58+
public java.util.List<AccessPackageLocalizedText> localizations;
59+
60+
/**
61+
* The Text.
62+
*
63+
*/
64+
@SerializedName(value = "text", alternate = {"Text"})
65+
@Expose
66+
@Nullable
67+
public String text;
68+
69+
70+
/**
71+
* Sets the raw JSON object
72+
*
73+
* @param serializer the serializer
74+
* @param json the JSON object to set this object to
75+
*/
76+
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
77+
78+
}
79+
}
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.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.AccessPackageAnswer;
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 Access Package Answer String.
24+
*/
25+
public class AccessPackageAnswerString extends AccessPackageAnswer implements IJsonBackedObject {
26+
27+
28+
/**
29+
* The Value.
30+
* The value stored on the requestor's user profile, if this answer is configured to be stored as a specific attribute.
31+
*/
32+
@SerializedName(value = "value", alternate = {"Value"})
33+
@Expose
34+
@Nullable
35+
public String value;
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/models/AccessPackageAssignmentPolicy.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import com.microsoft.graph.models.AccessPackage;
2020
import com.microsoft.graph.models.AccessPackageCatalog;
2121
import com.microsoft.graph.models.Entity;
22+
import com.microsoft.graph.requests.AccessPackageQuestionCollectionPage;
2223

2324

2425
import com.google.gson.JsonObject;
@@ -152,6 +153,15 @@ public class AccessPackageAssignmentPolicy extends Entity implements IJsonBacked
152153
@Nullable
153154
public AccessPackageCatalog catalog;
154155

156+
/**
157+
* The Questions.
158+
*
159+
*/
160+
@SerializedName(value = "questions", alternate = {"Questions"})
161+
@Expose
162+
@Nullable
163+
public com.microsoft.graph.requests.AccessPackageQuestionCollectionPage questions;
164+
155165

156166
/**
157167
* Sets the raw JSON object
@@ -161,5 +171,9 @@ public class AccessPackageAssignmentPolicy extends Entity implements IJsonBacked
161171
*/
162172
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
163173

174+
175+
if (json.has("questions")) {
176+
questions = serializer.deserializeObject(json.get("questions"), com.microsoft.graph.requests.AccessPackageQuestionCollectionPage.class);
177+
}
164178
}
165179
}

src/main/java/com/microsoft/graph/models/AccessPackageAssignmentRequest.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
import com.microsoft.graph.serializer.IJsonBackedObject;
99
import com.microsoft.graph.serializer.AdditionalDataManager;
1010
import java.util.EnumSet;
11+
import com.microsoft.graph.http.BaseCollectionPage;
12+
import com.microsoft.graph.models.AccessPackageAnswer;
1113
import com.microsoft.graph.models.AccessPackageRequestType;
1214
import com.microsoft.graph.models.EntitlementManagementSchedule;
1315
import com.microsoft.graph.models.AccessPackageRequestState;
@@ -31,6 +33,15 @@
3133
public class AccessPackageAssignmentRequest extends Entity implements IJsonBackedObject {
3234

3335

36+
/**
37+
* The Answers.
38+
* Answers provided by the requestor to accessPackageQuestions asked of them at the time of request.
39+
*/
40+
@SerializedName(value = "answers", alternate = {"Answers"})
41+
@Expose
42+
@Nullable
43+
public java.util.List<AccessPackageAnswer> answers;
44+
3445
/**
3546
* The Completed Date Time.
3647
* The date of the end of processing, either successful or failure, of a request. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.

src/main/java/com/microsoft/graph/models/AccessPackageAssignmentRequestRequirements.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
import com.microsoft.graph.serializer.IJsonBackedObject;
99
import com.microsoft.graph.serializer.AdditionalDataManager;
1010
import java.util.EnumSet;
11+
import com.microsoft.graph.http.BaseCollectionPage;
1112
import com.microsoft.graph.models.EntitlementManagementSchedule;
13+
import com.microsoft.graph.requests.AccessPackageQuestionCollectionPage;
1214

1315

1416
import com.google.gson.JsonObject;
@@ -101,6 +103,13 @@ public final AdditionalDataManager additionalDataManager() {
101103
@Nullable
102104
public EntitlementManagementSchedule schedule;
103105

106+
/**
107+
* The Questions.
108+
*
109+
*/
110+
@Nullable
111+
public com.microsoft.graph.requests.AccessPackageQuestionCollectionPage questions;
112+
104113

105114
/**
106115
* Sets the raw JSON object

0 commit comments

Comments
 (0)