Skip to content

Commit e7fedbb

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
Update generated files with build 74322
1 parent 7e41847 commit e7fedbb

File tree

52 files changed

+2816
-22
lines changed

Some content is hidden

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

52 files changed

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

155155

156156

157+
157158

158159

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

@@ -77,5 +77,6 @@ mavenCentralPublishingEnabled=false
7777

7878

7979

80+
8081

8182

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

2424

@@ -54,5 +54,6 @@ private Constants() {
5454

5555

5656

57+
5758

5859

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ public class Application extends DirectoryObject implements IJsonBackedObject {
257257

258258
/**
259259
* The Service Management Reference.
260-
*
260+
* References application or service contact information from a Service or Asset Management database. Nullable.
261261
*/
262262
@SerializedName(value = "serviceManagementReference", alternate = {"ServiceManagementReference"})
263263
@Expose
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
// Template Source: Enum.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+
/**
10+
* The Enum Authentication Protocol.
11+
*/
12+
public enum AuthenticationProtocol
13+
{
14+
/**
15+
* ws Fed
16+
*/
17+
WS_FED,
18+
/**
19+
* saml
20+
*/
21+
SAML,
22+
/**
23+
* unknown Future Value
24+
*/
25+
UNKNOWN_FUTURE_VALUE,
26+
/**
27+
* For AuthenticationProtocol values that were not expected from the service
28+
*/
29+
UNEXPECTED_VALUE
30+
}

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

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

241241
/**
242242
* The Replies.
243-
* Replies for a specified message.
243+
* Replies for a specified message. Supports $expand for channel messages.
244244
*/
245245
@SerializedName(value = "replies", alternate = {"Replies"})
246246
@Expose

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@
1111
import com.microsoft.graph.http.BaseCollectionPage;
1212
import com.microsoft.graph.models.AdministrativeUnit;
1313
import com.microsoft.graph.models.DirectoryObject;
14+
import com.microsoft.graph.models.IdentityProviderBase;
1415
import com.microsoft.graph.models.Entity;
1516
import com.microsoft.graph.requests.AdministrativeUnitCollectionPage;
1617
import com.microsoft.graph.requests.DirectoryObjectCollectionPage;
18+
import com.microsoft.graph.requests.IdentityProviderBaseCollectionPage;
1719

1820

1921
import com.google.gson.JsonObject;
@@ -48,6 +50,15 @@ public class Directory extends Entity implements IJsonBackedObject {
4850
@Nullable
4951
public DirectoryObjectCollectionPage deletedItems;
5052

53+
/**
54+
* The Federation Configurations.
55+
* Configure domain federation with organizations whose identity provider (IdP) supports either the SAML or WS-Fed protocol.
56+
*/
57+
@SerializedName(value = "federationConfigurations", alternate = {"FederationConfigurations"})
58+
@Expose
59+
@Nullable
60+
public IdentityProviderBaseCollectionPage federationConfigurations;
61+
5162

5263
/**
5364
* Sets the raw JSON object
@@ -65,5 +76,9 @@ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final J
6576
if (json.has("deletedItems")) {
6677
deletedItems = serializer.deserializeObject(json.get("deletedItems"), DirectoryObjectCollectionPage.class);
6778
}
79+
80+
if (json.has("federationConfigurations")) {
81+
federationConfigurations = serializer.deserializeObject(json.get("federationConfigurations"), IdentityProviderBaseCollectionPage.class);
82+
}
6883
}
6984
}

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

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@
1111
import com.microsoft.graph.http.BaseCollectionPage;
1212
import com.microsoft.graph.models.DomainState;
1313
import com.microsoft.graph.models.DirectoryObject;
14+
import com.microsoft.graph.models.InternalDomainFederation;
1415
import com.microsoft.graph.models.DomainDnsRecord;
1516
import com.microsoft.graph.models.Entity;
1617
import com.microsoft.graph.requests.DirectoryObjectCollectionPage;
18+
import com.microsoft.graph.requests.InternalDomainFederationCollectionPage;
1719
import com.microsoft.graph.requests.DomainDnsRecordCollectionPage;
1820

1921

@@ -141,7 +143,7 @@ public class Domain extends Entity implements IJsonBackedObject {
141143

142144
/**
143145
* The Supported Services.
144-
* The capabilities assigned to the domain. Can include 0, 1 or more of following values: Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline,SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune. The values which you can add/remove using Graph API include: Email, OfficeCommunicationsOnline, Yammer. Not nullable
146+
* The capabilities assigned to the domain. Can include 0, 1 or more of following values: Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline,SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune. The values which you can add/remove using Graph API include: Email, OfficeCommunicationsOnline, Yammer. Not nullable.
145147
*/
146148
@SerializedName(value = "supportedServices", alternate = {"SupportedServices"})
147149
@Expose
@@ -150,14 +152,23 @@ public class Domain extends Entity implements IJsonBackedObject {
150152

151153
/**
152154
* The Domain Name References.
153-
* Read-only, Nullable
155+
* The objects such as users and groups that reference the domain ID. Read-only, Nullable. Supports $expand and $filter by the OData type of objects returned. For example /domains/{domainId}/domainNameReferences/microsoft.graph.user and /domains/{domainId}/domainNameReferences/microsoft.graph.group.
154156
*/
155157
@Nullable
156158
public DirectoryObjectCollectionPage domainNameReferences;
157159

160+
/**
161+
* The Federation Configuration.
162+
* Domain settings configured by customer when federated with Azure AD. Supports $expand.
163+
*/
164+
@SerializedName(value = "federationConfiguration", alternate = {"FederationConfiguration"})
165+
@Expose
166+
@Nullable
167+
public InternalDomainFederationCollectionPage federationConfiguration;
168+
158169
/**
159170
* The Service Configuration Records.
160-
* DNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services. Read-only, Nullable
171+
* DNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services. Read-only, Nullable. Supports $expand.
161172
*/
162173
@SerializedName(value = "serviceConfigurationRecords", alternate = {"ServiceConfigurationRecords"})
163174
@Expose
@@ -166,7 +177,7 @@ public class Domain extends Entity implements IJsonBackedObject {
166177

167178
/**
168179
* The Verification Dns Records.
169-
* DNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Azure AD. Read-only, Nullable
180+
* DNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Azure AD. Read-only, Nullable. Supports $expand.
170181
*/
171182
@SerializedName(value = "verificationDnsRecords", alternate = {"VerificationDnsRecords"})
172183
@Expose
@@ -187,6 +198,10 @@ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final J
187198
domainNameReferences = serializer.deserializeObject(json.get("domainNameReferences"), DirectoryObjectCollectionPage.class);
188199
}
189200

201+
if (json.has("federationConfiguration")) {
202+
federationConfiguration = serializer.deserializeObject(json.get("federationConfiguration"), InternalDomainFederationCollectionPage.class);
203+
}
204+
190205
if (json.has("serviceConfigurationRecords")) {
191206
serviceConfigurationRecords = serializer.deserializeObject(json.get("serviceConfigurationRecords"), DomainDnsRecordCollectionPage.class);
192207
}

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

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

4646
/**
4747
* The Record Type.
48-
* Indicates what type of DNS record this entity represents.The value can be one of the following: CName, Mx, Srv, TxtKey
48+
* Indicates what type of DNS record this entity represents.The value can be one of the following: CName, Mx, Srv, Txt.
4949
*/
5050
@SerializedName(value = "recordType", alternate = {"RecordType"})
5151
@Expose
@@ -54,7 +54,7 @@ public class DomainDnsRecord extends Entity implements IJsonBackedObject {
5454

5555
/**
5656
* The Supported Service.
57-
* Microsoft Online Service or feature that has a dependency on this DNS record.Can be one of the following values: null, Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune
57+
* Microsoft Online Service or feature that has a dependency on this DNS record.Can be one of the following values: null, Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune.
5858
*/
5959
@SerializedName(value = "supportedService", alternate = {"SupportedService"})
6060
@Expose
@@ -63,7 +63,7 @@ public class DomainDnsRecord extends Entity implements IJsonBackedObject {
6363

6464
/**
6565
* The Ttl.
66-
* Value to use when configuring the time-to-live (ttl) property of the DNS record at the DNS host. Not nullable
66+
* Value to use when configuring the time-to-live (ttl) property of the DNS record at the DNS host. Not nullable.
6767
*/
6868
@SerializedName(value = "ttl", alternate = {"Ttl"})
6969
@Expose
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+
import com.microsoft.graph.models.EducationAssignment;
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 Education Assignment Delta Parameter Set.
21+
*/
22+
public class EducationAssignmentDeltaParameterSet {
23+
24+
/**
25+
* Instiaciates a new EducationAssignmentDeltaParameterSet
26+
*/
27+
public EducationAssignmentDeltaParameterSet() {}
28+
/**
29+
* Instiaciates a new EducationAssignmentDeltaParameterSet
30+
* @param builder builder bearing the parameters to initialize from
31+
*/
32+
protected EducationAssignmentDeltaParameterSet(@Nonnull final EducationAssignmentDeltaParameterSetBuilder builder) {
33+
}
34+
/**
35+
* Gets a new builder for the body
36+
* @return a new builder
37+
*/
38+
@Nonnull
39+
public static EducationAssignmentDeltaParameterSetBuilder newBuilder() {
40+
return new EducationAssignmentDeltaParameterSetBuilder();
41+
}
42+
/**
43+
* Fluent builder for the EducationAssignmentDeltaParameterSet
44+
*/
45+
public static final class EducationAssignmentDeltaParameterSetBuilder {
46+
/**
47+
* Instanciates a new EducationAssignmentDeltaParameterSetBuilder
48+
*/
49+
@Nullable
50+
protected EducationAssignmentDeltaParameterSetBuilder(){}
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 EducationAssignmentDeltaParameterSet build() {
57+
return new EducationAssignmentDeltaParameterSet(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)