diff --git a/README.md b/README.md
index b052c49edef..2d1770301b0 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@ repositories {
dependencies {
// Include the sdk as a dependency
- implementation 'com.microsoft.graph:microsoft-graph:5.1.0'
+ implementation 'com.microsoft.graph:microsoft-graph:5.2.0'
// Uncomment the line below if you are building an android application
//implementation 'com.google.guava:guava:30.1.1-android'
// This dependency is only needed if you are using the TokenCrendentialAuthProvider
@@ -36,7 +36,7 @@ Add the dependency in `dependencies` in pom.xml
com.microsoft.graph
microsoft-graph
- 5.1.0
+ 5.2.0
@@ -134,4 +134,5 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI
## 9. Third-party notices
[Third-party notices](THIRD%20PARTY%20NOTICES)
+
diff --git a/gradle.properties b/gradle.properties
index 5d0a9deae1e..10c5ee8d38c 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -26,7 +26,7 @@ org.gradle.caching=true
mavenGroupId = com.microsoft.graph
mavenArtifactId = microsoft-graph
mavenMajorVersion = 5
-mavenMinorVersion = 1
+mavenMinorVersion = 2
mavenPatchVersion = 0
mavenArtifactSuffix =
@@ -58,3 +58,4 @@ mavenCentralPublishingEnabled=false
+
diff --git a/src/main/java/com/microsoft/graph/callrecords/models/DirectRoutingLogRow.java b/src/main/java/com/microsoft/graph/callrecords/models/DirectRoutingLogRow.java
index 40351695d9c..146d471d34d 100644
--- a/src/main/java/com/microsoft/graph/callrecords/models/DirectRoutingLogRow.java
+++ b/src/main/java/com/microsoft/graph/callrecords/models/DirectRoutingLogRow.java
@@ -39,7 +39,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Callee Number.
- *
+ * Number of the user or bot who received the call. E.164 format, but may include additional data.
*/
@SerializedName(value = "calleeNumber", alternate = {"CalleeNumber"})
@Expose
@@ -48,7 +48,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Call End Sub Reason.
- *
+ * In addition to the SIP codes, Microsoft has own subcodes that indicate the specific issue.
*/
@SerializedName(value = "callEndSubReason", alternate = {"CallEndSubReason"})
@Expose
@@ -57,7 +57,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Caller Number.
- *
+ * Number of the user or bot who made the call. E.164 format, but may include additional data.
*/
@SerializedName(value = "callerNumber", alternate = {"CallerNumber"})
@Expose
@@ -66,7 +66,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Call Type.
- *
+ * Call type and direction.
*/
@SerializedName(value = "callType", alternate = {"CallType"})
@Expose
@@ -75,7 +75,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Correlation Id.
- *
+ * Identifier for the call that you can use when calling Microsoft Support. GUID.
*/
@SerializedName(value = "correlationId", alternate = {"CorrelationId"})
@Expose
@@ -84,7 +84,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Duration.
- *
+ * Duration of the call in seconds.
*/
@SerializedName(value = "duration", alternate = {"Duration"})
@Expose
@@ -93,7 +93,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The End Date Time.
- *
+ * Only exists for successful (fully established) calls. Time when call ended.
*/
@SerializedName(value = "endDateTime", alternate = {"EndDateTime"})
@Expose
@@ -102,7 +102,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Failure Date Time.
- *
+ * Only exists for failed (not fully established) calls.
*/
@SerializedName(value = "failureDateTime", alternate = {"FailureDateTime"})
@Expose
@@ -111,7 +111,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Final Sip Code.
- *
+ * The code with which the call ended, RFC 3261.
*/
@SerializedName(value = "finalSipCode", alternate = {"FinalSipCode"})
@Expose
@@ -120,7 +120,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Final Sip Code Phrase.
- *
+ * Description of the SIP code and Microsoft subcode.
*/
@SerializedName(value = "finalSipCodePhrase", alternate = {"FinalSipCodePhrase"})
@Expose
@@ -129,7 +129,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Id.
- *
+ * Unique call identifier. GUID.
*/
@SerializedName(value = "id", alternate = {"Id"})
@Expose
@@ -138,7 +138,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Invite Date Time.
- *
+ * When the initial invite was sent.
*/
@SerializedName(value = "inviteDateTime", alternate = {"InviteDateTime"})
@Expose
@@ -147,7 +147,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Media Bypass Enabled.
- *
+ * Indicates if the trunk was enabled for media bypass or not.
*/
@SerializedName(value = "mediaBypassEnabled", alternate = {"MediaBypassEnabled"})
@Expose
@@ -156,7 +156,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Media Path Location.
- *
+ * The datacenter used for media path in non-bypass call.
*/
@SerializedName(value = "mediaPathLocation", alternate = {"MediaPathLocation"})
@Expose
@@ -165,7 +165,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Signaling Location.
- *
+ * The datacenter used for signaling for both bypass and non-bypass calls.
*/
@SerializedName(value = "signalingLocation", alternate = {"SignalingLocation"})
@Expose
@@ -174,7 +174,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Start Date Time.
- *
+ * Call start time.For failed and unanswered calls, this can be equal to invite or failure time.
*/
@SerializedName(value = "startDateTime", alternate = {"StartDateTime"})
@Expose
@@ -183,7 +183,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Successful Call.
- *
+ * Success or attempt.
*/
@SerializedName(value = "successfulCall", alternate = {"SuccessfulCall"})
@Expose
@@ -192,7 +192,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Trunk Fully Qualified Domain Name.
- *
+ * Fully qualified domain name of the session border controller.
*/
@SerializedName(value = "trunkFullyQualifiedDomainName", alternate = {"TrunkFullyQualifiedDomainName"})
@Expose
@@ -201,7 +201,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The User Display Name.
- *
+ * Display name of the user.
*/
@SerializedName(value = "userDisplayName", alternate = {"UserDisplayName"})
@Expose
@@ -210,7 +210,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The User Id.
- *
+ * Calling user's ID in Graph. This and other user info will be null/empty for bot call types. GUID.
*/
@SerializedName(value = "userId", alternate = {"UserId"})
@Expose
@@ -219,7 +219,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The User Principal Name.
- *
+ * 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.
*/
@SerializedName(value = "userPrincipalName", alternate = {"UserPrincipalName"})
@Expose
diff --git a/src/main/java/com/microsoft/graph/callrecords/models/PstnCallLogRow.java b/src/main/java/com/microsoft/graph/callrecords/models/PstnCallLogRow.java
index ea22a129d1e..9a221a5542e 100644
--- a/src/main/java/com/microsoft/graph/callrecords/models/PstnCallLogRow.java
+++ b/src/main/java/com/microsoft/graph/callrecords/models/PstnCallLogRow.java
@@ -40,7 +40,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Call Duration Source.
- *
+ * The source of the call duration data. If the call uses a third-party telecommunications operator via the Operator Connect Program, the operator may provide their own call duration data. In this case, the property value is operator. Otherwise, the value is microsoft.
*/
@SerializedName(value = "callDurationSource", alternate = {"CallDurationSource"})
@Expose
@@ -49,7 +49,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Callee Number.
- *
+ * Number dialed in E.164 format.
*/
@SerializedName(value = "calleeNumber", alternate = {"CalleeNumber"})
@Expose
@@ -58,7 +58,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Caller Number.
- *
+ * Number that received the call for inbound calls or the number dialed for outbound calls. E.164 format.
*/
@SerializedName(value = "callerNumber", alternate = {"CallerNumber"})
@Expose
@@ -67,7 +67,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Call Id.
- *
+ * Call identifier. Not guaranteed to be unique.
*/
@SerializedName(value = "callId", alternate = {"CallId"})
@Expose
@@ -76,7 +76,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Call Type.
- *
+ * Whether the call was a PSTN outbound or inbound call and the type of call such as a call placed by a user or an audio conference.
*/
@SerializedName(value = "callType", alternate = {"CallType"})
@Expose
@@ -85,7 +85,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Charge.
- *
+ * Amount of money or cost of the call that is charged to your account.
*/
@SerializedName(value = "charge", alternate = {"Charge"})
@Expose
@@ -94,7 +94,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Conference Id.
- *
+ * ID of the audio conference.
*/
@SerializedName(value = "conferenceId", alternate = {"ConferenceId"})
@Expose
@@ -103,7 +103,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Connection Charge.
- *
+ * Connection fee price.
*/
@SerializedName(value = "connectionCharge", alternate = {"ConnectionCharge"})
@Expose
@@ -112,7 +112,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Currency.
- *
+ * Type of currency used to calculate the cost of the call (ISO 4217).
*/
@SerializedName(value = "currency", alternate = {"Currency"})
@Expose
@@ -121,7 +121,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Destination Context.
- *
+ * Whether the call was domestic (within a country or region) or international (outside a country or region) based on the user's location.
*/
@SerializedName(value = "destinationContext", alternate = {"DestinationContext"})
@Expose
@@ -130,7 +130,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Destination Name.
- *
+ * Country or region dialed.
*/
@SerializedName(value = "destinationName", alternate = {"DestinationName"})
@Expose
@@ -139,7 +139,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Duration.
- *
+ * How long the call was connected, in seconds.
*/
@SerializedName(value = "duration", alternate = {"Duration"})
@Expose
@@ -148,7 +148,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The End Date Time.
- *
+ * Call end time.
*/
@SerializedName(value = "endDateTime", alternate = {"EndDateTime"})
@Expose
@@ -157,7 +157,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Id.
- *
+ * Unique call identifier. GUID.
*/
@SerializedName(value = "id", alternate = {"Id"})
@Expose
@@ -166,7 +166,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Inventory Type.
- *
+ * User's phone number type, such as a service of toll-free number.
*/
@SerializedName(value = "inventoryType", alternate = {"InventoryType"})
@Expose
@@ -175,7 +175,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The License Capability.
- *
+ * The license used for the call.
*/
@SerializedName(value = "licenseCapability", alternate = {"LicenseCapability"})
@Expose
@@ -184,7 +184,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Operator.
- *
+ * The telecommunications operator which provided PSTN services for this call. This may be Microsoft, or it may be a third-party operator via the Operator Connect Program.
*/
@SerializedName(value = "operator", alternate = {"Operator"})
@Expose
@@ -193,7 +193,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Start Date Time.
- *
+ * Call start time.
*/
@SerializedName(value = "startDateTime", alternate = {"StartDateTime"})
@Expose
@@ -202,7 +202,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Tenant Country Code.
- *
+ * Country code of the tenant, ISO 3166-1 alpha-2.
*/
@SerializedName(value = "tenantCountryCode", alternate = {"TenantCountryCode"})
@Expose
@@ -211,7 +211,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Usage Country Code.
- *
+ * Country code of the user, ISO 3166-1 alpha-2.
*/
@SerializedName(value = "usageCountryCode", alternate = {"UsageCountryCode"})
@Expose
@@ -220,7 +220,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The User Display Name.
- *
+ * Display name of the user.
*/
@SerializedName(value = "userDisplayName", alternate = {"UserDisplayName"})
@Expose
@@ -229,7 +229,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The User Id.
- *
+ * Calling user's ID in Graph. GUID. This and other user info will be null/empty for bot call types (ucap_in, ucap_out).
*/
@SerializedName(value = "userId", alternate = {"UserId"})
@Expose
@@ -238,7 +238,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The User Principal Name.
- *
+ * 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.
*/
@SerializedName(value = "userPrincipalName", alternate = {"UserPrincipalName"})
@Expose
diff --git a/src/main/java/com/microsoft/graph/externalconnectors/models/Identity.java b/src/main/java/com/microsoft/graph/externalconnectors/models/Identity.java
index 43e4903092b..1066e67657a 100644
--- a/src/main/java/com/microsoft/graph/externalconnectors/models/Identity.java
+++ b/src/main/java/com/microsoft/graph/externalconnectors/models/Identity.java
@@ -28,7 +28,7 @@ public class Identity extends Entity implements IJsonBackedObject {
/**
* The Type.
- *
+ * The type of identity. Possible values are: user or group for Azure AD identities and externalgroup for groups in an external system.
*/
@SerializedName(value = "type", alternate = {"Type"})
@Expose
diff --git a/src/main/java/com/microsoft/graph/externalconnectors/models/Property.java b/src/main/java/com/microsoft/graph/externalconnectors/models/Property.java
index 29ed43eba22..872b0ee200a 100644
--- a/src/main/java/com/microsoft/graph/externalconnectors/models/Property.java
+++ b/src/main/java/com/microsoft/graph/externalconnectors/models/Property.java
@@ -42,7 +42,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Aliases.
- * A set of aliases or a friendly names for the property. Maximum 32 characters. Each string must not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, `
+ * A set of aliases or a friendly names for the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, each string may not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, `, ^. Optional.
*/
@SerializedName(value = "aliases", alternate = {"Aliases"})
@Expose
@@ -96,7 +96,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Name.
- * The name of the property. Maximum 32 characters. Must not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, `
+ * The name of the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, each string may not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, `, ^. Required.
*/
@SerializedName(value = "name", alternate = {"Name"})
@Expose
diff --git a/src/main/java/com/microsoft/graph/info/Constants.java b/src/main/java/com/microsoft/graph/info/Constants.java
index c88fdc4b937..4044552f568 100644
--- a/src/main/java/com/microsoft/graph/info/Constants.java
+++ b/src/main/java/com/microsoft/graph/info/Constants.java
@@ -18,7 +18,7 @@ private Constants() {
/** The client secret to use for unit testing */
public static final String CLIENTSECRET = "clientsecret";
/** The SDK version */
- public static final String VERSION_NAME = "5.1.0";
+ public static final String VERSION_NAME = "5.2.0";
}
@@ -35,3 +35,4 @@ private Constants() {
+
diff --git a/src/main/java/com/microsoft/graph/models/AggregationOption.java b/src/main/java/com/microsoft/graph/models/AggregationOption.java
new file mode 100644
index 00000000000..d091ae1e7dd
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/AggregationOption.java
@@ -0,0 +1,78 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.models.BucketAggregationDefinition;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Aggregation Option.
+ */
+public class AggregationOption implements IJsonBackedObject {
+
+ /** the OData type of the object as returned by the service */
+ @SerializedName("@odata.type")
+ @Expose
+ @Nullable
+ public String oDataType;
+
+ private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
+
+ @Override
+ @Nonnull
+ public final AdditionalDataManager additionalDataManager() {
+ return additionalDataManager;
+ }
+
+ /**
+ * The Bucket Definition.
+ * Specifies the criteria to compute an aggregation. Optional.
+ */
+ @SerializedName(value = "bucketDefinition", alternate = {"BucketDefinition"})
+ @Expose
+ @Nullable
+ public BucketAggregationDefinition bucketDefinition;
+
+ /**
+ * The Field.
+ * Specifies the field in the schema of the specified entity type that aggregation should be computed on. Required.
+ */
+ @SerializedName(value = "field", alternate = {"Field"})
+ @Expose
+ @Nullable
+ public String field;
+
+ /**
+ * The Size.
+ * The number of searchBucket resources to be returned. This is not required when the range is provided manually in the search request. Optional.
+ */
+ @SerializedName(value = "size", alternate = {"Size"})
+ @Expose
+ @Nullable
+ public Integer size;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/Album.java b/src/main/java/com/microsoft/graph/models/Album.java
new file mode 100644
index 00000000000..a10ac65a39f
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/Album.java
@@ -0,0 +1,59 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Album.
+ */
+public class Album implements IJsonBackedObject {
+
+ /** the OData type of the object as returned by the service */
+ @SerializedName("@odata.type")
+ @Expose
+ @Nullable
+ public String oDataType;
+
+ private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
+
+ @Override
+ @Nonnull
+ public final AdditionalDataManager additionalDataManager() {
+ return additionalDataManager;
+ }
+
+ /**
+ * The Cover Image Item Id.
+ * Unique identifier of the [driveItem][] that is the cover of the album.
+ */
+ @SerializedName(value = "coverImageItemId", alternate = {"CoverImageItemId"})
+ @Expose
+ @Nullable
+ public String coverImageItemId;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/AppleManagedIdentityProvider.java b/src/main/java/com/microsoft/graph/models/AppleManagedIdentityProvider.java
new file mode 100644
index 00000000000..71d6c9a0101
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/AppleManagedIdentityProvider.java
@@ -0,0 +1,74 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.models.IdentityProviderBase;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Apple Managed Identity Provider.
+ */
+public class AppleManagedIdentityProvider extends IdentityProviderBase implements IJsonBackedObject {
+
+
+ /**
+ * The Certificate Data.
+ * The certificate data which is a long string of text from the certificate, can be null.
+ */
+ @SerializedName(value = "certificateData", alternate = {"CertificateData"})
+ @Expose
+ @Nullable
+ public String certificateData;
+
+ /**
+ * The Developer Id.
+ * The Apple developer identifier. Required.
+ */
+ @SerializedName(value = "developerId", alternate = {"DeveloperId"})
+ @Expose
+ @Nullable
+ public String developerId;
+
+ /**
+ * The Key Id.
+ * The Apple key identifier. Required.
+ */
+ @SerializedName(value = "keyId", alternate = {"KeyId"})
+ @Expose
+ @Nullable
+ public String keyId;
+
+ /**
+ * The Service Id.
+ * The Apple service identifier. Required.
+ */
+ @SerializedName(value = "serviceId", alternate = {"ServiceId"})
+ @Expose
+ @Nullable
+ public String serviceId;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/Application.java b/src/main/java/com/microsoft/graph/models/Application.java
index 7da37575912..0f9598a9e8d 100644
--- a/src/main/java/com/microsoft/graph/models/Application.java
+++ b/src/main/java/com/microsoft/graph/models/Application.java
@@ -257,7 +257,7 @@ public class Application extends DirectoryObject implements IJsonBackedObject {
/**
* The Sign In Audience.
- * Specifies the Microsoft accounts that are supported for the current application. Supported values are: AzureADMyOrg, AzureADMultipleOrgs, AzureADandPersonalMicrosoftAccount, PersonalMicrosoftAccount. See more in the table below. Supports $filter (eq, ne, NOT).
+ * Specifies the Microsoft accounts that are supported for the current application. The possible values are: AzureADMyOrg, AzureADMultipleOrgs, AzureADandPersonalMicrosoftAccount (default), and PersonalMicrosoftAccount. See more in the table below. Supports $filter (eq, ne, NOT).
*/
@SerializedName(value = "signInAudience", alternate = {"SignInAudience"})
@Expose
diff --git a/src/main/java/com/microsoft/graph/models/BucketAggregationDefinition.java b/src/main/java/com/microsoft/graph/models/BucketAggregationDefinition.java
new file mode 100644
index 00000000000..31f2cfd3cf9
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/BucketAggregationDefinition.java
@@ -0,0 +1,98 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.http.BaseCollectionPage;
+import com.microsoft.graph.models.BucketAggregationRange;
+import com.microsoft.graph.models.BucketAggregationSortProperty;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Bucket Aggregation Definition.
+ */
+public class BucketAggregationDefinition implements IJsonBackedObject {
+
+ /** the OData type of the object as returned by the service */
+ @SerializedName("@odata.type")
+ @Expose
+ @Nullable
+ public String oDataType;
+
+ private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
+
+ @Override
+ @Nonnull
+ public final AdditionalDataManager additionalDataManager() {
+ return additionalDataManager;
+ }
+
+ /**
+ * The Is Descending.
+ * True to specify the sort order as descending. The default is false, with the sort order as ascending. Optional.
+ */
+ @SerializedName(value = "isDescending", alternate = {"IsDescending"})
+ @Expose
+ @Nullable
+ public Boolean isDescending;
+
+ /**
+ * The Minimum Count.
+ * The minimum number of items that should be present in the aggregation to be returned in a bucket. Optional.
+ */
+ @SerializedName(value = "minimumCount", alternate = {"MinimumCount"})
+ @Expose
+ @Nullable
+ public Integer minimumCount;
+
+ /**
+ * The Prefix Filter.
+ * A filter to define a matching criteria. The key should start with the specified prefix to be returned in the response. Optional.
+ */
+ @SerializedName(value = "prefixFilter", alternate = {"PrefixFilter"})
+ @Expose
+ @Nullable
+ public String prefixFilter;
+
+ /**
+ * The Ranges.
+ * Specifies the manual ranges to compute the aggregations. This is only valid for non-string refiners of date or numeric type. Optional.
+ */
+ @SerializedName(value = "ranges", alternate = {"Ranges"})
+ @Expose
+ @Nullable
+ public java.util.List ranges;
+
+ /**
+ * The Sort By.
+ * The possible values are count to sort by the number of matches in the aggregation, keyAsStringto sort alphabeticaly based on the key in the aggregation, keyAsNumber for numerical sorting based on the key in the aggregation. Required.
+ */
+ @SerializedName(value = "sortBy", alternate = {"SortBy"})
+ @Expose
+ @Nullable
+ public BucketAggregationSortProperty sortBy;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/BucketAggregationRange.java b/src/main/java/com/microsoft/graph/models/BucketAggregationRange.java
new file mode 100644
index 00000000000..278e9424d02
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/BucketAggregationRange.java
@@ -0,0 +1,68 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Bucket Aggregation Range.
+ */
+public class BucketAggregationRange implements IJsonBackedObject {
+
+ /** the OData type of the object as returned by the service */
+ @SerializedName("@odata.type")
+ @Expose
+ @Nullable
+ public String oDataType;
+
+ private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
+
+ @Override
+ @Nonnull
+ public final AdditionalDataManager additionalDataManager() {
+ return additionalDataManager;
+ }
+
+ /**
+ * The From.
+ * Defines the lower bound from which to compute the aggregation. This can be a numeric value or a string representation of a date using the YYYY-MM-DDTHH:mm:ss.sssZ format. Required.
+ */
+ @SerializedName(value = "from", alternate = {"From"})
+ @Expose
+ @Nullable
+ public String from;
+
+ /**
+ * The To.
+ * Defines the upper bound up to which to compute the aggregation. This can be a numeric value or a string representation of a date using the YYYY-MM-DDTHH:mm:ss.sssZ format. Required.
+ */
+ @SerializedName(value = "to", alternate = {"To"})
+ @Expose
+ @Nullable
+ public String to;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/BucketAggregationSortProperty.java b/src/main/java/com/microsoft/graph/models/BucketAggregationSortProperty.java
new file mode 100644
index 00000000000..08f3b3e66a4
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/BucketAggregationSortProperty.java
@@ -0,0 +1,34 @@
+// Template Source: Enum.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+
+
+/**
+ * The Enum Bucket Aggregation Sort Property.
+*/
+public enum BucketAggregationSortProperty
+{
+ /**
+ * count
+ */
+ COUNT,
+ /**
+ * key As String
+ */
+ KEY_AS_STRING,
+ /**
+ * key As Number
+ */
+ KEY_AS_NUMBER,
+ /**
+ * unknown Future Value
+ */
+ UNKNOWN_FUTURE_VALUE,
+ /**
+ * For BucketAggregationSortProperty values that were not expected from the service
+ */
+ UNEXPECTED_VALUE
+}
diff --git a/src/main/java/com/microsoft/graph/models/Bundle.java b/src/main/java/com/microsoft/graph/models/Bundle.java
new file mode 100644
index 00000000000..95a18984872
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/Bundle.java
@@ -0,0 +1,69 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.models.Album;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Bundle.
+ */
+public class Bundle implements IJsonBackedObject {
+
+ /** the OData type of the object as returned by the service */
+ @SerializedName("@odata.type")
+ @Expose
+ @Nullable
+ public String oDataType;
+
+ private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
+
+ @Override
+ @Nonnull
+ public final AdditionalDataManager additionalDataManager() {
+ return additionalDataManager;
+ }
+
+ /**
+ * The Album.
+ * If the bundle is an [album][], then the album property is included
+ */
+ @SerializedName(value = "album", alternate = {"Album"})
+ @Expose
+ @Nullable
+ public Album album;
+
+ /**
+ * The Child Count.
+ * Number of children contained immediately within this container.
+ */
+ @SerializedName(value = "childCount", alternate = {"ChildCount"})
+ @Expose
+ @Nullable
+ public Integer childCount;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/ChatMessage.java b/src/main/java/com/microsoft/graph/models/ChatMessage.java
index 7da9dbf4360..aa197b9f529 100644
--- a/src/main/java/com/microsoft/graph/models/ChatMessage.java
+++ b/src/main/java/com/microsoft/graph/models/ChatMessage.java
@@ -41,7 +41,7 @@ public class ChatMessage extends Entity implements IJsonBackedObject {
/**
* The Attachments.
- * Attached files. Attachments are currently read-only – sending attachments is not supported.
+ * References to attached objects like files, tabs, meetings etc.
*/
@SerializedName(value = "attachments", alternate = {"Attachments"})
@Expose
@@ -104,7 +104,7 @@ public class ChatMessage extends Entity implements IJsonBackedObject {
/**
* The From.
- * Read only. Details of the sender of the chat message.
+ * Details of the sender of the chat message. Can only be set during migration.
*/
@SerializedName(value = "from", alternate = {"From"})
@Expose
@@ -149,7 +149,7 @@ public class ChatMessage extends Entity implements IJsonBackedObject {
/**
* The Mentions.
- * List of entities mentioned in the chat message. Currently supports user, bot, team, channel.
+ * List of entities mentioned in the chat message. Supported entities are: user, bot, team, channel, and tag.
*/
@SerializedName(value = "mentions", alternate = {"Mentions"})
@Expose
diff --git a/src/main/java/com/microsoft/graph/models/ColumnDefinition.java b/src/main/java/com/microsoft/graph/models/ColumnDefinition.java
index 3d22badbff8..a439c4a8084 100644
--- a/src/main/java/com/microsoft/graph/models/ColumnDefinition.java
+++ b/src/main/java/com/microsoft/graph/models/ColumnDefinition.java
@@ -11,14 +11,21 @@
import com.microsoft.graph.models.BooleanColumn;
import com.microsoft.graph.models.CalculatedColumn;
import com.microsoft.graph.models.ChoiceColumn;
+import com.microsoft.graph.models.ContentApprovalStatusColumn;
import com.microsoft.graph.models.CurrencyColumn;
import com.microsoft.graph.models.DateTimeColumn;
import com.microsoft.graph.models.DefaultColumnValue;
import com.microsoft.graph.models.GeolocationColumn;
+import com.microsoft.graph.models.HyperlinkOrPictureColumn;
import com.microsoft.graph.models.LookupColumn;
import com.microsoft.graph.models.NumberColumn;
import com.microsoft.graph.models.PersonOrGroupColumn;
+import com.microsoft.graph.models.TermColumn;
import com.microsoft.graph.models.TextColumn;
+import com.microsoft.graph.models.ThumbnailColumn;
+import com.microsoft.graph.models.ColumnTypes;
+import com.microsoft.graph.models.ColumnValidation;
+import com.microsoft.graph.models.ColumnDefinition;
import com.microsoft.graph.models.Entity;
@@ -72,6 +79,15 @@ public class ColumnDefinition extends Entity implements IJsonBackedObject {
@Nullable
public String columnGroup;
+ /**
+ * The Content Approval Status.
+ * This column stores content approval status.
+ */
+ @SerializedName(value = "contentApprovalStatus", alternate = {"ContentApprovalStatus"})
+ @Expose
+ @Nullable
+ public ContentApprovalStatusColumn contentApprovalStatus;
+
/**
* The Currency.
* This column stores currency values.
@@ -144,6 +160,15 @@ public class ColumnDefinition extends Entity implements IJsonBackedObject {
@Nullable
public Boolean hidden;
+ /**
+ * The Hyperlink Or Picture.
+ * This column stores hyperlink or picture values.
+ */
+ @SerializedName(value = "hyperlinkOrPicture", alternate = {"HyperlinkOrPicture"})
+ @Expose
+ @Nullable
+ public HyperlinkOrPictureColumn hyperlinkOrPicture;
+
/**
* The Indexed.
* Specifies whether the column values can used for sorting and searching.
@@ -153,6 +178,33 @@ public class ColumnDefinition extends Entity implements IJsonBackedObject {
@Nullable
public Boolean indexed;
+ /**
+ * The Is Deletable.
+ * Indicates whether this column can be deleted.
+ */
+ @SerializedName(value = "isDeletable", alternate = {"IsDeletable"})
+ @Expose
+ @Nullable
+ public Boolean isDeletable;
+
+ /**
+ * The Is Reorderable.
+ * Indicates whether values in the column can be reordered. Read-only.
+ */
+ @SerializedName(value = "isReorderable", alternate = {"IsReorderable"})
+ @Expose
+ @Nullable
+ public Boolean isReorderable;
+
+ /**
+ * The Is Sealed.
+ * Specifies whether the column can be changed.
+ */
+ @SerializedName(value = "isSealed", alternate = {"IsSealed"})
+ @Expose
+ @Nullable
+ public Boolean isSealed;
+
/**
* The Lookup.
* This column's data is looked up from another source in the site.
@@ -189,6 +241,15 @@ public class ColumnDefinition extends Entity implements IJsonBackedObject {
@Nullable
public PersonOrGroupColumn personOrGroup;
+ /**
+ * The Propagate Changes.
+ * If true, changes to this column will be propagated to lists that implement the column.
+ */
+ @SerializedName(value = "propagateChanges", alternate = {"PropagateChanges"})
+ @Expose
+ @Nullable
+ public Boolean propagateChanges;
+
/**
* The Read Only.
* Specifies whether the column values can be modified.
@@ -207,6 +268,15 @@ public class ColumnDefinition extends Entity implements IJsonBackedObject {
@Nullable
public Boolean required;
+ /**
+ * The Term.
+ * This column stores taxonomy terms.
+ */
+ @SerializedName(value = "term", alternate = {"Term"})
+ @Expose
+ @Nullable
+ public TermColumn term;
+
/**
* The Text.
* This column stores text values.
@@ -216,6 +286,42 @@ public class ColumnDefinition extends Entity implements IJsonBackedObject {
@Nullable
public TextColumn text;
+ /**
+ * The Thumbnail.
+ * This column stores thumbnail values.
+ */
+ @SerializedName(value = "thumbnail", alternate = {"Thumbnail"})
+ @Expose
+ @Nullable
+ public ThumbnailColumn thumbnail;
+
+ /**
+ * The Type.
+ * For site columns, the type of column. Read-only.
+ */
+ @SerializedName(value = "type", alternate = {"Type"})
+ @Expose
+ @Nullable
+ public ColumnTypes type;
+
+ /**
+ * The Validation.
+ * This column stores validation formula and message for the column.
+ */
+ @SerializedName(value = "validation", alternate = {"Validation"})
+ @Expose
+ @Nullable
+ public ColumnValidation validation;
+
+ /**
+ * The Source Column.
+ * The source column for content type column.
+ */
+ @SerializedName(value = "sourceColumn", alternate = {"SourceColumn"})
+ @Expose
+ @Nullable
+ public ColumnDefinition sourceColumn;
+
/**
* Sets the raw JSON object
diff --git a/src/main/java/com/microsoft/graph/models/ColumnTypes.java b/src/main/java/com/microsoft/graph/models/ColumnTypes.java
new file mode 100644
index 00000000000..c1c739d7cc4
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/ColumnTypes.java
@@ -0,0 +1,94 @@
+// Template Source: Enum.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+
+
+/**
+ * The Enum Column Types.
+*/
+public enum ColumnTypes
+{
+ /**
+ * note
+ */
+ NOTE,
+ /**
+ * text
+ */
+ TEXT,
+ /**
+ * choice
+ */
+ CHOICE,
+ /**
+ * multichoice
+ */
+ MULTICHOICE,
+ /**
+ * number
+ */
+ NUMBER,
+ /**
+ * currency
+ */
+ CURRENCY,
+ /**
+ * date Time
+ */
+ DATE_TIME,
+ /**
+ * lookup
+ */
+ LOOKUP,
+ /**
+ * boolean
+ */
+ BOOLEAN,
+ /**
+ * user
+ */
+ USER,
+ /**
+ * url
+ */
+ URL,
+ /**
+ * calculated
+ */
+ CALCULATED,
+ /**
+ * location
+ */
+ LOCATION,
+ /**
+ * geolocation
+ */
+ GEOLOCATION,
+ /**
+ * term
+ */
+ TERM,
+ /**
+ * multiterm
+ */
+ MULTITERM,
+ /**
+ * thumbnail
+ */
+ THUMBNAIL,
+ /**
+ * approval Status
+ */
+ APPROVAL_STATUS,
+ /**
+ * unknown Future Value
+ */
+ UNKNOWN_FUTURE_VALUE,
+ /**
+ * For ColumnTypes values that were not expected from the service
+ */
+ UNEXPECTED_VALUE
+}
diff --git a/src/main/java/com/microsoft/graph/models/ColumnValidation.java b/src/main/java/com/microsoft/graph/models/ColumnValidation.java
new file mode 100644
index 00000000000..1c81ce6d9d5
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/ColumnValidation.java
@@ -0,0 +1,79 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.http.BaseCollectionPage;
+import com.microsoft.graph.models.DisplayNameLocalization;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Column Validation.
+ */
+public class ColumnValidation implements IJsonBackedObject {
+
+ /** the OData type of the object as returned by the service */
+ @SerializedName("@odata.type")
+ @Expose
+ @Nullable
+ public String oDataType;
+
+ private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
+
+ @Override
+ @Nonnull
+ public final AdditionalDataManager additionalDataManager() {
+ return additionalDataManager;
+ }
+
+ /**
+ * The Default Language.
+ * Default BCP 47 language tag for the description.
+ */
+ @SerializedName(value = "defaultLanguage", alternate = {"DefaultLanguage"})
+ @Expose
+ @Nullable
+ public String defaultLanguage;
+
+ /**
+ * The Descriptions.
+ * Localized messages that explain what is needed for this column's value to be considered valid. User will be prompted with this message if validation fails.
+ */
+ @SerializedName(value = "descriptions", alternate = {"Descriptions"})
+ @Expose
+ @Nullable
+ public java.util.List descriptions;
+
+ /**
+ * The Formula.
+ * The formula to validate column value. For examples, see Examples of common formulas in lists
+ */
+ @SerializedName(value = "formula", alternate = {"Formula"})
+ @Expose
+ @Nullable
+ public String formula;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/ContentApprovalStatusColumn.java b/src/main/java/com/microsoft/graph/models/ContentApprovalStatusColumn.java
new file mode 100644
index 00000000000..4d9a52fee36
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/ContentApprovalStatusColumn.java
@@ -0,0 +1,50 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Content Approval Status Column.
+ */
+public class ContentApprovalStatusColumn implements IJsonBackedObject {
+
+ /** the OData type of the object as returned by the service */
+ @SerializedName("@odata.type")
+ @Expose
+ @Nullable
+ public String oDataType;
+
+ private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
+
+ @Override
+ @Nonnull
+ public final AdditionalDataManager additionalDataManager() {
+ return additionalDataManager;
+ }
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/ContentType.java b/src/main/java/com/microsoft/graph/models/ContentType.java
index 991b3350616..01c13e72dc1 100644
--- a/src/main/java/com/microsoft/graph/models/ContentType.java
+++ b/src/main/java/com/microsoft/graph/models/ContentType.java
@@ -9,11 +9,17 @@
import com.microsoft.graph.serializer.AdditionalDataManager;
import java.util.EnumSet;
import com.microsoft.graph.http.BaseCollectionPage;
+import com.microsoft.graph.models.DocumentSet;
+import com.microsoft.graph.models.DocumentSetContent;
import com.microsoft.graph.models.ItemReference;
import com.microsoft.graph.models.ContentTypeOrder;
+import com.microsoft.graph.models.ContentType;
import com.microsoft.graph.models.ColumnLink;
+import com.microsoft.graph.models.ColumnDefinition;
import com.microsoft.graph.models.Entity;
+import com.microsoft.graph.requests.ContentTypeCollectionPage;
import com.microsoft.graph.requests.ColumnLinkCollectionPage;
+import com.microsoft.graph.requests.ColumnDefinitionCollectionPage;
import com.google.gson.JsonObject;
@@ -30,6 +36,15 @@
public class ContentType extends Entity implements IJsonBackedObject {
+ /**
+ * The Associated Hubs Urls.
+ * List of canonical URLs for hub sites with which this content type is associated to. This will contain all hubsites where this content type is queued to be enforced or is already enforced. Enforcing a content type means that the content type will be applied to the lists in the enforced sites.
+ */
+ @SerializedName(value = "associatedHubsUrls", alternate = {"AssociatedHubsUrls"})
+ @Expose
+ @Nullable
+ public java.util.List associatedHubsUrls;
+
/**
* The Description.
* The descriptive text for the item.
@@ -39,6 +54,24 @@ public class ContentType extends Entity implements IJsonBackedObject {
@Nullable
public String description;
+ /**
+ * The Document Set.
+ * Document Set metadata.
+ */
+ @SerializedName(value = "documentSet", alternate = {"DocumentSet"})
+ @Expose
+ @Nullable
+ public DocumentSet documentSet;
+
+ /**
+ * The Document Template.
+ * Document template metadata. To make sure that documents have consistent content across a site and its subsites, you can associate a Word, Excel, or PowerPoint template with a site content type.
+ */
+ @SerializedName(value = "documentTemplate", alternate = {"DocumentTemplate"})
+ @Expose
+ @Nullable
+ public DocumentSetContent documentTemplate;
+
/**
* The Group.
* The name of the group this content type belongs to. Helps organize related content types.
@@ -66,6 +99,15 @@ public class ContentType extends Entity implements IJsonBackedObject {
@Nullable
public ItemReference inheritedFrom;
+ /**
+ * The Is Built In.
+ * Specifies if a content type is a built-in content type.
+ */
+ @SerializedName(value = "isBuiltIn", alternate = {"IsBuiltIn"})
+ @Expose
+ @Nullable
+ public Boolean isBuiltIn;
+
/**
* The Name.
* The name of the content type.
@@ -93,6 +135,15 @@ public class ContentType extends Entity implements IJsonBackedObject {
@Nullable
public String parentId;
+ /**
+ * The Propagate Changes.
+ * If true, any changes made to the content type will be pushed to inherited content types and lists that implement the content type.
+ */
+ @SerializedName(value = "propagateChanges", alternate = {"PropagateChanges"})
+ @Expose
+ @Nullable
+ public Boolean propagateChanges;
+
/**
* The Read Only.
* If true, the content type cannot be modified unless this value is first set to false.
@@ -111,6 +162,22 @@ public class ContentType extends Entity implements IJsonBackedObject {
@Nullable
public Boolean sealed;
+ /**
+ * The Base.
+ * Parent contentType from which this content type is derived.
+ */
+ @SerializedName(value = "base", alternate = {"Base"})
+ @Expose
+ @Nullable
+ public ContentType base;
+
+ /**
+ * The Base Types.
+ * The collection of content types that are ancestors of this content type.
+ */
+ @Nullable
+ public ContentTypeCollectionPage baseTypes;
+
/**
* The Column Links.
* The collection of columns that are required by this content type
@@ -120,6 +187,22 @@ public class ContentType extends Entity implements IJsonBackedObject {
@Nullable
public ColumnLinkCollectionPage columnLinks;
+ /**
+ * The Column Positions.
+ * Column order information in a content type.
+ */
+ @Nullable
+ public ColumnDefinitionCollectionPage columnPositions;
+
+ /**
+ * The Columns.
+ * The collection of column definitions for this contentType.
+ */
+ @SerializedName(value = "columns", alternate = {"Columns"})
+ @Expose
+ @Nullable
+ public ColumnDefinitionCollectionPage columns;
+
/**
* Sets the raw JSON object
@@ -130,8 +213,20 @@ public class ContentType extends Entity implements IJsonBackedObject {
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+ if (json.has("baseTypes")) {
+ baseTypes = serializer.deserializeObject(json.get("baseTypes"), ContentTypeCollectionPage.class);
+ }
+
if (json.has("columnLinks")) {
columnLinks = serializer.deserializeObject(json.get("columnLinks"), ColumnLinkCollectionPage.class);
}
+
+ if (json.has("columnPositions")) {
+ columnPositions = serializer.deserializeObject(json.get("columnPositions"), ColumnDefinitionCollectionPage.class);
+ }
+
+ if (json.has("columns")) {
+ columns = serializer.deserializeObject(json.get("columns"), ColumnDefinitionCollectionPage.class);
+ }
}
}
diff --git a/src/main/java/com/microsoft/graph/models/ContentTypeAddCopyParameterSet.java b/src/main/java/com/microsoft/graph/models/ContentTypeAddCopyParameterSet.java
new file mode 100644
index 00000000000..66f2a806406
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/ContentTypeAddCopyParameterSet.java
@@ -0,0 +1,97 @@
+// Template Source: BaseMethodParameterSet.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+
+import com.microsoft.graph.models.ContentType;
+import com.google.gson.annotations.Expose;
+import com.google.gson.annotations.SerializedName;
+import javax.annotation.Nonnull;
+import javax.annotation.Nullable;
+import com.google.gson.JsonObject;
+import java.util.EnumSet;
+import java.util.ArrayList;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Content Type Add Copy Parameter Set.
+ */
+public class ContentTypeAddCopyParameterSet {
+ /**
+ * The content Type.
+ *
+ */
+ @SerializedName(value = "contentType", alternate = {"ContentType"})
+ @Expose
+ @Nullable
+ public String contentType;
+
+
+ /**
+ * Instiaciates a new ContentTypeAddCopyParameterSet
+ */
+ public ContentTypeAddCopyParameterSet() {}
+ /**
+ * Instiaciates a new ContentTypeAddCopyParameterSet
+ * @param builder builder bearing the parameters to initialize from
+ */
+ protected ContentTypeAddCopyParameterSet(@Nonnull final ContentTypeAddCopyParameterSetBuilder builder) {
+ this.contentType = builder.contentType;
+ }
+ /**
+ * Gets a new builder for the body
+ * @return a new builder
+ */
+ @Nonnull
+ public static ContentTypeAddCopyParameterSetBuilder newBuilder() {
+ return new ContentTypeAddCopyParameterSetBuilder();
+ }
+ /**
+ * Fluent builder for the ContentTypeAddCopyParameterSet
+ */
+ public static final class ContentTypeAddCopyParameterSetBuilder {
+ /**
+ * The contentType parameter value
+ */
+ @Nullable
+ protected String contentType;
+ /**
+ * Sets the ContentType
+ * @param val the value to set it to
+ * @return the current builder object
+ */
+ @Nonnull
+ public ContentTypeAddCopyParameterSetBuilder withContentType(@Nullable final String val) {
+ this.contentType = val;
+ return this;
+ }
+ /**
+ * Instanciates a new ContentTypeAddCopyParameterSetBuilder
+ */
+ @Nullable
+ protected ContentTypeAddCopyParameterSetBuilder(){}
+ /**
+ * Buils the resulting body object to be passed to the request
+ * @return the body object to pass to the request
+ */
+ @Nonnull
+ public ContentTypeAddCopyParameterSet build() {
+ return new ContentTypeAddCopyParameterSet(this);
+ }
+ }
+ /**
+ * Gets the functions options from the properties that have been set
+ * @return a list of function options for the request
+ */
+ @Nonnull
+ public java.util.List getFunctionOptions() {
+ final ArrayList result = new ArrayList<>();
+ if(this.contentType != null) {
+ result.add(new com.microsoft.graph.options.FunctionOption("contentType", contentType));
+ }
+ return result;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/ContentTypeAssociateWithHubSitesParameterSet.java b/src/main/java/com/microsoft/graph/models/ContentTypeAssociateWithHubSitesParameterSet.java
new file mode 100644
index 00000000000..e605375644c
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/ContentTypeAssociateWithHubSitesParameterSet.java
@@ -0,0 +1,125 @@
+// Template Source: BaseMethodParameterSet.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+
+
+import com.google.gson.annotations.Expose;
+import com.google.gson.annotations.SerializedName;
+import javax.annotation.Nonnull;
+import javax.annotation.Nullable;
+import com.google.gson.JsonObject;
+import java.util.EnumSet;
+import java.util.ArrayList;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Content Type Associate With Hub Sites Parameter Set.
+ */
+public class ContentTypeAssociateWithHubSitesParameterSet {
+ /**
+ * The hub Site Urls.
+ *
+ */
+ @SerializedName(value = "hubSiteUrls", alternate = {"HubSiteUrls"})
+ @Expose
+ @Nullable
+ public java.util.List hubSiteUrls;
+
+ /**
+ * The propagate To Existing Lists.
+ *
+ */
+ @SerializedName(value = "propagateToExistingLists", alternate = {"PropagateToExistingLists"})
+ @Expose
+ @Nullable
+ public Boolean propagateToExistingLists;
+
+
+ /**
+ * Instiaciates a new ContentTypeAssociateWithHubSitesParameterSet
+ */
+ public ContentTypeAssociateWithHubSitesParameterSet() {}
+ /**
+ * Instiaciates a new ContentTypeAssociateWithHubSitesParameterSet
+ * @param builder builder bearing the parameters to initialize from
+ */
+ protected ContentTypeAssociateWithHubSitesParameterSet(@Nonnull final ContentTypeAssociateWithHubSitesParameterSetBuilder builder) {
+ this.hubSiteUrls = builder.hubSiteUrls;
+ this.propagateToExistingLists = builder.propagateToExistingLists;
+ }
+ /**
+ * Gets a new builder for the body
+ * @return a new builder
+ */
+ @Nonnull
+ public static ContentTypeAssociateWithHubSitesParameterSetBuilder newBuilder() {
+ return new ContentTypeAssociateWithHubSitesParameterSetBuilder();
+ }
+ /**
+ * Fluent builder for the ContentTypeAssociateWithHubSitesParameterSet
+ */
+ public static final class ContentTypeAssociateWithHubSitesParameterSetBuilder {
+ /**
+ * The hubSiteUrls parameter value
+ */
+ @Nullable
+ protected java.util.List hubSiteUrls;
+ /**
+ * Sets the HubSiteUrls
+ * @param val the value to set it to
+ * @return the current builder object
+ */
+ @Nonnull
+ public ContentTypeAssociateWithHubSitesParameterSetBuilder withHubSiteUrls(@Nullable final java.util.List val) {
+ this.hubSiteUrls = val;
+ return this;
+ }
+ /**
+ * The propagateToExistingLists parameter value
+ */
+ @Nullable
+ protected Boolean propagateToExistingLists;
+ /**
+ * Sets the PropagateToExistingLists
+ * @param val the value to set it to
+ * @return the current builder object
+ */
+ @Nonnull
+ public ContentTypeAssociateWithHubSitesParameterSetBuilder withPropagateToExistingLists(@Nullable final Boolean val) {
+ this.propagateToExistingLists = val;
+ return this;
+ }
+ /**
+ * Instanciates a new ContentTypeAssociateWithHubSitesParameterSetBuilder
+ */
+ @Nullable
+ protected ContentTypeAssociateWithHubSitesParameterSetBuilder(){}
+ /**
+ * Buils the resulting body object to be passed to the request
+ * @return the body object to pass to the request
+ */
+ @Nonnull
+ public ContentTypeAssociateWithHubSitesParameterSet build() {
+ return new ContentTypeAssociateWithHubSitesParameterSet(this);
+ }
+ }
+ /**
+ * Gets the functions options from the properties that have been set
+ * @return a list of function options for the request
+ */
+ @Nonnull
+ public java.util.List getFunctionOptions() {
+ final ArrayList result = new ArrayList<>();
+ if(this.hubSiteUrls != null) {
+ result.add(new com.microsoft.graph.options.FunctionOption("hubSiteUrls", hubSiteUrls));
+ }
+ if(this.propagateToExistingLists != null) {
+ result.add(new com.microsoft.graph.options.FunctionOption("propagateToExistingLists", propagateToExistingLists));
+ }
+ return result;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/ContentTypeCopyToDefaultContentLocationParameterSet.java b/src/main/java/com/microsoft/graph/models/ContentTypeCopyToDefaultContentLocationParameterSet.java
new file mode 100644
index 00000000000..3dec62fd8b3
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/ContentTypeCopyToDefaultContentLocationParameterSet.java
@@ -0,0 +1,125 @@
+// Template Source: BaseMethodParameterSet.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+
+import com.microsoft.graph.models.ItemReference;
+import com.google.gson.annotations.Expose;
+import com.google.gson.annotations.SerializedName;
+import javax.annotation.Nonnull;
+import javax.annotation.Nullable;
+import com.google.gson.JsonObject;
+import java.util.EnumSet;
+import java.util.ArrayList;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Content Type Copy To Default Content Location Parameter Set.
+ */
+public class ContentTypeCopyToDefaultContentLocationParameterSet {
+ /**
+ * The source File.
+ *
+ */
+ @SerializedName(value = "sourceFile", alternate = {"SourceFile"})
+ @Expose
+ @Nullable
+ public ItemReference sourceFile;
+
+ /**
+ * The destination File Name.
+ *
+ */
+ @SerializedName(value = "destinationFileName", alternate = {"DestinationFileName"})
+ @Expose
+ @Nullable
+ public String destinationFileName;
+
+
+ /**
+ * Instiaciates a new ContentTypeCopyToDefaultContentLocationParameterSet
+ */
+ public ContentTypeCopyToDefaultContentLocationParameterSet() {}
+ /**
+ * Instiaciates a new ContentTypeCopyToDefaultContentLocationParameterSet
+ * @param builder builder bearing the parameters to initialize from
+ */
+ protected ContentTypeCopyToDefaultContentLocationParameterSet(@Nonnull final ContentTypeCopyToDefaultContentLocationParameterSetBuilder builder) {
+ this.sourceFile = builder.sourceFile;
+ this.destinationFileName = builder.destinationFileName;
+ }
+ /**
+ * Gets a new builder for the body
+ * @return a new builder
+ */
+ @Nonnull
+ public static ContentTypeCopyToDefaultContentLocationParameterSetBuilder newBuilder() {
+ return new ContentTypeCopyToDefaultContentLocationParameterSetBuilder();
+ }
+ /**
+ * Fluent builder for the ContentTypeCopyToDefaultContentLocationParameterSet
+ */
+ public static final class ContentTypeCopyToDefaultContentLocationParameterSetBuilder {
+ /**
+ * The sourceFile parameter value
+ */
+ @Nullable
+ protected ItemReference sourceFile;
+ /**
+ * Sets the SourceFile
+ * @param val the value to set it to
+ * @return the current builder object
+ */
+ @Nonnull
+ public ContentTypeCopyToDefaultContentLocationParameterSetBuilder withSourceFile(@Nullable final ItemReference val) {
+ this.sourceFile = val;
+ return this;
+ }
+ /**
+ * The destinationFileName parameter value
+ */
+ @Nullable
+ protected String destinationFileName;
+ /**
+ * Sets the DestinationFileName
+ * @param val the value to set it to
+ * @return the current builder object
+ */
+ @Nonnull
+ public ContentTypeCopyToDefaultContentLocationParameterSetBuilder withDestinationFileName(@Nullable final String val) {
+ this.destinationFileName = val;
+ return this;
+ }
+ /**
+ * Instanciates a new ContentTypeCopyToDefaultContentLocationParameterSetBuilder
+ */
+ @Nullable
+ protected ContentTypeCopyToDefaultContentLocationParameterSetBuilder(){}
+ /**
+ * Buils the resulting body object to be passed to the request
+ * @return the body object to pass to the request
+ */
+ @Nonnull
+ public ContentTypeCopyToDefaultContentLocationParameterSet build() {
+ return new ContentTypeCopyToDefaultContentLocationParameterSet(this);
+ }
+ }
+ /**
+ * Gets the functions options from the properties that have been set
+ * @return a list of function options for the request
+ */
+ @Nonnull
+ public java.util.List getFunctionOptions() {
+ final ArrayList result = new ArrayList<>();
+ if(this.sourceFile != null) {
+ result.add(new com.microsoft.graph.options.FunctionOption("sourceFile", sourceFile));
+ }
+ if(this.destinationFileName != null) {
+ result.add(new com.microsoft.graph.options.FunctionOption("destinationFileName", destinationFileName));
+ }
+ return result;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/ContentTypeIsPublishedParameterSet.java b/src/main/java/com/microsoft/graph/models/ContentTypeIsPublishedParameterSet.java
new file mode 100644
index 00000000000..ef2c7cfaa84
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/ContentTypeIsPublishedParameterSet.java
@@ -0,0 +1,69 @@
+// Template Source: BaseMethodParameterSet.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+
+
+import com.google.gson.annotations.Expose;
+import com.google.gson.annotations.SerializedName;
+import javax.annotation.Nonnull;
+import javax.annotation.Nullable;
+import com.google.gson.JsonObject;
+import java.util.EnumSet;
+import java.util.ArrayList;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Content Type Is Published Parameter Set.
+ */
+public class ContentTypeIsPublishedParameterSet {
+
+ /**
+ * Instiaciates a new ContentTypeIsPublishedParameterSet
+ */
+ public ContentTypeIsPublishedParameterSet() {}
+ /**
+ * Instiaciates a new ContentTypeIsPublishedParameterSet
+ * @param builder builder bearing the parameters to initialize from
+ */
+ protected ContentTypeIsPublishedParameterSet(@Nonnull final ContentTypeIsPublishedParameterSetBuilder builder) {
+ }
+ /**
+ * Gets a new builder for the body
+ * @return a new builder
+ */
+ @Nonnull
+ public static ContentTypeIsPublishedParameterSetBuilder newBuilder() {
+ return new ContentTypeIsPublishedParameterSetBuilder();
+ }
+ /**
+ * Fluent builder for the ContentTypeIsPublishedParameterSet
+ */
+ public static final class ContentTypeIsPublishedParameterSetBuilder {
+ /**
+ * Instanciates a new ContentTypeIsPublishedParameterSetBuilder
+ */
+ @Nullable
+ protected ContentTypeIsPublishedParameterSetBuilder(){}
+ /**
+ * Buils the resulting body object to be passed to the request
+ * @return the body object to pass to the request
+ */
+ @Nonnull
+ public ContentTypeIsPublishedParameterSet build() {
+ return new ContentTypeIsPublishedParameterSet(this);
+ }
+ }
+ /**
+ * Gets the functions options from the properties that have been set
+ * @return a list of function options for the request
+ */
+ @Nonnull
+ public java.util.List getFunctionOptions() {
+ final ArrayList result = new ArrayList<>();
+ return result;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/ContentTypePublishParameterSet.java b/src/main/java/com/microsoft/graph/models/ContentTypePublishParameterSet.java
new file mode 100644
index 00000000000..c96344c10f9
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/ContentTypePublishParameterSet.java
@@ -0,0 +1,69 @@
+// Template Source: BaseMethodParameterSet.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+
+
+import com.google.gson.annotations.Expose;
+import com.google.gson.annotations.SerializedName;
+import javax.annotation.Nonnull;
+import javax.annotation.Nullable;
+import com.google.gson.JsonObject;
+import java.util.EnumSet;
+import java.util.ArrayList;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Content Type Publish Parameter Set.
+ */
+public class ContentTypePublishParameterSet {
+
+ /**
+ * Instiaciates a new ContentTypePublishParameterSet
+ */
+ public ContentTypePublishParameterSet() {}
+ /**
+ * Instiaciates a new ContentTypePublishParameterSet
+ * @param builder builder bearing the parameters to initialize from
+ */
+ protected ContentTypePublishParameterSet(@Nonnull final ContentTypePublishParameterSetBuilder builder) {
+ }
+ /**
+ * Gets a new builder for the body
+ * @return a new builder
+ */
+ @Nonnull
+ public static ContentTypePublishParameterSetBuilder newBuilder() {
+ return new ContentTypePublishParameterSetBuilder();
+ }
+ /**
+ * Fluent builder for the ContentTypePublishParameterSet
+ */
+ public static final class ContentTypePublishParameterSetBuilder {
+ /**
+ * Instanciates a new ContentTypePublishParameterSetBuilder
+ */
+ @Nullable
+ protected ContentTypePublishParameterSetBuilder(){}
+ /**
+ * Buils the resulting body object to be passed to the request
+ * @return the body object to pass to the request
+ */
+ @Nonnull
+ public ContentTypePublishParameterSet build() {
+ return new ContentTypePublishParameterSet(this);
+ }
+ }
+ /**
+ * Gets the functions options from the properties that have been set
+ * @return a list of function options for the request
+ */
+ @Nonnull
+ public java.util.List getFunctionOptions() {
+ final ArrayList result = new ArrayList<>();
+ return result;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/ContentTypeUnpublishParameterSet.java b/src/main/java/com/microsoft/graph/models/ContentTypeUnpublishParameterSet.java
new file mode 100644
index 00000000000..a06c8f77eaf
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/ContentTypeUnpublishParameterSet.java
@@ -0,0 +1,69 @@
+// Template Source: BaseMethodParameterSet.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+
+
+import com.google.gson.annotations.Expose;
+import com.google.gson.annotations.SerializedName;
+import javax.annotation.Nonnull;
+import javax.annotation.Nullable;
+import com.google.gson.JsonObject;
+import java.util.EnumSet;
+import java.util.ArrayList;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Content Type Unpublish Parameter Set.
+ */
+public class ContentTypeUnpublishParameterSet {
+
+ /**
+ * Instiaciates a new ContentTypeUnpublishParameterSet
+ */
+ public ContentTypeUnpublishParameterSet() {}
+ /**
+ * Instiaciates a new ContentTypeUnpublishParameterSet
+ * @param builder builder bearing the parameters to initialize from
+ */
+ protected ContentTypeUnpublishParameterSet(@Nonnull final ContentTypeUnpublishParameterSetBuilder builder) {
+ }
+ /**
+ * Gets a new builder for the body
+ * @return a new builder
+ */
+ @Nonnull
+ public static ContentTypeUnpublishParameterSetBuilder newBuilder() {
+ return new ContentTypeUnpublishParameterSetBuilder();
+ }
+ /**
+ * Fluent builder for the ContentTypeUnpublishParameterSet
+ */
+ public static final class ContentTypeUnpublishParameterSetBuilder {
+ /**
+ * Instanciates a new ContentTypeUnpublishParameterSetBuilder
+ */
+ @Nullable
+ protected ContentTypeUnpublishParameterSetBuilder(){}
+ /**
+ * Buils the resulting body object to be passed to the request
+ * @return the body object to pass to the request
+ */
+ @Nonnull
+ public ContentTypeUnpublishParameterSet build() {
+ return new ContentTypeUnpublishParameterSet(this);
+ }
+ }
+ /**
+ * Gets the functions options from the properties that have been set
+ * @return a list of function options for the request
+ */
+ @Nonnull
+ public java.util.List getFunctionOptions() {
+ final ArrayList result = new ArrayList<>();
+ return result;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/Conversation.java b/src/main/java/com/microsoft/graph/models/Conversation.java
index 6d295b85c6d..b17df020829 100644
--- a/src/main/java/com/microsoft/graph/models/Conversation.java
+++ b/src/main/java/com/microsoft/graph/models/Conversation.java
@@ -30,7 +30,7 @@ public class Conversation extends Entity implements IJsonBackedObject {
/**
* The Has Attachments.
- * Indicates whether any of the posts within this Conversation has at least one attachment.
+ * Indicates whether any of the posts within this Conversation has at least one attachment. Supports $filter (eq, ne) and $search.
*/
@SerializedName(value = "hasAttachments", alternate = {"HasAttachments"})
@Expose
@@ -39,7 +39,7 @@ public class Conversation extends Entity implements IJsonBackedObject {
/**
* The Last Delivered Date Time.
- * 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
+ * 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, ne, le, ge).
*/
@SerializedName(value = "lastDeliveredDateTime", alternate = {"LastDeliveredDateTime"})
@Expose
@@ -48,7 +48,7 @@ public class Conversation extends Entity implements IJsonBackedObject {
/**
* The Preview.
- * A short summary from the body of the latest post in this converstaion.
+ * A short summary from the body of the latest post in this conversation.
*/
@SerializedName(value = "preview", alternate = {"Preview"})
@Expose
diff --git a/src/main/java/com/microsoft/graph/models/CountryNamedLocation.java b/src/main/java/com/microsoft/graph/models/CountryNamedLocation.java
index 3722bf8454e..c6787a9e384 100644
--- a/src/main/java/com/microsoft/graph/models/CountryNamedLocation.java
+++ b/src/main/java/com/microsoft/graph/models/CountryNamedLocation.java
@@ -38,7 +38,7 @@ public class CountryNamedLocation extends NamedLocation implements IJsonBackedOb
/**
* The Country Lookup Method.
- * Determines what method is used to decide which country the user is located in. Possible values are clientIpAddress and authenticatorAppGps.
+ * Determines what method is used to decide which country the user is located in. Possible values are clientIpAddress and authenticatorAppGps. Note: authenticatorAppGps is not yet supported in the Microsoft Cloud for US Government.
*/
@SerializedName(value = "countryLookupMethod", alternate = {"CountryLookupMethod"})
@Expose
diff --git a/src/main/java/com/microsoft/graph/models/DeviceComplianceScheduledActionForRule.java b/src/main/java/com/microsoft/graph/models/DeviceComplianceScheduledActionForRule.java
index b381a39c647..db99872994a 100644
--- a/src/main/java/com/microsoft/graph/models/DeviceComplianceScheduledActionForRule.java
+++ b/src/main/java/com/microsoft/graph/models/DeviceComplianceScheduledActionForRule.java
@@ -30,7 +30,7 @@ public class DeviceComplianceScheduledActionForRule extends Entity implements IJ
/**
* The Rule Name.
- * Name of the rule which this scheduled action applies to.
+ * Name of the rule which this scheduled action applies to. Currently scheduled actions are created per policy instead of per rule, thus RuleName is always set to default value PasswordRequired.
*/
@SerializedName(value = "ruleName", alternate = {"RuleName"})
@Expose
@@ -39,7 +39,7 @@ public class DeviceComplianceScheduledActionForRule extends Entity implements IJ
/**
* The Scheduled Action Configurations.
- * The list of scheduled action configurations for this compliance policy.
+ * The list of scheduled action configurations for this compliance policy. Compliance policy must have one and only one block scheduled action.
*/
@SerializedName(value = "scheduledActionConfigurations", alternate = {"ScheduledActionConfigurations"})
@Expose
diff --git a/src/main/java/com/microsoft/graph/models/Directory.java b/src/main/java/com/microsoft/graph/models/Directory.java
index 80c928c2c8f..6266ac8cafe 100644
--- a/src/main/java/com/microsoft/graph/models/Directory.java
+++ b/src/main/java/com/microsoft/graph/models/Directory.java
@@ -32,7 +32,7 @@ public class Directory extends Entity implements IJsonBackedObject {
/**
* The Administrative Units.
- *
+ * Conceptual container for user and group directory objects.
*/
@SerializedName(value = "administrativeUnits", alternate = {"AdministrativeUnits"})
@Expose
diff --git a/src/main/java/com/microsoft/graph/models/DisplayNameLocalization.java b/src/main/java/com/microsoft/graph/models/DisplayNameLocalization.java
new file mode 100644
index 00000000000..0a8aa15189d
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/DisplayNameLocalization.java
@@ -0,0 +1,68 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Display Name Localization.
+ */
+public class DisplayNameLocalization implements IJsonBackedObject {
+
+ /** the OData type of the object as returned by the service */
+ @SerializedName("@odata.type")
+ @Expose
+ @Nullable
+ public String oDataType;
+
+ private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
+
+ @Override
+ @Nonnull
+ public final AdditionalDataManager additionalDataManager() {
+ return additionalDataManager;
+ }
+
+ /**
+ * The Display Name.
+ * If present, the value of this field contains the displayName string that has been set for the language present in the languageTag field.
+ */
+ @SerializedName(value = "displayName", alternate = {"DisplayName"})
+ @Expose
+ @Nullable
+ public String displayName;
+
+ /**
+ * The Language Tag.
+ * Provides the language culture-code and friendly name of the language that the displayName field has been provided in.
+ */
+ @SerializedName(value = "languageTag", alternate = {"LanguageTag"})
+ @Expose
+ @Nullable
+ public String languageTag;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/DocumentSet.java b/src/main/java/com/microsoft/graph/models/DocumentSet.java
new file mode 100644
index 00000000000..f9edc3a428f
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/DocumentSet.java
@@ -0,0 +1,114 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.http.BaseCollectionPage;
+import com.microsoft.graph.models.ContentTypeInfo;
+import com.microsoft.graph.models.DocumentSetContent;
+import com.microsoft.graph.models.ColumnDefinition;
+import com.microsoft.graph.requests.ColumnDefinitionCollectionPage;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Document Set.
+ */
+public class DocumentSet implements IJsonBackedObject {
+
+ /** the OData type of the object as returned by the service */
+ @SerializedName("@odata.type")
+ @Expose
+ @Nullable
+ public String oDataType;
+
+ private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
+
+ @Override
+ @Nonnull
+ public final AdditionalDataManager additionalDataManager() {
+ return additionalDataManager;
+ }
+
+ /**
+ * The Allowed Content Types.
+ * Content types allowed in document set.
+ */
+ @SerializedName(value = "allowedContentTypes", alternate = {"AllowedContentTypes"})
+ @Expose
+ @Nullable
+ public java.util.List allowedContentTypes;
+
+ /**
+ * The Default Contents.
+ * Default contents of document set.
+ */
+ @SerializedName(value = "defaultContents", alternate = {"DefaultContents"})
+ @Expose
+ @Nullable
+ public java.util.List defaultContents;
+
+ /**
+ * The Propagate Welcome Page Changes.
+ * Specifies whether to push welcome page changes to inherited content types.
+ */
+ @SerializedName(value = "propagateWelcomePageChanges", alternate = {"PropagateWelcomePageChanges"})
+ @Expose
+ @Nullable
+ public Boolean propagateWelcomePageChanges;
+
+ /**
+ * The Should Prefix Name To File.
+ * Add the name of the Document Set to each file name.
+ */
+ @SerializedName(value = "shouldPrefixNameToFile", alternate = {"ShouldPrefixNameToFile"})
+ @Expose
+ @Nullable
+ public Boolean shouldPrefixNameToFile;
+
+ /**
+ * The Welcome Page Url.
+ * Welcome page absolute URL.
+ */
+ @SerializedName(value = "welcomePageUrl", alternate = {"WelcomePageUrl"})
+ @Expose
+ @Nullable
+ public String welcomePageUrl;
+
+ /**
+ * The Shared Columns.
+ *
+ */
+ @Nullable
+ public ColumnDefinitionCollectionPage sharedColumns;
+
+ /**
+ * The Welcome Page Columns.
+ *
+ */
+ @Nullable
+ public ColumnDefinitionCollectionPage welcomePageColumns;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/DocumentSetContent.java b/src/main/java/com/microsoft/graph/models/DocumentSetContent.java
new file mode 100644
index 00000000000..f5c444fbd9c
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/DocumentSetContent.java
@@ -0,0 +1,78 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.models.ContentTypeInfo;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Document Set Content.
+ */
+public class DocumentSetContent implements IJsonBackedObject {
+
+ /** the OData type of the object as returned by the service */
+ @SerializedName("@odata.type")
+ @Expose
+ @Nullable
+ public String oDataType;
+
+ private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
+
+ @Override
+ @Nonnull
+ public final AdditionalDataManager additionalDataManager() {
+ return additionalDataManager;
+ }
+
+ /**
+ * The Content Type.
+ * Content type information of the file.
+ */
+ @SerializedName(value = "contentType", alternate = {"ContentType"})
+ @Expose
+ @Nullable
+ public ContentTypeInfo contentType;
+
+ /**
+ * The File Name.
+ * Name of the file in resource folder that should be added as a default content or a template in the document set
+ */
+ @SerializedName(value = "fileName", alternate = {"FileName"})
+ @Expose
+ @Nullable
+ public String fileName;
+
+ /**
+ * The Folder Name.
+ * Folder name in which the file will be placed when a new document set is created in the library.
+ */
+ @SerializedName(value = "folderName", alternate = {"FolderName"})
+ @Expose
+ @Nullable
+ public String folderName;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/Drive.java b/src/main/java/com/microsoft/graph/models/Drive.java
index b276b4ce433..2c9436723a0 100644
--- a/src/main/java/com/microsoft/graph/models/Drive.java
+++ b/src/main/java/com/microsoft/graph/models/Drive.java
@@ -78,6 +78,15 @@ public class Drive extends BaseItem implements IJsonBackedObject {
@Nullable
public SystemFacet system;
+ /**
+ * The Bundles.
+ * Collection of [bundles][bundle] (albums and multi-select-shared sets of items). Only in personal OneDrive.
+ */
+ @SerializedName(value = "bundles", alternate = {"Bundles"})
+ @Expose
+ @Nullable
+ public DriveItemCollectionPage bundles;
+
/**
* The Following.
* The list of items the user is following. Only in OneDrive for Business.
@@ -133,6 +142,10 @@ public class Drive extends BaseItem implements IJsonBackedObject {
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+ if (json.has("bundles")) {
+ bundles = serializer.deserializeObject(json.get("bundles"), DriveItemCollectionPage.class);
+ }
+
if (json.has("following")) {
following = serializer.deserializeObject(json.get("following"), DriveItemCollectionPage.class);
}
diff --git a/src/main/java/com/microsoft/graph/models/DriveItem.java b/src/main/java/com/microsoft/graph/models/DriveItem.java
index 9e84f6fa9ed..15c1b20dfe2 100644
--- a/src/main/java/com/microsoft/graph/models/DriveItem.java
+++ b/src/main/java/com/microsoft/graph/models/DriveItem.java
@@ -10,6 +10,7 @@
import java.util.EnumSet;
import com.microsoft.graph.http.BaseCollectionPage;
import com.microsoft.graph.models.Audio;
+import com.microsoft.graph.models.Bundle;
import com.microsoft.graph.models.Deleted;
import com.microsoft.graph.models.File;
import com.microsoft.graph.models.FileSystemInfo;
@@ -65,6 +66,15 @@ public class DriveItem extends BaseItem implements IJsonBackedObject {
@Nullable
public Audio audio;
+ /**
+ * The Bundle.
+ *
+ */
+ @SerializedName(value = "bundle", alternate = {"Bundle"})
+ @Expose
+ @Nullable
+ public Bundle bundle;
+
/**
* The CTag.
* An eTag for the content of the item. This eTag is not changed if only the metadata is changed. Note This property is not returned if the item is a folder. Read-only.
diff --git a/src/main/java/com/microsoft/graph/models/EntityType.java b/src/main/java/com/microsoft/graph/models/EntityType.java
index 8aff9f55e28..74ee9a0888a 100644
--- a/src/main/java/com/microsoft/graph/models/EntityType.java
+++ b/src/main/java/com/microsoft/graph/models/EntityType.java
@@ -44,9 +44,9 @@ public enum EntityType
*/
DRIVE,
/**
- * unknownfuturevalue
+ * unknown Future Value
*/
- UNKNOWNFUTUREVALUE,
+ UNKNOWN_FUTURE_VALUE,
/**
* For EntityType values that were not expected from the service
*/
diff --git a/src/main/java/com/microsoft/graph/models/HyperlinkOrPictureColumn.java b/src/main/java/com/microsoft/graph/models/HyperlinkOrPictureColumn.java
new file mode 100644
index 00000000000..60d110e3f38
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/HyperlinkOrPictureColumn.java
@@ -0,0 +1,59 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Hyperlink Or Picture Column.
+ */
+public class HyperlinkOrPictureColumn implements IJsonBackedObject {
+
+ /** the OData type of the object as returned by the service */
+ @SerializedName("@odata.type")
+ @Expose
+ @Nullable
+ public String oDataType;
+
+ private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
+
+ @Override
+ @Nonnull
+ public final AdditionalDataManager additionalDataManager() {
+ return additionalDataManager;
+ }
+
+ /**
+ * The Is Picture.
+ * Specifies whether the display format used for URL columns is an image or a hyperlink.
+ */
+ @SerializedName(value = "isPicture", alternate = {"IsPicture"})
+ @Expose
+ @Nullable
+ public Boolean isPicture;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/IdentityContainer.java b/src/main/java/com/microsoft/graph/models/IdentityContainer.java
index 18cb19edced..d135d54b7b1 100644
--- a/src/main/java/com/microsoft/graph/models/IdentityContainer.java
+++ b/src/main/java/com/microsoft/graph/models/IdentityContainer.java
@@ -46,7 +46,7 @@ public class IdentityContainer extends Entity implements IJsonBackedObject {
/**
* The Api Connectors.
- *
+ * Represents entry point for API connectors.
*/
@SerializedName(value = "apiConnectors", alternate = {"ApiConnectors"})
@Expose
@@ -55,7 +55,7 @@ public class IdentityContainer extends Entity implements IJsonBackedObject {
/**
* The B2x User Flows.
- *
+ * Represents entry point for B2X and self-service sign-up identity userflows.
*/
@SerializedName(value = "b2xUserFlows", alternate = {"B2xUserFlows"})
@Expose
@@ -64,7 +64,7 @@ public class IdentityContainer extends Entity implements IJsonBackedObject {
/**
* The Identity Providers.
- *
+ * Represents entry point for identity provider base.
*/
@SerializedName(value = "identityProviders", alternate = {"IdentityProviders"})
@Expose
@@ -73,7 +73,7 @@ public class IdentityContainer extends Entity implements IJsonBackedObject {
/**
* The User Flow Attributes.
- *
+ * Represents entry point for identity userflow attributes.
*/
@SerializedName(value = "userFlowAttributes", alternate = {"UserFlowAttributes"})
@Expose
diff --git a/src/main/java/com/microsoft/graph/models/Participant.java b/src/main/java/com/microsoft/graph/models/Participant.java
index 6aa53398775..4d9f9b52503 100644
--- a/src/main/java/com/microsoft/graph/models/Participant.java
+++ b/src/main/java/com/microsoft/graph/models/Participant.java
@@ -65,6 +65,15 @@ public class Participant extends Entity implements IJsonBackedObject {
@Nullable
public java.util.List mediaStreams;
+ /**
+ * The Metadata.
+ * A blob of data provided by the participant in the roster.
+ */
+ @SerializedName(value = "metadata", alternate = {"Metadata"})
+ @Expose
+ @Nullable
+ public String metadata;
+
/**
* The Recording Info.
* Information on whether the participant has recording capability.
diff --git a/src/main/java/com/microsoft/graph/models/Post.java b/src/main/java/com/microsoft/graph/models/Post.java
index bb76cec858b..c3335eb1c80 100644
--- a/src/main/java/com/microsoft/graph/models/Post.java
+++ b/src/main/java/com/microsoft/graph/models/Post.java
@@ -111,7 +111,7 @@ public class Post extends OutlookItem implements IJsonBackedObject {
/**
* The Attachments.
- * The collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the post. Read-only. Nullable.
+ * The collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the post. Read-only. Nullable. Supports $expand.
*/
@SerializedName(value = "attachments", alternate = {"Attachments"})
@Expose
@@ -120,7 +120,7 @@ public class Post extends OutlookItem implements IJsonBackedObject {
/**
* The Extensions.
- * The collection of open extensions defined for the post. Read-only. Nullable.
+ * The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand.
*/
@SerializedName(value = "extensions", alternate = {"Extensions"})
@Expose
@@ -129,7 +129,7 @@ public class Post extends OutlookItem implements IJsonBackedObject {
/**
* The In Reply To.
- * The earlier post that this post is replying to in the conversationThread. Read-only.
+ * The earlier post that this post is replying to in the conversationThread. Read-only. Supports $expand.
*/
@SerializedName(value = "inReplyTo", alternate = {"InReplyTo"})
@Expose
diff --git a/src/main/java/com/microsoft/graph/models/PresenceClearPresenceParameterSet.java b/src/main/java/com/microsoft/graph/models/PresenceClearPresenceParameterSet.java
new file mode 100644
index 00000000000..1d2378029e5
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/PresenceClearPresenceParameterSet.java
@@ -0,0 +1,97 @@
+// Template Source: BaseMethodParameterSet.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+
+
+import com.google.gson.annotations.Expose;
+import com.google.gson.annotations.SerializedName;
+import javax.annotation.Nonnull;
+import javax.annotation.Nullable;
+import com.google.gson.JsonObject;
+import java.util.EnumSet;
+import java.util.ArrayList;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Presence Clear Presence Parameter Set.
+ */
+public class PresenceClearPresenceParameterSet {
+ /**
+ * The session Id.
+ *
+ */
+ @SerializedName(value = "sessionId", alternate = {"SessionId"})
+ @Expose
+ @Nullable
+ public String sessionId;
+
+
+ /**
+ * Instiaciates a new PresenceClearPresenceParameterSet
+ */
+ public PresenceClearPresenceParameterSet() {}
+ /**
+ * Instiaciates a new PresenceClearPresenceParameterSet
+ * @param builder builder bearing the parameters to initialize from
+ */
+ protected PresenceClearPresenceParameterSet(@Nonnull final PresenceClearPresenceParameterSetBuilder builder) {
+ this.sessionId = builder.sessionId;
+ }
+ /**
+ * Gets a new builder for the body
+ * @return a new builder
+ */
+ @Nonnull
+ public static PresenceClearPresenceParameterSetBuilder newBuilder() {
+ return new PresenceClearPresenceParameterSetBuilder();
+ }
+ /**
+ * Fluent builder for the PresenceClearPresenceParameterSet
+ */
+ public static final class PresenceClearPresenceParameterSetBuilder {
+ /**
+ * The sessionId parameter value
+ */
+ @Nullable
+ protected String sessionId;
+ /**
+ * Sets the SessionId
+ * @param val the value to set it to
+ * @return the current builder object
+ */
+ @Nonnull
+ public PresenceClearPresenceParameterSetBuilder withSessionId(@Nullable final String val) {
+ this.sessionId = val;
+ return this;
+ }
+ /**
+ * Instanciates a new PresenceClearPresenceParameterSetBuilder
+ */
+ @Nullable
+ protected PresenceClearPresenceParameterSetBuilder(){}
+ /**
+ * Buils the resulting body object to be passed to the request
+ * @return the body object to pass to the request
+ */
+ @Nonnull
+ public PresenceClearPresenceParameterSet build() {
+ return new PresenceClearPresenceParameterSet(this);
+ }
+ }
+ /**
+ * Gets the functions options from the properties that have been set
+ * @return a list of function options for the request
+ */
+ @Nonnull
+ public java.util.List getFunctionOptions() {
+ final ArrayList result = new ArrayList<>();
+ if(this.sessionId != null) {
+ result.add(new com.microsoft.graph.options.FunctionOption("sessionId", sessionId));
+ }
+ return result;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/PresenceSetPresenceParameterSet.java b/src/main/java/com/microsoft/graph/models/PresenceSetPresenceParameterSet.java
new file mode 100644
index 00000000000..992b7f784ec
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/PresenceSetPresenceParameterSet.java
@@ -0,0 +1,181 @@
+// Template Source: BaseMethodParameterSet.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+
+
+import com.google.gson.annotations.Expose;
+import com.google.gson.annotations.SerializedName;
+import javax.annotation.Nonnull;
+import javax.annotation.Nullable;
+import com.google.gson.JsonObject;
+import java.util.EnumSet;
+import java.util.ArrayList;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Presence Set Presence Parameter Set.
+ */
+public class PresenceSetPresenceParameterSet {
+ /**
+ * The session Id.
+ *
+ */
+ @SerializedName(value = "sessionId", alternate = {"SessionId"})
+ @Expose
+ @Nullable
+ public String sessionId;
+
+ /**
+ * The availability.
+ *
+ */
+ @SerializedName(value = "availability", alternate = {"Availability"})
+ @Expose
+ @Nullable
+ public String availability;
+
+ /**
+ * The activity.
+ *
+ */
+ @SerializedName(value = "activity", alternate = {"Activity"})
+ @Expose
+ @Nullable
+ public String activity;
+
+ /**
+ * The expiration Duration.
+ *
+ */
+ @SerializedName(value = "expirationDuration", alternate = {"ExpirationDuration"})
+ @Expose
+ @Nullable
+ public javax.xml.datatype.Duration expirationDuration;
+
+
+ /**
+ * Instiaciates a new PresenceSetPresenceParameterSet
+ */
+ public PresenceSetPresenceParameterSet() {}
+ /**
+ * Instiaciates a new PresenceSetPresenceParameterSet
+ * @param builder builder bearing the parameters to initialize from
+ */
+ protected PresenceSetPresenceParameterSet(@Nonnull final PresenceSetPresenceParameterSetBuilder builder) {
+ this.sessionId = builder.sessionId;
+ this.availability = builder.availability;
+ this.activity = builder.activity;
+ this.expirationDuration = builder.expirationDuration;
+ }
+ /**
+ * Gets a new builder for the body
+ * @return a new builder
+ */
+ @Nonnull
+ public static PresenceSetPresenceParameterSetBuilder newBuilder() {
+ return new PresenceSetPresenceParameterSetBuilder();
+ }
+ /**
+ * Fluent builder for the PresenceSetPresenceParameterSet
+ */
+ public static final class PresenceSetPresenceParameterSetBuilder {
+ /**
+ * The sessionId parameter value
+ */
+ @Nullable
+ protected String sessionId;
+ /**
+ * Sets the SessionId
+ * @param val the value to set it to
+ * @return the current builder object
+ */
+ @Nonnull
+ public PresenceSetPresenceParameterSetBuilder withSessionId(@Nullable final String val) {
+ this.sessionId = val;
+ return this;
+ }
+ /**
+ * The availability parameter value
+ */
+ @Nullable
+ protected String availability;
+ /**
+ * Sets the Availability
+ * @param val the value to set it to
+ * @return the current builder object
+ */
+ @Nonnull
+ public PresenceSetPresenceParameterSetBuilder withAvailability(@Nullable final String val) {
+ this.availability = val;
+ return this;
+ }
+ /**
+ * The activity parameter value
+ */
+ @Nullable
+ protected String activity;
+ /**
+ * Sets the Activity
+ * @param val the value to set it to
+ * @return the current builder object
+ */
+ @Nonnull
+ public PresenceSetPresenceParameterSetBuilder withActivity(@Nullable final String val) {
+ this.activity = val;
+ return this;
+ }
+ /**
+ * The expirationDuration parameter value
+ */
+ @Nullable
+ protected javax.xml.datatype.Duration expirationDuration;
+ /**
+ * Sets the ExpirationDuration
+ * @param val the value to set it to
+ * @return the current builder object
+ */
+ @Nonnull
+ public PresenceSetPresenceParameterSetBuilder withExpirationDuration(@Nullable final javax.xml.datatype.Duration val) {
+ this.expirationDuration = val;
+ return this;
+ }
+ /**
+ * Instanciates a new PresenceSetPresenceParameterSetBuilder
+ */
+ @Nullable
+ protected PresenceSetPresenceParameterSetBuilder(){}
+ /**
+ * Buils the resulting body object to be passed to the request
+ * @return the body object to pass to the request
+ */
+ @Nonnull
+ public PresenceSetPresenceParameterSet build() {
+ return new PresenceSetPresenceParameterSet(this);
+ }
+ }
+ /**
+ * Gets the functions options from the properties that have been set
+ * @return a list of function options for the request
+ */
+ @Nonnull
+ public java.util.List getFunctionOptions() {
+ final ArrayList result = new ArrayList<>();
+ if(this.sessionId != null) {
+ result.add(new com.microsoft.graph.options.FunctionOption("sessionId", sessionId));
+ }
+ if(this.availability != null) {
+ result.add(new com.microsoft.graph.options.FunctionOption("availability", availability));
+ }
+ if(this.activity != null) {
+ result.add(new com.microsoft.graph.options.FunctionOption("activity", activity));
+ }
+ if(this.expirationDuration != null) {
+ result.add(new com.microsoft.graph.options.FunctionOption("expirationDuration", expirationDuration));
+ }
+ return result;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/Request.java b/src/main/java/com/microsoft/graph/models/Request.java
index a10216a4abe..dc627f81ff8 100644
--- a/src/main/java/com/microsoft/graph/models/Request.java
+++ b/src/main/java/com/microsoft/graph/models/Request.java
@@ -28,7 +28,7 @@ public class Request extends Entity implements IJsonBackedObject {
/**
* The Approval Id.
- *
+ * The identifier of the approval of the request.
*/
@SerializedName(value = "approvalId", alternate = {"ApprovalId"})
@Expose
@@ -37,7 +37,7 @@ public class Request extends Entity implements IJsonBackedObject {
/**
* The Completed Date Time.
- *
+ * The request completion date time.
*/
@SerializedName(value = "completedDateTime", alternate = {"CompletedDateTime"})
@Expose
@@ -46,7 +46,7 @@ public class Request extends Entity implements IJsonBackedObject {
/**
* The Created By.
- *
+ * The user who created this request.
*/
@SerializedName(value = "createdBy", alternate = {"CreatedBy"})
@Expose
@@ -55,7 +55,7 @@ public class Request extends Entity implements IJsonBackedObject {
/**
* The Created Date Time.
- *
+ * The request creation date time.
*/
@SerializedName(value = "createdDateTime", alternate = {"CreatedDateTime"})
@Expose
@@ -64,7 +64,7 @@ public class Request extends Entity implements IJsonBackedObject {
/**
* The Custom Data.
- *
+ * Free text field to define any custom data for the request. Not used.
*/
@SerializedName(value = "customData", alternate = {"CustomData"})
@Expose
@@ -73,7 +73,7 @@ public class Request extends Entity implements IJsonBackedObject {
/**
* The Status.
- *
+ * The status of the request. Not nullable. The possible values are: Canceled, Denied, Failed, Granted, PendingAdminDecision, PendingApproval, PendingProvisioning, PendingScheduleCreation, Provisioned, Revoked, and ScheduleCreated. Not nullable.
*/
@SerializedName(value = "status", alternate = {"Status"})
@Expose
diff --git a/src/main/java/com/microsoft/graph/models/ResponseStatus.java b/src/main/java/com/microsoft/graph/models/ResponseStatus.java
index f450d5cf6fe..200ade0cadc 100644
--- a/src/main/java/com/microsoft/graph/models/ResponseStatus.java
+++ b/src/main/java/com/microsoft/graph/models/ResponseStatus.java
@@ -40,7 +40,7 @@ public final AdditionalDataManager additionalDataManager() {
/**
* The Response.
- * The response type. Possible values are: None, Organizer, TentativelyAccepted, Accepted, Declined, NotResponded.
+ * The response type. Possible values are: none, organizer, tentativelyAccepted, accepted, declined, notResponded.To differentiate between none and notResponded: as an example, if attendee Alex hasn't responded to a meeting request, getting Alex' response status for that event in Alex' calendar returns notResponded. Getting Alex' response from the calendar of any other attendee or the organizer's returns none. Getting the organizer's response for the event in anybody's calendar also returns none.
*/
@SerializedName(value = "response", alternate = {"Response"})
@Expose
diff --git a/src/main/java/com/microsoft/graph/models/SearchAggregation.java b/src/main/java/com/microsoft/graph/models/SearchAggregation.java
new file mode 100644
index 00000000000..02060847ea7
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/SearchAggregation.java
@@ -0,0 +1,70 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.http.BaseCollectionPage;
+import com.microsoft.graph.models.SearchBucket;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Search Aggregation.
+ */
+public class SearchAggregation implements IJsonBackedObject {
+
+ /** the OData type of the object as returned by the service */
+ @SerializedName("@odata.type")
+ @Expose
+ @Nullable
+ public String oDataType;
+
+ private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
+
+ @Override
+ @Nonnull
+ public final AdditionalDataManager additionalDataManager() {
+ return additionalDataManager;
+ }
+
+ /**
+ * The Buckets.
+ * Defines the actual buckets of the computed aggregation.
+ */
+ @SerializedName(value = "buckets", alternate = {"Buckets"})
+ @Expose
+ @Nullable
+ public java.util.List buckets;
+
+ /**
+ * The Field.
+ * Defines on which field the aggregation was computed on.
+ */
+ @SerializedName(value = "field", alternate = {"Field"})
+ @Expose
+ @Nullable
+ public String field;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/SearchBucket.java b/src/main/java/com/microsoft/graph/models/SearchBucket.java
new file mode 100644
index 00000000000..3686a0468a1
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/SearchBucket.java
@@ -0,0 +1,77 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Search Bucket.
+ */
+public class SearchBucket implements IJsonBackedObject {
+
+ /** the OData type of the object as returned by the service */
+ @SerializedName("@odata.type")
+ @Expose
+ @Nullable
+ public String oDataType;
+
+ private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
+
+ @Override
+ @Nonnull
+ public final AdditionalDataManager additionalDataManager() {
+ return additionalDataManager;
+ }
+
+ /**
+ * The Aggregation Filter Token.
+ * A token containing the encoded filter to aggregate search matches by the specific key value. To use the filter, pass the token as part of the aggregationFilter property in a searchRequest object, in the format '{field}:/'{aggregationFilterToken}/''. See an example.
+ */
+ @SerializedName(value = "aggregationFilterToken", alternate = {"AggregationFilterToken"})
+ @Expose
+ @Nullable
+ public String aggregationFilterToken;
+
+ /**
+ * The Count.
+ * The approximate number of search matches that share the same value specified in the key property. Note that this number is not the exact number of matches.
+ */
+ @SerializedName(value = "count", alternate = {"Count"})
+ @Expose
+ @Nullable
+ public Integer count;
+
+ /**
+ * The Key.
+ * The discrete value of the field that an aggregation was computed on.
+ */
+ @SerializedName(value = "key", alternate = {"Key"})
+ @Expose
+ @Nullable
+ public String key;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/SearchHitsContainer.java b/src/main/java/com/microsoft/graph/models/SearchHitsContainer.java
index bcf6019418a..bcffde046b7 100644
--- a/src/main/java/com/microsoft/graph/models/SearchHitsContainer.java
+++ b/src/main/java/com/microsoft/graph/models/SearchHitsContainer.java
@@ -9,6 +9,7 @@
import com.microsoft.graph.serializer.AdditionalDataManager;
import java.util.EnumSet;
import com.microsoft.graph.http.BaseCollectionPage;
+import com.microsoft.graph.models.SearchAggregation;
import com.microsoft.graph.models.SearchHit;
@@ -39,6 +40,15 @@ public final AdditionalDataManager additionalDataManager() {
return additionalDataManager;
}
+ /**
+ * The Aggregations.
+ * Contains the collection of aggregations computed based on the provided aggregationOption specified in the request.
+ */
+ @SerializedName(value = "aggregations", alternate = {"Aggregations"})
+ @Expose
+ @Nullable
+ public java.util.List aggregations;
+
/**
* The Hits.
* A collection of the search results.
diff --git a/src/main/java/com/microsoft/graph/models/SearchRequest.java b/src/main/java/com/microsoft/graph/models/SearchRequest.java
index dfeda44bbbe..f34c17327d6 100644
--- a/src/main/java/com/microsoft/graph/models/SearchRequest.java
+++ b/src/main/java/com/microsoft/graph/models/SearchRequest.java
@@ -9,8 +9,10 @@
import com.microsoft.graph.serializer.AdditionalDataManager;
import java.util.EnumSet;
import com.microsoft.graph.http.BaseCollectionPage;
+import com.microsoft.graph.models.AggregationOption;
import com.microsoft.graph.models.EntityType;
import com.microsoft.graph.models.SearchQuery;
+import com.microsoft.graph.models.SortProperty;
import com.google.gson.JsonObject;
@@ -40,6 +42,24 @@ public final AdditionalDataManager additionalDataManager() {
return additionalDataManager;
}
+ /**
+ * The Aggregation Filters.
+ * Contains one or more filters to obtain search results aggregated and filtered to a specific value of a field. Optional.Build this filter based on a prior search that aggregates by the same field. From the response of the prior search, identify the searchBucket that filters results to the specific value of the field, use the string in its aggregationFilterToken property, and build an aggregation filter string in the format '{field}:/'{aggregationFilterToken}/''. If multiple values for the same field need to be provided, use the strings in its aggregationFilterToken property and build an aggregation filter string in the format '{field}:or(/'{aggregationFilterToken1}/',/'{aggregationFilterToken2}/')'. For example, searching and aggregating drive items by file type returns a searchBucket for the file type docx in the response. You can conveniently use the aggregationFilterToken returned for this searchBucket in a subsequent search query and filter matches down to drive items of the docx file type. Example 1 and example 2 show the actual requests and responses.
+ */
+ @SerializedName(value = "aggregationFilters", alternate = {"AggregationFilters"})
+ @Expose
+ @Nullable
+ public java.util.List aggregationFilters;
+
+ /**
+ * The Aggregations.
+ * Specifies aggregations (also known as refiners) to be returned alongside search results. Optional.
+ */
+ @SerializedName(value = "aggregations", alternate = {"Aggregations"})
+ @Expose
+ @Nullable
+ public java.util.List aggregations;
+
/**
* The Content Sources.
* Contains the connection to be targeted. Respects the following format : /external/connections/connectionid where connectionid is the ConnectionId defined in the Connectors Administration. Note: contentSource is only applicable when entityType=externalItem. Optional.
@@ -103,6 +123,15 @@ public final AdditionalDataManager additionalDataManager() {
@Nullable
public Integer size;
+ /**
+ * The Sort Properties.
+ * Contains the ordered collection of fields and direction to sort results. There can be at most 5 sort properties in the collection. Optional.
+ */
+ @SerializedName(value = "sortProperties", alternate = {"SortProperties"})
+ @Expose
+ @Nullable
+ public java.util.List sortProperties;
+
/**
* Sets the raw JSON object
diff --git a/src/main/java/com/microsoft/graph/models/ServicePrincipal.java b/src/main/java/com/microsoft/graph/models/ServicePrincipal.java
index f198b7c984a..b11c208d059 100644
--- a/src/main/java/com/microsoft/graph/models/ServicePrincipal.java
+++ b/src/main/java/com/microsoft/graph/models/ServicePrincipal.java
@@ -295,7 +295,7 @@ public class ServicePrincipal extends DirectoryObject implements IJsonBackedObje
/**
* The Service Principal Type.
- * Identifies if the service principal represents an application or a managed identity. This is set by Azure AD internally. For a service principal that represents an application this is set as Application. For a service principal that represent a managed identity this is set as ManagedIdentity.
+ * Identifies if the service principal represents an application or a managed identity. This is set by Azure AD internally. For a service principal that represents an application this is set as Application. For a service principal that represent a managed identity this is set as ManagedIdentity. The SocialIdp type is for internal use.
*/
@SerializedName(value = "servicePrincipalType", alternate = {"ServicePrincipalType"})
@Expose
diff --git a/src/main/java/com/microsoft/graph/models/Site.java b/src/main/java/com/microsoft/graph/models/Site.java
index e83e04e8147..9874a18f5bc 100644
--- a/src/main/java/com/microsoft/graph/models/Site.java
+++ b/src/main/java/com/microsoft/graph/models/Site.java
@@ -137,6 +137,13 @@ public class Site extends BaseItem implements IJsonBackedObject {
@Nullable
public DriveCollectionPage drives;
+ /**
+ * The External Columns.
+ * The collection of column definitions available in the site that are referenced from the sites in the parent hierarchy of the current site.
+ */
+ @Nullable
+ public ColumnDefinitionCollectionPage externalColumns;
+
/**
* The Items.
* Used to address any item contained in this site. This collection cannot be enumerated.
@@ -184,7 +191,7 @@ public class Site extends BaseItem implements IJsonBackedObject {
/**
* The Term Stores.
- *
+ * The collection of termStores under this site.
*/
@SerializedName(value = "termStores", alternate = {"TermStores"})
@Expose
@@ -222,6 +229,10 @@ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final J
drives = serializer.deserializeObject(json.get("drives"), DriveCollectionPage.class);
}
+ if (json.has("externalColumns")) {
+ externalColumns = serializer.deserializeObject(json.get("externalColumns"), ColumnDefinitionCollectionPage.class);
+ }
+
if (json.has("items")) {
items = serializer.deserializeObject(json.get("items"), BaseItemCollectionPage.class);
}
diff --git a/src/main/java/com/microsoft/graph/models/SiteGetApplicableContentTypesForListParameterSet.java b/src/main/java/com/microsoft/graph/models/SiteGetApplicableContentTypesForListParameterSet.java
new file mode 100644
index 00000000000..d0127a4f3aa
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/SiteGetApplicableContentTypesForListParameterSet.java
@@ -0,0 +1,97 @@
+// Template Source: BaseMethodParameterSet.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+
+import com.microsoft.graph.models.ContentType;
+import com.google.gson.annotations.Expose;
+import com.google.gson.annotations.SerializedName;
+import javax.annotation.Nonnull;
+import javax.annotation.Nullable;
+import com.google.gson.JsonObject;
+import java.util.EnumSet;
+import java.util.ArrayList;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Site Get Applicable Content Types For List Parameter Set.
+ */
+public class SiteGetApplicableContentTypesForListParameterSet {
+ /**
+ * The list Id.
+ *
+ */
+ @SerializedName(value = "listId", alternate = {"ListId"})
+ @Expose
+ @Nullable
+ public String listId;
+
+
+ /**
+ * Instiaciates a new SiteGetApplicableContentTypesForListParameterSet
+ */
+ public SiteGetApplicableContentTypesForListParameterSet() {}
+ /**
+ * Instiaciates a new SiteGetApplicableContentTypesForListParameterSet
+ * @param builder builder bearing the parameters to initialize from
+ */
+ protected SiteGetApplicableContentTypesForListParameterSet(@Nonnull final SiteGetApplicableContentTypesForListParameterSetBuilder builder) {
+ this.listId = builder.listId;
+ }
+ /**
+ * Gets a new builder for the body
+ * @return a new builder
+ */
+ @Nonnull
+ public static SiteGetApplicableContentTypesForListParameterSetBuilder newBuilder() {
+ return new SiteGetApplicableContentTypesForListParameterSetBuilder();
+ }
+ /**
+ * Fluent builder for the SiteGetApplicableContentTypesForListParameterSet
+ */
+ public static final class SiteGetApplicableContentTypesForListParameterSetBuilder {
+ /**
+ * The listId parameter value
+ */
+ @Nullable
+ protected String listId;
+ /**
+ * Sets the ListId
+ * @param val the value to set it to
+ * @return the current builder object
+ */
+ @Nonnull
+ public SiteGetApplicableContentTypesForListParameterSetBuilder withListId(@Nullable final String val) {
+ this.listId = val;
+ return this;
+ }
+ /**
+ * Instanciates a new SiteGetApplicableContentTypesForListParameterSetBuilder
+ */
+ @Nullable
+ protected SiteGetApplicableContentTypesForListParameterSetBuilder(){}
+ /**
+ * Buils the resulting body object to be passed to the request
+ * @return the body object to pass to the request
+ */
+ @Nonnull
+ public SiteGetApplicableContentTypesForListParameterSet build() {
+ return new SiteGetApplicableContentTypesForListParameterSet(this);
+ }
+ }
+ /**
+ * Gets the functions options from the properties that have been set
+ * @return a list of function options for the request
+ */
+ @Nonnull
+ public java.util.List getFunctionOptions() {
+ final ArrayList result = new ArrayList<>();
+ if(this.listId != null) {
+ result.add(new com.microsoft.graph.options.FunctionOption("listId", listId));
+ }
+ return result;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/SortProperty.java b/src/main/java/com/microsoft/graph/models/SortProperty.java
new file mode 100644
index 00000000000..051e617e9aa
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/SortProperty.java
@@ -0,0 +1,68 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Sort Property.
+ */
+public class SortProperty implements IJsonBackedObject {
+
+ /** the OData type of the object as returned by the service */
+ @SerializedName("@odata.type")
+ @Expose
+ @Nullable
+ public String oDataType;
+
+ private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
+
+ @Override
+ @Nonnull
+ public final AdditionalDataManager additionalDataManager() {
+ return additionalDataManager;
+ }
+
+ /**
+ * The Is Descending.
+ * True if the sort order is descending. Default is false, with the sort order as ascending. Optional.
+ */
+ @SerializedName(value = "isDescending", alternate = {"IsDescending"})
+ @Expose
+ @Nullable
+ public Boolean isDescending;
+
+ /**
+ * The Name.
+ * The name of the property to sort on. Required.
+ */
+ @SerializedName(value = "name", alternate = {"Name"})
+ @Expose
+ @Nullable
+ public String name;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/TermColumn.java b/src/main/java/com/microsoft/graph/models/TermColumn.java
new file mode 100644
index 00000000000..d3582562eba
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/TermColumn.java
@@ -0,0 +1,88 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+import com.microsoft.graph.termstore.models.Term;
+import com.microsoft.graph.termstore.models.Set;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Term Column.
+ */
+public class TermColumn implements IJsonBackedObject {
+
+ /** the OData type of the object as returned by the service */
+ @SerializedName("@odata.type")
+ @Expose
+ @Nullable
+ public String oDataType;
+
+ private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
+
+ @Override
+ @Nonnull
+ public final AdditionalDataManager additionalDataManager() {
+ return additionalDataManager;
+ }
+
+ /**
+ * The Allow Multiple Values.
+ * Specifies whether the column will allow more than one value
+ */
+ @SerializedName(value = "allowMultipleValues", alternate = {"AllowMultipleValues"})
+ @Expose
+ @Nullable
+ public Boolean allowMultipleValues;
+
+ /**
+ * The Show Fully Qualified Name.
+ * Specifies whether to display the entire term path or only the term label.
+ */
+ @SerializedName(value = "showFullyQualifiedName", alternate = {"ShowFullyQualifiedName"})
+ @Expose
+ @Nullable
+ public Boolean showFullyQualifiedName;
+
+ /**
+ * The Parent Term.
+ *
+ */
+ @SerializedName(value = "parentTerm", alternate = {"ParentTerm"})
+ @Expose
+ @Nullable
+ public Term parentTerm;
+
+ /**
+ * The Term Set.
+ *
+ */
+ @SerializedName(value = "termSet", alternate = {"TermSet"})
+ @Expose
+ @Nullable
+ public Set termSet;
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/ThumbnailColumn.java b/src/main/java/com/microsoft/graph/models/ThumbnailColumn.java
new file mode 100644
index 00000000000..1416c345f97
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/ThumbnailColumn.java
@@ -0,0 +1,50 @@
+// Template Source: BaseEntity.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+import com.microsoft.graph.serializer.ISerializer;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+import com.microsoft.graph.serializer.AdditionalDataManager;
+import java.util.EnumSet;
+
+
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Thumbnail Column.
+ */
+public class ThumbnailColumn implements IJsonBackedObject {
+
+ /** the OData type of the object as returned by the service */
+ @SerializedName("@odata.type")
+ @Expose
+ @Nullable
+ public String oDataType;
+
+ private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
+
+ @Override
+ @Nonnull
+ public final AdditionalDataManager additionalDataManager() {
+ return additionalDataManager;
+ }
+
+
+ /**
+ * Sets the raw JSON object
+ *
+ * @param serializer the serializer
+ * @param json the JSON object to set this object to
+ */
+ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
+
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/models/User.java b/src/main/java/com/microsoft/graph/models/User.java
index 3f5d043cbea..32f37c06178 100644
--- a/src/main/java/com/microsoft/graph/models/User.java
+++ b/src/main/java/com/microsoft/graph/models/User.java
@@ -187,7 +187,7 @@ public class User extends DirectoryObject implements IJsonBackedObject {
/**
* The Creation Type.
- * Indicates whether the user account was created as a regular school or work account (null), an external account (Invitation), a local account for an Azure Active Directory B2C tenant (LocalAccount) or self-service sign-up using email verification (EmailVerified). Read-only. Supports $filter (eq, ne, NOT, and in).
+ * Indicates whether the user account was created through one of the following methods: As a regular school or work account (null). As an external account (Invitation). As a local account for an Azure Active Directory B2C tenant (LocalAccount). Through self-service sign-up by an internal user using email verification (EmailVerified). Through self-service sign-up by an external user signing up through a link that is part of a user flow (SelfServiceSignUp). Read-only.Supports $filter (eq, ne, NOT, and in).
*/
@SerializedName(value = "creationType", alternate = {"CreationType"})
@Expose
diff --git a/src/main/java/com/microsoft/graph/models/WorkbookTableRowOperationResultParameterSet.java b/src/main/java/com/microsoft/graph/models/WorkbookTableRowOperationResultParameterSet.java
new file mode 100644
index 00000000000..2187cfcb693
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/models/WorkbookTableRowOperationResultParameterSet.java
@@ -0,0 +1,97 @@
+// Template Source: BaseMethodParameterSet.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.models;
+
+import com.microsoft.graph.models.WorkbookTableRow;
+import com.google.gson.annotations.Expose;
+import com.google.gson.annotations.SerializedName;
+import javax.annotation.Nonnull;
+import javax.annotation.Nullable;
+import com.google.gson.JsonObject;
+import java.util.EnumSet;
+import java.util.ArrayList;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workbook Table Row Operation Result Parameter Set.
+ */
+public class WorkbookTableRowOperationResultParameterSet {
+ /**
+ * The key.
+ *
+ */
+ @SerializedName(value = "key", alternate = {"Key"})
+ @Expose
+ @Nullable
+ public String key;
+
+
+ /**
+ * Instiaciates a new WorkbookTableRowOperationResultParameterSet
+ */
+ public WorkbookTableRowOperationResultParameterSet() {}
+ /**
+ * Instiaciates a new WorkbookTableRowOperationResultParameterSet
+ * @param builder builder bearing the parameters to initialize from
+ */
+ protected WorkbookTableRowOperationResultParameterSet(@Nonnull final WorkbookTableRowOperationResultParameterSetBuilder builder) {
+ this.key = builder.key;
+ }
+ /**
+ * Gets a new builder for the body
+ * @return a new builder
+ */
+ @Nonnull
+ public static WorkbookTableRowOperationResultParameterSetBuilder newBuilder() {
+ return new WorkbookTableRowOperationResultParameterSetBuilder();
+ }
+ /**
+ * Fluent builder for the WorkbookTableRowOperationResultParameterSet
+ */
+ public static final class WorkbookTableRowOperationResultParameterSetBuilder {
+ /**
+ * The key parameter value
+ */
+ @Nullable
+ protected String key;
+ /**
+ * Sets the Key
+ * @param val the value to set it to
+ * @return the current builder object
+ */
+ @Nonnull
+ public WorkbookTableRowOperationResultParameterSetBuilder withKey(@Nullable final String val) {
+ this.key = val;
+ return this;
+ }
+ /**
+ * Instanciates a new WorkbookTableRowOperationResultParameterSetBuilder
+ */
+ @Nullable
+ protected WorkbookTableRowOperationResultParameterSetBuilder(){}
+ /**
+ * Buils the resulting body object to be passed to the request
+ * @return the body object to pass to the request
+ */
+ @Nonnull
+ public WorkbookTableRowOperationResultParameterSet build() {
+ return new WorkbookTableRowOperationResultParameterSet(this);
+ }
+ }
+ /**
+ * Gets the functions options from the properties that have been set
+ * @return a list of function options for the request
+ */
+ @Nonnull
+ public java.util.List getFunctionOptions() {
+ final ArrayList result = new ArrayList<>();
+ if(this.key != null) {
+ result.add(new com.microsoft.graph.options.FunctionOption("key", key));
+ }
+ return result;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/AppleManagedIdentityProviderRequest.java b/src/main/java/com/microsoft/graph/requests/AppleManagedIdentityProviderRequest.java
new file mode 100644
index 00000000000..1461b844a6a
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/AppleManagedIdentityProviderRequest.java
@@ -0,0 +1,173 @@
+// Template Source: BaseEntityRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.models.AppleManagedIdentityProvider;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseRequest;
+import com.microsoft.graph.http.HttpMethod;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Apple Managed Identity Provider Request.
+ */
+public class AppleManagedIdentityProviderRequest extends BaseRequest {
+
+ /**
+ * The request for the AppleManagedIdentityProvider
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public AppleManagedIdentityProviderRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, AppleManagedIdentityProvider.class);
+ }
+
+ /**
+ * Gets the AppleManagedIdentityProvider from the service
+ *
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture getAsync() {
+ return sendAsync(HttpMethod.GET, null);
+ }
+
+ /**
+ * Gets the AppleManagedIdentityProvider from the service
+ *
+ * @return the AppleManagedIdentityProvider from the request
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public AppleManagedIdentityProvider get() throws ClientException {
+ return send(HttpMethod.GET, null);
+ }
+
+ /**
+ * Delete this item from the service
+ *
+ * @return a future with the deletion result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture deleteAsync() {
+ return sendAsync(HttpMethod.DELETE, null);
+ }
+
+ /**
+ * Delete this item from the service
+ * @return the resulting response if the service returns anything on deletion
+ *
+ * @throws ClientException if there was an exception during the delete operation
+ */
+ @Nullable
+ public AppleManagedIdentityProvider delete() throws ClientException {
+ return send(HttpMethod.DELETE, null);
+ }
+
+ /**
+ * Patches this AppleManagedIdentityProvider with a source
+ *
+ * @param sourceAppleManagedIdentityProvider the source object with updates
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture patchAsync(@Nonnull final AppleManagedIdentityProvider sourceAppleManagedIdentityProvider) {
+ return sendAsync(HttpMethod.PATCH, sourceAppleManagedIdentityProvider);
+ }
+
+ /**
+ * Patches this AppleManagedIdentityProvider with a source
+ *
+ * @param sourceAppleManagedIdentityProvider the source object with updates
+ * @return the updated AppleManagedIdentityProvider
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public AppleManagedIdentityProvider patch(@Nonnull final AppleManagedIdentityProvider sourceAppleManagedIdentityProvider) throws ClientException {
+ return send(HttpMethod.PATCH, sourceAppleManagedIdentityProvider);
+ }
+
+ /**
+ * Creates a AppleManagedIdentityProvider with a new object
+ *
+ * @param newAppleManagedIdentityProvider the new object to create
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture postAsync(@Nonnull final AppleManagedIdentityProvider newAppleManagedIdentityProvider) {
+ return sendAsync(HttpMethod.POST, newAppleManagedIdentityProvider);
+ }
+
+ /**
+ * Creates a AppleManagedIdentityProvider with a new object
+ *
+ * @param newAppleManagedIdentityProvider the new object to create
+ * @return the created AppleManagedIdentityProvider
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public AppleManagedIdentityProvider post(@Nonnull final AppleManagedIdentityProvider newAppleManagedIdentityProvider) throws ClientException {
+ return send(HttpMethod.POST, newAppleManagedIdentityProvider);
+ }
+
+ /**
+ * Creates a AppleManagedIdentityProvider with a new object
+ *
+ * @param newAppleManagedIdentityProvider the object to create/update
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture putAsync(@Nonnull final AppleManagedIdentityProvider newAppleManagedIdentityProvider) {
+ return sendAsync(HttpMethod.PUT, newAppleManagedIdentityProvider);
+ }
+
+ /**
+ * Creates a AppleManagedIdentityProvider with a new object
+ *
+ * @param newAppleManagedIdentityProvider the object to create/update
+ * @return the created AppleManagedIdentityProvider
+ * @throws ClientException this exception occurs if the request was unable to complete for any reason
+ */
+ @Nullable
+ public AppleManagedIdentityProvider put(@Nonnull final AppleManagedIdentityProvider newAppleManagedIdentityProvider) throws ClientException {
+ return send(HttpMethod.PUT, newAppleManagedIdentityProvider);
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public AppleManagedIdentityProviderRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public AppleManagedIdentityProviderRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+}
+
diff --git a/src/main/java/com/microsoft/graph/requests/AppleManagedIdentityProviderRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/AppleManagedIdentityProviderRequestBuilder.java
new file mode 100644
index 00000000000..9de0f4c66f3
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/AppleManagedIdentityProviderRequestBuilder.java
@@ -0,0 +1,59 @@
+// Template Source: BaseEntityRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.models.AppleManagedIdentityProvider;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseRequestBuilder;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Apple Managed Identity Provider Request Builder.
+ */
+public class AppleManagedIdentityProviderRequestBuilder extends BaseRequestBuilder {
+
+ /**
+ * The request builder for the AppleManagedIdentityProvider
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public AppleManagedIdentityProviderRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions);
+ }
+
+ /**
+ * Creates the request
+ *
+ * @param requestOptions the options for this request
+ * @return the AppleManagedIdentityProviderRequest instance
+ */
+ @Nonnull
+ public AppleManagedIdentityProviderRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) {
+ return buildRequest(getOptions(requestOptions));
+ }
+
+ /**
+ * Creates the request with specific requestOptions instead of the existing requestOptions
+ *
+ * @param requestOptions the options for this request
+ * @return the AppleManagedIdentityProviderRequest instance
+ */
+ @Nonnull
+ public AppleManagedIdentityProviderRequest buildRequest(@Nonnull final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ return new com.microsoft.graph.requests.AppleManagedIdentityProviderRequest(getRequestUrl(), getClient(), requestOptions);
+ }
+
+
+}
diff --git a/src/main/java/com/microsoft/graph/requests/ColumnDefinitionCollectionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/ColumnDefinitionCollectionReferenceRequest.java
new file mode 100644
index 00000000000..6ebb6dbe344
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/ColumnDefinitionCollectionReferenceRequest.java
@@ -0,0 +1,127 @@
+// Template Source: BaseEntityCollectionReferenceRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.models.DocumentSet;
+import com.microsoft.graph.models.ColumnDefinition;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.requests.ColumnDefinitionWithReferenceRequest;
+import com.microsoft.graph.requests.ColumnDefinitionReferenceRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionWithReferenceRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionCollectionWithReferencesRequest;
+import com.microsoft.graph.requests.ColumnDefinitionCollectionWithReferencesRequestBuilder;
+import com.microsoft.graph.models.ColumnDefinition;
+import com.microsoft.graph.options.QueryOption;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseCollectionWithReferencesRequest;
+import com.microsoft.graph.http.BaseCollectionWithReferencesRequestBuilder;
+import com.microsoft.graph.http.ReferenceRequestBody;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Column Definition Collection Reference Request.
+ */
+public class ColumnDefinitionCollectionReferenceRequest extends BaseCollectionWithReferencesRequest {
+
+ /**
+ * The request builder for this collection of ColumnDefinition
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public ColumnDefinitionCollectionReferenceRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, ColumnDefinitionCollectionResponse.class, ColumnDefinitionCollectionWithReferencesPage.class, ColumnDefinitionCollectionWithReferencesRequestBuilder.class);
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public ColumnDefinitionCollectionReferenceRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the filter clause for the request
+ *
+ * @param value the filter clause
+ * @return the updated request
+ */
+ @Nonnull
+ public ColumnDefinitionCollectionReferenceRequest filter(@Nonnull final String value) {
+ addFilterOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the order by clause for the request
+ *
+ * @param value the sort clause
+ * @return the updated request
+ */
+ @Nonnull
+ public ColumnDefinitionCollectionReferenceRequest orderBy(@Nonnull final String value) {
+ addOrderByOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public ColumnDefinitionCollectionReferenceRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the top value for the request
+ *
+ * @param value the max number of items to return
+ * @return the updated request
+ */
+ @Nonnull
+ public ColumnDefinitionCollectionReferenceRequest top(final int value) {
+ addTopOption(value);
+ return this;
+ }
+ /**
+ * Sets the count value for the request
+ *
+ * @param value whether or not to return the count of objects with the request
+ * @return the updated request
+ */
+ @Nonnull
+ public ColumnDefinitionCollectionReferenceRequest count(final boolean value) {
+ addCountOption(value);
+ return this;
+ }
+ /**
+ * Sets the count value to true for the request
+ *
+ * @return the updated request
+ */
+ @Nonnull
+ public ColumnDefinitionCollectionReferenceRequest count() {
+ addCountOption(true);
+ return this;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/ColumnDefinitionCollectionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/ColumnDefinitionCollectionReferenceRequestBuilder.java
new file mode 100644
index 00000000000..cd4f1a419c6
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/ColumnDefinitionCollectionReferenceRequestBuilder.java
@@ -0,0 +1,37 @@
+// Template Source: BaseEntityCollectionReferenceRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.models.DocumentSet;
+import com.microsoft.graph.models.ColumnDefinition;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.http.BaseCollectionReferenceRequestBuilder;
+import com.microsoft.graph.core.IBaseClient;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Column Definition Collection Reference Request Builder.
+ */
+public class ColumnDefinitionCollectionReferenceRequestBuilder extends BaseCollectionReferenceRequestBuilder {
+
+ /**
+ * The request builder for this collection of ColumnDefinition
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public ColumnDefinitionCollectionReferenceRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, ColumnDefinitionReferenceRequestBuilder.class, ColumnDefinitionCollectionReferenceRequest.class);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/ColumnDefinitionCollectionWithReferencesPage.java b/src/main/java/com/microsoft/graph/requests/ColumnDefinitionCollectionWithReferencesPage.java
new file mode 100644
index 00000000000..4dda5351ceb
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/ColumnDefinitionCollectionWithReferencesPage.java
@@ -0,0 +1,52 @@
+// Template Source: BaseEntityCollectionWithReferencesPage.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.models.DocumentSet;
+import com.microsoft.graph.models.ColumnDefinition;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.requests.ColumnDefinitionCollectionWithReferencesRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionCollectionWithReferencesPage;
+import com.microsoft.graph.requests.ColumnDefinitionCollectionResponse;
+import com.microsoft.graph.models.ColumnDefinition;
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import com.microsoft.graph.http.BaseCollectionPage;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Column Definition Collection With References Page.
+ */
+public class ColumnDefinitionCollectionWithReferencesPage extends BaseCollectionPage {
+
+ /**
+ * A collection page for ColumnDefinition
+ *
+ * @param response the serialized ColumnDefinitionCollectionResponse from the service
+ * @param builder the request builder for the next collection page
+ */
+ public ColumnDefinitionCollectionWithReferencesPage(@Nonnull final ColumnDefinitionCollectionResponse response, @Nullable final ColumnDefinitionCollectionWithReferencesRequestBuilder builder) {
+ super(response.value, builder, response.additionalDataManager());
+ }
+
+ /**
+ * Creates the collection page for ColumnDefinition
+ *
+ * @param pageContents the contents of this page
+ * @param nextRequestBuilder the request builder for the next page
+ */
+ public ColumnDefinitionCollectionWithReferencesPage(@Nonnull final java.util.List pageContents, @Nullable final ColumnDefinitionCollectionWithReferencesRequestBuilder nextRequestBuilder) {
+ super(pageContents, nextRequestBuilder);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/ColumnDefinitionCollectionWithReferencesRequest.java b/src/main/java/com/microsoft/graph/requests/ColumnDefinitionCollectionWithReferencesRequest.java
new file mode 100644
index 00000000000..fdda1c7d9c0
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/ColumnDefinitionCollectionWithReferencesRequest.java
@@ -0,0 +1,128 @@
+// Template Source: BaseEntityCollectionWithReferencesRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.models.DocumentSet;
+import com.microsoft.graph.models.ColumnDefinition;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.models.ColumnDefinition;
+import com.microsoft.graph.requests.ColumnDefinitionWithReferenceRequest;
+import com.microsoft.graph.requests.ColumnDefinitionReferenceRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionWithReferenceRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionCollectionWithReferencesRequest;
+import com.microsoft.graph.requests.ColumnDefinitionCollectionWithReferencesRequest;
+import com.microsoft.graph.requests.ColumnDefinitionCollectionWithReferencesRequestBuilder;
+import com.microsoft.graph.options.QueryOption;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseCollectionWithReferencesRequest;
+import com.microsoft.graph.http.BaseCollectionWithReferencesRequestBuilder;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Column Definition Collection With References Request.
+ */
+public class ColumnDefinitionCollectionWithReferencesRequest extends BaseCollectionWithReferencesRequest {
+
+ /**
+ * The request builder for this collection of ColumnDefinition
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public ColumnDefinitionCollectionWithReferencesRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, ColumnDefinitionCollectionResponse.class, ColumnDefinitionCollectionWithReferencesPage.class, ColumnDefinitionCollectionWithReferencesRequestBuilder.class);
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public ColumnDefinitionCollectionWithReferencesRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the filter clause for the request
+ *
+ * @param value the filter clause
+ * @return the updated request
+ */
+ @Nonnull
+ public ColumnDefinitionCollectionWithReferencesRequest filter(@Nonnull final String value) {
+ addFilterOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the order by clause for the request
+ *
+ * @param value the order by clause
+ * @return the updated request
+ */
+ @Nonnull
+ public ColumnDefinitionCollectionWithReferencesRequest orderBy(@Nonnull final String value) {
+ addOrderByOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public ColumnDefinitionCollectionWithReferencesRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the top value for the request
+ *
+ * @param value the max number of items to return
+ * @return the updated request
+ */
+ @Nonnull
+ public ColumnDefinitionCollectionWithReferencesRequest top(final int value) {
+ addTopOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the count value for the request
+ *
+ * @param value whether or not to return the count of objects with the request
+ * @return the updated request
+ */
+ @Nonnull
+ public ColumnDefinitionCollectionWithReferencesRequest count(final boolean value) {
+ addCountOption(value);
+ return this;
+ }
+ /**
+ * Sets the count value to true for the request
+ *
+ * @return the updated request
+ */
+ @Nonnull
+ public ColumnDefinitionCollectionWithReferencesRequest count() {
+ addCountOption(true);
+ return this;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/ColumnDefinitionCollectionWithReferencesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/ColumnDefinitionCollectionWithReferencesRequestBuilder.java
new file mode 100644
index 00000000000..112053658f4
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/ColumnDefinitionCollectionWithReferencesRequestBuilder.java
@@ -0,0 +1,37 @@
+// Template Source: BaseEntityCollectionWithReferencesRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.models.DocumentSet;
+import com.microsoft.graph.models.ColumnDefinition;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.http.BaseCollectionWithReferencesRequestBuilder;
+import com.microsoft.graph.core.IBaseClient;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Column Definition Collection With References Request Builder.
+ */
+public class ColumnDefinitionCollectionWithReferencesRequestBuilder extends BaseCollectionWithReferencesRequestBuilder {
+
+ /**
+ * The request builder for this collection of DocumentSet
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public ColumnDefinitionCollectionWithReferencesRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, ColumnDefinitionReferenceRequestBuilder.class, ColumnDefinitionCollectionReferenceRequest.class, ColumnDefinitionCollectionReferenceRequestBuilder.class);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/ColumnDefinitionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/ColumnDefinitionReferenceRequest.java
new file mode 100644
index 00000000000..d547ca4d035
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/ColumnDefinitionReferenceRequest.java
@@ -0,0 +1,91 @@
+// Template Source: BaseEntityReferenceRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.models.ColumnDefinition;
+import com.microsoft.graph.requests.ColumnDefinitionWithReferenceRequestBuilder;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.options.QueryOption;
+import com.microsoft.graph.http.BaseReferenceRequest;
+import com.microsoft.graph.http.HttpMethod;
+import com.microsoft.graph.core.IBaseClient;
+import com.google.gson.JsonPrimitive;
+import com.google.gson.JsonObject;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Column Definition Reference Request.
+ */
+public class ColumnDefinitionReferenceRequest extends BaseReferenceRequest {
+
+ /**
+ * The request for the ColumnDefinition
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public ColumnDefinitionReferenceRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, ColumnDefinition.class);
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public ColumnDefinitionReferenceRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public ColumnDefinitionReferenceRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+ /**
+ * Puts the ColumnDefinition
+ *
+ * @param srcColumnDefinition the ColumnDefinition reference to PUT
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture putAsync(@Nonnull final ColumnDefinition srcColumnDefinition) {
+ final JsonObject payload = new JsonObject();
+ payload.add("@odata.id", new JsonPrimitive(this.getClient().getServiceRoot() + "/sharedColumns/" + srcColumnDefinition.id));
+ return sendAsync(HttpMethod.PUT, payload);
+ }
+
+ /**
+ * Puts the ColumnDefinition
+ *
+ * @param srcColumnDefinition the ColumnDefinition reference to PUT
+ * @return the ColumnDefinition
+ * @throws ClientException an exception occurs if there was an error while the request was sent
+ */
+ @Nullable
+ public ColumnDefinition put(@Nonnull final ColumnDefinition srcColumnDefinition) throws ClientException {
+ final JsonObject payload = new JsonObject();
+ payload.add("@odata.id", new JsonPrimitive(this.getClient().getServiceRoot() + "/sharedColumns/" + srcColumnDefinition.id));
+ return send(HttpMethod.PUT, payload);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/ColumnDefinitionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/ColumnDefinitionReferenceRequestBuilder.java
new file mode 100644
index 00000000000..778cf8df10f
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/ColumnDefinitionReferenceRequestBuilder.java
@@ -0,0 +1,38 @@
+
+// Template Source: BaseEntityReferenceRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.models.ColumnDefinition;
+import com.microsoft.graph.requests.ColumnDefinitionWithReferenceRequestBuilder;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.http.BaseReferenceRequestBuilder;
+import com.microsoft.graph.core.IBaseClient;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Column Definition Reference Request Builder.
+ */
+public class ColumnDefinitionReferenceRequestBuilder extends BaseReferenceRequestBuilder {
+
+ /**
+ * The request builder for the ColumnDefinition
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public ColumnDefinitionReferenceRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, ColumnDefinitionReferenceRequest.class);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/ColumnDefinitionRequest.java b/src/main/java/com/microsoft/graph/requests/ColumnDefinitionRequest.java
index d918c7d766d..7badd589dfa 100644
--- a/src/main/java/com/microsoft/graph/requests/ColumnDefinitionRequest.java
+++ b/src/main/java/com/microsoft/graph/requests/ColumnDefinitionRequest.java
@@ -8,6 +8,7 @@
import com.microsoft.graph.http.IRequestBuilder;
import com.microsoft.graph.core.ClientException;
import com.microsoft.graph.models.ColumnDefinition;
+import com.microsoft.graph.requests.ColumnDefinitionWithReferenceRequestBuilder;
import java.util.Arrays;
import java.util.EnumSet;
import javax.annotation.Nullable;
diff --git a/src/main/java/com/microsoft/graph/requests/ColumnDefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/ColumnDefinitionRequestBuilder.java
index 26d663fdd43..c333e61cfb3 100644
--- a/src/main/java/com/microsoft/graph/requests/ColumnDefinitionRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/requests/ColumnDefinitionRequestBuilder.java
@@ -8,6 +8,7 @@
import com.microsoft.graph.http.IRequestBuilder;
import com.microsoft.graph.core.ClientException;
import com.microsoft.graph.models.ColumnDefinition;
+import com.microsoft.graph.requests.ColumnDefinitionWithReferenceRequestBuilder;
import java.util.Arrays;
import java.util.EnumSet;
import javax.annotation.Nullable;
@@ -56,4 +57,14 @@ public ColumnDefinitionRequest buildRequest(@Nonnull final java.util.List exte
}
+
+ /**
+ * Gets the request builder for ColumnDefinition
+ *
+ * @return the ColumnDefinitionWithReferenceRequestBuilder instance
+ */
+ @Nonnull
+ public ColumnDefinitionWithReferenceRequestBuilder sourceColumn() {
+ return new ColumnDefinitionWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("sourceColumn"), getClient(), null);
+ }
}
diff --git a/src/main/java/com/microsoft/graph/requests/ColumnDefinitionWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/ColumnDefinitionWithReferenceRequest.java
new file mode 100644
index 00000000000..e9964218184
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/ColumnDefinitionWithReferenceRequest.java
@@ -0,0 +1,64 @@
+// Template Source: BaseEntityWithReferenceRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.models.ColumnDefinition;
+import com.microsoft.graph.requests.ColumnDefinitionWithReferenceRequestBuilder;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.options.QueryOption;
+import com.microsoft.graph.http.BaseWithReferenceRequest;
+import com.microsoft.graph.http.HttpMethod;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Column Definition With Reference Request.
+ */
+public class ColumnDefinitionWithReferenceRequest extends BaseWithReferenceRequest {
+
+ /**
+ * The request for the ColumnDefinition
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public ColumnDefinitionWithReferenceRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, ColumnDefinition.class);
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public ColumnDefinitionWithReferenceRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public ColumnDefinitionWithReferenceRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/ColumnDefinitionWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/ColumnDefinitionWithReferenceRequestBuilder.java
new file mode 100644
index 00000000000..ba8f7bfdc1d
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/ColumnDefinitionWithReferenceRequestBuilder.java
@@ -0,0 +1,37 @@
+// Template Source: BaseEntityWithReferenceRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.models.ColumnDefinition;
+import com.microsoft.graph.requests.ColumnDefinitionWithReferenceRequestBuilder;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.http.BaseWithReferenceRequestBuilder;
+import com.microsoft.graph.core.IBaseClient;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Column Definition With Reference Request Builder.
+ */
+public class ColumnDefinitionWithReferenceRequestBuilder extends BaseWithReferenceRequestBuilder {
+
+ /**
+ * The request builder for the ColumnDefinition
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public ColumnDefinitionWithReferenceRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, ColumnDefinitionWithReferenceRequest.class, ColumnDefinitionReferenceRequestBuilder.class);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/ContentTypeAddCopyRequest.java b/src/main/java/com/microsoft/graph/requests/ContentTypeAddCopyRequest.java
new file mode 100644
index 00000000000..b3be3cff416
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/ContentTypeAddCopyRequest.java
@@ -0,0 +1,81 @@
+// Template Source: BaseMethodRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+import com.microsoft.graph.models.ContentType;
+import com.microsoft.graph.requests.ContentTypeAddCopyRequest;
+
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.http.BaseRequest;
+import com.microsoft.graph.http.HttpMethod;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.models.ContentTypeAddCopyParameterSet;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Content Type Add Copy Request.
+ */
+public class ContentTypeAddCopyRequest extends BaseRequest {
+ /**
+ * The request for this ContentTypeAddCopy
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public ContentTypeAddCopyRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, ContentType.class);
+ }
+
+ /** The body for the method */
+ @Nullable
+ public ContentTypeAddCopyParameterSet body;
+ /**
+ * Invokes the method and returns a future with the result
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture postAsync() {
+ return sendAsync(HttpMethod.POST, body);
+ }
+
+ /**
+ * Invokes the method and returns the result
+ * @return result of the method invocation
+ * @throws ClientException an exception occurs if there was an error while the request was sent
+ */
+ @Nullable
+ public ContentType post() throws ClientException {
+ return send(HttpMethod.POST, body);
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public ContentTypeAddCopyRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public ContentTypeAddCopyRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+}
diff --git a/src/main/java/com/microsoft/graph/requests/ContentTypeAddCopyRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/ContentTypeAddCopyRequestBuilder.java
new file mode 100644
index 00000000000..249b10652f7
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/ContentTypeAddCopyRequestBuilder.java
@@ -0,0 +1,73 @@
+// Template Source: BaseMethodRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+import com.microsoft.graph.requests.ContentTypeAddCopyRequest;
+import com.microsoft.graph.models.ContentType;
+import com.microsoft.graph.http.BaseActionRequestBuilder;
+import com.microsoft.graph.models.ContentTypeAddCopyParameterSet;
+import com.microsoft.graph.core.IBaseClient;
+import com.google.gson.JsonElement;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Content Type Add Copy Request Builder.
+ */
+public class ContentTypeAddCopyRequestBuilder extends BaseActionRequestBuilder {
+
+ /**
+ * The request builder for this ContentTypeAddCopy
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public ContentTypeAddCopyRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions);
+ }
+ private ContentTypeAddCopyParameterSet body;
+ /**
+ * The request builder for this ContentTypeAddCopy
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ * @param parameters the parameters for the service method
+ */
+ public ContentTypeAddCopyRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions, @Nonnull final ContentTypeAddCopyParameterSet parameters) {
+ super(requestUrl, client, requestOptions);
+ this.body = parameters;
+ }
+
+ /**
+ * Creates the ContentTypeAddCopyRequest
+ *
+ * @param requestOptions the options for the request
+ * @return the ContentTypeAddCopyRequest instance
+ */
+ @Nonnull
+ public ContentTypeAddCopyRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) {
+ return buildRequest(getOptions(requestOptions));
+ }
+
+ /**
+ * Creates the ContentTypeAddCopyRequest with specific requestOptions instead of the existing requestOptions
+ *
+ * @param requestOptions the options for the request
+ * @return the ContentTypeAddCopyRequest instance
+ */
+ @Nonnull
+ public ContentTypeAddCopyRequest buildRequest(@Nonnull final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ final ContentTypeAddCopyRequest request = new ContentTypeAddCopyRequest(
+ getRequestUrl(),
+ getClient(),
+ requestOptions);
+ request.body = this.body;
+ return request;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/ContentTypeAssociateWithHubSitesRequest.java b/src/main/java/com/microsoft/graph/requests/ContentTypeAssociateWithHubSitesRequest.java
new file mode 100644
index 00000000000..df864580995
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/ContentTypeAssociateWithHubSitesRequest.java
@@ -0,0 +1,56 @@
+// Template Source: BaseMethodRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+import com.microsoft.graph.models.ContentType;
+import com.microsoft.graph.requests.ContentTypeAssociateWithHubSitesRequest;
+
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.http.BaseRequest;
+import com.microsoft.graph.http.HttpMethod;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.models.ContentTypeAssociateWithHubSitesParameterSet;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Content Type Associate With Hub Sites Request.
+ */
+public class ContentTypeAssociateWithHubSitesRequest extends BaseRequest {
+ /**
+ * The request for this ContentTypeAssociateWithHubSites
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public ContentTypeAssociateWithHubSitesRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, Void.class);
+ }
+
+ /** The body for the method */
+ @Nullable
+ public ContentTypeAssociateWithHubSitesParameterSet body;
+ /**
+ * Creates the ContentTypeAssociateWithHubSites
+ *
+ * @return a future for the operation
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture postAsync() {
+ return this.sendAsync(HttpMethod.POST, body);
+ }
+
+ /**
+ * Creates the ContentTypeAssociateWithHubSites
+ *
+ * @throws ClientException an exception occurs if there was an error while the request was sent
+ */
+ public void post() throws ClientException {
+ this.send(HttpMethod.POST, body);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/ContentTypeAssociateWithHubSitesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/ContentTypeAssociateWithHubSitesRequestBuilder.java
new file mode 100644
index 00000000000..504aa2616d9
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/ContentTypeAssociateWithHubSitesRequestBuilder.java
@@ -0,0 +1,74 @@
+// Template Source: BaseMethodRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+import com.microsoft.graph.requests.ContentTypeAssociateWithHubSitesRequest;
+import com.microsoft.graph.models.ContentType;
+
+import com.microsoft.graph.http.BaseActionRequestBuilder;
+import com.microsoft.graph.models.ContentTypeAssociateWithHubSitesParameterSet;
+import com.microsoft.graph.core.IBaseClient;
+import com.google.gson.JsonElement;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Content Type Associate With Hub Sites Request Builder.
+ */
+public class ContentTypeAssociateWithHubSitesRequestBuilder extends BaseActionRequestBuilder {
+
+ /**
+ * The request builder for this ContentTypeAssociateWithHubSites
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public ContentTypeAssociateWithHubSitesRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions);
+ }
+ private ContentTypeAssociateWithHubSitesParameterSet body;
+ /**
+ * The request builder for this ContentTypeAssociateWithHubSites
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ * @param parameters the parameters for the service method
+ */
+ public ContentTypeAssociateWithHubSitesRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions, @Nonnull final ContentTypeAssociateWithHubSitesParameterSet parameters) {
+ super(requestUrl, client, requestOptions);
+ this.body = parameters;
+ }
+
+ /**
+ * Creates the ContentTypeAssociateWithHubSitesRequest
+ *
+ * @param requestOptions the options for the request
+ * @return the ContentTypeAssociateWithHubSitesRequest instance
+ */
+ @Nonnull
+ public ContentTypeAssociateWithHubSitesRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) {
+ return buildRequest(getOptions(requestOptions));
+ }
+
+ /**
+ * Creates the ContentTypeAssociateWithHubSitesRequest with specific requestOptions instead of the existing requestOptions
+ *
+ * @param requestOptions the options for the request
+ * @return the ContentTypeAssociateWithHubSitesRequest instance
+ */
+ @Nonnull
+ public ContentTypeAssociateWithHubSitesRequest buildRequest(@Nonnull final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ final ContentTypeAssociateWithHubSitesRequest request = new ContentTypeAssociateWithHubSitesRequest(
+ getRequestUrl(),
+ getClient(),
+ requestOptions);
+ request.body = this.body;
+ return request;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/ContentTypeCollectionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/ContentTypeCollectionReferenceRequest.java
new file mode 100644
index 00000000000..e9c2ec4b213
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/ContentTypeCollectionReferenceRequest.java
@@ -0,0 +1,127 @@
+// Template Source: BaseEntityCollectionReferenceRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.models.ContentType;
+import com.microsoft.graph.models.ItemReference;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.requests.ContentTypeWithReferenceRequest;
+import com.microsoft.graph.requests.ContentTypeReferenceRequestBuilder;
+import com.microsoft.graph.requests.ContentTypeWithReferenceRequestBuilder;
+import com.microsoft.graph.requests.ContentTypeCollectionWithReferencesRequest;
+import com.microsoft.graph.requests.ContentTypeCollectionWithReferencesRequestBuilder;
+import com.microsoft.graph.models.ContentType;
+import com.microsoft.graph.options.QueryOption;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseCollectionWithReferencesRequest;
+import com.microsoft.graph.http.BaseCollectionWithReferencesRequestBuilder;
+import com.microsoft.graph.http.ReferenceRequestBody;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Content Type Collection Reference Request.
+ */
+public class ContentTypeCollectionReferenceRequest extends BaseCollectionWithReferencesRequest {
+
+ /**
+ * The request builder for this collection of ContentType
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public ContentTypeCollectionReferenceRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, ContentTypeCollectionResponse.class, ContentTypeCollectionWithReferencesPage.class, ContentTypeCollectionWithReferencesRequestBuilder.class);
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public ContentTypeCollectionReferenceRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the filter clause for the request
+ *
+ * @param value the filter clause
+ * @return the updated request
+ */
+ @Nonnull
+ public ContentTypeCollectionReferenceRequest filter(@Nonnull final String value) {
+ addFilterOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the order by clause for the request
+ *
+ * @param value the sort clause
+ * @return the updated request
+ */
+ @Nonnull
+ public ContentTypeCollectionReferenceRequest orderBy(@Nonnull final String value) {
+ addOrderByOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public ContentTypeCollectionReferenceRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the top value for the request
+ *
+ * @param value the max number of items to return
+ * @return the updated request
+ */
+ @Nonnull
+ public ContentTypeCollectionReferenceRequest top(final int value) {
+ addTopOption(value);
+ return this;
+ }
+ /**
+ * Sets the count value for the request
+ *
+ * @param value whether or not to return the count of objects with the request
+ * @return the updated request
+ */
+ @Nonnull
+ public ContentTypeCollectionReferenceRequest count(final boolean value) {
+ addCountOption(value);
+ return this;
+ }
+ /**
+ * Sets the count value to true for the request
+ *
+ * @return the updated request
+ */
+ @Nonnull
+ public ContentTypeCollectionReferenceRequest count() {
+ addCountOption(true);
+ return this;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/ContentTypeCollectionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/ContentTypeCollectionReferenceRequestBuilder.java
new file mode 100644
index 00000000000..9e4019ffcef
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/ContentTypeCollectionReferenceRequestBuilder.java
@@ -0,0 +1,37 @@
+// Template Source: BaseEntityCollectionReferenceRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.models.ContentType;
+import com.microsoft.graph.models.ItemReference;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.http.BaseCollectionReferenceRequestBuilder;
+import com.microsoft.graph.core.IBaseClient;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Content Type Collection Reference Request Builder.
+ */
+public class ContentTypeCollectionReferenceRequestBuilder extends BaseCollectionReferenceRequestBuilder {
+
+ /**
+ * The request builder for this collection of ContentType
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public ContentTypeCollectionReferenceRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, ContentTypeReferenceRequestBuilder.class, ContentTypeCollectionReferenceRequest.class);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/ContentTypeCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/ContentTypeCollectionRequest.java
index 144c354b597..448ca55e8fa 100644
--- a/src/main/java/com/microsoft/graph/requests/ContentTypeCollectionRequest.java
+++ b/src/main/java/com/microsoft/graph/requests/ContentTypeCollectionRequest.java
@@ -9,6 +9,7 @@
import com.microsoft.graph.core.ClientException;
import com.microsoft.graph.models.List;
import com.microsoft.graph.models.ContentType;
+import com.microsoft.graph.models.ItemReference;
import java.util.Arrays;
import java.util.EnumSet;
import javax.annotation.Nullable;
diff --git a/src/main/java/com/microsoft/graph/requests/ContentTypeCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/ContentTypeCollectionRequestBuilder.java
index 3f15d45605b..2a33c2ed804 100644
--- a/src/main/java/com/microsoft/graph/requests/ContentTypeCollectionRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/requests/ContentTypeCollectionRequestBuilder.java
@@ -9,6 +9,7 @@
import com.microsoft.graph.core.ClientException;
import com.microsoft.graph.models.List;
import com.microsoft.graph.models.ContentType;
+import com.microsoft.graph.models.ItemReference;
import java.util.Arrays;
import java.util.EnumSet;
import javax.annotation.Nullable;
@@ -17,9 +18,13 @@
import com.microsoft.graph.requests.ContentTypeCollectionRequestBuilder;
import com.microsoft.graph.requests.ContentTypeRequestBuilder;
import com.microsoft.graph.requests.ContentTypeCollectionRequest;
+import com.microsoft.graph.requests.ContentTypeAddCopyRequestBuilder;
import com.microsoft.graph.http.BaseCollectionRequestBuilder;
import com.microsoft.graph.core.IBaseClient;
import com.microsoft.graph.http.PrimitiveRequestBuilder;
+import com.microsoft.graph.models.ContentTypeAddCopyParameterSet;
+import com.microsoft.graph.models.ContentTypeAssociateWithHubSitesParameterSet;
+import com.microsoft.graph.models.ContentTypeCopyToDefaultContentLocationParameterSet;
// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
@@ -40,6 +45,16 @@ public ContentTypeCollectionRequestBuilder(@Nonnull final String requestUrl, @No
+ /**
+ * Gets a builder to execute the method
+ * @return the request builder
+ * @param parameters the parameters for the service method
+ */
+ @Nonnull
+ public ContentTypeAddCopyRequestBuilder addCopy(@Nonnull final ContentTypeAddCopyParameterSet parameters) {
+ return new ContentTypeAddCopyRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.addCopy"), getClient(), null, parameters);
+ }
+
/**
* Gets the raw count request for the collection
* @return The raw count request for the collection
diff --git a/src/main/java/com/microsoft/graph/requests/ContentTypeCollectionWithReferencesPage.java b/src/main/java/com/microsoft/graph/requests/ContentTypeCollectionWithReferencesPage.java
new file mode 100644
index 00000000000..3a0773074c4
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/ContentTypeCollectionWithReferencesPage.java
@@ -0,0 +1,52 @@
+// Template Source: BaseEntityCollectionWithReferencesPage.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.models.ContentType;
+import com.microsoft.graph.models.ItemReference;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.requests.ContentTypeCollectionWithReferencesRequestBuilder;
+import com.microsoft.graph.requests.ContentTypeCollectionWithReferencesPage;
+import com.microsoft.graph.requests.ContentTypeCollectionResponse;
+import com.microsoft.graph.models.ContentType;
+import com.google.gson.JsonObject;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.annotations.Expose;
+import com.microsoft.graph.http.BaseCollectionPage;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Content Type Collection With References Page.
+ */
+public class ContentTypeCollectionWithReferencesPage extends BaseCollectionPage {
+
+ /**
+ * A collection page for ContentType
+ *
+ * @param response the serialized ContentTypeCollectionResponse from the service
+ * @param builder the request builder for the next collection page
+ */
+ public ContentTypeCollectionWithReferencesPage(@Nonnull final ContentTypeCollectionResponse response, @Nullable final ContentTypeCollectionWithReferencesRequestBuilder builder) {
+ super(response.value, builder, response.additionalDataManager());
+ }
+
+ /**
+ * Creates the collection page for ContentType
+ *
+ * @param pageContents the contents of this page
+ * @param nextRequestBuilder the request builder for the next page
+ */
+ public ContentTypeCollectionWithReferencesPage(@Nonnull final java.util.List pageContents, @Nullable final ContentTypeCollectionWithReferencesRequestBuilder nextRequestBuilder) {
+ super(pageContents, nextRequestBuilder);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/ContentTypeCollectionWithReferencesRequest.java b/src/main/java/com/microsoft/graph/requests/ContentTypeCollectionWithReferencesRequest.java
new file mode 100644
index 00000000000..d90e1fea1d4
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/ContentTypeCollectionWithReferencesRequest.java
@@ -0,0 +1,128 @@
+// Template Source: BaseEntityCollectionWithReferencesRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.models.ContentType;
+import com.microsoft.graph.models.ItemReference;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.models.ContentType;
+import com.microsoft.graph.requests.ContentTypeWithReferenceRequest;
+import com.microsoft.graph.requests.ContentTypeReferenceRequestBuilder;
+import com.microsoft.graph.requests.ContentTypeWithReferenceRequestBuilder;
+import com.microsoft.graph.requests.ContentTypeCollectionWithReferencesRequest;
+import com.microsoft.graph.requests.ContentTypeCollectionWithReferencesRequest;
+import com.microsoft.graph.requests.ContentTypeCollectionWithReferencesRequestBuilder;
+import com.microsoft.graph.options.QueryOption;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseCollectionWithReferencesRequest;
+import com.microsoft.graph.http.BaseCollectionWithReferencesRequestBuilder;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Content Type Collection With References Request.
+ */
+public class ContentTypeCollectionWithReferencesRequest extends BaseCollectionWithReferencesRequest {
+
+ /**
+ * The request builder for this collection of ContentType
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public ContentTypeCollectionWithReferencesRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, ContentTypeCollectionResponse.class, ContentTypeCollectionWithReferencesPage.class, ContentTypeCollectionWithReferencesRequestBuilder.class);
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public ContentTypeCollectionWithReferencesRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the filter clause for the request
+ *
+ * @param value the filter clause
+ * @return the updated request
+ */
+ @Nonnull
+ public ContentTypeCollectionWithReferencesRequest filter(@Nonnull final String value) {
+ addFilterOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the order by clause for the request
+ *
+ * @param value the order by clause
+ * @return the updated request
+ */
+ @Nonnull
+ public ContentTypeCollectionWithReferencesRequest orderBy(@Nonnull final String value) {
+ addOrderByOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public ContentTypeCollectionWithReferencesRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the top value for the request
+ *
+ * @param value the max number of items to return
+ * @return the updated request
+ */
+ @Nonnull
+ public ContentTypeCollectionWithReferencesRequest top(final int value) {
+ addTopOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the count value for the request
+ *
+ * @param value whether or not to return the count of objects with the request
+ * @return the updated request
+ */
+ @Nonnull
+ public ContentTypeCollectionWithReferencesRequest count(final boolean value) {
+ addCountOption(value);
+ return this;
+ }
+ /**
+ * Sets the count value to true for the request
+ *
+ * @return the updated request
+ */
+ @Nonnull
+ public ContentTypeCollectionWithReferencesRequest count() {
+ addCountOption(true);
+ return this;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/ContentTypeCollectionWithReferencesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/ContentTypeCollectionWithReferencesRequestBuilder.java
new file mode 100644
index 00000000000..c4c9fcdd95e
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/ContentTypeCollectionWithReferencesRequestBuilder.java
@@ -0,0 +1,37 @@
+// Template Source: BaseEntityCollectionWithReferencesRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.models.ContentType;
+import com.microsoft.graph.models.ItemReference;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.http.BaseCollectionWithReferencesRequestBuilder;
+import com.microsoft.graph.core.IBaseClient;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Content Type Collection With References Request Builder.
+ */
+public class ContentTypeCollectionWithReferencesRequestBuilder extends BaseCollectionWithReferencesRequestBuilder {
+
+ /**
+ * The request builder for this collection of ContentType
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public ContentTypeCollectionWithReferencesRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, ContentTypeReferenceRequestBuilder.class, ContentTypeCollectionReferenceRequest.class, ContentTypeCollectionReferenceRequestBuilder.class);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/ContentTypeCopyToDefaultContentLocationRequest.java b/src/main/java/com/microsoft/graph/requests/ContentTypeCopyToDefaultContentLocationRequest.java
new file mode 100644
index 00000000000..ed360ac8ddc
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/ContentTypeCopyToDefaultContentLocationRequest.java
@@ -0,0 +1,56 @@
+// Template Source: BaseMethodRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+import com.microsoft.graph.models.ContentType;
+import com.microsoft.graph.requests.ContentTypeCopyToDefaultContentLocationRequest;
+
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.http.BaseRequest;
+import com.microsoft.graph.http.HttpMethod;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.models.ContentTypeCopyToDefaultContentLocationParameterSet;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Content Type Copy To Default Content Location Request.
+ */
+public class ContentTypeCopyToDefaultContentLocationRequest extends BaseRequest {
+ /**
+ * The request for this ContentTypeCopyToDefaultContentLocation
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public ContentTypeCopyToDefaultContentLocationRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, Void.class);
+ }
+
+ /** The body for the method */
+ @Nullable
+ public ContentTypeCopyToDefaultContentLocationParameterSet body;
+ /**
+ * Creates the ContentTypeCopyToDefaultContentLocation
+ *
+ * @return a future for the operation
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture postAsync() {
+ return this.sendAsync(HttpMethod.POST, body);
+ }
+
+ /**
+ * Creates the ContentTypeCopyToDefaultContentLocation
+ *
+ * @throws ClientException an exception occurs if there was an error while the request was sent
+ */
+ public void post() throws ClientException {
+ this.send(HttpMethod.POST, body);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/ContentTypeCopyToDefaultContentLocationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/ContentTypeCopyToDefaultContentLocationRequestBuilder.java
new file mode 100644
index 00000000000..1c274c7899e
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/ContentTypeCopyToDefaultContentLocationRequestBuilder.java
@@ -0,0 +1,74 @@
+// Template Source: BaseMethodRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+import com.microsoft.graph.requests.ContentTypeCopyToDefaultContentLocationRequest;
+import com.microsoft.graph.models.ContentType;
+import com.microsoft.graph.models.ItemReference;
+import com.microsoft.graph.http.BaseActionRequestBuilder;
+import com.microsoft.graph.models.ContentTypeCopyToDefaultContentLocationParameterSet;
+import com.microsoft.graph.core.IBaseClient;
+import com.google.gson.JsonElement;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Content Type Copy To Default Content Location Request Builder.
+ */
+public class ContentTypeCopyToDefaultContentLocationRequestBuilder extends BaseActionRequestBuilder {
+
+ /**
+ * The request builder for this ContentTypeCopyToDefaultContentLocation
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public ContentTypeCopyToDefaultContentLocationRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions);
+ }
+ private ContentTypeCopyToDefaultContentLocationParameterSet body;
+ /**
+ * The request builder for this ContentTypeCopyToDefaultContentLocation
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ * @param parameters the parameters for the service method
+ */
+ public ContentTypeCopyToDefaultContentLocationRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions, @Nonnull final ContentTypeCopyToDefaultContentLocationParameterSet parameters) {
+ super(requestUrl, client, requestOptions);
+ this.body = parameters;
+ }
+
+ /**
+ * Creates the ContentTypeCopyToDefaultContentLocationRequest
+ *
+ * @param requestOptions the options for the request
+ * @return the ContentTypeCopyToDefaultContentLocationRequest instance
+ */
+ @Nonnull
+ public ContentTypeCopyToDefaultContentLocationRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) {
+ return buildRequest(getOptions(requestOptions));
+ }
+
+ /**
+ * Creates the ContentTypeCopyToDefaultContentLocationRequest with specific requestOptions instead of the existing requestOptions
+ *
+ * @param requestOptions the options for the request
+ * @return the ContentTypeCopyToDefaultContentLocationRequest instance
+ */
+ @Nonnull
+ public ContentTypeCopyToDefaultContentLocationRequest buildRequest(@Nonnull final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ final ContentTypeCopyToDefaultContentLocationRequest request = new ContentTypeCopyToDefaultContentLocationRequest(
+ getRequestUrl(),
+ getClient(),
+ requestOptions);
+ request.body = this.body;
+ return request;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/ContentTypeIsPublishedRequest.java b/src/main/java/com/microsoft/graph/requests/ContentTypeIsPublishedRequest.java
new file mode 100644
index 00000000000..e06f87c5027
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/ContentTypeIsPublishedRequest.java
@@ -0,0 +1,79 @@
+// Template Source: BaseMethodRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+import com.microsoft.graph.models.ContentType;
+import com.microsoft.graph.requests.ContentTypeIsPublishedRequest;
+
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.http.BaseRequest;
+import com.microsoft.graph.http.HttpMethod;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.core.IBaseClient;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Content Type Is Published Request.
+ */
+public class ContentTypeIsPublishedRequest extends BaseRequest {
+ /**
+ * The request for this ContentTypeIsPublished
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public ContentTypeIsPublishedRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, Boolean.class);
+ }
+
+ /**
+ * Gets the Boolean
+ *
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture getAsync() {
+ return sendAsync(HttpMethod.GET, null);
+ }
+
+ /**
+ * Gets the Boolean
+ *
+ * @return the Boolean
+ * @throws ClientException an exception occurs if there was an error while the request was sent
+ */
+ @Nullable
+ public Boolean get() throws ClientException {
+ return send(HttpMethod.GET, null);
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public ContentTypeIsPublishedRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public ContentTypeIsPublishedRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+}
diff --git a/src/main/java/com/microsoft/graph/requests/ContentTypeIsPublishedRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/ContentTypeIsPublishedRequestBuilder.java
new file mode 100644
index 00000000000..1e7220d0398
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/ContentTypeIsPublishedRequestBuilder.java
@@ -0,0 +1,59 @@
+// Template Source: BaseMethodRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+import com.microsoft.graph.requests.ContentTypeIsPublishedRequest;
+import com.microsoft.graph.models.ContentType;
+
+import com.microsoft.graph.http.BaseFunctionRequestBuilder;
+import com.microsoft.graph.core.IBaseClient;
+import com.google.gson.JsonElement;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Content Type Is Published Request Builder.
+ */
+public class ContentTypeIsPublishedRequestBuilder extends BaseFunctionRequestBuilder {
+
+ /**
+ * The request builder for this ContentTypeIsPublished
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public ContentTypeIsPublishedRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions);
+ }
+
+ /**
+ * Creates the ContentTypeIsPublishedRequest
+ *
+ * @param requestOptions the options for the request
+ * @return the ContentTypeIsPublishedRequest instance
+ */
+ @Nonnull
+ public ContentTypeIsPublishedRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) {
+ return buildRequest(getOptions(requestOptions));
+ }
+
+ /**
+ * Creates the ContentTypeIsPublishedRequest with specific requestOptions instead of the existing requestOptions
+ *
+ * @param requestOptions the options for the request
+ * @return the ContentTypeIsPublishedRequest instance
+ */
+ @Nonnull
+ public ContentTypeIsPublishedRequest buildRequest(@Nonnull final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ final ContentTypeIsPublishedRequest request = new ContentTypeIsPublishedRequest(
+ getRequestUrl(),
+ getClient(),
+ requestOptions);
+ return request;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/ContentTypePublishRequest.java b/src/main/java/com/microsoft/graph/requests/ContentTypePublishRequest.java
new file mode 100644
index 00000000000..0bdcbcaa67e
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/ContentTypePublishRequest.java
@@ -0,0 +1,52 @@
+// Template Source: BaseMethodRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+import com.microsoft.graph.models.ContentType;
+import com.microsoft.graph.requests.ContentTypePublishRequest;
+
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.http.BaseRequest;
+import com.microsoft.graph.http.HttpMethod;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.core.IBaseClient;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Content Type Publish Request.
+ */
+public class ContentTypePublishRequest extends BaseRequest {
+ /**
+ * The request for this ContentTypePublish
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public ContentTypePublishRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, Void.class);
+ }
+
+ /**
+ * Creates the ContentTypePublish
+ *
+ * @return a future for the operation
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture postAsync() {
+ return this.sendAsync(HttpMethod.POST, null);
+ }
+
+ /**
+ * Creates the ContentTypePublish
+ *
+ * @throws ClientException an exception occurs if there was an error while the request was sent
+ */
+ public void post() throws ClientException {
+ this.send(HttpMethod.POST, null);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/ContentTypePublishRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/ContentTypePublishRequestBuilder.java
new file mode 100644
index 00000000000..6ba11917d91
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/ContentTypePublishRequestBuilder.java
@@ -0,0 +1,59 @@
+// Template Source: BaseMethodRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+import com.microsoft.graph.requests.ContentTypePublishRequest;
+import com.microsoft.graph.models.ContentType;
+
+import com.microsoft.graph.http.BaseActionRequestBuilder;
+import com.microsoft.graph.core.IBaseClient;
+import com.google.gson.JsonElement;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Content Type Publish Request Builder.
+ */
+public class ContentTypePublishRequestBuilder extends BaseActionRequestBuilder {
+
+ /**
+ * The request builder for this ContentTypePublish
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public ContentTypePublishRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions);
+ }
+
+ /**
+ * Creates the ContentTypePublishRequest
+ *
+ * @param requestOptions the options for the request
+ * @return the ContentTypePublishRequest instance
+ */
+ @Nonnull
+ public ContentTypePublishRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) {
+ return buildRequest(getOptions(requestOptions));
+ }
+
+ /**
+ * Creates the ContentTypePublishRequest with specific requestOptions instead of the existing requestOptions
+ *
+ * @param requestOptions the options for the request
+ * @return the ContentTypePublishRequest instance
+ */
+ @Nonnull
+ public ContentTypePublishRequest buildRequest(@Nonnull final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ final ContentTypePublishRequest request = new ContentTypePublishRequest(
+ getRequestUrl(),
+ getClient(),
+ requestOptions);
+ return request;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/ContentTypeReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/ContentTypeReferenceRequest.java
new file mode 100644
index 00000000000..541417da92b
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/ContentTypeReferenceRequest.java
@@ -0,0 +1,99 @@
+// Template Source: BaseEntityReferenceRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.models.ContentType;
+import com.microsoft.graph.models.ItemReference;
+import com.microsoft.graph.requests.ContentTypeWithReferenceRequestBuilder;
+import com.microsoft.graph.requests.ContentTypeCollectionWithReferencesRequestBuilder;
+import com.microsoft.graph.requests.ColumnLinkCollectionRequestBuilder;
+import com.microsoft.graph.requests.ColumnLinkRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionCollectionWithReferencesRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionWithReferenceRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionCollectionRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionRequestBuilder;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.options.QueryOption;
+import com.microsoft.graph.http.BaseReferenceRequest;
+import com.microsoft.graph.http.HttpMethod;
+import com.microsoft.graph.core.IBaseClient;
+import com.google.gson.JsonPrimitive;
+import com.google.gson.JsonObject;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Content Type Reference Request.
+ */
+public class ContentTypeReferenceRequest extends BaseReferenceRequest {
+
+ /**
+ * The request for the ContentType
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public ContentTypeReferenceRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, ContentType.class);
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public ContentTypeReferenceRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public ContentTypeReferenceRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+ /**
+ * Puts the ContentType
+ *
+ * @param srcContentType the ContentType reference to PUT
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture putAsync(@Nonnull final ContentType srcContentType) {
+ final JsonObject payload = new JsonObject();
+ payload.add("@odata.id", new JsonPrimitive(this.getClient().getServiceRoot() + "/directory/deletedItemsAsUser/{id}/followedSites/{id}/contentTypes/" + srcContentType.id));
+ return sendAsync(HttpMethod.PUT, payload);
+ }
+
+ /**
+ * Puts the ContentType
+ *
+ * @param srcContentType the ContentType reference to PUT
+ * @return the ContentType
+ * @throws ClientException an exception occurs if there was an error while the request was sent
+ */
+ @Nullable
+ public ContentType put(@Nonnull final ContentType srcContentType) throws ClientException {
+ final JsonObject payload = new JsonObject();
+ payload.add("@odata.id", new JsonPrimitive(this.getClient().getServiceRoot() + "/directory/deletedItemsAsUser/{id}/followedSites/{id}/contentTypes/" + srcContentType.id));
+ return send(HttpMethod.PUT, payload);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/ContentTypeReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/ContentTypeReferenceRequestBuilder.java
new file mode 100644
index 00000000000..996b46fe5e0
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/ContentTypeReferenceRequestBuilder.java
@@ -0,0 +1,46 @@
+
+// Template Source: BaseEntityReferenceRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.models.ContentType;
+import com.microsoft.graph.models.ItemReference;
+import com.microsoft.graph.requests.ContentTypeWithReferenceRequestBuilder;
+import com.microsoft.graph.requests.ContentTypeCollectionWithReferencesRequestBuilder;
+import com.microsoft.graph.requests.ColumnLinkCollectionRequestBuilder;
+import com.microsoft.graph.requests.ColumnLinkRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionCollectionWithReferencesRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionWithReferenceRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionCollectionRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionRequestBuilder;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.http.BaseReferenceRequestBuilder;
+import com.microsoft.graph.core.IBaseClient;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Content Type Reference Request Builder.
+ */
+public class ContentTypeReferenceRequestBuilder extends BaseReferenceRequestBuilder {
+
+ /**
+ * The request builder for the ContentType
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public ContentTypeReferenceRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, ContentTypeReferenceRequest.class);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/ContentTypeRequest.java b/src/main/java/com/microsoft/graph/requests/ContentTypeRequest.java
index 631eb46a4b3..e9897e79e43 100644
--- a/src/main/java/com/microsoft/graph/requests/ContentTypeRequest.java
+++ b/src/main/java/com/microsoft/graph/requests/ContentTypeRequest.java
@@ -8,8 +8,15 @@
import com.microsoft.graph.http.IRequestBuilder;
import com.microsoft.graph.core.ClientException;
import com.microsoft.graph.models.ContentType;
+import com.microsoft.graph.models.ItemReference;
+import com.microsoft.graph.requests.ContentTypeWithReferenceRequestBuilder;
+import com.microsoft.graph.requests.ContentTypeCollectionWithReferencesRequestBuilder;
import com.microsoft.graph.requests.ColumnLinkCollectionRequestBuilder;
import com.microsoft.graph.requests.ColumnLinkRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionCollectionWithReferencesRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionWithReferenceRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionCollectionRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionRequestBuilder;
import java.util.Arrays;
import java.util.EnumSet;
import javax.annotation.Nullable;
diff --git a/src/main/java/com/microsoft/graph/requests/ContentTypeRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/ContentTypeRequestBuilder.java
index 7aab21a9ad0..fce02abf31e 100644
--- a/src/main/java/com/microsoft/graph/requests/ContentTypeRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/requests/ContentTypeRequestBuilder.java
@@ -8,14 +8,23 @@
import com.microsoft.graph.http.IRequestBuilder;
import com.microsoft.graph.core.ClientException;
import com.microsoft.graph.models.ContentType;
+import com.microsoft.graph.models.ItemReference;
+import com.microsoft.graph.requests.ContentTypeWithReferenceRequestBuilder;
+import com.microsoft.graph.requests.ContentTypeCollectionWithReferencesRequestBuilder;
import com.microsoft.graph.requests.ColumnLinkCollectionRequestBuilder;
import com.microsoft.graph.requests.ColumnLinkRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionCollectionWithReferencesRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionWithReferenceRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionCollectionRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionRequestBuilder;
import java.util.Arrays;
import java.util.EnumSet;
import javax.annotation.Nullable;
import javax.annotation.Nonnull;
import com.microsoft.graph.core.IBaseClient;
import com.microsoft.graph.http.BaseRequestBuilder;
+import com.microsoft.graph.models.ContentTypeAssociateWithHubSitesParameterSet;
+import com.microsoft.graph.models.ContentTypeCopyToDefaultContentLocationParameterSet;
// **NOTE** This file was generated by a tool and any changes will be overwritten.
@@ -58,6 +67,36 @@ public ContentTypeRequest buildRequest(@Nonnull final java.util.List extends c
}
+
+ /**
+ * Gets the request builder for ContentType
+ *
+ * @return the ContentTypeWithReferenceRequestBuilder instance
+ */
+ @Nonnull
+ public ContentTypeWithReferenceRequestBuilder base() {
+ return new ContentTypeWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("base"), getClient(), null);
+ }
+ /**
+ * Gets a request builder for the ContentType collection
+ *
+ * @return the collection request builder
+ */
+ @Nonnull
+ public ContentTypeCollectionWithReferencesRequestBuilder baseTypes() {
+ return new ContentTypeCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("baseTypes"), getClient(), null);
+ }
+
+ /**
+ * Gets a request builder for the ContentType item
+ *
+ * @return the request builder
+ * @param id the item identifier
+ */
+ @Nonnull
+ public ContentTypeWithReferenceRequestBuilder baseTypes(@Nonnull final String id) {
+ return new ContentTypeWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("baseTypes") + "/" + id, getClient(), null);
+ }
/**
* Gets a request builder for the ColumnLink collection
*
@@ -78,4 +117,91 @@ public ColumnLinkCollectionRequestBuilder columnLinks() {
public ColumnLinkRequestBuilder columnLinks(@Nonnull final String id) {
return new ColumnLinkRequestBuilder(getRequestUrlWithAdditionalSegment("columnLinks") + "/" + id, getClient(), null);
}
+ /**
+ * Gets a request builder for the ColumnDefinition collection
+ *
+ * @return the collection request builder
+ */
+ @Nonnull
+ public ColumnDefinitionCollectionWithReferencesRequestBuilder columnPositions() {
+ return new ColumnDefinitionCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("columnPositions"), getClient(), null);
+ }
+
+ /**
+ * Gets a request builder for the ColumnDefinition item
+ *
+ * @return the request builder
+ * @param id the item identifier
+ */
+ @Nonnull
+ public ColumnDefinitionWithReferenceRequestBuilder columnPositions(@Nonnull final String id) {
+ return new ColumnDefinitionWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("columnPositions") + "/" + id, getClient(), null);
+ }
+ /**
+ * Gets a request builder for the ColumnDefinition collection
+ *
+ * @return the collection request builder
+ */
+ @Nonnull
+ public ColumnDefinitionCollectionRequestBuilder columns() {
+ return new ColumnDefinitionCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("columns"), getClient(), null);
+ }
+
+ /**
+ * Gets a request builder for the ColumnDefinition item
+ *
+ * @return the request builder
+ * @param id the item identifier
+ */
+ @Nonnull
+ public ColumnDefinitionRequestBuilder columns(@Nonnull final String id) {
+ return new ColumnDefinitionRequestBuilder(getRequestUrlWithAdditionalSegment("columns") + "/" + id, getClient(), null);
+ }
+
+ /**
+ * Gets a builder to execute the method
+ * @return the request builder
+ */
+ @Nonnull
+ public ContentTypePublishRequestBuilder publish() {
+ return new ContentTypePublishRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.publish"), getClient(), null);
+ }
+
+ /**
+ * Gets a builder to execute the method
+ * @return the request builder
+ * @param parameters the parameters for the service method
+ */
+ @Nonnull
+ public ContentTypeAssociateWithHubSitesRequestBuilder associateWithHubSites(@Nonnull final ContentTypeAssociateWithHubSitesParameterSet parameters) {
+ return new ContentTypeAssociateWithHubSitesRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.associateWithHubSites"), getClient(), null, parameters);
+ }
+
+ /**
+ * Gets a builder to execute the method
+ * @return the request builder
+ * @param parameters the parameters for the service method
+ */
+ @Nonnull
+ public ContentTypeCopyToDefaultContentLocationRequestBuilder copyToDefaultContentLocation(@Nonnull final ContentTypeCopyToDefaultContentLocationParameterSet parameters) {
+ return new ContentTypeCopyToDefaultContentLocationRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.copyToDefaultContentLocation"), getClient(), null, parameters);
+ }
+
+ /**
+ * Gets a builder to execute the method
+ * @return the request builder
+ */
+ @Nonnull
+ public ContentTypeUnpublishRequestBuilder unpublish() {
+ return new ContentTypeUnpublishRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.unpublish"), getClient(), null);
+ }
+
+ /**
+ * Gets a builder to execute the method
+ * @return the request builder
+ */
+ @Nonnull
+ public ContentTypeIsPublishedRequestBuilder isPublished() {
+ return new ContentTypeIsPublishedRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.isPublished"), getClient(), null);
+ }
}
diff --git a/src/main/java/com/microsoft/graph/requests/ContentTypeUnpublishRequest.java b/src/main/java/com/microsoft/graph/requests/ContentTypeUnpublishRequest.java
new file mode 100644
index 00000000000..eaed8f2daba
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/ContentTypeUnpublishRequest.java
@@ -0,0 +1,52 @@
+// Template Source: BaseMethodRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+import com.microsoft.graph.models.ContentType;
+import com.microsoft.graph.requests.ContentTypeUnpublishRequest;
+
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.http.BaseRequest;
+import com.microsoft.graph.http.HttpMethod;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.core.IBaseClient;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Content Type Unpublish Request.
+ */
+public class ContentTypeUnpublishRequest extends BaseRequest {
+ /**
+ * The request for this ContentTypeUnpublish
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public ContentTypeUnpublishRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, Void.class);
+ }
+
+ /**
+ * Creates the ContentTypeUnpublish
+ *
+ * @return a future for the operation
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture postAsync() {
+ return this.sendAsync(HttpMethod.POST, null);
+ }
+
+ /**
+ * Creates the ContentTypeUnpublish
+ *
+ * @throws ClientException an exception occurs if there was an error while the request was sent
+ */
+ public void post() throws ClientException {
+ this.send(HttpMethod.POST, null);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/ContentTypeUnpublishRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/ContentTypeUnpublishRequestBuilder.java
new file mode 100644
index 00000000000..a0c52c02315
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/ContentTypeUnpublishRequestBuilder.java
@@ -0,0 +1,59 @@
+// Template Source: BaseMethodRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+import com.microsoft.graph.requests.ContentTypeUnpublishRequest;
+import com.microsoft.graph.models.ContentType;
+
+import com.microsoft.graph.http.BaseActionRequestBuilder;
+import com.microsoft.graph.core.IBaseClient;
+import com.google.gson.JsonElement;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Content Type Unpublish Request Builder.
+ */
+public class ContentTypeUnpublishRequestBuilder extends BaseActionRequestBuilder {
+
+ /**
+ * The request builder for this ContentTypeUnpublish
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public ContentTypeUnpublishRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions);
+ }
+
+ /**
+ * Creates the ContentTypeUnpublishRequest
+ *
+ * @param requestOptions the options for the request
+ * @return the ContentTypeUnpublishRequest instance
+ */
+ @Nonnull
+ public ContentTypeUnpublishRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) {
+ return buildRequest(getOptions(requestOptions));
+ }
+
+ /**
+ * Creates the ContentTypeUnpublishRequest with specific requestOptions instead of the existing requestOptions
+ *
+ * @param requestOptions the options for the request
+ * @return the ContentTypeUnpublishRequest instance
+ */
+ @Nonnull
+ public ContentTypeUnpublishRequest buildRequest(@Nonnull final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ final ContentTypeUnpublishRequest request = new ContentTypeUnpublishRequest(
+ getRequestUrl(),
+ getClient(),
+ requestOptions);
+ return request;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/ContentTypeWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/ContentTypeWithReferenceRequest.java
new file mode 100644
index 00000000000..66849e9ea36
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/ContentTypeWithReferenceRequest.java
@@ -0,0 +1,72 @@
+// Template Source: BaseEntityWithReferenceRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.models.ContentType;
+import com.microsoft.graph.models.ItemReference;
+import com.microsoft.graph.requests.ContentTypeWithReferenceRequestBuilder;
+import com.microsoft.graph.requests.ContentTypeCollectionWithReferencesRequestBuilder;
+import com.microsoft.graph.requests.ColumnLinkCollectionRequestBuilder;
+import com.microsoft.graph.requests.ColumnLinkRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionCollectionWithReferencesRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionWithReferenceRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionCollectionRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionRequestBuilder;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.options.QueryOption;
+import com.microsoft.graph.http.BaseWithReferenceRequest;
+import com.microsoft.graph.http.HttpMethod;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.serializer.IJsonBackedObject;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Content Type With Reference Request.
+ */
+public class ContentTypeWithReferenceRequest extends BaseWithReferenceRequest {
+
+ /**
+ * The request for the ContentType
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public ContentTypeWithReferenceRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, ContentType.class);
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public ContentTypeWithReferenceRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public ContentTypeWithReferenceRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/ContentTypeWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/ContentTypeWithReferenceRequestBuilder.java
new file mode 100644
index 00000000000..56a59e337ba
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/ContentTypeWithReferenceRequestBuilder.java
@@ -0,0 +1,45 @@
+// Template Source: BaseEntityWithReferenceRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.models.ContentType;
+import com.microsoft.graph.models.ItemReference;
+import com.microsoft.graph.requests.ContentTypeWithReferenceRequestBuilder;
+import com.microsoft.graph.requests.ContentTypeCollectionWithReferencesRequestBuilder;
+import com.microsoft.graph.requests.ColumnLinkCollectionRequestBuilder;
+import com.microsoft.graph.requests.ColumnLinkRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionCollectionWithReferencesRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionWithReferenceRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionCollectionRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionRequestBuilder;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.http.BaseWithReferenceRequestBuilder;
+import com.microsoft.graph.core.IBaseClient;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Content Type With Reference Request Builder.
+ */
+public class ContentTypeWithReferenceRequestBuilder extends BaseWithReferenceRequestBuilder {
+
+ /**
+ * The request builder for the ContentType
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public ContentTypeWithReferenceRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, ContentTypeWithReferenceRequest.class, ContentTypeReferenceRequestBuilder.class);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/DriveRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/DriveRequestBuilder.java
index 5c7760a44f7..80b5e98ab7f 100644
--- a/src/main/java/com/microsoft/graph/requests/DriveRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/requests/DriveRequestBuilder.java
@@ -87,6 +87,26 @@ public UserWithReferenceRequestBuilder lastModifiedByUser() {
* @return the collection request builder
*/
@Nonnull
+ public DriveItemCollectionRequestBuilder bundles() {
+ return new DriveItemCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("bundles"), getClient(), null);
+ }
+
+ /**
+ * Gets a request builder for the DriveItem item
+ *
+ * @return the request builder
+ * @param id the item identifier
+ */
+ @Nonnull
+ public DriveItemRequestBuilder bundles(@Nonnull final String id) {
+ return new DriveItemRequestBuilder(getRequestUrlWithAdditionalSegment("bundles") + "/" + id, getClient(), null);
+ }
+ /**
+ * Gets a request builder for the DriveItem collection
+ *
+ * @return the collection request builder
+ */
+ @Nonnull
public DriveItemCollectionRequestBuilder following() {
return new DriveItemCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("following"), getClient(), null);
}
diff --git a/src/main/java/com/microsoft/graph/requests/PresenceClearPresenceRequest.java b/src/main/java/com/microsoft/graph/requests/PresenceClearPresenceRequest.java
new file mode 100644
index 00000000000..bcbddbfc772
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/PresenceClearPresenceRequest.java
@@ -0,0 +1,56 @@
+// Template Source: BaseMethodRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+import com.microsoft.graph.models.Presence;
+import com.microsoft.graph.requests.PresenceClearPresenceRequest;
+
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.http.BaseRequest;
+import com.microsoft.graph.http.HttpMethod;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.models.PresenceClearPresenceParameterSet;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Presence Clear Presence Request.
+ */
+public class PresenceClearPresenceRequest extends BaseRequest {
+ /**
+ * The request for this PresenceClearPresence
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public PresenceClearPresenceRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, Void.class);
+ }
+
+ /** The body for the method */
+ @Nullable
+ public PresenceClearPresenceParameterSet body;
+ /**
+ * Creates the PresenceClearPresence
+ *
+ * @return a future for the operation
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture postAsync() {
+ return this.sendAsync(HttpMethod.POST, body);
+ }
+
+ /**
+ * Creates the PresenceClearPresence
+ *
+ * @throws ClientException an exception occurs if there was an error while the request was sent
+ */
+ public void post() throws ClientException {
+ this.send(HttpMethod.POST, body);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/PresenceClearPresenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/PresenceClearPresenceRequestBuilder.java
new file mode 100644
index 00000000000..8878b9babf0
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/PresenceClearPresenceRequestBuilder.java
@@ -0,0 +1,74 @@
+// Template Source: BaseMethodRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+import com.microsoft.graph.requests.PresenceClearPresenceRequest;
+import com.microsoft.graph.models.Presence;
+
+import com.microsoft.graph.http.BaseActionRequestBuilder;
+import com.microsoft.graph.models.PresenceClearPresenceParameterSet;
+import com.microsoft.graph.core.IBaseClient;
+import com.google.gson.JsonElement;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Presence Clear Presence Request Builder.
+ */
+public class PresenceClearPresenceRequestBuilder extends BaseActionRequestBuilder {
+
+ /**
+ * The request builder for this PresenceClearPresence
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public PresenceClearPresenceRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions);
+ }
+ private PresenceClearPresenceParameterSet body;
+ /**
+ * The request builder for this PresenceClearPresence
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ * @param parameters the parameters for the service method
+ */
+ public PresenceClearPresenceRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions, @Nonnull final PresenceClearPresenceParameterSet parameters) {
+ super(requestUrl, client, requestOptions);
+ this.body = parameters;
+ }
+
+ /**
+ * Creates the PresenceClearPresenceRequest
+ *
+ * @param requestOptions the options for the request
+ * @return the PresenceClearPresenceRequest instance
+ */
+ @Nonnull
+ public PresenceClearPresenceRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) {
+ return buildRequest(getOptions(requestOptions));
+ }
+
+ /**
+ * Creates the PresenceClearPresenceRequest with specific requestOptions instead of the existing requestOptions
+ *
+ * @param requestOptions the options for the request
+ * @return the PresenceClearPresenceRequest instance
+ */
+ @Nonnull
+ public PresenceClearPresenceRequest buildRequest(@Nonnull final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ final PresenceClearPresenceRequest request = new PresenceClearPresenceRequest(
+ getRequestUrl(),
+ getClient(),
+ requestOptions);
+ request.body = this.body;
+ return request;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/PresenceCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/PresenceCollectionRequestBuilder.java
index bb0ae6bb06c..e49692183aa 100644
--- a/src/main/java/com/microsoft/graph/requests/PresenceCollectionRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/requests/PresenceCollectionRequestBuilder.java
@@ -20,6 +20,8 @@
import com.microsoft.graph.http.BaseCollectionRequestBuilder;
import com.microsoft.graph.core.IBaseClient;
import com.microsoft.graph.http.PrimitiveRequestBuilder;
+import com.microsoft.graph.models.PresenceClearPresenceParameterSet;
+import com.microsoft.graph.models.PresenceSetPresenceParameterSet;
// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
diff --git a/src/main/java/com/microsoft/graph/requests/PresenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/PresenceRequestBuilder.java
index 81a5db1a6a1..a353634e2aa 100644
--- a/src/main/java/com/microsoft/graph/requests/PresenceRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/requests/PresenceRequestBuilder.java
@@ -14,6 +14,8 @@
import javax.annotation.Nonnull;
import com.microsoft.graph.core.IBaseClient;
import com.microsoft.graph.http.BaseRequestBuilder;
+import com.microsoft.graph.models.PresenceClearPresenceParameterSet;
+import com.microsoft.graph.models.PresenceSetPresenceParameterSet;
// **NOTE** This file was generated by a tool and any changes will be overwritten.
@@ -56,4 +58,24 @@ public PresenceRequest buildRequest(@Nonnull final java.util.List extends com.
}
+
+ /**
+ * Gets a builder to execute the method
+ * @return the request builder
+ * @param parameters the parameters for the service method
+ */
+ @Nonnull
+ public PresenceClearPresenceRequestBuilder clearPresence(@Nonnull final PresenceClearPresenceParameterSet parameters) {
+ return new PresenceClearPresenceRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.clearPresence"), getClient(), null, parameters);
+ }
+
+ /**
+ * Gets a builder to execute the method
+ * @return the request builder
+ * @param parameters the parameters for the service method
+ */
+ @Nonnull
+ public PresenceSetPresenceRequestBuilder setPresence(@Nonnull final PresenceSetPresenceParameterSet parameters) {
+ return new PresenceSetPresenceRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.setPresence"), getClient(), null, parameters);
+ }
}
diff --git a/src/main/java/com/microsoft/graph/requests/PresenceSetPresenceRequest.java b/src/main/java/com/microsoft/graph/requests/PresenceSetPresenceRequest.java
new file mode 100644
index 00000000000..4504fc793c1
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/PresenceSetPresenceRequest.java
@@ -0,0 +1,56 @@
+// Template Source: BaseMethodRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+import com.microsoft.graph.models.Presence;
+import com.microsoft.graph.requests.PresenceSetPresenceRequest;
+
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.http.BaseRequest;
+import com.microsoft.graph.http.HttpMethod;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.models.PresenceSetPresenceParameterSet;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Presence Set Presence Request.
+ */
+public class PresenceSetPresenceRequest extends BaseRequest {
+ /**
+ * The request for this PresenceSetPresence
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public PresenceSetPresenceRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, Void.class);
+ }
+
+ /** The body for the method */
+ @Nullable
+ public PresenceSetPresenceParameterSet body;
+ /**
+ * Creates the PresenceSetPresence
+ *
+ * @return a future for the operation
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture postAsync() {
+ return this.sendAsync(HttpMethod.POST, body);
+ }
+
+ /**
+ * Creates the PresenceSetPresence
+ *
+ * @throws ClientException an exception occurs if there was an error while the request was sent
+ */
+ public void post() throws ClientException {
+ this.send(HttpMethod.POST, body);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/PresenceSetPresenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/PresenceSetPresenceRequestBuilder.java
new file mode 100644
index 00000000000..59aef23c382
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/PresenceSetPresenceRequestBuilder.java
@@ -0,0 +1,74 @@
+// Template Source: BaseMethodRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+import com.microsoft.graph.requests.PresenceSetPresenceRequest;
+import com.microsoft.graph.models.Presence;
+
+import com.microsoft.graph.http.BaseActionRequestBuilder;
+import com.microsoft.graph.models.PresenceSetPresenceParameterSet;
+import com.microsoft.graph.core.IBaseClient;
+import com.google.gson.JsonElement;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Presence Set Presence Request Builder.
+ */
+public class PresenceSetPresenceRequestBuilder extends BaseActionRequestBuilder {
+
+ /**
+ * The request builder for this PresenceSetPresence
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public PresenceSetPresenceRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions);
+ }
+ private PresenceSetPresenceParameterSet body;
+ /**
+ * The request builder for this PresenceSetPresence
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ * @param parameters the parameters for the service method
+ */
+ public PresenceSetPresenceRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions, @Nonnull final PresenceSetPresenceParameterSet parameters) {
+ super(requestUrl, client, requestOptions);
+ this.body = parameters;
+ }
+
+ /**
+ * Creates the PresenceSetPresenceRequest
+ *
+ * @param requestOptions the options for the request
+ * @return the PresenceSetPresenceRequest instance
+ */
+ @Nonnull
+ public PresenceSetPresenceRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) {
+ return buildRequest(getOptions(requestOptions));
+ }
+
+ /**
+ * Creates the PresenceSetPresenceRequest with specific requestOptions instead of the existing requestOptions
+ *
+ * @param requestOptions the options for the request
+ * @return the PresenceSetPresenceRequest instance
+ */
+ @Nonnull
+ public PresenceSetPresenceRequest buildRequest(@Nonnull final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ final PresenceSetPresenceRequest request = new PresenceSetPresenceRequest(
+ getRequestUrl(),
+ getClient(),
+ requestOptions);
+ request.body = this.body;
+ return request;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/SiteCollectionReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/SiteCollectionReferenceRequest.java
index 14f1a6120ff..748b82b14e7 100644
--- a/src/main/java/com/microsoft/graph/requests/SiteCollectionReferenceRequest.java
+++ b/src/main/java/com/microsoft/graph/requests/SiteCollectionReferenceRequest.java
@@ -10,6 +10,7 @@
import com.microsoft.graph.models.User;
import com.microsoft.graph.models.Site;
import com.microsoft.graph.models.ItemActivityStat;
+import com.microsoft.graph.models.ContentType;
import java.util.Arrays;
import java.util.EnumSet;
import javax.annotation.Nullable;
diff --git a/src/main/java/com/microsoft/graph/requests/SiteCollectionReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/SiteCollectionReferenceRequestBuilder.java
index ee6792c0987..541857f9f96 100644
--- a/src/main/java/com/microsoft/graph/requests/SiteCollectionReferenceRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/requests/SiteCollectionReferenceRequestBuilder.java
@@ -10,6 +10,7 @@
import com.microsoft.graph.models.User;
import com.microsoft.graph.models.Site;
import com.microsoft.graph.models.ItemActivityStat;
+import com.microsoft.graph.models.ContentType;
import java.util.Arrays;
import java.util.EnumSet;
import javax.annotation.Nullable;
diff --git a/src/main/java/com/microsoft/graph/requests/SiteCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/SiteCollectionRequest.java
index 46999789640..e3c4e6cdd85 100644
--- a/src/main/java/com/microsoft/graph/requests/SiteCollectionRequest.java
+++ b/src/main/java/com/microsoft/graph/requests/SiteCollectionRequest.java
@@ -9,6 +9,7 @@
import com.microsoft.graph.core.ClientException;
import com.microsoft.graph.models.Site;
import com.microsoft.graph.models.ItemActivityStat;
+import com.microsoft.graph.models.ContentType;
import java.util.Arrays;
import java.util.EnumSet;
import javax.annotation.Nullable;
diff --git a/src/main/java/com/microsoft/graph/requests/SiteCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/SiteCollectionRequestBuilder.java
index 151f80ad882..73c7cd6fd15 100644
--- a/src/main/java/com/microsoft/graph/requests/SiteCollectionRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/requests/SiteCollectionRequestBuilder.java
@@ -9,6 +9,7 @@
import com.microsoft.graph.core.ClientException;
import com.microsoft.graph.models.Site;
import com.microsoft.graph.models.ItemActivityStat;
+import com.microsoft.graph.models.ContentType;
import java.util.Arrays;
import java.util.EnumSet;
import javax.annotation.Nullable;
@@ -25,6 +26,7 @@
import com.microsoft.graph.models.SiteAddParameterSet;
import com.microsoft.graph.models.SiteRemoveParameterSet;
import com.microsoft.graph.models.SiteGetActivitiesByIntervalParameterSet;
+import com.microsoft.graph.models.SiteGetApplicableContentTypesForListParameterSet;
import com.microsoft.graph.models.SiteGetByPathParameterSet;
// **NOTE** This file was generated by a tool and any changes will be overwritten.
diff --git a/src/main/java/com/microsoft/graph/requests/SiteCollectionWithReferencesPage.java b/src/main/java/com/microsoft/graph/requests/SiteCollectionWithReferencesPage.java
index 766a95d5be2..18502de464d 100644
--- a/src/main/java/com/microsoft/graph/requests/SiteCollectionWithReferencesPage.java
+++ b/src/main/java/com/microsoft/graph/requests/SiteCollectionWithReferencesPage.java
@@ -10,6 +10,7 @@
import com.microsoft.graph.models.User;
import com.microsoft.graph.models.Site;
import com.microsoft.graph.models.ItemActivityStat;
+import com.microsoft.graph.models.ContentType;
import java.util.Arrays;
import java.util.EnumSet;
import javax.annotation.Nullable;
diff --git a/src/main/java/com/microsoft/graph/requests/SiteCollectionWithReferencesRequest.java b/src/main/java/com/microsoft/graph/requests/SiteCollectionWithReferencesRequest.java
index 3790d3e3820..374800cb927 100644
--- a/src/main/java/com/microsoft/graph/requests/SiteCollectionWithReferencesRequest.java
+++ b/src/main/java/com/microsoft/graph/requests/SiteCollectionWithReferencesRequest.java
@@ -10,6 +10,7 @@
import com.microsoft.graph.models.User;
import com.microsoft.graph.models.Site;
import com.microsoft.graph.models.ItemActivityStat;
+import com.microsoft.graph.models.ContentType;
import java.util.Arrays;
import java.util.EnumSet;
import javax.annotation.Nullable;
diff --git a/src/main/java/com/microsoft/graph/requests/SiteCollectionWithReferencesRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/SiteCollectionWithReferencesRequestBuilder.java
index dd671a2a44c..e5752547f92 100644
--- a/src/main/java/com/microsoft/graph/requests/SiteCollectionWithReferencesRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/requests/SiteCollectionWithReferencesRequestBuilder.java
@@ -10,6 +10,7 @@
import com.microsoft.graph.models.User;
import com.microsoft.graph.models.Site;
import com.microsoft.graph.models.ItemActivityStat;
+import com.microsoft.graph.models.ContentType;
import java.util.Arrays;
import java.util.EnumSet;
import javax.annotation.Nullable;
diff --git a/src/main/java/com/microsoft/graph/requests/SiteGetApplicableContentTypesForListCollectionPage.java b/src/main/java/com/microsoft/graph/requests/SiteGetApplicableContentTypesForListCollectionPage.java
new file mode 100644
index 00000000000..c40b8edd868
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/SiteGetApplicableContentTypesForListCollectionPage.java
@@ -0,0 +1,47 @@
+// Template Source: BaseMethodCollectionPage.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.models.ContentType;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.http.BaseCollectionPage;
+import com.microsoft.graph.requests.SiteGetApplicableContentTypesForListCollectionRequestBuilder;
+import com.microsoft.graph.requests.SiteGetApplicableContentTypesForListCollectionPage;
+import com.microsoft.graph.requests.SiteGetApplicableContentTypesForListCollectionResponse;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Site Get Applicable Content Types For List Collection Page.
+ */
+public class SiteGetApplicableContentTypesForListCollectionPage extends BaseCollectionPage {
+
+ /**
+ * A collection page for ContentType.
+ *
+ * @param response The serialized SiteGetApplicableContentTypesForListCollectionResponse from the service
+ * @param builder The request builder for the next collection page
+ */
+ public SiteGetApplicableContentTypesForListCollectionPage(@Nonnull final SiteGetApplicableContentTypesForListCollectionResponse response, @Nonnull final SiteGetApplicableContentTypesForListCollectionRequestBuilder builder) {
+ super(response, builder);
+ }
+
+ /**
+ * Creates the collection page for SiteGetApplicableContentTypesForList
+ *
+ * @param pageContents the contents of this page
+ * @param nextRequestBuilder the request builder for the next page
+ */
+ public SiteGetApplicableContentTypesForListCollectionPage(@Nonnull final java.util.List pageContents, @Nullable final SiteGetApplicableContentTypesForListCollectionRequestBuilder nextRequestBuilder) {
+ super(pageContents, nextRequestBuilder);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/SiteGetApplicableContentTypesForListCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/SiteGetApplicableContentTypesForListCollectionRequest.java
new file mode 100644
index 00000000000..da346855d8e
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/SiteGetApplicableContentTypesForListCollectionRequest.java
@@ -0,0 +1,145 @@
+// Template Source: BaseMethodCollectionRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.models.ContentType;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.requests.SiteGetApplicableContentTypesForListCollectionRequestBuilder;
+import com.microsoft.graph.requests.SiteGetApplicableContentTypesForListCollectionResponse;
+import com.microsoft.graph.models.ContentType;
+import com.microsoft.graph.options.QueryOption;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseFunctionCollectionRequest;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Site Get Applicable Content Types For List Collection Request.
+ */
+public class SiteGetApplicableContentTypesForListCollectionRequest extends BaseFunctionCollectionRequest {
+
+
+ /**
+ * The request for this SiteGetApplicableContentTypesForList
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public SiteGetApplicableContentTypesForListCollectionRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, SiteGetApplicableContentTypesForListCollectionResponse.class, SiteGetApplicableContentTypesForListCollectionPage.class, SiteGetApplicableContentTypesForListCollectionRequestBuilder.class);
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public SiteGetApplicableContentTypesForListCollectionRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public SiteGetApplicableContentTypesForListCollectionRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the filter clause for the request
+ *
+ * @param value the filter clause
+ * @return the updated request
+ */
+ @Nonnull
+ public SiteGetApplicableContentTypesForListCollectionRequest filter(@Nonnull final String value) {
+ addFilterOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the order by clause for the request
+ *
+ * @param value the order by clause
+ * @return the updated request
+ */
+ @Nonnull
+ public SiteGetApplicableContentTypesForListCollectionRequest orderBy(@Nonnull final String value) {
+ addOrderByOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the count value for the request
+ *
+ * @param value whether or not to return the count of objects with the request
+ * @return the updated request
+ */
+ @Nonnull
+ public SiteGetApplicableContentTypesForListCollectionRequest count(final boolean value) {
+ addCountOption(value);
+ return this;
+ }
+ /**
+ * Sets the count value to true for the request
+ *
+ * @return the updated request
+ */
+ @Nonnull
+ public SiteGetApplicableContentTypesForListCollectionRequest count() {
+ addCountOption(true);
+ return this;
+ }
+
+ /**
+ * Sets the top value for the request
+ *
+ * @param value the max number of items to return
+ * @return the updated request
+ */
+ @Nonnull
+ public SiteGetApplicableContentTypesForListCollectionRequest top(final int value) {
+ addTopOption(value);
+ return this;
+ }
+ /**
+ * Sets the skip value for the request
+ *
+ * @param value of the number of items to skip
+ * @return the updated request
+ */
+ @Nonnull
+ public SiteGetApplicableContentTypesForListCollectionRequest skip(final int value) {
+ addSkipOption(value);
+ return this;
+ }
+ /**
+ * Add Skip token for pagination
+ * @param skipToken - Token for pagination
+ * @return the updated request
+ */
+ @Nonnull
+ public SiteGetApplicableContentTypesForListCollectionRequest skipToken(@Nonnull final String skipToken) {
+ addSkipTokenOption(skipToken);
+ return this;
+ }
+
+}
diff --git a/src/main/java/com/microsoft/graph/requests/SiteGetApplicableContentTypesForListCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/SiteGetApplicableContentTypesForListCollectionRequestBuilder.java
new file mode 100644
index 00000000000..7ff87239e4f
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/SiteGetApplicableContentTypesForListCollectionRequestBuilder.java
@@ -0,0 +1,70 @@
+// Template Source: BaseMethodCollectionRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+
+import com.microsoft.graph.http.IRequestBuilder;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.models.ContentType;
+import java.util.Arrays;
+import java.util.EnumSet;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+import com.microsoft.graph.requests.SiteGetApplicableContentTypesForListCollectionRequestBuilder;
+import com.microsoft.graph.requests.SiteGetApplicableContentTypesForListCollectionRequest;
+import com.microsoft.graph.requests.SiteGetApplicableContentTypesForListCollectionResponse;
+import com.microsoft.graph.models.SiteGetApplicableContentTypesForListParameterSet;
+import com.microsoft.graph.options.FunctionOption;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.http.BaseFunctionCollectionRequestBuilder;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Site Get Applicable Content Types For List Collection Request Builder.
+ */
+public class SiteGetApplicableContentTypesForListCollectionRequestBuilder extends BaseFunctionCollectionRequestBuilder {
+
+ /**
+ * The request builder for this collection of Site
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public SiteGetApplicableContentTypesForListCollectionRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, SiteGetApplicableContentTypesForListCollectionRequestBuilder.class, SiteGetApplicableContentTypesForListCollectionRequest.class);
+ }
+ /**
+ * The request builder for this collection of Site
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ * @param parameters the parameters for the service method
+ */
+ public SiteGetApplicableContentTypesForListCollectionRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions, @Nonnull final SiteGetApplicableContentTypesForListParameterSet parameters) {
+ super(requestUrl, client, requestOptions, SiteGetApplicableContentTypesForListCollectionRequestBuilder.class, SiteGetApplicableContentTypesForListCollectionRequest.class);
+ if(parameters != null) {
+ functionOptions = parameters.getFunctionOptions();
+ }
+ }
+ /**
+ * Creates the request
+ *
+ * @param requestOptions the options for this request
+ * @return the SiteGetApplicableContentTypesForListCollectionRequest instance
+ */
+ @Override
+ @Nonnull
+ public SiteGetApplicableContentTypesForListCollectionRequest buildRequest(@Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ final SiteGetApplicableContentTypesForListCollectionRequest request = super.buildRequest(requestOptions);
+ for (com.microsoft.graph.options.FunctionOption option : functionOptions) {
+ request.addFunctionOption(option);
+ }
+ return request;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/requests/SiteGetApplicableContentTypesForListCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/SiteGetApplicableContentTypesForListCollectionResponse.java
new file mode 100644
index 00000000000..fd4e2008349
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/SiteGetApplicableContentTypesForListCollectionResponse.java
@@ -0,0 +1,20 @@
+// Template Source: BaseMethodCollectionResponse.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+import com.microsoft.graph.models.ContentType;
+
+
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.http.BaseCollectionResponse;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Site Get Applicable Content Types For List Collection Response.
+ */
+public class SiteGetApplicableContentTypesForListCollectionResponse extends BaseCollectionResponse {
+}
diff --git a/src/main/java/com/microsoft/graph/requests/SiteGetByPathRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/SiteGetByPathRequestBuilder.java
index d84645e65c7..050058b2100 100644
--- a/src/main/java/com/microsoft/graph/requests/SiteGetByPathRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/requests/SiteGetByPathRequestBuilder.java
@@ -175,6 +175,26 @@ public DriveCollectionRequestBuilder drives() {
public DriveRequestBuilder drives(@Nonnull final String id) {
return new DriveRequestBuilder(getRequestUrlWithAdditionalSegment("drives") + "/" + id, getClient(), null);
}
+ /**
+ * Gets a request builder for the ColumnDefinition collection
+ *
+ * @return the collection request builder
+ */
+ @Nonnull
+ public ColumnDefinitionCollectionWithReferencesRequestBuilder externalColumns() {
+ return new ColumnDefinitionCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("externalColumns"), getClient(), null);
+ }
+
+ /**
+ * Gets a request builder for the ColumnDefinition item
+ *
+ * @return the request builder
+ * @param id the item identifier
+ */
+ @Nonnull
+ public ColumnDefinitionWithReferenceRequestBuilder externalColumns(@Nonnull final String id) {
+ return new ColumnDefinitionWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("externalColumns") + "/" + id, getClient(), null);
+ }
/**
* Gets a request builder for the BaseItem collection
*
diff --git a/src/main/java/com/microsoft/graph/requests/SiteReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/SiteReferenceRequest.java
index cff8dd5f92f..f34aa035972 100644
--- a/src/main/java/com/microsoft/graph/requests/SiteReferenceRequest.java
+++ b/src/main/java/com/microsoft/graph/requests/SiteReferenceRequest.java
@@ -9,6 +9,7 @@
import com.microsoft.graph.core.ClientException;
import com.microsoft.graph.models.Site;
import com.microsoft.graph.models.ItemActivityStat;
+import com.microsoft.graph.models.ContentType;
import com.microsoft.graph.requests.ItemAnalyticsWithReferenceRequestBuilder;
import com.microsoft.graph.requests.ColumnDefinitionCollectionRequestBuilder;
import com.microsoft.graph.requests.ColumnDefinitionRequestBuilder;
@@ -16,6 +17,8 @@
import com.microsoft.graph.requests.ContentTypeRequestBuilder;
import com.microsoft.graph.requests.DriveRequestBuilder;
import com.microsoft.graph.requests.DriveCollectionRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionCollectionWithReferencesRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionWithReferenceRequestBuilder;
import com.microsoft.graph.requests.BaseItemCollectionRequestBuilder;
import com.microsoft.graph.requests.BaseItemRequestBuilder;
import com.microsoft.graph.requests.ListCollectionRequestBuilder;
diff --git a/src/main/java/com/microsoft/graph/requests/SiteReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/SiteReferenceRequestBuilder.java
index 12fbd170f2d..bd46d282923 100644
--- a/src/main/java/com/microsoft/graph/requests/SiteReferenceRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/requests/SiteReferenceRequestBuilder.java
@@ -10,6 +10,7 @@
import com.microsoft.graph.core.ClientException;
import com.microsoft.graph.models.Site;
import com.microsoft.graph.models.ItemActivityStat;
+import com.microsoft.graph.models.ContentType;
import com.microsoft.graph.requests.ItemAnalyticsWithReferenceRequestBuilder;
import com.microsoft.graph.requests.ColumnDefinitionCollectionRequestBuilder;
import com.microsoft.graph.requests.ColumnDefinitionRequestBuilder;
@@ -17,6 +18,8 @@
import com.microsoft.graph.requests.ContentTypeRequestBuilder;
import com.microsoft.graph.requests.DriveRequestBuilder;
import com.microsoft.graph.requests.DriveCollectionRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionCollectionWithReferencesRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionWithReferenceRequestBuilder;
import com.microsoft.graph.requests.BaseItemCollectionRequestBuilder;
import com.microsoft.graph.requests.BaseItemRequestBuilder;
import com.microsoft.graph.requests.ListCollectionRequestBuilder;
diff --git a/src/main/java/com/microsoft/graph/requests/SiteRequest.java b/src/main/java/com/microsoft/graph/requests/SiteRequest.java
index 6f3fc0043a6..dbfcccd95d0 100644
--- a/src/main/java/com/microsoft/graph/requests/SiteRequest.java
+++ b/src/main/java/com/microsoft/graph/requests/SiteRequest.java
@@ -9,6 +9,7 @@
import com.microsoft.graph.core.ClientException;
import com.microsoft.graph.models.Site;
import com.microsoft.graph.models.ItemActivityStat;
+import com.microsoft.graph.models.ContentType;
import com.microsoft.graph.requests.ItemAnalyticsWithReferenceRequestBuilder;
import com.microsoft.graph.requests.ColumnDefinitionCollectionRequestBuilder;
import com.microsoft.graph.requests.ColumnDefinitionRequestBuilder;
@@ -16,6 +17,8 @@
import com.microsoft.graph.requests.ContentTypeRequestBuilder;
import com.microsoft.graph.requests.DriveRequestBuilder;
import com.microsoft.graph.requests.DriveCollectionRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionCollectionWithReferencesRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionWithReferenceRequestBuilder;
import com.microsoft.graph.requests.BaseItemCollectionRequestBuilder;
import com.microsoft.graph.requests.BaseItemRequestBuilder;
import com.microsoft.graph.requests.ListCollectionRequestBuilder;
diff --git a/src/main/java/com/microsoft/graph/requests/SiteRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/SiteRequestBuilder.java
index b19c006ff58..dec89562c31 100644
--- a/src/main/java/com/microsoft/graph/requests/SiteRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/requests/SiteRequestBuilder.java
@@ -9,6 +9,7 @@
import com.microsoft.graph.core.ClientException;
import com.microsoft.graph.models.Site;
import com.microsoft.graph.models.ItemActivityStat;
+import com.microsoft.graph.models.ContentType;
import com.microsoft.graph.requests.ItemAnalyticsWithReferenceRequestBuilder;
import com.microsoft.graph.requests.ColumnDefinitionCollectionRequestBuilder;
import com.microsoft.graph.requests.ColumnDefinitionRequestBuilder;
@@ -16,6 +17,8 @@
import com.microsoft.graph.requests.ContentTypeRequestBuilder;
import com.microsoft.graph.requests.DriveRequestBuilder;
import com.microsoft.graph.requests.DriveCollectionRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionCollectionWithReferencesRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionWithReferenceRequestBuilder;
import com.microsoft.graph.requests.BaseItemCollectionRequestBuilder;
import com.microsoft.graph.requests.BaseItemRequestBuilder;
import com.microsoft.graph.requests.ListCollectionRequestBuilder;
@@ -34,6 +37,7 @@
import com.microsoft.graph.core.IBaseClient;
import com.microsoft.graph.http.BaseRequestBuilder;
import com.microsoft.graph.models.SiteGetActivitiesByIntervalParameterSet;
+import com.microsoft.graph.models.SiteGetApplicableContentTypesForListParameterSet;
import com.microsoft.graph.models.SiteGetByPathParameterSet;
// **NOTE** This file was generated by a tool and any changes will be overwritten.
@@ -177,6 +181,26 @@ public DriveCollectionRequestBuilder drives() {
public DriveRequestBuilder drives(@Nonnull final String id) {
return new DriveRequestBuilder(getRequestUrlWithAdditionalSegment("drives") + "/" + id, getClient(), null);
}
+ /**
+ * Gets a request builder for the ColumnDefinition collection
+ *
+ * @return the collection request builder
+ */
+ @Nonnull
+ public ColumnDefinitionCollectionWithReferencesRequestBuilder externalColumns() {
+ return new ColumnDefinitionCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("externalColumns"), getClient(), null);
+ }
+
+ /**
+ * Gets a request builder for the ColumnDefinition item
+ *
+ * @return the request builder
+ * @param id the item identifier
+ */
+ @Nonnull
+ public ColumnDefinitionWithReferenceRequestBuilder externalColumns(@Nonnull final String id) {
+ return new ColumnDefinitionWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("externalColumns") + "/" + id, getClient(), null);
+ }
/**
* Gets a request builder for the BaseItem collection
*
@@ -317,6 +341,16 @@ public SiteGetActivitiesByIntervalCollectionRequestBuilder getActivitiesByInterv
return new SiteGetActivitiesByIntervalCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getActivitiesByInterval"), getClient(), null, parameters);
}
+ /**
+ * Gets a builder to execute the method
+ * @return the request builder collection
+ * @param parameters the parameters for the service method
+ */
+ @Nonnull
+ public SiteGetApplicableContentTypesForListCollectionRequestBuilder getApplicableContentTypesForList(@Nonnull final SiteGetApplicableContentTypesForListParameterSet parameters) {
+ return new SiteGetApplicableContentTypesForListCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getApplicableContentTypesForList"), getClient(), null, parameters);
+ }
+
/**
* Gets a builder to execute the method
* @return the request builder
diff --git a/src/main/java/com/microsoft/graph/requests/SiteWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/SiteWithReferenceRequest.java
index f15c1e66319..9d34d64282f 100644
--- a/src/main/java/com/microsoft/graph/requests/SiteWithReferenceRequest.java
+++ b/src/main/java/com/microsoft/graph/requests/SiteWithReferenceRequest.java
@@ -9,6 +9,7 @@
import com.microsoft.graph.core.ClientException;
import com.microsoft.graph.models.Site;
import com.microsoft.graph.models.ItemActivityStat;
+import com.microsoft.graph.models.ContentType;
import com.microsoft.graph.requests.ItemAnalyticsWithReferenceRequestBuilder;
import com.microsoft.graph.requests.ColumnDefinitionCollectionRequestBuilder;
import com.microsoft.graph.requests.ColumnDefinitionRequestBuilder;
@@ -16,6 +17,8 @@
import com.microsoft.graph.requests.ContentTypeRequestBuilder;
import com.microsoft.graph.requests.DriveRequestBuilder;
import com.microsoft.graph.requests.DriveCollectionRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionCollectionWithReferencesRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionWithReferenceRequestBuilder;
import com.microsoft.graph.requests.BaseItemCollectionRequestBuilder;
import com.microsoft.graph.requests.BaseItemRequestBuilder;
import com.microsoft.graph.requests.ListCollectionRequestBuilder;
diff --git a/src/main/java/com/microsoft/graph/requests/SiteWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/SiteWithReferenceRequestBuilder.java
index 6638e83ecac..487edbb4fde 100644
--- a/src/main/java/com/microsoft/graph/requests/SiteWithReferenceRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/requests/SiteWithReferenceRequestBuilder.java
@@ -9,6 +9,7 @@
import com.microsoft.graph.core.ClientException;
import com.microsoft.graph.models.Site;
import com.microsoft.graph.models.ItemActivityStat;
+import com.microsoft.graph.models.ContentType;
import com.microsoft.graph.requests.ItemAnalyticsWithReferenceRequestBuilder;
import com.microsoft.graph.requests.ColumnDefinitionCollectionRequestBuilder;
import com.microsoft.graph.requests.ColumnDefinitionRequestBuilder;
@@ -16,6 +17,8 @@
import com.microsoft.graph.requests.ContentTypeRequestBuilder;
import com.microsoft.graph.requests.DriveRequestBuilder;
import com.microsoft.graph.requests.DriveCollectionRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionCollectionWithReferencesRequestBuilder;
+import com.microsoft.graph.requests.ColumnDefinitionWithReferenceRequestBuilder;
import com.microsoft.graph.requests.BaseItemCollectionRequestBuilder;
import com.microsoft.graph.requests.BaseItemRequestBuilder;
import com.microsoft.graph.requests.ListCollectionRequestBuilder;
diff --git a/src/main/java/com/microsoft/graph/requests/WorkbookRequest.java b/src/main/java/com/microsoft/graph/requests/WorkbookRequest.java
index d34378c0232..3c88ac0b298 100644
--- a/src/main/java/com/microsoft/graph/requests/WorkbookRequest.java
+++ b/src/main/java/com/microsoft/graph/requests/WorkbookRequest.java
@@ -9,6 +9,7 @@
import com.microsoft.graph.core.ClientException;
import com.microsoft.graph.models.Workbook;
import com.microsoft.graph.models.WorkbookSessionInfo;
+import com.microsoft.graph.models.WorkbookTableRow;
import com.microsoft.graph.requests.WorkbookApplicationRequestBuilder;
import com.microsoft.graph.requests.WorkbookCommentCollectionRequestBuilder;
import com.microsoft.graph.requests.WorkbookCommentRequestBuilder;
diff --git a/src/main/java/com/microsoft/graph/requests/WorkbookRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/WorkbookRequestBuilder.java
index 974e69f24a5..e275785cdda 100644
--- a/src/main/java/com/microsoft/graph/requests/WorkbookRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/requests/WorkbookRequestBuilder.java
@@ -9,6 +9,7 @@
import com.microsoft.graph.core.ClientException;
import com.microsoft.graph.models.Workbook;
import com.microsoft.graph.models.WorkbookSessionInfo;
+import com.microsoft.graph.models.WorkbookTableRow;
import com.microsoft.graph.requests.WorkbookApplicationRequestBuilder;
import com.microsoft.graph.requests.WorkbookCommentCollectionRequestBuilder;
import com.microsoft.graph.requests.WorkbookCommentRequestBuilder;
@@ -29,6 +30,7 @@
import com.microsoft.graph.http.BaseRequestBuilder;
import com.microsoft.graph.models.WorkbookCreateSessionParameterSet;
import com.microsoft.graph.models.WorkbookSessionInfoResourceParameterSet;
+import com.microsoft.graph.models.WorkbookTableRowOperationResultParameterSet;
// **NOTE** This file was generated by a tool and any changes will be overwritten.
@@ -229,4 +231,14 @@ public WorkbookRefreshSessionRequestBuilder refreshSession() {
public WorkbookSessionInfoResourceRequestBuilder sessionInfoResource(@Nonnull final WorkbookSessionInfoResourceParameterSet parameters) {
return new WorkbookSessionInfoResourceRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.sessionInfoResource"), getClient(), null, parameters);
}
+
+ /**
+ * Gets a builder to execute the method
+ * @return the request builder
+ * @param parameters the parameters for the service method
+ */
+ @Nonnull
+ public WorkbookTableRowOperationResultRequestBuilder tableRowOperationResult(@Nonnull final WorkbookTableRowOperationResultParameterSet parameters) {
+ return new WorkbookTableRowOperationResultRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.tableRowOperationResult"), getClient(), null, parameters);
+ }
}
diff --git a/src/main/java/com/microsoft/graph/requests/WorkbookTableRowOperationResultRequest.java b/src/main/java/com/microsoft/graph/requests/WorkbookTableRowOperationResultRequest.java
new file mode 100644
index 00000000000..22b31c47e3d
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/WorkbookTableRowOperationResultRequest.java
@@ -0,0 +1,81 @@
+// Template Source: BaseMethodRequest.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+import com.microsoft.graph.models.WorkbookTableRow;
+import com.microsoft.graph.models.Workbook;
+import com.microsoft.graph.requests.WorkbookTableRowOperationResultRequest;
+
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+import com.microsoft.graph.http.BaseRequest;
+import com.microsoft.graph.http.HttpMethod;
+import com.microsoft.graph.core.ClientException;
+import com.microsoft.graph.core.IBaseClient;
+import com.microsoft.graph.models.WorkbookTableRowOperationResultParameterSet;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workbook Table Row Operation Result Request.
+ */
+public class WorkbookTableRowOperationResultRequest extends BaseRequest {
+ /**
+ * The request for this WorkbookTableRowOperationResult
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public WorkbookTableRowOperationResultRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions, WorkbookTableRow.class);
+ }
+
+ /**
+ * Gets the WorkbookTableRow
+ *
+ * @return a future with the result
+ */
+ @Nonnull
+ public java.util.concurrent.CompletableFuture getAsync() {
+ return sendAsync(HttpMethod.GET, null);
+ }
+
+ /**
+ * Gets the WorkbookTableRow
+ *
+ * @return the WorkbookTableRow
+ * @throws ClientException an exception occurs if there was an error while the request was sent
+ */
+ @Nullable
+ public WorkbookTableRow get() throws ClientException {
+ return send(HttpMethod.GET, null);
+ }
+
+ /**
+ * Sets the select clause for the request
+ *
+ * @param value the select clause
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkbookTableRowOperationResultRequest select(@Nonnull final String value) {
+ addSelectOption(value);
+ return this;
+ }
+
+ /**
+ * Sets the expand clause for the request
+ *
+ * @param value the expand clause
+ * @return the updated request
+ */
+ @Nonnull
+ public WorkbookTableRowOperationResultRequest expand(@Nonnull final String value) {
+ addExpandOption(value);
+ return this;
+ }
+
+}
diff --git a/src/main/java/com/microsoft/graph/requests/WorkbookTableRowOperationResultRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/WorkbookTableRowOperationResultRequestBuilder.java
new file mode 100644
index 00000000000..1b07803dafd
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/requests/WorkbookTableRowOperationResultRequestBuilder.java
@@ -0,0 +1,77 @@
+// Template Source: BaseMethodRequestBuilder.java.tt
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+package com.microsoft.graph.requests;
+import com.microsoft.graph.requests.WorkbookTableRowOperationResultRequest;
+import com.microsoft.graph.models.Workbook;
+import com.microsoft.graph.models.WorkbookTableRow;
+import com.microsoft.graph.http.BaseFunctionRequestBuilder;
+import com.microsoft.graph.models.WorkbookTableRowOperationResultParameterSet;
+import com.microsoft.graph.core.IBaseClient;
+import com.google.gson.JsonElement;
+import javax.annotation.Nullable;
+import javax.annotation.Nonnull;
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+
+/**
+ * The class for the Workbook Table Row Operation Result Request Builder.
+ */
+public class WorkbookTableRowOperationResultRequestBuilder extends BaseFunctionRequestBuilder {
+
+ /**
+ * The request builder for this WorkbookTableRowOperationResult
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ */
+ public WorkbookTableRowOperationResultRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ super(requestUrl, client, requestOptions);
+ }
+ /**
+ * The request builder for this WorkbookTableRowOperationResult
+ *
+ * @param requestUrl the request URL
+ * @param client the service client
+ * @param requestOptions the options for this request
+ * @param parameters the parameters for the service method
+ */
+ public WorkbookTableRowOperationResultRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions, @Nonnull final WorkbookTableRowOperationResultParameterSet parameters) {
+ super(requestUrl, client, requestOptions);
+ if(parameters != null) {
+ functionOptions = parameters.getFunctionOptions();
+ }
+ }
+
+ /**
+ * Creates the WorkbookTableRowOperationResultRequest
+ *
+ * @param requestOptions the options for the request
+ * @return the WorkbookTableRowOperationResultRequest instance
+ */
+ @Nonnull
+ public WorkbookTableRowOperationResultRequest buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) {
+ return buildRequest(getOptions(requestOptions));
+ }
+
+ /**
+ * Creates the WorkbookTableRowOperationResultRequest with specific requestOptions instead of the existing requestOptions
+ *
+ * @param requestOptions the options for the request
+ * @return the WorkbookTableRowOperationResultRequest instance
+ */
+ @Nonnull
+ public WorkbookTableRowOperationResultRequest buildRequest(@Nonnull final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
+ final WorkbookTableRowOperationResultRequest request = new WorkbookTableRowOperationResultRequest(
+ getRequestUrl(),
+ getClient(),
+ requestOptions);
+ for (com.microsoft.graph.options.FunctionOption option : functionOptions) {
+ request.addFunctionOption(option);
+ }
+ return request;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/termstore/models/Term.java b/src/main/java/com/microsoft/graph/termstore/models/Term.java
index 99d13576039..dc2c0a12aa2 100644
--- a/src/main/java/com/microsoft/graph/termstore/models/Term.java
+++ b/src/main/java/com/microsoft/graph/termstore/models/Term.java
@@ -36,7 +36,7 @@ public class Term extends Entity implements IJsonBackedObject {
/**
* The Created Date Time.
- * Date and time of term creation. Read-only
+ * Date and time of term creation. Read-only.
*/
@SerializedName(value = "createdDateTime", alternate = {"CreatedDateTime"})
@Expose
@@ -45,7 +45,7 @@ public class Term extends Entity implements IJsonBackedObject {
/**
* The Descriptions.
- * Description about term that is dependent on the languageTag
+ * Description about term that is dependent on the languageTag.
*/
@SerializedName(value = "descriptions", alternate = {"Descriptions"})
@Expose
@@ -54,7 +54,7 @@ public class Term extends Entity implements IJsonBackedObject {
/**
* The Labels.
- * Label metadata for a term
+ * Label metadata for a term.
*/
@SerializedName(value = "labels", alternate = {"Labels"})
@Expose
@@ -63,7 +63,7 @@ public class Term extends Entity implements IJsonBackedObject {
/**
* The Last Modified Date Time.
- * Last date and time of term modification. Read-only
+ * Last date and time of term modification. Read-only.
*/
@SerializedName(value = "lastModifiedDateTime", alternate = {"LastModifiedDateTime"})
@Expose
@@ -72,7 +72,7 @@ public class Term extends Entity implements IJsonBackedObject {
/**
* The Properties.
- * Collection of properties on the term
+ * Collection of properties on the term.
*/
@SerializedName(value = "properties", alternate = {"Properties"})
@Expose
@@ -81,7 +81,7 @@ public class Term extends Entity implements IJsonBackedObject {
/**
* The Children.
- * Children of current term
+ * Children of current term.
*/
@SerializedName(value = "children", alternate = {"Children"})
@Expose
@@ -90,7 +90,7 @@ public class Term extends Entity implements IJsonBackedObject {
/**
* The Relations.
- * To indicate which terms are related to the current term as either pinned or reused
+ * To indicate which terms are related to the current term as either pinned or reused.
*/
@SerializedName(value = "relations", alternate = {"Relations"})
@Expose
@@ -99,7 +99,7 @@ public class Term extends Entity implements IJsonBackedObject {
/**
* The Set.
- * The [set] in which the term is created
+ * The [set] in which the term is created.
*/
@SerializedName(value = "set", alternate = {"Set"})
@Expose