Skip to content

Commit d4861e7

Browse files
Merge pull request #1253 from microsoftgraph/v1.0/pipelinebuild/91765
Generated v1.0 models and request builders using Typewriter
2 parents 9ad5422 + d08c264 commit d4861e7

File tree

62 files changed

+3746
-50
lines changed

Some content is hidden

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

62 files changed

+3746
-50
lines changed

CHANGELOG.md

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

1212
### Changed
1313

14+
## [5.41.0] - 2022-11-09
15+
16+
### Added
17+
18+
- AuditActor model.
19+
- AuditProperty model.
20+
- AuditResource model.
21+
- ChannelMembersNotificationRecipient model.
22+
- ChatMembersNotificationRecipient model.
23+
- MacOSLobChildApp model.
24+
- MacOSMinimumOperatingSystem model.
25+
- MicrosoftEdgeChannel model.
26+
- TeamMembersNotificationRecipient model.
27+
- AuditEvent models and related requests.
28+
- DeviceManagementPartnerTerminate models and related requests.
29+
- EducationAssignmentSetUpFeedbackResourcesFolder models and related requests.
30+
- EducationFeedbackResourceOutcome models and related requests.
31+
- MacOSLobApp models and related requests.
32+
- MacOSMicrosoftEdgeApp model and related requests.
33+
34+
### Changed
35+
36+
- Generated v1.0 models and request builders using Typewriter.
37+
- Classes related to the removed and added models/requests have been updated to reflect the addition and removal of these models/requests.
38+
- Remove withRequireChangeOnNextSignIn from AuthenticationMethodResetPasswordParameterSet as this only applied for certain first party apps and shouldn't have been added prior.
39+
1440
## [5.40.0] - 2022-11-03
1541

1642
### Added

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.40.0'
22+
implementation 'com.microsoft.graph:microsoft-graph:5.41.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.40.0</version>
39+
<version>5.41.0</version>
4040
</dependency>
4141
<dependency>
4242
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->
@@ -171,5 +171,6 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI
171171

172172

173173

174+
174175

175176

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 = 40
29+
mavenMinorVersion = 41
3030
mavenPatchVersion = 0
3131
mavenArtifactSuffix =
3232

@@ -94,5 +94,6 @@ mavenCentralPublishingEnabled=false
9494

9595

9696

97+
9798

9899

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.40.0";
21+
public static final String VERSION_NAME = "5.41.0";
2222
}
2323

2424

@@ -71,5 +71,6 @@ private Constants() {
7171

7272

7373

74+
7475

7576

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public class AgreementAcceptance extends Entity implements IJsonBackedObject {
5555

5656
/**
5757
* The Device Id.
58-
* The unique identifier of the device used for accepting the agreement.
58+
* The unique identifier of the device used for accepting the agreement. Supports $filter (eq) and eq for null values.
5959
*/
6060
@SerializedName(value = "deviceId", alternate = {"DeviceId"})
6161
@Expose
@@ -82,7 +82,7 @@ public class AgreementAcceptance extends Entity implements IJsonBackedObject {
8282

8383
/**
8484
* The Expiration Date Time.
85-
* The expiration date time of the acceptance. 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.
85+
* The expiration date time of the acceptance. 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. Supports $filter (eq, ge, le) and eq for null values.
8686
*/
8787
@SerializedName(value = "expirationDateTime", alternate = {"ExpirationDateTime"})
8888
@Expose
@@ -127,7 +127,7 @@ public class AgreementAcceptance extends Entity implements IJsonBackedObject {
127127

128128
/**
129129
* The User Id.
130-
* The identifier of the user who accepted the agreement.
130+
* The identifier of the user who accepted the agreement. Supports $filter (eq).
131131
*/
132132
@SerializedName(value = "userId", alternate = {"UserId"})
133133
@Expose
Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
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+
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 Audit Actor.
24+
*/
25+
public class AuditActor 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 Application Display Name.
43+
* Name of the Application.
44+
*/
45+
@SerializedName(value = "applicationDisplayName", alternate = {"ApplicationDisplayName"})
46+
@Expose
47+
@Nullable
48+
public String applicationDisplayName;
49+
50+
/**
51+
* The Application Id.
52+
* AAD Application Id.
53+
*/
54+
@SerializedName(value = "applicationId", alternate = {"ApplicationId"})
55+
@Expose
56+
@Nullable
57+
public String applicationId;
58+
59+
/**
60+
* The Audit Actor Type.
61+
* Actor Type.
62+
*/
63+
@SerializedName(value = "auditActorType", alternate = {"AuditActorType"})
64+
@Expose
65+
@Nullable
66+
public String auditActorType;
67+
68+
/**
69+
* The Ip Address.
70+
* IPAddress.
71+
*/
72+
@SerializedName(value = "ipAddress", alternate = {"IpAddress"})
73+
@Expose
74+
@Nullable
75+
public String ipAddress;
76+
77+
/**
78+
* The Service Principal Name.
79+
* Service Principal Name (SPN).
80+
*/
81+
@SerializedName(value = "servicePrincipalName", alternate = {"ServicePrincipalName"})
82+
@Expose
83+
@Nullable
84+
public String servicePrincipalName;
85+
86+
/**
87+
* The User Id.
88+
* User Id.
89+
*/
90+
@SerializedName(value = "userId", alternate = {"UserId"})
91+
@Expose
92+
@Nullable
93+
public String userId;
94+
95+
/**
96+
* The User Permissions.
97+
* List of user permissions when the audit was performed.
98+
*/
99+
@SerializedName(value = "userPermissions", alternate = {"UserPermissions"})
100+
@Expose
101+
@Nullable
102+
public java.util.List<String> userPermissions;
103+
104+
/**
105+
* The User Principal Name.
106+
* User Principal Name (UPN).
107+
*/
108+
@SerializedName(value = "userPrincipalName", alternate = {"UserPrincipalName"})
109+
@Expose
110+
@Nullable
111+
public String userPrincipalName;
112+
113+
114+
/**
115+
* Sets the raw JSON object
116+
*
117+
* @param serializer the serializer
118+
* @param json the JSON object to set this object to
119+
*/
120+
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
121+
122+
}
123+
}
Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
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.AuditActor;
13+
import com.microsoft.graph.models.AuditResource;
14+
import com.microsoft.graph.models.Entity;
15+
16+
17+
import com.google.gson.JsonObject;
18+
import com.google.gson.annotations.SerializedName;
19+
import com.google.gson.annotations.Expose;
20+
import javax.annotation.Nullable;
21+
import javax.annotation.Nonnull;
22+
23+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
24+
25+
/**
26+
* The class for the Audit Event.
27+
*/
28+
public class AuditEvent extends Entity implements IJsonBackedObject {
29+
30+
31+
/**
32+
* The Activity.
33+
* Friendly name of the activity.
34+
*/
35+
@SerializedName(value = "activity", alternate = {"Activity"})
36+
@Expose
37+
@Nullable
38+
public String activity;
39+
40+
/**
41+
* The Activity Date Time.
42+
* The date time in UTC when the activity was performed.
43+
*/
44+
@SerializedName(value = "activityDateTime", alternate = {"ActivityDateTime"})
45+
@Expose
46+
@Nullable
47+
public java.time.OffsetDateTime activityDateTime;
48+
49+
/**
50+
* The Activity Operation Type.
51+
* The HTTP operation type of the activity.
52+
*/
53+
@SerializedName(value = "activityOperationType", alternate = {"ActivityOperationType"})
54+
@Expose
55+
@Nullable
56+
public String activityOperationType;
57+
58+
/**
59+
* The Activity Result.
60+
* The result of the activity.
61+
*/
62+
@SerializedName(value = "activityResult", alternate = {"ActivityResult"})
63+
@Expose
64+
@Nullable
65+
public String activityResult;
66+
67+
/**
68+
* The Activity Type.
69+
* The type of activity that was being performed.
70+
*/
71+
@SerializedName(value = "activityType", alternate = {"ActivityType"})
72+
@Expose
73+
@Nullable
74+
public String activityType;
75+
76+
/**
77+
* The Actor.
78+
* AAD user and application that are associated with the audit event.
79+
*/
80+
@SerializedName(value = "actor", alternate = {"Actor"})
81+
@Expose
82+
@Nullable
83+
public AuditActor actor;
84+
85+
/**
86+
* The Category.
87+
* Audit category.
88+
*/
89+
@SerializedName(value = "category", alternate = {"Category"})
90+
@Expose
91+
@Nullable
92+
public String category;
93+
94+
/**
95+
* The Component Name.
96+
* Component name.
97+
*/
98+
@SerializedName(value = "componentName", alternate = {"ComponentName"})
99+
@Expose
100+
@Nullable
101+
public String componentName;
102+
103+
/**
104+
* The Correlation Id.
105+
* The client request Id that is used to correlate activity within the system.
106+
*/
107+
@SerializedName(value = "correlationId", alternate = {"CorrelationId"})
108+
@Expose
109+
@Nullable
110+
public java.util.UUID correlationId;
111+
112+
/**
113+
* The Display Name.
114+
* Event display name.
115+
*/
116+
@SerializedName(value = "displayName", alternate = {"DisplayName"})
117+
@Expose
118+
@Nullable
119+
public String displayName;
120+
121+
/**
122+
* The Resources.
123+
* Resources being modified.
124+
*/
125+
@SerializedName(value = "resources", alternate = {"Resources"})
126+
@Expose
127+
@Nullable
128+
public java.util.List<AuditResource> resources;
129+
130+
131+
/**
132+
* Sets the raw JSON object
133+
*
134+
* @param serializer the serializer
135+
* @param json the JSON object to set this object to
136+
*/
137+
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
138+
139+
}
140+
}

0 commit comments

Comments
 (0)