Skip to content

Commit 740ec3f

Browse files
authored
Merge pull request #730 from microsoftgraph/v1.0/pipelinebuild/47937
Generated v1.0 models and request builders using Typewriter
2 parents f2f1509 + acba2f2 commit 740ec3f

File tree

357 files changed

+34786
-15392
lines changed

Some content is hidden

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

357 files changed

+34786
-15392
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:3.2.0'
22+
implementation 'com.microsoft.graph:microsoft-graph:3.3.0'
2323
// Uncomment the line below if you are building an android application
2424
//implementation 'com.google.guava:guava:29.0-android'
2525
}
@@ -33,7 +33,7 @@ Add the dependency in `dependencies` in pom.xml
3333
<dependency>
3434
<groupId>com.microsoft.graph</groupId>
3535
<artifactId>microsoft-graph</artifactId>
36-
<version>3.2.0</version>
36+
<version>3.3.0</version>
3737
</dependency>
3838
```
3939

@@ -128,3 +128,4 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI
128128
[Third-party notices](THIRD%20PARTY%20NOTICES)
129129

130130

131+

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

@@ -46,3 +46,4 @@ mavenCentralPublishingEnabled=false
4646

4747

4848

49+

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public class CallRecord extends Entity implements IJsonBackedObject {
8787

8888
/**
8989
* The Start Date Time.
90-
* UTC time when the first user joined the call. The DatetimeOffset 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.
90+
* UTC time when the first user joined the call. The DatetimeOffset 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
9191
*/
9292
@SerializedName(value = "startDateTime", alternate = {"StartDateTime"})
9393
@Expose
@@ -105,7 +105,7 @@ public class CallRecord extends Entity implements IJsonBackedObject {
105105

106106
/**
107107
* The Version.
108-
* Monotonically increasing version of the call record. Higher version call records with the same id includes additional data compared to the lower version.
108+
* Monotonically increasing version of the call record. Higher version call records with the same ID includes additional data compared to the lower version.
109109
*/
110110
@SerializedName(value = "version", alternate = {"Version"})
111111
@Expose

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public class Session extends Entity implements IJsonBackedObject {
7878

7979
/**
8080
* The Start Date Time.
81-
* UTC time when the first user joined the session. The DateTimeOffset 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
81+
* UTC fime when the first user joined the session. The DateTimeOffset 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
8282
*/
8383
@SerializedName(value = "startDateTime", alternate = {"StartDateTime"})
8484
@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,8 +18,9 @@ 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 = "3.2.0";
21+
public static final String VERSION_NAME = "3.3.0";
2222
}
2323

2424

2525

26+

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public class AadUserConversationMember extends ConversationMember implements IJs
4646

4747
/**
4848
* The User Id.
49-
* The guid of the user.
49+
* The GUID of the user.
5050
*/
5151
@SerializedName(value = "userId", alternate = {"UserId"})
5252
@Expose
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
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+
12+
13+
import com.google.gson.JsonObject;
14+
import com.google.gson.annotations.SerializedName;
15+
import com.google.gson.annotations.Expose;
16+
import javax.annotation.Nullable;
17+
import javax.annotation.Nonnull;
18+
19+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
20+
21+
/**
22+
* The class for the Access Review Apply Action.
23+
*/
24+
public class AccessReviewApplyAction implements IJsonBackedObject {
25+
26+
/** the OData type of the object as returned by the service */
27+
@SerializedName("@odata.type")
28+
@Expose
29+
@Nullable
30+
public String oDataType;
31+
32+
private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
33+
34+
@Override
35+
@Nonnull
36+
public final AdditionalDataManager additionalDataManager() {
37+
return additionalDataManager;
38+
}
39+
40+
41+
/**
42+
* Sets the raw JSON object
43+
*
44+
* @param serializer the serializer
45+
* @param json the JSON object to set this object to
46+
*/
47+
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
48+
49+
}
50+
}
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.AccessReviewQueryScope;
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 Review Inactive Users Query Scope.
24+
*/
25+
public class AccessReviewInactiveUsersQueryScope extends AccessReviewQueryScope implements IJsonBackedObject {
26+
27+
28+
/**
29+
* The Inactive Duration.
30+
* Defines the length of the duration period of inactivity. Inactivity is based on the last sign in date of the user.
31+
*/
32+
@SerializedName(value = "inactiveDuration", alternate = {"InactiveDuration"})
33+
@Expose
34+
@Nullable
35+
public javax.xml.datatype.Duration inactiveDuration;
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+
}
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
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.AccessReviewScope;
13+
import com.microsoft.graph.models.AccessReviewInstanceDecisionItem;
14+
import com.microsoft.graph.models.Entity;
15+
import com.microsoft.graph.requests.AccessReviewInstanceDecisionItemCollectionPage;
16+
17+
18+
import com.google.gson.JsonObject;
19+
import com.google.gson.annotations.SerializedName;
20+
import com.google.gson.annotations.Expose;
21+
import javax.annotation.Nullable;
22+
import javax.annotation.Nonnull;
23+
24+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
25+
26+
/**
27+
* The class for the Access Review Instance.
28+
*/
29+
public class AccessReviewInstance extends Entity implements IJsonBackedObject {
30+
31+
32+
/**
33+
* The End Date Time.
34+
* DateTime when review instance is scheduled to end.The DatetimeOffset 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.
35+
*/
36+
@SerializedName(value = "endDateTime", alternate = {"EndDateTime"})
37+
@Expose
38+
@Nullable
39+
public java.time.OffsetDateTime endDateTime;
40+
41+
/**
42+
* The Scope.
43+
* Created based on scope and instanceEnumerationScope at the accessReviewScheduleDefinition level. Defines the scope of users reviewed in a group. In the case of a single-group review, the scope defined at the accessReviewScheduleDefinition level applies to all instances. In the case of all groups review, scope may be different for each group. Read-only.
44+
*/
45+
@SerializedName(value = "scope", alternate = {"Scope"})
46+
@Expose
47+
@Nullable
48+
public AccessReviewScope scope;
49+
50+
/**
51+
* The Start Date Time.
52+
* DateTime when review instance is scheduled to start. May be in the future. The DateTimeOffset 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.
53+
*/
54+
@SerializedName(value = "startDateTime", alternate = {"StartDateTime"})
55+
@Expose
56+
@Nullable
57+
public java.time.OffsetDateTime startDateTime;
58+
59+
/**
60+
* The Status.
61+
* Specifies the status of an accessReview. The typical states include Initializing, NotStarted, Starting, InProgress, Completing, Completed, AutoReviewing, and AutoReviewed. Read-only.
62+
*/
63+
@SerializedName(value = "status", alternate = {"Status"})
64+
@Expose
65+
@Nullable
66+
public String status;
67+
68+
/**
69+
* The Decisions.
70+
* Each user reviewed in an accessReviewInstance has a decision item representing if their access was approved, denied, or not yet reviewed.
71+
*/
72+
@SerializedName(value = "decisions", alternate = {"Decisions"})
73+
@Expose
74+
@Nullable
75+
public AccessReviewInstanceDecisionItemCollectionPage decisions;
76+
77+
78+
/**
79+
* Sets the raw JSON object
80+
*
81+
* @param serializer the serializer
82+
* @param json the JSON object to set this object to
83+
*/
84+
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
85+
86+
87+
if (json.has("decisions")) {
88+
decisions = serializer.deserializeObject(json.get("decisions"), AccessReviewInstanceDecisionItemCollectionPage.class);
89+
}
90+
}
91+
}
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
// Template Source: BaseMethodParameterSet.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+
8+
9+
import com.google.gson.annotations.Expose;
10+
import com.google.gson.annotations.SerializedName;
11+
import javax.annotation.Nonnull;
12+
import javax.annotation.Nullable;
13+
import com.google.gson.JsonObject;
14+
import java.util.EnumSet;
15+
import java.util.ArrayList;
16+
17+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
18+
19+
/**
20+
* The class for the Access Review Instance Accept Recommendations Parameter Set.
21+
*/
22+
public class AccessReviewInstanceAcceptRecommendationsParameterSet {
23+
24+
/**
25+
* Instiaciates a new AccessReviewInstanceAcceptRecommendationsParameterSet
26+
*/
27+
public AccessReviewInstanceAcceptRecommendationsParameterSet() {}
28+
/**
29+
* Instiaciates a new AccessReviewInstanceAcceptRecommendationsParameterSet
30+
* @param builder builder bearing the parameters to initialize from
31+
*/
32+
protected AccessReviewInstanceAcceptRecommendationsParameterSet(@Nonnull final AccessReviewInstanceAcceptRecommendationsParameterSetBuilder builder) {
33+
}
34+
/**
35+
* Gets a new builder for the body
36+
* @return a new builder
37+
*/
38+
@Nonnull
39+
public static AccessReviewInstanceAcceptRecommendationsParameterSetBuilder newBuilder() {
40+
return new AccessReviewInstanceAcceptRecommendationsParameterSetBuilder();
41+
}
42+
/**
43+
* Fluent builder for the AccessReviewInstanceAcceptRecommendationsParameterSet
44+
*/
45+
public static final class AccessReviewInstanceAcceptRecommendationsParameterSetBuilder {
46+
/**
47+
* Instanciates a new AccessReviewInstanceAcceptRecommendationsParameterSetBuilder
48+
*/
49+
@Nullable
50+
protected AccessReviewInstanceAcceptRecommendationsParameterSetBuilder(){}
51+
/**
52+
* Buils the resulting body object to be passed to the request
53+
* @return the body object to pass to the request
54+
*/
55+
@Nonnull
56+
public AccessReviewInstanceAcceptRecommendationsParameterSet build() {
57+
return new AccessReviewInstanceAcceptRecommendationsParameterSet(this);
58+
}
59+
}
60+
/**
61+
* Gets the functions options from the properties that have been set
62+
* @return a list of function options for the request
63+
*/
64+
@Nonnull
65+
public java.util.List<com.microsoft.graph.options.FunctionOption> getFunctionOptions() {
66+
final ArrayList<com.microsoft.graph.options.FunctionOption> result = new ArrayList<>();
67+
return result;
68+
}
69+
}

0 commit comments

Comments
 (0)