Skip to content

Commit dcfa232

Browse files
Merge pull request #1401 from microsoftgraph/v1.0/pipelinebuild/112480
Generated models and request builders
2 parents afd459a + a84004f commit dcfa232

File tree

66 files changed

+4739
-104
lines changed

Some content is hidden

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

66 files changed

+4739
-104
lines changed

CHANGELOG.md

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

1212
### Changed
1313

14+
## [5.53.0] - 2023-04-11
15+
16+
### Added
17+
18+
- Added BrowserSharedCookie model and derived type instances/requests.
19+
- Added BrowserSites model and derived type instances/requests.
20+
1421
## [5.52.0] - 2023-04-04
1522

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

184184

185185

186+
186187

187188

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

@@ -106,5 +106,6 @@ mavenCentralPublishingEnabled=false
106106

107107

108108

109+
109110

110111

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

2424

@@ -83,5 +83,6 @@ private Constants() {
8383

8484

8585

86+
8687

8788

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

Lines changed: 20 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.models.Edge;
12+
import com.microsoft.graph.models.Sharepoint;
1113
import com.microsoft.graph.models.ServiceAnnouncement;
1214

1315

@@ -38,6 +40,24 @@ public final AdditionalDataManager additionalDataManager() {
3840
return additionalDataManager;
3941
}
4042

43+
/**
44+
* The Edge.
45+
* A container for Microsoft Edge resources. Read-only.
46+
*/
47+
@SerializedName(value = "edge", alternate = {"Edge"})
48+
@Expose
49+
@Nullable
50+
public Edge edge;
51+
52+
/**
53+
* The Sharepoint.
54+
*
55+
*/
56+
@SerializedName(value = "sharepoint", alternate = {"Sharepoint"})
57+
@Expose
58+
@Nullable
59+
public Sharepoint sharepoint;
60+
4161
/**
4262
* The Service Announcement.
4363
* A container for service communications resources. Read-only.
Lines changed: 151 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,151 @@
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.BrowserSharedCookieHistory;
13+
import com.microsoft.graph.models.IdentitySet;
14+
import com.microsoft.graph.models.BrowserSharedCookieSourceEnvironment;
15+
import com.microsoft.graph.models.BrowserSharedCookieStatus;
16+
import com.microsoft.graph.models.Entity;
17+
18+
19+
import com.google.gson.JsonObject;
20+
import com.google.gson.annotations.SerializedName;
21+
import com.google.gson.annotations.Expose;
22+
import javax.annotation.Nullable;
23+
import javax.annotation.Nonnull;
24+
25+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
26+
27+
/**
28+
* The class for the Browser Shared Cookie.
29+
*/
30+
public class BrowserSharedCookie extends Entity implements IJsonBackedObject {
31+
32+
33+
/**
34+
* The Comment.
35+
* The comment for the shared cookie.
36+
*/
37+
@SerializedName(value = "comment", alternate = {"Comment"})
38+
@Expose
39+
@Nullable
40+
public String comment;
41+
42+
/**
43+
* The Created Date Time.
44+
* The date and time when the shared cookie was created.
45+
*/
46+
@SerializedName(value = "createdDateTime", alternate = {"CreatedDateTime"})
47+
@Expose
48+
@Nullable
49+
public java.time.OffsetDateTime createdDateTime;
50+
51+
/**
52+
* The Deleted Date Time.
53+
* The date and time when the shared cookie was deleted.
54+
*/
55+
@SerializedName(value = "deletedDateTime", alternate = {"DeletedDateTime"})
56+
@Expose
57+
@Nullable
58+
public java.time.OffsetDateTime deletedDateTime;
59+
60+
/**
61+
* The Display Name.
62+
* The name of the cookie.
63+
*/
64+
@SerializedName(value = "displayName", alternate = {"DisplayName"})
65+
@Expose
66+
@Nullable
67+
public String displayName;
68+
69+
/**
70+
* The History.
71+
* The history of modifications applied to the cookie.
72+
*/
73+
@SerializedName(value = "history", alternate = {"History"})
74+
@Expose
75+
@Nullable
76+
public java.util.List<BrowserSharedCookieHistory> history;
77+
78+
/**
79+
* The Host Only.
80+
* Controls whether a cookie is a host-only or domain cookie.
81+
*/
82+
@SerializedName(value = "hostOnly", alternate = {"HostOnly"})
83+
@Expose
84+
@Nullable
85+
public Boolean hostOnly;
86+
87+
/**
88+
* The Host Or Domain.
89+
* The URL of the cookie.
90+
*/
91+
@SerializedName(value = "hostOrDomain", alternate = {"HostOrDomain"})
92+
@Expose
93+
@Nullable
94+
public String hostOrDomain;
95+
96+
/**
97+
* The Last Modified By.
98+
* The user who last modified the cookie.
99+
*/
100+
@SerializedName(value = "lastModifiedBy", alternate = {"LastModifiedBy"})
101+
@Expose
102+
@Nullable
103+
public IdentitySet lastModifiedBy;
104+
105+
/**
106+
* The Last Modified Date Time.
107+
* The date and time when the cookie was last modified.
108+
*/
109+
@SerializedName(value = "lastModifiedDateTime", alternate = {"LastModifiedDateTime"})
110+
@Expose
111+
@Nullable
112+
public java.time.OffsetDateTime lastModifiedDateTime;
113+
114+
/**
115+
* The Path.
116+
* The path of the cookie.
117+
*/
118+
@SerializedName(value = "path", alternate = {"Path"})
119+
@Expose
120+
@Nullable
121+
public String path;
122+
123+
/**
124+
* The Source Environment.
125+
* Specifies how the cookies are shared between Microsoft Edge and Internet Explorer. The possible values are: microsoftEdge, internetExplorer11, both, unknownFutureValue.
126+
*/
127+
@SerializedName(value = "sourceEnvironment", alternate = {"SourceEnvironment"})
128+
@Expose
129+
@Nullable
130+
public BrowserSharedCookieSourceEnvironment sourceEnvironment;
131+
132+
/**
133+
* The Status.
134+
* The status of the cookie. The possible values are: published, pendingAdd, pendingEdit, pendingDelete, unknownFutureValue.
135+
*/
136+
@SerializedName(value = "status", alternate = {"Status"})
137+
@Expose
138+
@Nullable
139+
public BrowserSharedCookieStatus status;
140+
141+
142+
/**
143+
* Sets the raw JSON object
144+
*
145+
* @param serializer the serializer
146+
* @param json the JSON object to set this object to
147+
*/
148+
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
149+
150+
}
151+
}
Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
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.IdentitySet;
12+
import com.microsoft.graph.models.BrowserSharedCookieSourceEnvironment;
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 Browser Shared Cookie History.
25+
*/
26+
public class BrowserSharedCookieHistory 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 Comment.
44+
* The comment for the shared cookie.
45+
*/
46+
@SerializedName(value = "comment", alternate = {"Comment"})
47+
@Expose
48+
@Nullable
49+
public String comment;
50+
51+
/**
52+
* The Display Name.
53+
* The name of the cookie.
54+
*/
55+
@SerializedName(value = "displayName", alternate = {"DisplayName"})
56+
@Expose
57+
@Nullable
58+
public String displayName;
59+
60+
/**
61+
* The Host Only.
62+
* Controls whether a cookie is a host-only or domain cookie.
63+
*/
64+
@SerializedName(value = "hostOnly", alternate = {"HostOnly"})
65+
@Expose
66+
@Nullable
67+
public Boolean hostOnly;
68+
69+
/**
70+
* The Host Or Domain.
71+
* The URL of the cookie.
72+
*/
73+
@SerializedName(value = "hostOrDomain", alternate = {"HostOrDomain"})
74+
@Expose
75+
@Nullable
76+
public String hostOrDomain;
77+
78+
/**
79+
* The Last Modified By.
80+
* The user who last modified the cookie.
81+
*/
82+
@SerializedName(value = "lastModifiedBy", alternate = {"LastModifiedBy"})
83+
@Expose
84+
@Nullable
85+
public IdentitySet lastModifiedBy;
86+
87+
/**
88+
* The Path.
89+
* The path of the cookie.
90+
*/
91+
@SerializedName(value = "path", alternate = {"Path"})
92+
@Expose
93+
@Nullable
94+
public String path;
95+
96+
/**
97+
* The Published Date Time.
98+
* The date and time when the cookie was last published.
99+
*/
100+
@SerializedName(value = "publishedDateTime", alternate = {"PublishedDateTime"})
101+
@Expose
102+
@Nullable
103+
public java.time.OffsetDateTime publishedDateTime;
104+
105+
/**
106+
* The Source Environment.
107+
* Specifies how the cookies are shared between Microsoft Edge and Internet Explorer. The possible values are: microsoftEdge, internetExplorer11, both, unknownFutureValue.
108+
*/
109+
@SerializedName(value = "sourceEnvironment", alternate = {"SourceEnvironment"})
110+
@Expose
111+
@Nullable
112+
public BrowserSharedCookieSourceEnvironment sourceEnvironment;
113+
114+
115+
/**
116+
* Sets the raw JSON object
117+
*
118+
* @param serializer the serializer
119+
* @param json the JSON object to set this object to
120+
*/
121+
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
122+
123+
}
124+
}

0 commit comments

Comments
 (0)