diff --git a/CHANGELOG.md b/CHANGELOG.md index f0a16fed456..1216c4d25de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +## [0.72.0] - 2023-05-12 + +### Changed + +- Weekly generation. + ## [0.71.0] - 2023-05-02 ### Changed diff --git a/README.md b/README.md index bb121734de4..6a6e5c6e853 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ repositories { dependencies { // Include the sdk as a dependency - implementation 'com.microsoft.graph:microsoft-graph-beta:0.71.0-SNAPSHOT' + implementation 'com.microsoft.graph:microsoft-graph-beta:0.72.0-SNAPSHOT' // 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 @@ -37,7 +37,7 @@ Add the dependency in `dependencies` in pom.xml com.microsoft.graph microsoft-graph-beta - 0.71.0-SNAPSHOT + 0.72.0-SNAPSHOT @@ -207,5 +207,6 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI + diff --git a/gradle.properties b/gradle.properties index 8a0fa988f85..6ab0e461a13 100644 --- a/gradle.properties +++ b/gradle.properties @@ -26,7 +26,7 @@ org.gradle.caching=true mavenGroupId = com.microsoft.graph mavenArtifactId = microsoft-graph-beta mavenMajorVersion = 0 -mavenMinorVersion = 71 +mavenMinorVersion = 72 mavenPatchVersion = 0 mavenArtifactSuffix = @@ -106,5 +106,6 @@ mavenCentralPublishingEnabled=false + diff --git a/src/main/java/com/microsoft/graph/externalconnectors/models/ExternalActivity.java b/src/main/java/com/microsoft/graph/externalconnectors/models/ExternalActivity.java index 0357a7db7eb..2f12b37229d 100644 --- a/src/main/java/com/microsoft/graph/externalconnectors/models/ExternalActivity.java +++ b/src/main/java/com/microsoft/graph/externalconnectors/models/ExternalActivity.java @@ -29,7 +29,7 @@ public class ExternalActivity extends Entity implements IJsonBackedObject { /** * The Start Date Time. - * When the particular activity occurred. + * The date and time when the particular activity occurred. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. */ @SerializedName(value = "startDateTime", alternate = {"StartDateTime"}) @Expose diff --git a/src/main/java/com/microsoft/graph/externalconnectors/models/ExternalActivityResult.java b/src/main/java/com/microsoft/graph/externalconnectors/models/ExternalActivityResult.java index 7d5fc20246f..4c015c4b7f8 100644 --- a/src/main/java/com/microsoft/graph/externalconnectors/models/ExternalActivityResult.java +++ b/src/main/java/com/microsoft/graph/externalconnectors/models/ExternalActivityResult.java @@ -28,7 +28,7 @@ public class ExternalActivityResult extends ExternalActivity implements IJsonBac /** * The Error. - * Error information explaining failure to process external activity. + * Error information that explains the failure to process an external activity. */ @SerializedName(value = "error", alternate = {"Error"}) @Expose diff --git a/src/main/java/com/microsoft/graph/externalconnectors/models/ExternalItem.java b/src/main/java/com/microsoft/graph/externalconnectors/models/ExternalItem.java index 26e32dfabc7..64b224957b4 100644 --- a/src/main/java/com/microsoft/graph/externalconnectors/models/ExternalItem.java +++ b/src/main/java/com/microsoft/graph/externalconnectors/models/ExternalItem.java @@ -59,7 +59,7 @@ public class ExternalItem extends Entity implements IJsonBackedObject { /** * The Activities. - * Write-only property. Returns results. + * Returns a list of activities performed on the item. Write-only. */ @SerializedName(value = "activities", alternate = {"Activities"}) @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/PropertyRule.java b/src/main/java/com/microsoft/graph/externalconnectors/models/PropertyRule.java index f37c1153d1a..46bc00c9e04 100644 --- a/src/main/java/com/microsoft/graph/externalconnectors/models/PropertyRule.java +++ b/src/main/java/com/microsoft/graph/externalconnectors/models/PropertyRule.java @@ -42,7 +42,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Operation. - * Specifies the operations to be performed during evaluation of a single propertyRule, where property and a string from the values collection are the respective operands. Possible values are: null, equals, notEquals, contains, notContains, lessThan, greaterThan, startsWith, unknownFutureValue. Required. + * Specifies the operations to be performed during evaluation of a single propertyRule, where property and a string from the values collection are the respective operands. Possible values are: null, equals, notEquals, contains, notContains, lessThan, greaterThan, startsWith. Required. */ @SerializedName(value = "operation", alternate = {"Operation"}) @Expose diff --git a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/TimeBasedAttributeTrigger.java b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/TimeBasedAttributeTrigger.java index f57c2ec4221..204ab7ea667 100644 --- a/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/TimeBasedAttributeTrigger.java +++ b/src/main/java/com/microsoft/graph/identitygovernancenamespace/models/TimeBasedAttributeTrigger.java @@ -28,7 +28,7 @@ public class TimeBasedAttributeTrigger extends WorkflowExecutionTrigger implemen /** * The Offset In Days. - * How many days before or after the time-based attribute specified the workflow should trigger. For example, if the attribute is employeeHireDate and offsetInDays is -1, then the workflow should trigger one day before the employee hire date. The value can range between -60 and 60 days. + * How many days before or after the time-based attribute specified the workflow should trigger. For example, if the attribute is employeeHireDate and offsetInDays is -1, then the workflow should trigger one day before the employee hire date. The value can range between -180 and 180 days. */ @SerializedName(value = "offsetInDays", alternate = {"OffsetInDays"}) @Expose diff --git a/src/main/java/com/microsoft/graph/info/Constants.java b/src/main/java/com/microsoft/graph/info/Constants.java index 68e7f39f66b..94892e0e0b0 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 = "0.71.0"; + public static final String VERSION_NAME = "0.72.0"; } @@ -81,5 +81,6 @@ private Constants() { + diff --git a/src/main/java/com/microsoft/graph/models/AccessPackageCatalog.java b/src/main/java/com/microsoft/graph/models/AccessPackageCatalog.java index a2aaed4fc96..d16851ac226 100644 --- a/src/main/java/com/microsoft/graph/models/AccessPackageCatalog.java +++ b/src/main/java/com/microsoft/graph/models/AccessPackageCatalog.java @@ -152,9 +152,7 @@ public class AccessPackageCatalog extends Entity implements IJsonBackedObject { /** * The Access Packages. * The access packages in this catalog. Read-only. Nullable. Supports $expand. - */ - @SerializedName(value = "accessPackages", alternate = {"AccessPackages"}) - @Expose + */ @Nullable public com.microsoft.graph.requests.AccessPackageCollectionPage accessPackages; diff --git a/src/main/java/com/microsoft/graph/models/Admin.java b/src/main/java/com/microsoft/graph/models/Admin.java index 06b51fde322..84fd61b7e11 100644 --- a/src/main/java/com/microsoft/graph/models/Admin.java +++ b/src/main/java/com/microsoft/graph/models/Admin.java @@ -53,7 +53,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Sharepoint. - * A container for administrative resources to manage tenant-level settings for SharePoint and OneDrive. + * */ @SerializedName(value = "sharepoint", alternate = {"Sharepoint"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/AttendanceRecord.java b/src/main/java/com/microsoft/graph/models/AttendanceRecord.java index af479126c0d..394bf08882d 100644 --- a/src/main/java/com/microsoft/graph/models/AttendanceRecord.java +++ b/src/main/java/com/microsoft/graph/models/AttendanceRecord.java @@ -39,7 +39,7 @@ public class AttendanceRecord extends Entity implements IJsonBackedObject { /** * The Email Address. - * Email address of the user associated with this atttendance record. + * Email address of the user associated with this attendance record. */ @SerializedName(value = "emailAddress", alternate = {"EmailAddress"}) @Expose @@ -48,7 +48,7 @@ public class AttendanceRecord extends Entity implements IJsonBackedObject { /** * The Identity. - * Identity of the user associated with this atttendance record. The specific type will be one of the following derived types of identity, depending on the type of the user: communicationsUserIdentity, azureCommunicationServicesUserIdentity. + * Identity of the user associated with this attendance record. The specific type will be one of the following derived types of identity, depending on the type of the user: communicationsUserIdentity, azureCommunicationServicesUserIdentity. */ @SerializedName(value = "identity", alternate = {"Identity"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/CloudPcProvisioningPolicy.java b/src/main/java/com/microsoft/graph/models/CloudPcProvisioningPolicy.java index ccf3a69ec72..36a7f5c328e 100644 --- a/src/main/java/com/microsoft/graph/models/CloudPcProvisioningPolicy.java +++ b/src/main/java/com/microsoft/graph/models/CloudPcProvisioningPolicy.java @@ -53,7 +53,7 @@ public class CloudPcProvisioningPolicy extends Entity implements IJsonBackedObje /** * The Cloud Pc Naming Template. - * + * The template used to name Cloud PCs provisioned using this policy. This can contain custom text and replacement tokens, including %USERNAME:x% and %RAND:x%, which represent the user's name and a randomly generated number, respectively. For example, 'CPC-%USERNAME:4%-%RAND:5%' means that the Cloud PC's name will start with 'CPC-', have a four-character username in the middle followed by a '-' character, and end with five random characters. The total length of the text generated by the template can be no more than 15 characters. Supports $filter, $select, $orderBy. */ @SerializedName(value = "cloudPcNamingTemplate", alternate = {"CloudPcNamingTemplate"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/CloudPcProvisioningPolicyAssignment.java b/src/main/java/com/microsoft/graph/models/CloudPcProvisioningPolicyAssignment.java index 5ba482ef172..7378acab1f4 100644 --- a/src/main/java/com/microsoft/graph/models/CloudPcProvisioningPolicyAssignment.java +++ b/src/main/java/com/microsoft/graph/models/CloudPcProvisioningPolicyAssignment.java @@ -39,7 +39,7 @@ public class CloudPcProvisioningPolicyAssignment extends Entity implements IJson /** * The Assigned Users. - * + * The assignment targeted users for the provisioning policy. This list of users is computed based on assignments, licenses, group memberships, and policies. This property is read-only. Supports$expand. * @deprecated The Graph Notification API is deprecated and will stop returning data on March 20, 2023. */ @Deprecated diff --git a/src/main/java/com/microsoft/graph/models/ConditionalAccessEnumeratedExternalTenants.java b/src/main/java/com/microsoft/graph/models/ConditionalAccessEnumeratedExternalTenants.java index ec6007c3e33..b761df29591 100644 --- a/src/main/java/com/microsoft/graph/models/ConditionalAccessEnumeratedExternalTenants.java +++ b/src/main/java/com/microsoft/graph/models/ConditionalAccessEnumeratedExternalTenants.java @@ -28,7 +28,7 @@ public class ConditionalAccessEnumeratedExternalTenants extends ConditionalAcces /** * The Members. - * Represents a collection of tenant ids in the scope of Conditional Access for guests and external users policy targeting. + * A collection of tenant IDs that define the scope of a policy targeting conditional access for guests and external users. */ @SerializedName(value = "members", alternate = {"Members"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/ConditionalAccessExternalTenants.java b/src/main/java/com/microsoft/graph/models/ConditionalAccessExternalTenants.java index 2c30184d84e..60ef7fdfca7 100644 --- a/src/main/java/com/microsoft/graph/models/ConditionalAccessExternalTenants.java +++ b/src/main/java/com/microsoft/graph/models/ConditionalAccessExternalTenants.java @@ -40,7 +40,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Membership Kind. - * Represents the membership kind. The possible values are: all, enumerated, unknownFutureValue. enumerated references an object of conditionalAccessEnumeratedExternalTenants derived type. + * The membership kind. Possible values are: all, enumerated, unknownFutureValue. The enumerated member references an conditionalAccessEnumeratedExternalTenants object. */ @SerializedName(value = "membershipKind", alternate = {"MembershipKind"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/ConditionalAccessGuestsOrExternalUsers.java b/src/main/java/com/microsoft/graph/models/ConditionalAccessGuestsOrExternalUsers.java index a8b0fdff123..8dc6c8b4b83 100644 --- a/src/main/java/com/microsoft/graph/models/ConditionalAccessGuestsOrExternalUsers.java +++ b/src/main/java/com/microsoft/graph/models/ConditionalAccessGuestsOrExternalUsers.java @@ -41,7 +41,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The External Tenants. - * The tenant ids of the selected types of external users. It could be either all b2b tenant, or a collection of tenant ids. External tenants can be specified only when guestOrExternalUserTypes is not null or an empty string. + * The tenant IDs of the selected types of external users. Either all B2B tenant or a collection of tenant IDs. External tenants can be specified only when the property guestOrExternalUserTypes is not null or an empty String. */ @SerializedName(value = "externalTenants", alternate = {"ExternalTenants"}) @Expose @@ -50,7 +50,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Guest Or External User Types. - * Represents internal guests or external user types. This is a multi-valued property. Supported values are: b2bCollaborationGuest, b2bCollaborationMember, b2bDirectConnectUser, internalGuest, OtherExternalUser, serviceProvider and unknownFutureValue. + * Indicates internal guests or external user types. This is a multi-valued property. Possible values are: none, internalGuest, b2bCollaborationGuest, b2bCollaborationMember, b2bDirectConnectUser, otherExternalUser, serviceProvider, unknownFutureValue. */ @SerializedName(value = "guestOrExternalUserTypes", alternate = {"GuestOrExternalUserTypes"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/ConditionalAccessUsers.java b/src/main/java/com/microsoft/graph/models/ConditionalAccessUsers.java index 92542b81d6c..1a10243c170 100644 --- a/src/main/java/com/microsoft/graph/models/ConditionalAccessUsers.java +++ b/src/main/java/com/microsoft/graph/models/ConditionalAccessUsers.java @@ -50,7 +50,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Exclude Guests Or External Users. - * Internal guests or external users excluded in the policy scope. Optionally populated. + * Internal guests or external users excluded from the policy scope. Optionally populated. */ @SerializedName(value = "excludeGuestsOrExternalUsers", alternate = {"ExcludeGuestsOrExternalUsers"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationChoiceSettingCollectionDefinition.java b/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationChoiceSettingCollectionDefinition.java index d62915a6c6a..876d88aa003 100644 --- a/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationChoiceSettingCollectionDefinition.java +++ b/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationChoiceSettingCollectionDefinition.java @@ -27,7 +27,7 @@ public class DeviceManagementConfigurationChoiceSettingCollectionDefinition exte /** * The Maximum Count. - * Maximum number of choices in the collection. Valid values 1 to 100 + * Maximum number of choices in the collection */ @SerializedName(value = "maximumCount", alternate = {"MaximumCount"}) @Expose @@ -36,7 +36,7 @@ public class DeviceManagementConfigurationChoiceSettingCollectionDefinition exte /** * The Minimum Count. - * Minimum number of choices in the collection. Valid values 1 to 100 + * Minimum number of choices in the collection */ @SerializedName(value = "minimumCount", alternate = {"MinimumCount"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationReferredSettingInformation.java b/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationReferredSettingInformation.java index 761f2f7c726..fa54edf786f 100644 --- a/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationReferredSettingInformation.java +++ b/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationReferredSettingInformation.java @@ -39,7 +39,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Setting Definition Id. - * Setting definition id that is being referred to a setting. Applicable for reusable setting + * Setting definition id that is being referred to a setting. Applicable for reusable setting. */ @SerializedName(value = "settingDefinitionId", alternate = {"SettingDefinitionId"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationSettingApplicability.java b/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationSettingApplicability.java index c1f78bb0a61..c56a0e07f56 100644 --- a/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationSettingApplicability.java +++ b/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationSettingApplicability.java @@ -60,7 +60,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Platform. - * Platform setting can be applied on. Posible values are: none, android, androidEnterprise, iOs, macOs, windows10X, windows10, aosp, and linux. Possible values are: none, android, iOS, macOS, windows10X, windows10, linux, unknownFutureValue. + * Platform setting can be applied on. Possible values are: none, android, iOS, macOS, windows10X, windows10, linux, unknownFutureValue. */ @SerializedName(value = "platform", alternate = {"Platform"}) @Expose @@ -69,7 +69,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Technologies. - * Which technology channels this setting can be deployed through. Posible values are: none, mdm, configManager, intuneManagementExtension, thirdParty, documentGateway, appleRemoteManagement, microsoftSense, exchangeOnline, edgeMam, linuxMdm, extensibility, enrollment, endpointPrivilegeManagement. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, mobileApplicationManagement, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue. + * Which technology channels this setting can be deployed through. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue. */ @SerializedName(value = "technologies", alternate = {"Technologies"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationSettingDefinition.java b/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationSettingDefinition.java index 76ce2addb62..3bef3608856 100644 --- a/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationSettingDefinition.java +++ b/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationSettingDefinition.java @@ -44,7 +44,7 @@ public class DeviceManagementConfigurationSettingDefinition extends Entity imple /** * The Applicability. - * Details which device setting is applicable on. Supports: $filters. + * Details which device setting is applicable on */ @SerializedName(value = "applicability", alternate = {"Applicability"}) @Expose @@ -62,7 +62,7 @@ public class DeviceManagementConfigurationSettingDefinition extends Entity imple /** * The Category Id. - * Specify category in which the setting is under. Support $filters. + * Specifies the area group under which the setting is configured in a specified configuration service provider (CSP) */ @SerializedName(value = "categoryId", alternate = {"CategoryId"}) @Expose @@ -71,7 +71,7 @@ public class DeviceManagementConfigurationSettingDefinition extends Entity imple /** * The Description. - * Description of the setting. + * Description of the item */ @SerializedName(value = "description", alternate = {"Description"}) @Expose @@ -80,7 +80,7 @@ public class DeviceManagementConfigurationSettingDefinition extends Entity imple /** * The Display Name. - * Name of the setting. For example: Allow Toast. + * Display name of the item */ @SerializedName(value = "displayName", alternate = {"DisplayName"}) @Expose @@ -89,7 +89,7 @@ public class DeviceManagementConfigurationSettingDefinition extends Entity imple /** * The Help Text. - * Help text of the setting. Give more details of the setting. + * Help text of the item */ @SerializedName(value = "helpText", alternate = {"HelpText"}) @Expose @@ -98,7 +98,7 @@ public class DeviceManagementConfigurationSettingDefinition extends Entity imple /** * The Info Urls. - * List of links more info for the setting can be found at. + * List of links more info for the setting can be found at */ @SerializedName(value = "infoUrls", alternate = {"InfoUrls"}) @Expose @@ -152,7 +152,7 @@ public class DeviceManagementConfigurationSettingDefinition extends Entity imple /** * The Root Definition Id. - * Root setting definition id if the setting is a child setting. + * Root setting definition if the setting is a child setting. */ @SerializedName(value = "rootDefinitionId", alternate = {"RootDefinitionId"}) @Expose @@ -161,7 +161,7 @@ public class DeviceManagementConfigurationSettingDefinition extends Entity imple /** * The Setting Usage. - * Indicate setting type for the setting. Possible values are: configuration, compliance, reusableSetting. Each setting usage has separate API end-point to call. Possible values are: none, configuration, compliance, unknownFutureValue. + * Setting type, for example, configuration and compliance. Possible values are: none, configuration, compliance. */ @SerializedName(value = "settingUsage", alternate = {"SettingUsage"}) @Expose @@ -170,7 +170,7 @@ public class DeviceManagementConfigurationSettingDefinition extends Entity imple /** * The Ux Behavior. - * Setting control type representation in the UX. Possible values are: default, dropdown, smallTextBox, largeTextBox, toggle, multiheaderGrid, contextPane. Possible values are: default, dropdown, smallTextBox, largeTextBox, toggle, multiheaderGrid, contextPane, unknownFutureValue. + * Setting control type representation in the UX. Possible values are: default, dropdown, smallTextBox, largeTextBox, toggle, multiheaderGrid, contextPane. */ @SerializedName(value = "uxBehavior", alternate = {"UxBehavior"}) @Expose @@ -188,7 +188,7 @@ public class DeviceManagementConfigurationSettingDefinition extends Entity imple /** * The Visibility. - * Setting visibility scope to UX. Possible values are: none, settingsCatalog, template. Possible values are: none, settingsCatalog, template, unknownFutureValue. + * Setting visibility scope to UX. Possible values are: none, settingsCatalog, template. */ @SerializedName(value = "visibility", alternate = {"Visibility"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationSettingGroupCollectionDefinition.java b/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationSettingGroupCollectionDefinition.java index 5e200be9a9d..0f75a91f624 100644 --- a/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationSettingGroupCollectionDefinition.java +++ b/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationSettingGroupCollectionDefinition.java @@ -27,7 +27,7 @@ public class DeviceManagementConfigurationSettingGroupCollectionDefinition exten /** * The Maximum Count. - * Maximum number of setting group count in the collection + * Maximum number of setting group count in the collection. Valid values 1 to 100 */ @SerializedName(value = "maximumCount", alternate = {"MaximumCount"}) @Expose @@ -36,7 +36,7 @@ public class DeviceManagementConfigurationSettingGroupCollectionDefinition exten /** * The Minimum Count. - * Minimum number of setting group count in the collection + * Minimum number of setting group count in the collection. Valid values 1 to 100 */ @SerializedName(value = "minimumCount", alternate = {"MinimumCount"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationSettingGroupDefinition.java b/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationSettingGroupDefinition.java index 95157775e21..5ab0b0819ed 100644 --- a/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationSettingGroupDefinition.java +++ b/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationSettingGroupDefinition.java @@ -30,7 +30,7 @@ public class DeviceManagementConfigurationSettingGroupDefinition extends DeviceM /** * The Child Ids. - * Dependent child settings to this group of settings + * Dependent child settings to this group of settings. */ @SerializedName(value = "childIds", alternate = {"ChildIds"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationSimpleSettingCollectionDefinition.java b/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationSimpleSettingCollectionDefinition.java index 24483ee9855..e569c859191 100644 --- a/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationSimpleSettingCollectionDefinition.java +++ b/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationSimpleSettingCollectionDefinition.java @@ -27,7 +27,7 @@ public class DeviceManagementConfigurationSimpleSettingCollectionDefinition exte /** * The Maximum Count. - * Maximum number of simple settings in the collection + * Maximum number of simple settings in the collection. Valid values 1 to 100 */ @SerializedName(value = "maximumCount", alternate = {"MaximumCount"}) @Expose @@ -36,7 +36,7 @@ public class DeviceManagementConfigurationSimpleSettingCollectionDefinition exte /** * The Minimum Count. - * Minimum number of simple settings in the collection + * Minimum number of simple settings in the collection. Valid values 1 to 100 */ @SerializedName(value = "minimumCount", alternate = {"MinimumCount"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationSimpleSettingDefinition.java b/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationSimpleSettingDefinition.java index b429e7d5636..6c92830d21a 100644 --- a/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationSimpleSettingDefinition.java +++ b/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationSimpleSettingDefinition.java @@ -32,7 +32,7 @@ public class DeviceManagementConfigurationSimpleSettingDefinition extends Device /** * The Default Value. - * Default setting value for this setting. + * Default setting value for this setting */ @SerializedName(value = "defaultValue", alternate = {"DefaultValue"}) @Expose @@ -41,7 +41,7 @@ public class DeviceManagementConfigurationSimpleSettingDefinition extends Device /** * The Depended On By. - * list of child settings that depend on this setting. + * list of child settings that depend on this setting */ @SerializedName(value = "dependedOnBy", alternate = {"DependedOnBy"}) @Expose @@ -50,7 +50,7 @@ public class DeviceManagementConfigurationSimpleSettingDefinition extends Device /** * The Dependent On. - * list of parent settings this setting is dependent on. + * list of parent settings this setting is dependent on */ @SerializedName(value = "dependentOn", alternate = {"DependentOn"}) @Expose @@ -59,7 +59,7 @@ public class DeviceManagementConfigurationSimpleSettingDefinition extends Device /** * The Value Definition. - * Definition of the value for this setting. + * Definition of the value for this setting */ @SerializedName(value = "valueDefinition", alternate = {"ValueDefinition"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationStringSettingValueDefinition.java b/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationStringSettingValueDefinition.java index e70ca7958e2..e72e9d5a8ee 100644 --- a/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationStringSettingValueDefinition.java +++ b/src/main/java/com/microsoft/graph/models/DeviceManagementConfigurationStringSettingValueDefinition.java @@ -38,7 +38,7 @@ public class DeviceManagementConfigurationStringSettingValueDefinition extends D /** * The Format. - * Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub. + * Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub, bashScript, unknownFutureValue. */ @SerializedName(value = "format", alternate = {"Format"}) @Expose @@ -65,7 +65,7 @@ public class DeviceManagementConfigurationStringSettingValueDefinition extends D /** * The Maximum Length. - * Maximum length of string + * Maximum length of string. Valid values 0 to 87516 */ @SerializedName(value = "maximumLength", alternate = {"MaximumLength"}) @Expose @@ -74,7 +74,7 @@ public class DeviceManagementConfigurationStringSettingValueDefinition extends D /** * The Minimum Length. - * Minimum length of string + * Minimum length of string. Valid values 0 to 87516 */ @SerializedName(value = "minimumLength", alternate = {"MinimumLength"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/Directory.java b/src/main/java/com/microsoft/graph/models/Directory.java index e661e48ae8d..de68ca502f8 100644 --- a/src/main/java/com/microsoft/graph/models/Directory.java +++ b/src/main/java/com/microsoft/graph/models/Directory.java @@ -12,7 +12,6 @@ import com.microsoft.graph.models.Entity; import com.microsoft.graph.requests.ImpactedResourceCollectionPage; import com.microsoft.graph.requests.RecommendationCollectionPage; -import com.microsoft.graph.requests.AdministrativeUnitCollectionPage; import com.microsoft.graph.requests.AttributeSetCollectionPage; import com.microsoft.graph.requests.CustomSecurityAttributeDefinitionCollectionPage; import com.microsoft.graph.requests.DirectoryObjectCollectionPage; diff --git a/src/main/java/com/microsoft/graph/models/EducationAssignment.java b/src/main/java/com/microsoft/graph/models/EducationAssignment.java index 3d0f6a3dc26..2985b813c28 100644 --- a/src/main/java/com/microsoft/graph/models/EducationAssignment.java +++ b/src/main/java/com/microsoft/graph/models/EducationAssignment.java @@ -16,6 +16,7 @@ import com.microsoft.graph.models.EducationAssignmentGradeType; import com.microsoft.graph.models.EducationItemBody; import com.microsoft.graph.models.EducationAssignmentStatus; +import com.microsoft.graph.models.EducationGradingCategory; import com.microsoft.graph.models.EducationRubric; import com.microsoft.graph.models.Entity; import com.microsoft.graph.requests.EducationCategoryCollectionPage; @@ -219,7 +220,7 @@ public class EducationAssignment extends Entity implements IJsonBackedObject { /** * The Status. - * Status of the Assignment. You can not PATCH this value. Possible values are: draft, scheduled, published, assigned. + * Status of the Assignment. You can not PATCH this value. Possible values are: draft, scheduled, published, assigned, unknownFutureValue and inactive. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: inactive. */ @SerializedName(value = "status", alternate = {"Status"}) @Expose @@ -244,6 +245,15 @@ public class EducationAssignment extends Entity implements IJsonBackedObject { @Nullable public com.microsoft.graph.requests.EducationCategoryCollectionPage categories; + /** + * The Grading Category. + * + */ + @SerializedName(value = "gradingCategory", alternate = {"GradingCategory"}) + @Expose + @Nullable + public EducationGradingCategory gradingCategory; + /** * The Resources. * Learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. diff --git a/src/main/java/com/microsoft/graph/models/EducationAssignmentSettings.java b/src/main/java/com/microsoft/graph/models/EducationAssignmentSettings.java index 8f810c4197d..7bb293c0d6a 100644 --- a/src/main/java/com/microsoft/graph/models/EducationAssignmentSettings.java +++ b/src/main/java/com/microsoft/graph/models/EducationAssignmentSettings.java @@ -8,7 +8,9 @@ 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.Entity; +import com.microsoft.graph.requests.EducationGradingCategoryCollectionPage; import com.google.gson.JsonObject; @@ -34,6 +36,15 @@ public class EducationAssignmentSettings extends Entity implements IJsonBackedOb @Nullable public Boolean submissionAnimationDisabled; + /** + * The Grading Categories. + * + */ + @SerializedName(value = "gradingCategories", alternate = {"GradingCategories"}) + @Expose + @Nullable + public com.microsoft.graph.requests.EducationGradingCategoryCollectionPage gradingCategories; + /** * Sets the raw JSON object @@ -43,5 +54,9 @@ public class EducationAssignmentSettings extends Entity implements IJsonBackedOb */ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) { + + if (json.has("gradingCategories")) { + gradingCategories = serializer.deserializeObject(json.get("gradingCategories"), com.microsoft.graph.requests.EducationGradingCategoryCollectionPage.class); + } } } diff --git a/src/main/java/com/microsoft/graph/models/EducationGradingCategory.java b/src/main/java/com/microsoft/graph/models/EducationGradingCategory.java new file mode 100644 index 00000000000..15b4e7943a5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/EducationGradingCategory.java @@ -0,0 +1,56 @@ +// 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.Entity; + + +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 Education Grading Category. + */ +public class EducationGradingCategory extends Entity implements IJsonBackedObject { + + + /** + * The Display Name. + * + */ + @SerializedName(value = "displayName", alternate = {"DisplayName"}) + @Expose + @Nullable + public String displayName; + + /** + * The Percentage Weight. + * + */ + @SerializedName(value = "percentageWeight", alternate = {"PercentageWeight"}) + @Expose + @Nullable + public Integer percentageWeight; + + + /** + * 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/Identity.java b/src/main/java/com/microsoft/graph/models/Identity.java index 6651da65cf2..175cf64bc6e 100644 --- a/src/main/java/com/microsoft/graph/models/Identity.java +++ b/src/main/java/com/microsoft/graph/models/Identity.java @@ -39,7 +39,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Display Name. - * The display name of the identity. Note that this might not always be available or up to date. For example, if a user changes their display name, the API might show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. + * The display name of the identity. This property is read-only. */ @SerializedName(value = "displayName", alternate = {"DisplayName"}) @Expose @@ -48,7 +48,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Id. - * Unique identifier for the identity. + * The identifier of the identity. This property is read-only. */ @SerializedName(value = "id", alternate = {"Id"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/IdleSessionSignOut.java b/src/main/java/com/microsoft/graph/models/IdleSessionSignOut.java index eca5befe1e8..6fbef347200 100644 --- a/src/main/java/com/microsoft/graph/models/IdleSessionSignOut.java +++ b/src/main/java/com/microsoft/graph/models/IdleSessionSignOut.java @@ -39,7 +39,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Is Enabled. - * + * Indicates whether the idle session sign-out policy is enabled. */ @SerializedName(value = "isEnabled", alternate = {"IsEnabled"}) @Expose @@ -48,7 +48,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Sign Out After In Seconds. - * + * Number of seconds of inactivity after which a user is signed out. */ @SerializedName(value = "signOutAfterInSeconds", alternate = {"SignOutAfterInSeconds"}) @Expose @@ -57,7 +57,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Warn After In Seconds. - * + * Number of seconds of inactivity after which a user is notified that they'll be signed out. */ @SerializedName(value = "warnAfterInSeconds", alternate = {"WarnAfterInSeconds"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/KeyValue.java b/src/main/java/com/microsoft/graph/models/KeyValue.java index f608cf2a999..db2e719e7f3 100644 --- a/src/main/java/com/microsoft/graph/models/KeyValue.java +++ b/src/main/java/com/microsoft/graph/models/KeyValue.java @@ -39,7 +39,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Key. - * Contains the name of the field that a value is associated with. When a sign in or domain hint is included in the sign-in request, corresponding fields are included as key-value pairs. Possible keys: Login hint present, Domain hint present. + * Key. */ @SerializedName(value = "key", alternate = {"Key"}) @Expose @@ -48,7 +48,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Value. - * Contains the corresponding value for the specified key. The value is true if a sign in hint was included in the sign-in request; otherwise false. The value is true if a domain hint was included in the sign-in request; otherwise false. + * Value. */ @SerializedName(value = "value", alternate = {"Value"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/MacOsLobAppAssignmentSettings.java b/src/main/java/com/microsoft/graph/models/MacOsLobAppAssignmentSettings.java index 9bd8f5ca6c0..8ca093bfc90 100644 --- a/src/main/java/com/microsoft/graph/models/MacOsLobAppAssignmentSettings.java +++ b/src/main/java/com/microsoft/graph/models/MacOsLobAppAssignmentSettings.java @@ -27,7 +27,7 @@ public class MacOsLobAppAssignmentSettings extends MobileAppAssignmentSettings i /** * The Uninstall On Device Removal. - * Whether or not to uninstall the app when device is removed from Intune. + * When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune. */ @SerializedName(value = "uninstallOnDeviceRemoval", alternate = {"UninstallOnDeviceRemoval"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/MembershipOutlierInsight.java b/src/main/java/com/microsoft/graph/models/MembershipOutlierInsight.java index 2e5aaee6cb2..4c3b2cdefe4 100644 --- a/src/main/java/com/microsoft/graph/models/MembershipOutlierInsight.java +++ b/src/main/java/com/microsoft/graph/models/MembershipOutlierInsight.java @@ -76,7 +76,7 @@ public class MembershipOutlierInsight extends GovernanceInsight implements IJson /** * The Last Modified By. - * + * Navigation link to a member object who modified the record. For example, to a user. * @deprecated The Graph Notification API is deprecated and will stop returning data on March 20, 2023. */ @Deprecated diff --git a/src/main/java/com/microsoft/graph/models/OnlineMeeting.java b/src/main/java/com/microsoft/graph/models/OnlineMeeting.java index 94fb9c08bf5..b098ce71040 100644 --- a/src/main/java/com/microsoft/graph/models/OnlineMeeting.java +++ b/src/main/java/com/microsoft/graph/models/OnlineMeeting.java @@ -88,6 +88,15 @@ public class OnlineMeeting extends Entity implements IJsonBackedObject { @Nullable public Boolean allowParticipantsToChangeName; + /** + * The Allow Recording. + * + */ + @SerializedName(value = "allowRecording", alternate = {"AllowRecording"}) + @Expose + @Nullable + public Boolean allowRecording; + /** * The Allow Teamwork Reactions. * Indicates if Teams reactions are enabled for the meeting. @@ -97,6 +106,15 @@ public class OnlineMeeting extends Entity implements IJsonBackedObject { @Nullable public Boolean allowTeamworkReactions; + /** + * The Allow Transcription. + * + */ + @SerializedName(value = "allowTranscription", alternate = {"AllowTranscription"}) + @Expose + @Nullable + public Boolean allowTranscription; + /** * The Anonymize Identity For Roles. * diff --git a/src/main/java/com/microsoft/graph/models/PrivilegedAccessGroup.java b/src/main/java/com/microsoft/graph/models/PrivilegedAccessGroup.java index 27d38597961..0810b252515 100644 --- a/src/main/java/com/microsoft/graph/models/PrivilegedAccessGroup.java +++ b/src/main/java/com/microsoft/graph/models/PrivilegedAccessGroup.java @@ -44,7 +44,7 @@ public class PrivilegedAccessGroup extends Entity implements IJsonBackedObject { /** * The Assignment Schedule Instances. - * + * The instances of assignment schedules to activate a just-in-time access. */ @SerializedName(value = "assignmentScheduleInstances", alternate = {"AssignmentScheduleInstances"}) @Expose @@ -53,7 +53,7 @@ public class PrivilegedAccessGroup extends Entity implements IJsonBackedObject { /** * The Assignment Schedule Requests. - * + * The schedule requests for operations to create, update, delete, extend, and renew an assignment. */ @SerializedName(value = "assignmentScheduleRequests", alternate = {"AssignmentScheduleRequests"}) @Expose @@ -62,7 +62,7 @@ public class PrivilegedAccessGroup extends Entity implements IJsonBackedObject { /** * The Assignment Schedules. - * + * The assignment schedules to activate a just-in-time access. */ @SerializedName(value = "assignmentSchedules", alternate = {"AssignmentSchedules"}) @Expose @@ -71,7 +71,7 @@ public class PrivilegedAccessGroup extends Entity implements IJsonBackedObject { /** * The Eligibility Schedule Instances. - * + * The instances of eligibility schedules to activate a just-in-time access. */ @SerializedName(value = "eligibilityScheduleInstances", alternate = {"EligibilityScheduleInstances"}) @Expose @@ -80,7 +80,7 @@ public class PrivilegedAccessGroup extends Entity implements IJsonBackedObject { /** * The Eligibility Schedule Requests. - * + * The schedule requests for operations to create, update, delete, extend, and renew an eligibility. */ @SerializedName(value = "eligibilityScheduleRequests", alternate = {"EligibilityScheduleRequests"}) @Expose @@ -89,7 +89,7 @@ public class PrivilegedAccessGroup extends Entity implements IJsonBackedObject { /** * The Eligibility Schedules. - * + * The eligibility schedules to activate a just-in-time access. */ @SerializedName(value = "eligibilitySchedules", alternate = {"EligibilitySchedules"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/PrivilegedAccessGroupAssignmentSchedule.java b/src/main/java/com/microsoft/graph/models/PrivilegedAccessGroupAssignmentSchedule.java index 9eb1bd16ac6..4800c095bfb 100644 --- a/src/main/java/com/microsoft/graph/models/PrivilegedAccessGroupAssignmentSchedule.java +++ b/src/main/java/com/microsoft/graph/models/PrivilegedAccessGroupAssignmentSchedule.java @@ -33,7 +33,7 @@ public class PrivilegedAccessGroupAssignmentSchedule extends PrivilegedAccessSch /** * The Access Id. - * + * The identifier of the membership or ownership assignment to the group that is governed by PIM. Required. The possible values are: owner, member, unknownFutureValue. */ @SerializedName(value = "accessId", alternate = {"AccessId"}) @Expose @@ -42,7 +42,7 @@ public class PrivilegedAccessGroupAssignmentSchedule extends PrivilegedAccessSch /** * The Assignment Type. - * + * Indicates whether the membership or ownership assignment for the principal is granted through activation or direct assignment. Required. The possible values are: assigned, activated, unknownFutureValue. */ @SerializedName(value = "assignmentType", alternate = {"AssignmentType"}) @Expose @@ -51,7 +51,7 @@ public class PrivilegedAccessGroupAssignmentSchedule extends PrivilegedAccessSch /** * The Group Id. - * + * The identifier of the group representing the scope of the membership or ownership assignment through PIM for groups. Required. */ @SerializedName(value = "groupId", alternate = {"GroupId"}) @Expose @@ -60,7 +60,7 @@ public class PrivilegedAccessGroupAssignmentSchedule extends PrivilegedAccessSch /** * The Member Type. - * + * Indicates whether the assignment is derived from a direct group assignment or through a transitive assignment. The possible values are: direct, group, unknownFutureValue. */ @SerializedName(value = "memberType", alternate = {"MemberType"}) @Expose @@ -69,7 +69,7 @@ public class PrivilegedAccessGroupAssignmentSchedule extends PrivilegedAccessSch /** * The Principal Id. - * + * The identifier of the principal whose membership or ownership assignment is granted through PIM for groups. Required. */ @SerializedName(value = "principalId", alternate = {"PrincipalId"}) @Expose @@ -78,7 +78,7 @@ public class PrivilegedAccessGroupAssignmentSchedule extends PrivilegedAccessSch /** * The Activated Using. - * + * When the request activates an ownership or membership assignment in PIM for groups, this object represents the eligibility relationship. Otherwise, it is null. Supports $expand. */ @SerializedName(value = "activatedUsing", alternate = {"ActivatedUsing"}) @Expose @@ -87,7 +87,7 @@ public class PrivilegedAccessGroupAssignmentSchedule extends PrivilegedAccessSch /** * The Group. - * + * References the group that is the scope of the membership or ownership assignment through PIM for groups. Supports $expand. */ @SerializedName(value = "group", alternate = {"Group"}) @Expose @@ -96,7 +96,7 @@ public class PrivilegedAccessGroupAssignmentSchedule extends PrivilegedAccessSch /** * The Principal. - * + * References the principal that's in the scope of this membership or ownership assignment request to the group that's governed by PIM. Supports $expand. */ @SerializedName(value = "principal", alternate = {"Principal"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/PrivilegedAccessGroupAssignmentScheduleInstance.java b/src/main/java/com/microsoft/graph/models/PrivilegedAccessGroupAssignmentScheduleInstance.java index 7dc9c3ae42b..a469eaf03da 100644 --- a/src/main/java/com/microsoft/graph/models/PrivilegedAccessGroupAssignmentScheduleInstance.java +++ b/src/main/java/com/microsoft/graph/models/PrivilegedAccessGroupAssignmentScheduleInstance.java @@ -33,7 +33,7 @@ public class PrivilegedAccessGroupAssignmentScheduleInstance extends PrivilegedA /** * The Access Id. - * + * The identifier of the membership or ownership assignment relationship to the group. Required. The possible values are: owner, member, unknownFutureValue. */ @SerializedName(value = "accessId", alternate = {"AccessId"}) @Expose @@ -42,7 +42,7 @@ public class PrivilegedAccessGroupAssignmentScheduleInstance extends PrivilegedA /** * The Assignment Schedule Id. - * + * The identifier of the privilegedAccessGroupAssignmentSchedule from which this instance was created. Required. */ @SerializedName(value = "assignmentScheduleId", alternate = {"AssignmentScheduleId"}) @Expose @@ -51,7 +51,7 @@ public class PrivilegedAccessGroupAssignmentScheduleInstance extends PrivilegedA /** * The Assignment Type. - * + * Indicates whether the membership or ownership assignment is granted through activation of an eligibility or through direct assignment. Required. The possible values are: assigned, activated, unknownFutureValue. */ @SerializedName(value = "assignmentType", alternate = {"AssignmentType"}) @Expose @@ -60,7 +60,7 @@ public class PrivilegedAccessGroupAssignmentScheduleInstance extends PrivilegedA /** * The Group Id. - * + * The identifier of the group representing the scope of the membership or ownership assignment through PIM for groups. Optional. */ @SerializedName(value = "groupId", alternate = {"GroupId"}) @Expose @@ -69,7 +69,7 @@ public class PrivilegedAccessGroupAssignmentScheduleInstance extends PrivilegedA /** * The Member Type. - * + * Indicates whether the assignment is derived from a group assignment. It can further imply whether the caller can manage the assignment schedule. Required. The possible values are: direct, group, unknownFutureValue. */ @SerializedName(value = "memberType", alternate = {"MemberType"}) @Expose @@ -78,7 +78,7 @@ public class PrivilegedAccessGroupAssignmentScheduleInstance extends PrivilegedA /** * The Principal Id. - * + * The identifier of the principal whose membership or ownership assignment to the group is managed through PIM for groups. Required. */ @SerializedName(value = "principalId", alternate = {"PrincipalId"}) @Expose @@ -87,7 +87,7 @@ public class PrivilegedAccessGroupAssignmentScheduleInstance extends PrivilegedA /** * The Activated Using. - * + * When the request activates a membership or ownership in PIM for groups, this object represents the eligibility request for the group. Otherwise, it is null. */ @SerializedName(value = "activatedUsing", alternate = {"ActivatedUsing"}) @Expose @@ -96,7 +96,7 @@ public class PrivilegedAccessGroupAssignmentScheduleInstance extends PrivilegedA /** * The Group. - * + * References the group that is the scope of the membership or ownership assignment through PIM for groups. Supports $expand. */ @SerializedName(value = "group", alternate = {"Group"}) @Expose @@ -105,7 +105,7 @@ public class PrivilegedAccessGroupAssignmentScheduleInstance extends PrivilegedA /** * The Principal. - * + * References the principal that's in the scope of the membership or ownership assignment request through the group that's governed by PIM. Supports $expand. */ @SerializedName(value = "principal", alternate = {"Principal"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/PrivilegedAccessGroupAssignmentScheduleRequest.java b/src/main/java/com/microsoft/graph/models/PrivilegedAccessGroupAssignmentScheduleRequest.java index e7f65181bb1..2ad3c94fe98 100644 --- a/src/main/java/com/microsoft/graph/models/PrivilegedAccessGroupAssignmentScheduleRequest.java +++ b/src/main/java/com/microsoft/graph/models/PrivilegedAccessGroupAssignmentScheduleRequest.java @@ -31,7 +31,7 @@ public class PrivilegedAccessGroupAssignmentScheduleRequest extends PrivilegedAc /** * The Access Id. - * + * The identifier of a membership or ownership assignment relationship to the group. Required. The possible values are: owner, member, unknownFutureValue. */ @SerializedName(value = "accessId", alternate = {"AccessId"}) @Expose @@ -40,7 +40,7 @@ public class PrivilegedAccessGroupAssignmentScheduleRequest extends PrivilegedAc /** * The Group Id. - * + * The identifier of the group representing the scope of the membership or ownership assignment through PIM for groups. Required. */ @SerializedName(value = "groupId", alternate = {"GroupId"}) @Expose @@ -49,7 +49,7 @@ public class PrivilegedAccessGroupAssignmentScheduleRequest extends PrivilegedAc /** * The Principal Id. - * + * The identifier of the principal whose membership or ownership assignment to the group is managed through PIM for groups. Supports $filter (eq, ne). */ @SerializedName(value = "principalId", alternate = {"PrincipalId"}) @Expose @@ -58,7 +58,7 @@ public class PrivilegedAccessGroupAssignmentScheduleRequest extends PrivilegedAc /** * The Target Schedule Id. - * + * The identifier of the schedule that's created from the membership or ownership assignment request. Supports $filter (eq, ne). */ @SerializedName(value = "targetScheduleId", alternate = {"TargetScheduleId"}) @Expose @@ -67,7 +67,7 @@ public class PrivilegedAccessGroupAssignmentScheduleRequest extends PrivilegedAc /** * The Activated Using. - * + * When the request activates a membership or ownership assignment in PIM for groups, this object represents the eligibility policy for the group. Otherwise, it is null. Supports $expand. */ @SerializedName(value = "activatedUsing", alternate = {"ActivatedUsing"}) @Expose @@ -76,7 +76,7 @@ public class PrivilegedAccessGroupAssignmentScheduleRequest extends PrivilegedAc /** * The Group. - * + * References the group that is the scope of the membership or ownership assignment request through PIM for groups. Supports $expand. */ @SerializedName(value = "group", alternate = {"Group"}) @Expose @@ -85,7 +85,7 @@ public class PrivilegedAccessGroupAssignmentScheduleRequest extends PrivilegedAc /** * The Principal. - * + * References the principal that's in the scope of this membership or ownership assignment request through the group that's governed by PIM. Supports $expand. */ @SerializedName(value = "principal", alternate = {"Principal"}) @Expose @@ -94,7 +94,7 @@ public class PrivilegedAccessGroupAssignmentScheduleRequest extends PrivilegedAc /** * The Target Schedule. - * + * Schedule created by this request. Supports $expand. */ @SerializedName(value = "targetSchedule", alternate = {"TargetSchedule"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/PrivilegedAccessGroupEligibilitySchedule.java b/src/main/java/com/microsoft/graph/models/PrivilegedAccessGroupEligibilitySchedule.java index f318311662a..de41ecc8970 100644 --- a/src/main/java/com/microsoft/graph/models/PrivilegedAccessGroupEligibilitySchedule.java +++ b/src/main/java/com/microsoft/graph/models/PrivilegedAccessGroupEligibilitySchedule.java @@ -31,7 +31,7 @@ public class PrivilegedAccessGroupEligibilitySchedule extends PrivilegedAccessSc /** * The Access Id. - * + * The identifier of the membership or ownership eligibility to the group that is governed by PIM. Required. The possible values are: owner, member. */ @SerializedName(value = "accessId", alternate = {"AccessId"}) @Expose @@ -40,7 +40,7 @@ public class PrivilegedAccessGroupEligibilitySchedule extends PrivilegedAccessSc /** * The Group Id. - * + * The identifier of the group representing the scope of the membership or ownership eligibility through PIM for groups. Required. */ @SerializedName(value = "groupId", alternate = {"GroupId"}) @Expose @@ -49,7 +49,7 @@ public class PrivilegedAccessGroupEligibilitySchedule extends PrivilegedAccessSc /** * The Member Type. - * + * Indicates whether the assignment is derived from a group assignment. It can further imply whether the caller can manage the schedule. Required. The possible values are: direct, group, unknownFutureValue. */ @SerializedName(value = "memberType", alternate = {"MemberType"}) @Expose @@ -58,7 +58,7 @@ public class PrivilegedAccessGroupEligibilitySchedule extends PrivilegedAccessSc /** * The Principal Id. - * + * The identifier of the principal whose membership or ownership eligibility is granted through PIM for groups. Required. */ @SerializedName(value = "principalId", alternate = {"PrincipalId"}) @Expose @@ -67,7 +67,7 @@ public class PrivilegedAccessGroupEligibilitySchedule extends PrivilegedAccessSc /** * The Group. - * + * References the group that is the scope of the membership or ownership eligibility through PIM for groups. Supports $expand. */ @SerializedName(value = "group", alternate = {"Group"}) @Expose @@ -76,7 +76,7 @@ public class PrivilegedAccessGroupEligibilitySchedule extends PrivilegedAccessSc /** * The Principal. - * + * References the principal that's in the scope of this membership or ownership eligibility request to the group that's governed by PIM. Supports $expand. */ @SerializedName(value = "principal", alternate = {"Principal"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/PrivilegedAccessGroupEligibilityScheduleInstance.java b/src/main/java/com/microsoft/graph/models/PrivilegedAccessGroupEligibilityScheduleInstance.java index f1eb8f35c60..edd0ed8afcf 100644 --- a/src/main/java/com/microsoft/graph/models/PrivilegedAccessGroupEligibilityScheduleInstance.java +++ b/src/main/java/com/microsoft/graph/models/PrivilegedAccessGroupEligibilityScheduleInstance.java @@ -31,7 +31,7 @@ public class PrivilegedAccessGroupEligibilityScheduleInstance extends Privileged /** * The Access Id. - * + * The identifier of the membership or ownership eligibility relationship to the group. Required. The possible values are: owner, member. */ @SerializedName(value = "accessId", alternate = {"AccessId"}) @Expose @@ -40,7 +40,7 @@ public class PrivilegedAccessGroupEligibilityScheduleInstance extends Privileged /** * The Eligibility Schedule Id. - * + * The identifier of the privilegedAccessGroupEligibilitySchedule from which this instance was created. Required. */ @SerializedName(value = "eligibilityScheduleId", alternate = {"EligibilityScheduleId"}) @Expose @@ -49,7 +49,7 @@ public class PrivilegedAccessGroupEligibilityScheduleInstance extends Privileged /** * The Group Id. - * + * The identifier of the group representing the scope of the membership or ownership eligibility through PIM for groups. Required. */ @SerializedName(value = "groupId", alternate = {"GroupId"}) @Expose @@ -58,7 +58,7 @@ public class PrivilegedAccessGroupEligibilityScheduleInstance extends Privileged /** * The Member Type. - * + * Indicates whether the assignment is derived from a group assignment. It can further imply whether the calling principal can manage the assignment schedule. Required. The possible values are: direct, group, unknownFutureValue. */ @SerializedName(value = "memberType", alternate = {"MemberType"}) @Expose @@ -67,7 +67,7 @@ public class PrivilegedAccessGroupEligibilityScheduleInstance extends Privileged /** * The Principal Id. - * + * The identifier of the principal whose membership or ownership eligibility to the group is managed through PIM for groups. Required. */ @SerializedName(value = "principalId", alternate = {"PrincipalId"}) @Expose @@ -76,7 +76,7 @@ public class PrivilegedAccessGroupEligibilityScheduleInstance extends Privileged /** * The Group. - * + * References the group that is the scope of the membership or ownership eligibility through PIM for groups. Supports $expand. */ @SerializedName(value = "group", alternate = {"Group"}) @Expose @@ -85,7 +85,7 @@ public class PrivilegedAccessGroupEligibilityScheduleInstance extends Privileged /** * The Principal. - * + * References the principal that's in the scope of the membership or ownership eligibility request through the group that's governed by PIM. Supports $expand. */ @SerializedName(value = "principal", alternate = {"Principal"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/PrivilegedAccessGroupEligibilityScheduleRequest.java b/src/main/java/com/microsoft/graph/models/PrivilegedAccessGroupEligibilityScheduleRequest.java index 3e2e491e962..20ee753ea76 100644 --- a/src/main/java/com/microsoft/graph/models/PrivilegedAccessGroupEligibilityScheduleRequest.java +++ b/src/main/java/com/microsoft/graph/models/PrivilegedAccessGroupEligibilityScheduleRequest.java @@ -31,7 +31,7 @@ public class PrivilegedAccessGroupEligibilityScheduleRequest extends PrivilegedA /** * The Access Id. - * + * The identifier of membership or ownership eligibility relationship to the group. Required. The possible values are: owner, member, unknownFutureValue. */ @SerializedName(value = "accessId", alternate = {"AccessId"}) @Expose @@ -40,7 +40,7 @@ public class PrivilegedAccessGroupEligibilityScheduleRequest extends PrivilegedA /** * The Group Id. - * + * The identifier of the group representing the scope of the membership and ownership eligibility through PIM for groups. Required. */ @SerializedName(value = "groupId", alternate = {"GroupId"}) @Expose @@ -49,7 +49,7 @@ public class PrivilegedAccessGroupEligibilityScheduleRequest extends PrivilegedA /** * The Principal Id. - * + * The identifier of the principal whose membership or ownership eligibility to the group is managed through PIM for groups. Required. */ @SerializedName(value = "principalId", alternate = {"PrincipalId"}) @Expose @@ -58,7 +58,7 @@ public class PrivilegedAccessGroupEligibilityScheduleRequest extends PrivilegedA /** * The Target Schedule Id. - * + * The identifier of the schedule that's created from the eligibility request. Optional. */ @SerializedName(value = "targetScheduleId", alternate = {"TargetScheduleId"}) @Expose @@ -67,7 +67,7 @@ public class PrivilegedAccessGroupEligibilityScheduleRequest extends PrivilegedA /** * The Group. - * + * References the group that is the scope of the membership or ownership eligibility request through PIM for groups. Supports $expand. */ @SerializedName(value = "group", alternate = {"Group"}) @Expose @@ -76,7 +76,7 @@ public class PrivilegedAccessGroupEligibilityScheduleRequest extends PrivilegedA /** * The Principal. - * + * References the principal that's in the scope of the membership or ownership eligibility request through the group that's governed by PIM. Supports $expand. */ @SerializedName(value = "principal", alternate = {"Principal"}) @Expose @@ -85,7 +85,7 @@ public class PrivilegedAccessGroupEligibilityScheduleRequest extends PrivilegedA /** * The Target Schedule. - * + * Schedule created by this request. */ @SerializedName(value = "targetSchedule", alternate = {"TargetSchedule"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/PrivilegedAccessRoot.java b/src/main/java/com/microsoft/graph/models/PrivilegedAccessRoot.java index 27f79630e21..09081df2211 100644 --- a/src/main/java/com/microsoft/graph/models/PrivilegedAccessRoot.java +++ b/src/main/java/com/microsoft/graph/models/PrivilegedAccessRoot.java @@ -28,7 +28,7 @@ public class PrivilegedAccessRoot extends Entity implements IJsonBackedObject { /** * The Group. - * + * A group that's governed through Privileged Identity Management (PIM). */ @SerializedName(value = "group", alternate = {"Group"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/PrivilegedAccessSchedule.java b/src/main/java/com/microsoft/graph/models/PrivilegedAccessSchedule.java index 98d6544c027..17d6fc4d03c 100644 --- a/src/main/java/com/microsoft/graph/models/PrivilegedAccessSchedule.java +++ b/src/main/java/com/microsoft/graph/models/PrivilegedAccessSchedule.java @@ -28,7 +28,7 @@ public class PrivilegedAccessSchedule extends Entity implements IJsonBackedObjec /** * The Created Date Time. - * + * When the schedule was created. Optional. */ @SerializedName(value = "createdDateTime", alternate = {"CreatedDateTime"}) @Expose @@ -37,7 +37,7 @@ public class PrivilegedAccessSchedule extends Entity implements IJsonBackedObjec /** * The Created Using. - * + * The identifier of the access assignment or eligibility request that created this schedule. Optional. */ @SerializedName(value = "createdUsing", alternate = {"CreatedUsing"}) @Expose @@ -46,7 +46,7 @@ public class PrivilegedAccessSchedule extends Entity implements IJsonBackedObjec /** * The Modified Date Time. - * + * When the schedule was last modified. Optional. */ @SerializedName(value = "modifiedDateTime", alternate = {"ModifiedDateTime"}) @Expose @@ -55,7 +55,7 @@ public class PrivilegedAccessSchedule extends Entity implements IJsonBackedObjec /** * The Schedule Info. - * + * Represents the period of the access assignment or eligibility. The scheduleInfo can represent a single occurrence or multiple recurring instances. Required. */ @SerializedName(value = "scheduleInfo", alternate = {"ScheduleInfo"}) @Expose @@ -64,7 +64,7 @@ public class PrivilegedAccessSchedule extends Entity implements IJsonBackedObjec /** * The Status. - * + * The status of the access assignment or eligibility request. The possible values are: Canceled, Denied, Failed, Granted, PendingAdminDecision, PendingApproval, PendingProvisioning, PendingScheduleCreation, Provisioned, Revoked, and ScheduleCreated. Not nullable. Optional. */ @SerializedName(value = "status", alternate = {"Status"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/PrivilegedAccessScheduleInstance.java b/src/main/java/com/microsoft/graph/models/PrivilegedAccessScheduleInstance.java index 8635a4fba36..18473d23ceb 100644 --- a/src/main/java/com/microsoft/graph/models/PrivilegedAccessScheduleInstance.java +++ b/src/main/java/com/microsoft/graph/models/PrivilegedAccessScheduleInstance.java @@ -27,7 +27,7 @@ public class PrivilegedAccessScheduleInstance extends Entity implements IJsonBac /** * The End Date Time. - * + * When the schedule instance ends. Required. */ @SerializedName(value = "endDateTime", alternate = {"EndDateTime"}) @Expose @@ -36,7 +36,7 @@ public class PrivilegedAccessScheduleInstance extends Entity implements IJsonBac /** * The Start Date Time. - * + * When this instance starts. Required. */ @SerializedName(value = "startDateTime", alternate = {"StartDateTime"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/PrivilegedAccessScheduleRequest.java b/src/main/java/com/microsoft/graph/models/PrivilegedAccessScheduleRequest.java index 57d37cc41ee..0f9e4bcfd6a 100644 --- a/src/main/java/com/microsoft/graph/models/PrivilegedAccessScheduleRequest.java +++ b/src/main/java/com/microsoft/graph/models/PrivilegedAccessScheduleRequest.java @@ -30,7 +30,7 @@ public class PrivilegedAccessScheduleRequest extends Request implements IJsonBac /** * The Action. - * + * Represents the type of operation on the group membership or ownership assignment request. The possible values are: adminAssign, adminUpdate, adminRemove, selfActivate, selfDeactivate, adminExtend, adminRenew. adminAssign: For administrators to assign group membership or ownership to principals.adminRemove: For administrators to remove principals from group membership or ownership. adminUpdate: For administrators to change existing group membership or ownership assignments.adminExtend: For administrators to extend expiring assignments.adminRenew: For administrators to renew expired assignments.selfActivate: For principals to activate their assignments.selfDeactivate: For principals to deactivate their active assignments. */ @SerializedName(value = "action", alternate = {"Action"}) @Expose @@ -39,7 +39,7 @@ public class PrivilegedAccessScheduleRequest extends Request implements IJsonBac /** * The Is Validation Only. - * + * Determines whether the call is a validation or an actual call. Only set this property if you want to check whether an activation is subject to additional rules like MFA before actually submitting the request. */ @SerializedName(value = "isValidationOnly", alternate = {"IsValidationOnly"}) @Expose @@ -48,7 +48,7 @@ public class PrivilegedAccessScheduleRequest extends Request implements IJsonBac /** * The Justification. - * + * A message provided by users and administrators when create they create the privilegedAccessGroupAssignmentScheduleRequest object. */ @SerializedName(value = "justification", alternate = {"Justification"}) @Expose @@ -57,7 +57,7 @@ public class PrivilegedAccessScheduleRequest extends Request implements IJsonBac /** * The Schedule Info. - * + * The period of the group membership or ownership assignment. Recurring schedules are currently unsupported. */ @SerializedName(value = "scheduleInfo", alternate = {"ScheduleInfo"}) @Expose @@ -66,7 +66,7 @@ public class PrivilegedAccessScheduleRequest extends Request implements IJsonBac /** * The Ticket Info. - * + * Ticket details linked to the group membership or ownership assignment request including details of the ticket number and ticket system. */ @SerializedName(value = "ticketInfo", alternate = {"TicketInfo"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/PrivilegedApproval.java b/src/main/java/com/microsoft/graph/models/PrivilegedApproval.java index 75421db28de..433a8684e93 100644 --- a/src/main/java/com/microsoft/graph/models/PrivilegedApproval.java +++ b/src/main/java/com/microsoft/graph/models/PrivilegedApproval.java @@ -39,7 +39,7 @@ public class PrivilegedApproval extends Entity implements IJsonBackedObject { /** * The Approval State. - * Possible values are: pending, approved, denied, aborted, canceled. + * */ @SerializedName(value = "approvalState", alternate = {"ApprovalState"}) @Expose @@ -66,7 +66,7 @@ public class PrivilegedApproval extends Entity implements IJsonBackedObject { /** * The End 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 + * */ @SerializedName(value = "endDateTime", alternate = {"EndDateTime"}) @Expose @@ -93,7 +93,7 @@ public class PrivilegedApproval extends Entity implements IJsonBackedObject { /** * The Start 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 + * */ @SerializedName(value = "startDateTime", alternate = {"StartDateTime"}) @Expose @@ -111,7 +111,7 @@ public class PrivilegedApproval extends Entity implements IJsonBackedObject { /** * The Request. - * Read-only. The role assignment request for this approval object + * */ @SerializedName(value = "request", alternate = {"Request"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/PrivilegedOperationEvent.java b/src/main/java/com/microsoft/graph/models/PrivilegedOperationEvent.java index 827755b6069..afd7afbb28a 100644 --- a/src/main/java/com/microsoft/graph/models/PrivilegedOperationEvent.java +++ b/src/main/java/com/microsoft/graph/models/PrivilegedOperationEvent.java @@ -27,7 +27,7 @@ public class PrivilegedOperationEvent extends Entity implements IJsonBackedObjec /** * The Additional Information. - * Detailed human readable information for the event. + * */ @SerializedName(value = "additionalInformation", alternate = {"AdditionalInformation"}) @Expose @@ -36,7 +36,7 @@ public class PrivilegedOperationEvent extends Entity implements IJsonBackedObjec /** * The Creation Date Time. - * Indicates the time when the event is created. + * */ @SerializedName(value = "creationDateTime", alternate = {"CreationDateTime"}) @Expose @@ -45,7 +45,7 @@ public class PrivilegedOperationEvent extends Entity implements IJsonBackedObjec /** * The Expiration Date Time. - * This is only used when the requestType is Activate, and it indicates the expiration time for the role activation. + * */ @SerializedName(value = "expirationDateTime", alternate = {"ExpirationDateTime"}) @Expose @@ -54,7 +54,7 @@ public class PrivilegedOperationEvent extends Entity implements IJsonBackedObjec /** * The Reference Key. - * Incident/Request ticket number during role activation. The value is presented only if the ticket number is provided during role activation. + * */ @SerializedName(value = "referenceKey", alternate = {"ReferenceKey"}) @Expose @@ -63,7 +63,7 @@ public class PrivilegedOperationEvent extends Entity implements IJsonBackedObjec /** * The Reference System. - * Incident/Request ticketing system provided during tole activation. The value is presented only if the ticket system is provided during role activation. + * */ @SerializedName(value = "referenceSystem", alternate = {"ReferenceSystem"}) @Expose @@ -72,7 +72,7 @@ public class PrivilegedOperationEvent extends Entity implements IJsonBackedObjec /** * The Requestor Id. - * The user id of the requestor who initiates the operation. + * */ @SerializedName(value = "requestorId", alternate = {"RequestorId"}) @Expose @@ -81,7 +81,7 @@ public class PrivilegedOperationEvent extends Entity implements IJsonBackedObjec /** * The Requestor Name. - * The user name of the requestor who initiates the operation. + * */ @SerializedName(value = "requestorName", alternate = {"RequestorName"}) @Expose @@ -90,7 +90,7 @@ public class PrivilegedOperationEvent extends Entity implements IJsonBackedObjec /** * The Request Type. - * The request operation type. The requestType value can be: Assign (role assignment), Activate (role activation), Unassign (remove role assignment), Deactivate (role deactivation), ScanAlertsNow (scan security alerts), DismissAlert (dismiss security alert), FixAlertItem (fix a security alert issue), AccessReview_Review (review an Access Review), AccessReview_Create (create an Access Review) , AccessReview_Update (update an Access Review), AccessReview_Delete (delete an Access Review). + * */ @SerializedName(value = "requestType", alternate = {"RequestType"}) @Expose @@ -99,7 +99,7 @@ public class PrivilegedOperationEvent extends Entity implements IJsonBackedObjec /** * The Role Id. - * The id of the role that is associated with the operation. + * */ @SerializedName(value = "roleId", alternate = {"RoleId"}) @Expose @@ -108,7 +108,7 @@ public class PrivilegedOperationEvent extends Entity implements IJsonBackedObjec /** * The Role Name. - * The name of the role. + * */ @SerializedName(value = "roleName", alternate = {"RoleName"}) @Expose @@ -117,7 +117,7 @@ public class PrivilegedOperationEvent extends Entity implements IJsonBackedObjec /** * The Tenant Id. - * The tenant (organization) id. + * */ @SerializedName(value = "tenantId", alternate = {"TenantId"}) @Expose @@ -126,7 +126,7 @@ public class PrivilegedOperationEvent extends Entity implements IJsonBackedObjec /** * The User Id. - * The id of the user that is associated with the operation. + * */ @SerializedName(value = "userId", alternate = {"UserId"}) @Expose @@ -135,7 +135,7 @@ public class PrivilegedOperationEvent extends Entity implements IJsonBackedObjec /** * The User Mail. - * The user's email. + * */ @SerializedName(value = "userMail", alternate = {"UserMail"}) @Expose @@ -144,7 +144,7 @@ public class PrivilegedOperationEvent extends Entity implements IJsonBackedObjec /** * The User Name. - * The user's display name. + * */ @SerializedName(value = "userName", alternate = {"UserName"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/PrivilegedRole.java b/src/main/java/com/microsoft/graph/models/PrivilegedRole.java index 904e4e09ab5..758b93a3366 100644 --- a/src/main/java/com/microsoft/graph/models/PrivilegedRole.java +++ b/src/main/java/com/microsoft/graph/models/PrivilegedRole.java @@ -31,7 +31,7 @@ public class PrivilegedRole extends Entity implements IJsonBackedObject { /** * The Name. - * Role name. + * */ @SerializedName(value = "name", alternate = {"Name"}) @Expose @@ -40,14 +40,14 @@ public class PrivilegedRole extends Entity implements IJsonBackedObject { /** * The Assignments. - * The assignments for this role. Read-only. Nullable. + * */ @Nullable public com.microsoft.graph.requests.PrivilegedRoleAssignmentCollectionPage assignments; /** * The Settings. - * The settings for this role. Read-only. Nullable. + * */ @SerializedName(value = "settings", alternate = {"Settings"}) @Expose @@ -56,7 +56,7 @@ public class PrivilegedRole extends Entity implements IJsonBackedObject { /** * The Summary. - * The summary information for this role. Read-only. Nullable. + * */ @SerializedName(value = "summary", alternate = {"Summary"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/PrivilegedRoleAssignment.java b/src/main/java/com/microsoft/graph/models/PrivilegedRoleAssignment.java index 730979a4c7f..63ed47084af 100644 --- a/src/main/java/com/microsoft/graph/models/PrivilegedRoleAssignment.java +++ b/src/main/java/com/microsoft/graph/models/PrivilegedRoleAssignment.java @@ -28,7 +28,7 @@ public class PrivilegedRoleAssignment extends Entity implements IJsonBackedObjec /** * The Expiration Date Time. - * The UTC DateTime when the temporary privileged role assignment will be expired. For permanent role assignment, the value is null. + * */ @SerializedName(value = "expirationDateTime", alternate = {"ExpirationDateTime"}) @Expose @@ -37,7 +37,7 @@ public class PrivilegedRoleAssignment extends Entity implements IJsonBackedObjec /** * The Is Elevated. - * true if the role assignment is activated. false if the role assignment is deactivated. + * */ @SerializedName(value = "isElevated", alternate = {"IsElevated"}) @Expose @@ -46,7 +46,7 @@ public class PrivilegedRoleAssignment extends Entity implements IJsonBackedObjec /** * The Result Message. - * Result message set by the service. + * */ @SerializedName(value = "resultMessage", alternate = {"ResultMessage"}) @Expose @@ -55,7 +55,7 @@ public class PrivilegedRoleAssignment extends Entity implements IJsonBackedObjec /** * The Role Id. - * Role identifier. In GUID string format. + * */ @SerializedName(value = "roleId", alternate = {"RoleId"}) @Expose @@ -64,7 +64,7 @@ public class PrivilegedRoleAssignment extends Entity implements IJsonBackedObjec /** * The User Id. - * User identifier. In GUID string format. + * */ @SerializedName(value = "userId", alternate = {"UserId"}) @Expose @@ -73,7 +73,7 @@ public class PrivilegedRoleAssignment extends Entity implements IJsonBackedObjec /** * The Role Info. - * Read-only. Nullable. The associated role information. + * */ @SerializedName(value = "roleInfo", alternate = {"RoleInfo"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/PrivilegedRoleAssignmentRequest.java b/src/main/java/com/microsoft/graph/models/PrivilegedRoleAssignmentRequest.java index 8acf484a4d5..131ac5cb051 100644 --- a/src/main/java/com/microsoft/graph/models/PrivilegedRoleAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/models/PrivilegedRoleAssignmentRequest.java @@ -29,7 +29,7 @@ public class PrivilegedRoleAssignmentRequest extends Entity implements IJsonBack /** * The Assignment State. - * The state of the assignment. The value can be Eligible for eligible assignment Active - if it is directly assigned Active by administrators, or activated on an eligible assignment by the users. + * */ @SerializedName(value = "assignmentState", alternate = {"AssignmentState"}) @Expose @@ -38,7 +38,7 @@ public class PrivilegedRoleAssignmentRequest extends Entity implements IJsonBack /** * The Duration. - * The duration of a role assignment. + * */ @SerializedName(value = "duration", alternate = {"Duration"}) @Expose @@ -47,7 +47,7 @@ public class PrivilegedRoleAssignmentRequest extends Entity implements IJsonBack /** * The Reason. - * The reason for the role assignment. + * */ @SerializedName(value = "reason", alternate = {"Reason"}) @Expose @@ -56,7 +56,7 @@ public class PrivilegedRoleAssignmentRequest extends Entity implements IJsonBack /** * The Requested Date Time. - * Read-only. The request create 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. + * */ @SerializedName(value = "requestedDateTime", alternate = {"RequestedDateTime"}) @Expose @@ -65,7 +65,7 @@ public class PrivilegedRoleAssignmentRequest extends Entity implements IJsonBack /** * The Role Id. - * The id of the role. + * */ @SerializedName(value = "roleId", alternate = {"RoleId"}) @Expose @@ -74,7 +74,7 @@ public class PrivilegedRoleAssignmentRequest extends Entity implements IJsonBack /** * The Schedule. - * The schedule object of the role assignment request. + * */ @SerializedName(value = "schedule", alternate = {"Schedule"}) @Expose @@ -83,7 +83,7 @@ public class PrivilegedRoleAssignmentRequest extends Entity implements IJsonBack /** * The Status. - * Read-only.The status of the role assignment request. The value can be NotStarted,Completed,RequestedApproval,Scheduled,Approved,ApprovalDenied,ApprovalAborted,Cancelling,Cancelled,Revoked,RequestExpired. + * */ @SerializedName(value = "status", alternate = {"Status"}) @Expose @@ -92,7 +92,7 @@ public class PrivilegedRoleAssignmentRequest extends Entity implements IJsonBack /** * The Ticket Number. - * The ticketNumber for the role assignment. + * */ @SerializedName(value = "ticketNumber", alternate = {"TicketNumber"}) @Expose @@ -101,7 +101,7 @@ public class PrivilegedRoleAssignmentRequest extends Entity implements IJsonBack /** * The Ticket System. - * The ticketSystem for the role assignment. + * */ @SerializedName(value = "ticketSystem", alternate = {"TicketSystem"}) @Expose @@ -110,7 +110,7 @@ public class PrivilegedRoleAssignmentRequest extends Entity implements IJsonBack /** * The Type. - * Representing the type of the operation on the role assignment. The value can be AdminAdd: Administrators add users to roles;UserAdd: Users add role assignments. + * */ @SerializedName(value = "type", alternate = {"Type"}) @Expose @@ -119,7 +119,7 @@ public class PrivilegedRoleAssignmentRequest extends Entity implements IJsonBack /** * The User Id. - * The id of the user. + * */ @SerializedName(value = "userId", alternate = {"UserId"}) @Expose @@ -128,7 +128,7 @@ public class PrivilegedRoleAssignmentRequest extends Entity implements IJsonBack /** * The Role Info. - * The roleInfo object of the role assignment request. + * */ @SerializedName(value = "roleInfo", alternate = {"RoleInfo"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/PrivilegedRoleSettings.java b/src/main/java/com/microsoft/graph/models/PrivilegedRoleSettings.java index 5bc30946066..267308dcf66 100644 --- a/src/main/java/com/microsoft/graph/models/PrivilegedRoleSettings.java +++ b/src/main/java/com/microsoft/graph/models/PrivilegedRoleSettings.java @@ -28,7 +28,7 @@ public class PrivilegedRoleSettings extends Entity implements IJsonBackedObject /** * The Approval On Elevation. - * true if the approval is required when activate the role. false if the approval is not required when activate the role. + * */ @SerializedName(value = "approvalOnElevation", alternate = {"ApprovalOnElevation"}) @Expose @@ -37,7 +37,7 @@ public class PrivilegedRoleSettings extends Entity implements IJsonBackedObject /** * The Approver Ids. - * List of Approval ids, if approval is required for activation. + * */ @SerializedName(value = "approverIds", alternate = {"ApproverIds"}) @Expose @@ -46,7 +46,7 @@ public class PrivilegedRoleSettings extends Entity implements IJsonBackedObject /** * The Elevation Duration. - * The duration when the role is activated. + * */ @SerializedName(value = "elevationDuration", alternate = {"ElevationDuration"}) @Expose @@ -55,7 +55,7 @@ public class PrivilegedRoleSettings extends Entity implements IJsonBackedObject /** * The Is Mfa On Elevation Configurable. - * true if mfaOnElevation is configurable. false if mfaOnElevation is not configurable. + * */ @SerializedName(value = "isMfaOnElevationConfigurable", alternate = {"IsMfaOnElevationConfigurable"}) @Expose @@ -64,7 +64,7 @@ public class PrivilegedRoleSettings extends Entity implements IJsonBackedObject /** * The Last Global Admin. - * Internal used only. + * */ @SerializedName(value = "lastGlobalAdmin", alternate = {"LastGlobalAdmin"}) @Expose @@ -73,7 +73,7 @@ public class PrivilegedRoleSettings extends Entity implements IJsonBackedObject /** * The Max Elavation Duration. - * Maximal duration for the activated role. + * */ @SerializedName(value = "maxElavationDuration", alternate = {"MaxElavationDuration"}) @Expose @@ -82,7 +82,7 @@ public class PrivilegedRoleSettings extends Entity implements IJsonBackedObject /** * The Mfa On Elevation. - * true if MFA is required to activate the role. false if MFA is not required to activate the role. + * */ @SerializedName(value = "mfaOnElevation", alternate = {"MfaOnElevation"}) @Expose @@ -91,7 +91,7 @@ public class PrivilegedRoleSettings extends Entity implements IJsonBackedObject /** * The Min Elevation Duration. - * Minimal duration for the activated role. + * */ @SerializedName(value = "minElevationDuration", alternate = {"MinElevationDuration"}) @Expose @@ -100,7 +100,7 @@ public class PrivilegedRoleSettings extends Entity implements IJsonBackedObject /** * The Notification To User On Elevation. - * true if send notification to the end user when the role is activated. false if do not send notification when the role is activated. + * */ @SerializedName(value = "notificationToUserOnElevation", alternate = {"NotificationToUserOnElevation"}) @Expose @@ -109,7 +109,7 @@ public class PrivilegedRoleSettings extends Entity implements IJsonBackedObject /** * The Ticketing Info On Elevation. - * true if the ticketing information is required when activate the role. false if the ticketing information is not required when activate the role. + * */ @SerializedName(value = "ticketingInfoOnElevation", alternate = {"TicketingInfoOnElevation"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/PrivilegedRoleSummary.java b/src/main/java/com/microsoft/graph/models/PrivilegedRoleSummary.java index 85b14d247c4..f9407d2f45d 100644 --- a/src/main/java/com/microsoft/graph/models/PrivilegedRoleSummary.java +++ b/src/main/java/com/microsoft/graph/models/PrivilegedRoleSummary.java @@ -28,7 +28,7 @@ public class PrivilegedRoleSummary extends Entity implements IJsonBackedObject { /** * The Elevated Count. - * The number of users that have the role assigned and the role is activated. + * */ @SerializedName(value = "elevatedCount", alternate = {"ElevatedCount"}) @Expose @@ -37,7 +37,7 @@ public class PrivilegedRoleSummary extends Entity implements IJsonBackedObject { /** * The Managed Count. - * The number of users that have the role assigned but the role is deactivated. + * */ @SerializedName(value = "managedCount", alternate = {"ManagedCount"}) @Expose @@ -46,7 +46,7 @@ public class PrivilegedRoleSummary extends Entity implements IJsonBackedObject { /** * The Mfa Enabled. - * true if the role activation requires MFA. false if the role activation doesn't require MFA. + * */ @SerializedName(value = "mfaEnabled", alternate = {"MfaEnabled"}) @Expose @@ -55,7 +55,7 @@ public class PrivilegedRoleSummary extends Entity implements IJsonBackedObject { /** * The Status. - * Possible values are: ok, bad. The value depends on the ratio of (managedCount / usersCount). If the ratio is less than a predefined threshold, ok is returned. Otherwise, bad is returned. + * */ @SerializedName(value = "status", alternate = {"Status"}) @Expose @@ -64,7 +64,7 @@ public class PrivilegedRoleSummary extends Entity implements IJsonBackedObject { /** * The Users Count. - * The number of users that are assigned with the role. + * */ @SerializedName(value = "usersCount", alternate = {"UsersCount"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/RoleManagement.java b/src/main/java/com/microsoft/graph/models/RoleManagement.java index df3e0e29fee..3e54ca00838 100644 --- a/src/main/java/com/microsoft/graph/models/RoleManagement.java +++ b/src/main/java/com/microsoft/graph/models/RoleManagement.java @@ -8,6 +8,7 @@ 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.RbacApplication; import com.microsoft.graph.models.RbacApplicationMultiple; import com.microsoft.graph.models.UnifiedRbacApplication; @@ -58,6 +59,15 @@ public final AdditionalDataManager additionalDataManager() { @Nullable public RbacApplicationMultiple cloudPC; + /** + * The Enterprise Apps. + * + */ + @SerializedName(value = "enterpriseApps", alternate = {"EnterpriseApps"}) + @Expose + @Nullable + public com.microsoft.graph.requests.RbacApplicationCollectionPage enterpriseApps; + /** * The Exchange. * @@ -94,5 +104,9 @@ public final AdditionalDataManager additionalDataManager() { */ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) { + + if (json.has("enterpriseApps")) { + enterpriseApps = serializer.deserializeObject(json.get("enterpriseApps"), com.microsoft.graph.requests.RbacApplicationCollectionPage.class); + } } } diff --git a/src/main/java/com/microsoft/graph/models/ServicePrincipal.java b/src/main/java/com/microsoft/graph/models/ServicePrincipal.java index 49920d0670e..a08558235c4 100644 --- a/src/main/java/com/microsoft/graph/models/ServicePrincipal.java +++ b/src/main/java/com/microsoft/graph/models/ServicePrincipal.java @@ -273,7 +273,7 @@ public class ServicePrincipal extends DirectoryObject implements IJsonBackedObje /** * The Preferred Token Signing Key End Date Time. - * Specifies the expiration date of the keyCredential used for token signing, marked by preferredTokenSigningKeyThumbprint. + * Specifies the expiration date of the keyCredential used for token signing, marked by preferredTokenSigningKeyThumbprint. Updating this attribute is not currentlysupported. For details, see ServicePrincipal property differences. */ @SerializedName(value = "preferredTokenSigningKeyEndDateTime", alternate = {"PreferredTokenSigningKeyEndDateTime"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/SharepointSettings.java b/src/main/java/com/microsoft/graph/models/SharepointSettings.java index b6b68a7ab68..ccb5a089d26 100644 --- a/src/main/java/com/microsoft/graph/models/SharepointSettings.java +++ b/src/main/java/com/microsoft/graph/models/SharepointSettings.java @@ -32,7 +32,7 @@ public class SharepointSettings extends Entity implements IJsonBackedObject { /** * The Allowed Domain Guids For Sync App. - * + * Collection of trusted domain GUIDs for the OneDrive sync app. */ @SerializedName(value = "allowedDomainGuidsForSyncApp", alternate = {"AllowedDomainGuidsForSyncApp"}) @Expose @@ -41,7 +41,7 @@ public class SharepointSettings extends Entity implements IJsonBackedObject { /** * The Available Managed Paths For Site Creation. - * + * Collection of managed paths available for site creation. Read-only. */ @SerializedName(value = "availableManagedPathsForSiteCreation", alternate = {"AvailableManagedPathsForSiteCreation"}) @Expose @@ -50,7 +50,7 @@ public class SharepointSettings extends Entity implements IJsonBackedObject { /** * The Deleted User Personal Site Retention Period In Days. - * + * The number of days for preserving a deleted user's OneDrive. */ @SerializedName(value = "deletedUserPersonalSiteRetentionPeriodInDays", alternate = {"DeletedUserPersonalSiteRetentionPeriodInDays"}) @Expose @@ -59,7 +59,7 @@ public class SharepointSettings extends Entity implements IJsonBackedObject { /** * The Excluded File Extensions For Sync App. - * + * Collection of file extensions not uploaded by the OneDrive sync app. */ @SerializedName(value = "excludedFileExtensionsForSyncApp", alternate = {"ExcludedFileExtensionsForSyncApp"}) @Expose @@ -68,7 +68,7 @@ public class SharepointSettings extends Entity implements IJsonBackedObject { /** * The Idle Session Sign Out. - * + * Specifies the idle session sign-out policies for the tenant. */ @SerializedName(value = "idleSessionSignOut", alternate = {"IdleSessionSignOut"}) @Expose @@ -77,7 +77,7 @@ public class SharepointSettings extends Entity implements IJsonBackedObject { /** * The Image Tagging Option. - * + * Specifies the image tagging option for the tenant. Possible values are: disabled, basic, enhanced. */ @SerializedName(value = "imageTaggingOption", alternate = {"ImageTaggingOption"}) @Expose @@ -86,7 +86,7 @@ public class SharepointSettings extends Entity implements IJsonBackedObject { /** * The Is Commenting On Site Pages Enabled. - * + * Indicates whether comments are allowed on modern site pages in SharePoint. */ @SerializedName(value = "isCommentingOnSitePagesEnabled", alternate = {"IsCommentingOnSitePagesEnabled"}) @Expose @@ -95,7 +95,7 @@ public class SharepointSettings extends Entity implements IJsonBackedObject { /** * The Is File Activity Notification Enabled. - * + * Indicates whether push notifications are enabled for OneDrive events. */ @SerializedName(value = "isFileActivityNotificationEnabled", alternate = {"IsFileActivityNotificationEnabled"}) @Expose @@ -104,7 +104,7 @@ public class SharepointSettings extends Entity implements IJsonBackedObject { /** * The Is Legacy Auth Protocols Enabled. - * + * Indicates whether legacy authentication protocols are enabled for the tenant. */ @SerializedName(value = "isLegacyAuthProtocolsEnabled", alternate = {"IsLegacyAuthProtocolsEnabled"}) @Expose @@ -113,7 +113,7 @@ public class SharepointSettings extends Entity implements IJsonBackedObject { /** * The Is Loop Enabled. - * + * Indicates whetherif Fluid Framework is allowed on SharePoint sites. */ @SerializedName(value = "isLoopEnabled", alternate = {"IsLoopEnabled"}) @Expose @@ -122,7 +122,7 @@ public class SharepointSettings extends Entity implements IJsonBackedObject { /** * The Is Mac Sync App Enabled. - * + * Indicates whether files can be synced using the OneDrive sync app for Mac. */ @SerializedName(value = "isMacSyncAppEnabled", alternate = {"IsMacSyncAppEnabled"}) @Expose @@ -131,7 +131,7 @@ public class SharepointSettings extends Entity implements IJsonBackedObject { /** * The Is Require Accepting User To Match Invited User Enabled. - * + * Indicates whether guests must sign in using the same account to which sharing invitations are sent. */ @SerializedName(value = "isRequireAcceptingUserToMatchInvitedUserEnabled", alternate = {"IsRequireAcceptingUserToMatchInvitedUserEnabled"}) @Expose @@ -140,7 +140,7 @@ public class SharepointSettings extends Entity implements IJsonBackedObject { /** * The Is Resharing By External Users Enabled. - * + * Indicates whether guests are allowed to reshare files, folders, and sites they don't own. */ @SerializedName(value = "isResharingByExternalUsersEnabled", alternate = {"IsResharingByExternalUsersEnabled"}) @Expose @@ -149,7 +149,7 @@ public class SharepointSettings extends Entity implements IJsonBackedObject { /** * The Is Share Point Mobile Notification Enabled. - * + * Indicates whether mobile push notifications are enabled for SharePoint. */ @SerializedName(value = "isSharePointMobileNotificationEnabled", alternate = {"IsSharePointMobileNotificationEnabled"}) @Expose @@ -158,7 +158,7 @@ public class SharepointSettings extends Entity implements IJsonBackedObject { /** * The Is Share Point Newsfeed Enabled. - * + * Indicates whether the newsfeed is allowed on the modern site pages in SharePoint. */ @SerializedName(value = "isSharePointNewsfeedEnabled", alternate = {"IsSharePointNewsfeedEnabled"}) @Expose @@ -167,7 +167,7 @@ public class SharepointSettings extends Entity implements IJsonBackedObject { /** * The Is Site Creation Enabled. - * + * Indicates whether users are allowed to create sites. */ @SerializedName(value = "isSiteCreationEnabled", alternate = {"IsSiteCreationEnabled"}) @Expose @@ -176,7 +176,7 @@ public class SharepointSettings extends Entity implements IJsonBackedObject { /** * The Is Site Creation UIEnabled. - * + * Indicates whether the UI commands for creating sites are shown. */ @SerializedName(value = "isSiteCreationUIEnabled", alternate = {"IsSiteCreationUIEnabled"}) @Expose @@ -185,7 +185,7 @@ public class SharepointSettings extends Entity implements IJsonBackedObject { /** * The Is Site Pages Creation Enabled. - * + * Indicates whether creating new modern pages is allowed on SharePoint sites. */ @SerializedName(value = "isSitePagesCreationEnabled", alternate = {"IsSitePagesCreationEnabled"}) @Expose @@ -194,7 +194,7 @@ public class SharepointSettings extends Entity implements IJsonBackedObject { /** * The Is Sites Storage Limit Automatic. - * + * Indicates whether site storage space is automatically managed or if specific storage limits are set per site. */ @SerializedName(value = "isSitesStorageLimitAutomatic", alternate = {"IsSitesStorageLimitAutomatic"}) @Expose @@ -203,7 +203,7 @@ public class SharepointSettings extends Entity implements IJsonBackedObject { /** * The Is Sync Button Hidden On Personal Site. - * + * Indicates whether the sync button in OneDrive is hidden. */ @SerializedName(value = "isSyncButtonHiddenOnPersonalSite", alternate = {"IsSyncButtonHiddenOnPersonalSite"}) @Expose @@ -212,7 +212,7 @@ public class SharepointSettings extends Entity implements IJsonBackedObject { /** * The Is Unmanaged Sync App For Tenant Restricted. - * + * Indicates whether users are allowed to sync files only on PCs joined to specific domains. */ @SerializedName(value = "isUnmanagedSyncAppForTenantRestricted", alternate = {"IsUnmanagedSyncAppForTenantRestricted"}) @Expose @@ -221,7 +221,7 @@ public class SharepointSettings extends Entity implements IJsonBackedObject { /** * The Personal Site Default Storage Limit In MB. - * + * The default OneDrive storage limit for all new and existing users who are assigned a qualifying license. Measured in megabytes (MB). */ @SerializedName(value = "personalSiteDefaultStorageLimitInMB", alternate = {"PersonalSiteDefaultStorageLimitInMB"}) @Expose @@ -230,7 +230,7 @@ public class SharepointSettings extends Entity implements IJsonBackedObject { /** * The Sharing Allowed Domain List. - * + * Collection of email domains that are allowed for sharing outside the organization. */ @SerializedName(value = "sharingAllowedDomainList", alternate = {"SharingAllowedDomainList"}) @Expose @@ -239,7 +239,7 @@ public class SharepointSettings extends Entity implements IJsonBackedObject { /** * The Sharing Blocked Domain List. - * + * Collection of email domains that are blocked for sharing outside the organization. */ @SerializedName(value = "sharingBlockedDomainList", alternate = {"SharingBlockedDomainList"}) @Expose @@ -248,7 +248,7 @@ public class SharepointSettings extends Entity implements IJsonBackedObject { /** * The Sharing Capability. - * + * Sharing capability for the tenant. Possible values are: disabled, externalUserSharingOnly, externalUserAndGuestSharing, existingExternalUserSharingOnly. */ @SerializedName(value = "sharingCapability", alternate = {"SharingCapability"}) @Expose @@ -257,7 +257,7 @@ public class SharepointSettings extends Entity implements IJsonBackedObject { /** * The Sharing Domain Restriction Mode. - * + * Specifies the external sharing mode for domains. Possible values are: none, allowList, blockList. */ @SerializedName(value = "sharingDomainRestrictionMode", alternate = {"SharingDomainRestrictionMode"}) @Expose @@ -266,7 +266,7 @@ public class SharepointSettings extends Entity implements IJsonBackedObject { /** * The Site Creation Default Managed Path. - * + * The value of the team site managed path. This is the path under which new team sites will be created. */ @SerializedName(value = "siteCreationDefaultManagedPath", alternate = {"SiteCreationDefaultManagedPath"}) @Expose @@ -275,7 +275,7 @@ public class SharepointSettings extends Entity implements IJsonBackedObject { /** * The Site Creation Default Storage Limit In MB. - * + * The default storage quota for a new site upon creation. Measured in megabytes (MB). */ @SerializedName(value = "siteCreationDefaultStorageLimitInMB", alternate = {"SiteCreationDefaultStorageLimitInMB"}) @Expose @@ -284,7 +284,7 @@ public class SharepointSettings extends Entity implements IJsonBackedObject { /** * The Tenant Default Timezone. - * + * The default timezone of a tenant for newly created sites. For a list of possible values, see SPRegionalSettings.TimeZones property. */ @SerializedName(value = "tenantDefaultTimezone", alternate = {"TenantDefaultTimezone"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/UnifiedRbacResourceAction.java b/src/main/java/com/microsoft/graph/models/UnifiedRbacResourceAction.java index 06631040305..850fb4fc8f4 100644 --- a/src/main/java/com/microsoft/graph/models/UnifiedRbacResourceAction.java +++ b/src/main/java/com/microsoft/graph/models/UnifiedRbacResourceAction.java @@ -8,6 +8,7 @@ import com.microsoft.graph.serializer.IJsonBackedObject; import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.EnumSet; +import com.microsoft.graph.models.AuthenticationContextClassReference; import com.microsoft.graph.models.UnifiedRbacResourceScope; import com.microsoft.graph.models.Entity; @@ -80,6 +81,15 @@ public class UnifiedRbacResourceAction extends Entity implements IJsonBackedObje @Nullable public String resourceScopeId; + /** + * The Authentication Context. + * + */ + @SerializedName(value = "authenticationContext", alternate = {"AuthenticationContext"}) + @Expose + @Nullable + public AuthenticationContextClassReference authenticationContext; + /** * The Resource Scope. * diff --git a/src/main/java/com/microsoft/graph/models/User.java b/src/main/java/com/microsoft/graph/models/User.java index a8f86bc8ddc..1371556017d 100644 --- a/src/main/java/com/microsoft/graph/models/User.java +++ b/src/main/java/com/microsoft/graph/models/User.java @@ -93,7 +93,7 @@ public class User extends DirectoryObject implements IJsonBackedObject { /** * The Sign In Activity. - * Get the last signed-in date and request ID of the sign-in for a given user. Read-only.Returned only on $select. Supports $filter (eq, ne, not, ge, le) but not with any other filterable properties. Note: Details for this property require an Azure AD Premium P1/P2 license and the AuditLog.Read.All permission.When you specify $select=signInActivity or $filter=signInActivity while listing users, the maximum page size is 120 users. Requests with $top set higher than 120 will return pages with up to 120 users.This property is not returned for a user who has never signed in or last signed in before April 2020. + * Get the last signed-in date and request ID of the sign-in for a given user. Read-only.Returned only on $select. Supports $filter (eq, ne, not, ge, le) but not with any other filterable properties. Note: Details for this property require an Azure AD Premium P1/P2 license and the AuditLog.Read.All permission.This property is not returned for a user who has never signed in or last signed in before April 2020. */ @SerializedName(value = "signInActivity", alternate = {"SignInActivity"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/UserRegistrationDetails.java b/src/main/java/com/microsoft/graph/models/UserRegistrationDetails.java index 9f497d4ce9c..5f0e516bdcf 100644 --- a/src/main/java/com/microsoft/graph/models/UserRegistrationDetails.java +++ b/src/main/java/com/microsoft/graph/models/UserRegistrationDetails.java @@ -100,6 +100,15 @@ public class UserRegistrationDetails extends Entity implements IJsonBackedObject @Nullable public Boolean isSsprRegistered; + /** + * The Last Updated Date Time. + * + */ + @SerializedName(value = "lastUpdatedDateTime", alternate = {"LastUpdatedDateTime"}) + @Expose + @Nullable + public java.time.OffsetDateTime lastUpdatedDateTime; + /** * The Methods Registered. * Collection of authentication methods registered, such as mobilePhone, email, fido2. Supports $filter (any with eq). diff --git a/src/main/java/com/microsoft/graph/models/WindowsAppXAppAssignmentSettings.java b/src/main/java/com/microsoft/graph/models/WindowsAppXAppAssignmentSettings.java index 476b50a1ec7..437da47dd9c 100644 --- a/src/main/java/com/microsoft/graph/models/WindowsAppXAppAssignmentSettings.java +++ b/src/main/java/com/microsoft/graph/models/WindowsAppXAppAssignmentSettings.java @@ -27,7 +27,7 @@ public class WindowsAppXAppAssignmentSettings extends MobileAppAssignmentSetting /** * The Use Device Context. - * Whether or not to use device execution context for Windows AppX mobile app. + * When TRUE, indicates that device execution context will be used for the AppX mobile app. When FALSE, indicates that user context will be used for the AppX mobile app. By default, this property is set to FALSE. Once this property has been set to TRUE it cannot be changed. */ @SerializedName(value = "useDeviceContext", alternate = {"UseDeviceContext"}) @Expose diff --git a/src/main/java/com/microsoft/graph/requests/AccessPackageCatalogRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/AccessPackageCatalogRequestBuilder.java index 557d5993371..c0266b56435 100644 --- a/src/main/java/com/microsoft/graph/requests/AccessPackageCatalogRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/AccessPackageCatalogRequestBuilder.java @@ -142,8 +142,8 @@ public com.microsoft.graph.requests.AccessPackageResourceScopeRequestBuilder acc * @return the collection request builder */ @Nonnull - public com.microsoft.graph.requests.AccessPackageCollectionRequestBuilder accessPackages() { - return new com.microsoft.graph.requests.AccessPackageCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("accessPackages"), getClient(), null); + public com.microsoft.graph.requests.AccessPackageCollectionWithReferencesRequestBuilder accessPackages() { + return new com.microsoft.graph.requests.AccessPackageCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("accessPackages"), getClient(), null); } /** @@ -153,8 +153,8 @@ public com.microsoft.graph.requests.AccessPackageCollectionRequestBuilder access * @param id the item identifier */ @Nonnull - public com.microsoft.graph.requests.AccessPackageRequestBuilder accessPackages(@Nonnull final String id) { - return new com.microsoft.graph.requests.AccessPackageRequestBuilder(getRequestUrlWithAdditionalSegment("accessPackages") + "/" + id, getClient(), null); + public com.microsoft.graph.requests.AccessPackageWithReferenceRequestBuilder accessPackages(@Nonnull final String id) { + return new com.microsoft.graph.requests.AccessPackageWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("accessPackages") + "/" + id, getClient(), null); } /** * Gets a request builder for the CustomAccessPackageWorkflowExtension collection diff --git a/src/main/java/com/microsoft/graph/requests/AccessPackageCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/AccessPackageCollectionRequest.java index a0025b4200b..69e98752eab 100644 --- a/src/main/java/com/microsoft/graph/requests/AccessPackageCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/AccessPackageCollectionRequest.java @@ -7,7 +7,7 @@ import com.microsoft.graph.http.IRequestBuilder; import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.models.AccessPackageCatalog; +import com.microsoft.graph.models.EntitlementManagement; import com.microsoft.graph.models.AccessPackage; import com.microsoft.graph.models.AccessPackageAssignmentRequestRequirements; import com.microsoft.graph.models.AccessPackageFilterByCurrentUserOptions; diff --git a/src/main/java/com/microsoft/graph/requests/AccessPackageCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/AccessPackageCollectionRequestBuilder.java index e5bab2b6a43..e99e5b6e5d3 100644 --- a/src/main/java/com/microsoft/graph/requests/AccessPackageCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/AccessPackageCollectionRequestBuilder.java @@ -7,7 +7,7 @@ import com.microsoft.graph.http.IRequestBuilder; import com.microsoft.graph.core.ClientException; -import com.microsoft.graph.models.AccessPackageCatalog; +import com.microsoft.graph.models.EntitlementManagement; import com.microsoft.graph.models.AccessPackage; import com.microsoft.graph.models.AccessPackageAssignmentRequestRequirements; import com.microsoft.graph.models.AccessPackageFilterByCurrentUserOptions; @@ -34,7 +34,7 @@ public class AccessPackageCollectionRequestBuilder extends BaseCollectionRequestBuilder { /** - * The request builder for this collection of AccessPackageCatalog + * The request builder for this collection of EntitlementManagement * * @param requestUrl the request URL * @param client the service client diff --git a/src/main/java/com/microsoft/graph/requests/AuthenticationContextClassReferenceReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/AuthenticationContextClassReferenceReferenceRequest.java new file mode 100644 index 00000000000..34a0bba6689 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/AuthenticationContextClassReferenceReferenceRequest.java @@ -0,0 +1,64 @@ +// 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.AuthenticationContextClassReference; +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 Authentication Context Class Reference Reference Request. + */ +public class AuthenticationContextClassReferenceReferenceRequest extends BaseReferenceRequest { + + /** + * The request for the AuthenticationContextClassReference + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public AuthenticationContextClassReferenceReferenceRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, AuthenticationContextClassReference.class); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + @Nonnull + public AuthenticationContextClassReferenceReferenceRequest 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 AuthenticationContextClassReferenceReferenceRequest expand(@Nonnull final String value) { + addExpandOption(value); + return this; + } +} diff --git a/src/main/java/com/microsoft/graph/requests/AuthenticationContextClassReferenceReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/AuthenticationContextClassReferenceReferenceRequestBuilder.java new file mode 100644 index 00000000000..21a91ee8934 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/AuthenticationContextClassReferenceReferenceRequestBuilder.java @@ -0,0 +1,37 @@ + +// 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.AuthenticationContextClassReference; +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 Authentication Context Class Reference Reference Request Builder. + */ +public class AuthenticationContextClassReferenceReferenceRequestBuilder extends BaseReferenceRequestBuilder { + + /** + * The request builder for the AuthenticationContextClassReference + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public AuthenticationContextClassReferenceReferenceRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, AuthenticationContextClassReferenceReferenceRequest.class); + } +} diff --git a/src/main/java/com/microsoft/graph/requests/AuthenticationContextClassReferenceWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/AuthenticationContextClassReferenceWithReferenceRequest.java new file mode 100644 index 00000000000..3869cd706a8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/AuthenticationContextClassReferenceWithReferenceRequest.java @@ -0,0 +1,63 @@ +// 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.AuthenticationContextClassReference; +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 Authentication Context Class Reference With Reference Request. + */ +public class AuthenticationContextClassReferenceWithReferenceRequest extends BaseWithReferenceRequest { + + /** + * The request for the AuthenticationContextClassReference + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public AuthenticationContextClassReferenceWithReferenceRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, AuthenticationContextClassReference.class); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + @Nonnull + public AuthenticationContextClassReferenceWithReferenceRequest 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 AuthenticationContextClassReferenceWithReferenceRequest expand(@Nonnull final String value) { + addExpandOption(value); + return this; + } +} diff --git a/src/main/java/com/microsoft/graph/requests/AuthenticationContextClassReferenceWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/AuthenticationContextClassReferenceWithReferenceRequestBuilder.java new file mode 100644 index 00000000000..c01dd82b3b8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/AuthenticationContextClassReferenceWithReferenceRequestBuilder.java @@ -0,0 +1,36 @@ +// 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.AuthenticationContextClassReference; +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 Authentication Context Class Reference With Reference Request Builder. + */ +public class AuthenticationContextClassReferenceWithReferenceRequestBuilder extends BaseWithReferenceRequestBuilder { + + /** + * The request builder for the AuthenticationContextClassReference + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public AuthenticationContextClassReferenceWithReferenceRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, AuthenticationContextClassReferenceWithReferenceRequest.class, AuthenticationContextClassReferenceReferenceRequestBuilder.class); + } +} diff --git a/src/main/java/com/microsoft/graph/requests/DirectoryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/DirectoryRequestBuilder.java index a017d041a01..ac2e8406bf2 100644 --- a/src/main/java/com/microsoft/graph/requests/DirectoryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/DirectoryRequestBuilder.java @@ -236,6 +236,66 @@ public com.microsoft.graph.requests.ApplicationCollectionRequestBuilder deletedI public com.microsoft.graph.requests.ApplicationRequestBuilder deletedItemsAsApplication(@Nonnull final String id) { return new com.microsoft.graph.requests.ApplicationRequestBuilder(getRequestUrlWithAdditionalSegment("deletedItems") + "/" + id + "/microsoft.graph.application", getClient(), null); } + /** + * Gets a request builder for the ServicePrincipal collection + * + * @return the collection request builder + */ + @Nonnull + public com.microsoft.graph.requests.ServicePrincipalCollectionRequestBuilder deletedItemsAsServicePrincipal() { + return new com.microsoft.graph.requests.ServicePrincipalCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deletedItems") + "/microsoft.graph.servicePrincipal", getClient(), null); + } + + /** + * Gets a request builder for the ServicePrincipal item + * + * @return the request builder + * @param id the item identifier + */ + @Nonnull + public com.microsoft.graph.requests.ServicePrincipalRequestBuilder deletedItemsAsServicePrincipal(@Nonnull final String id) { + return new com.microsoft.graph.requests.ServicePrincipalRequestBuilder(getRequestUrlWithAdditionalSegment("deletedItems") + "/" + id + "/microsoft.graph.servicePrincipal", getClient(), null); + } + /** + * Gets a request builder for the AdministrativeUnit collection + * + * @return the collection request builder + */ + @Nonnull + public com.microsoft.graph.requests.AdministrativeUnitCollectionRequestBuilder deletedItemsAsAdministrativeUnit() { + return new com.microsoft.graph.requests.AdministrativeUnitCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deletedItems") + "/microsoft.graph.administrativeUnit", getClient(), null); + } + + /** + * Gets a request builder for the AdministrativeUnit item + * + * @return the request builder + * @param id the item identifier + */ + @Nonnull + public com.microsoft.graph.requests.AdministrativeUnitRequestBuilder deletedItemsAsAdministrativeUnit(@Nonnull final String id) { + return new com.microsoft.graph.requests.AdministrativeUnitRequestBuilder(getRequestUrlWithAdditionalSegment("deletedItems") + "/" + id + "/microsoft.graph.administrativeUnit", getClient(), null); + } + /** + * Gets a request builder for the Device collection + * + * @return the collection request builder + */ + @Nonnull + public com.microsoft.graph.requests.DeviceCollectionRequestBuilder deletedItemsAsDevice() { + return new com.microsoft.graph.requests.DeviceCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("deletedItems") + "/microsoft.graph.device", getClient(), null); + } + + /** + * Gets a request builder for the Device item + * + * @return the request builder + * @param id the item identifier + */ + @Nonnull + public com.microsoft.graph.requests.DeviceRequestBuilder deletedItemsAsDevice(@Nonnull final String id) { + return new com.microsoft.graph.requests.DeviceRequestBuilder(getRequestUrlWithAdditionalSegment("deletedItems") + "/" + id + "/microsoft.graph.device", getClient(), null); + } /** * Gets a request builder for the IdentityProviderBase collection * diff --git a/src/main/java/com/microsoft/graph/requests/EducationAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/EducationAssignmentRequestBuilder.java index 9955f478a2e..125ade96c97 100644 --- a/src/main/java/com/microsoft/graph/requests/EducationAssignmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/EducationAssignmentRequestBuilder.java @@ -76,6 +76,16 @@ public com.microsoft.graph.requests.EducationCategoryCollectionRequestBuilder ca public com.microsoft.graph.requests.EducationCategoryRequestBuilder categories(@Nonnull final String id) { return new com.microsoft.graph.requests.EducationCategoryRequestBuilder(getRequestUrlWithAdditionalSegment("categories") + "/" + id, getClient(), null); } + + /** + * Gets the request builder for EducationGradingCategory + * + * @return the EducationGradingCategoryWithReferenceRequestBuilder instance + */ + @Nonnull + public com.microsoft.graph.requests.EducationGradingCategoryWithReferenceRequestBuilder gradingCategory() { + return new com.microsoft.graph.requests.EducationGradingCategoryWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("gradingCategory"), getClient(), null); + } /** * Gets a request builder for the EducationAssignmentResource collection * diff --git a/src/main/java/com/microsoft/graph/requests/EducationAssignmentSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/EducationAssignmentSettingsRequestBuilder.java index ace66e4b3be..62de5066889 100644 --- a/src/main/java/com/microsoft/graph/requests/EducationAssignmentSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/EducationAssignmentSettingsRequestBuilder.java @@ -56,4 +56,24 @@ public EducationAssignmentSettingsRequest buildRequest(@Nonnull final java.util. } + /** + * Gets a request builder for the EducationGradingCategory collection + * + * @return the collection request builder + */ + @Nonnull + public com.microsoft.graph.requests.EducationGradingCategoryCollectionRequestBuilder gradingCategories() { + return new com.microsoft.graph.requests.EducationGradingCategoryCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("gradingCategories"), getClient(), null); + } + + /** + * Gets a request builder for the EducationGradingCategory item + * + * @return the request builder + * @param id the item identifier + */ + @Nonnull + public com.microsoft.graph.requests.EducationGradingCategoryRequestBuilder gradingCategories(@Nonnull final String id) { + return new com.microsoft.graph.requests.EducationGradingCategoryRequestBuilder(getRequestUrlWithAdditionalSegment("gradingCategories") + "/" + id, getClient(), null); + } } diff --git a/src/main/java/com/microsoft/graph/requests/EducationGradingCategoryCollectionPage.java b/src/main/java/com/microsoft/graph/requests/EducationGradingCategoryCollectionPage.java new file mode 100644 index 00000000000..a46ddc5d97e --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/EducationGradingCategoryCollectionPage.java @@ -0,0 +1,40 @@ +// Template Source: BaseEntityCollectionPage.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.EducationGradingCategory; +import com.microsoft.graph.requests.EducationGradingCategoryCollectionRequestBuilder; +import javax.annotation.Nullable; +import javax.annotation.Nonnull; +import com.microsoft.graph.requests.EducationGradingCategoryCollectionResponse; +import com.microsoft.graph.http.BaseCollectionPage; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Education Grading Category Collection Page. + */ +public class EducationGradingCategoryCollectionPage extends BaseCollectionPage { + + /** + * A collection page for EducationGradingCategory + * + * @param response the serialized EducationGradingCategoryCollectionResponse from the service + * @param builder the request builder for the next collection page + */ + public EducationGradingCategoryCollectionPage(@Nonnull final EducationGradingCategoryCollectionResponse response, @Nonnull final EducationGradingCategoryCollectionRequestBuilder builder) { + super(response, builder); + } + + /** + * Creates the collection page for EducationGradingCategory + * + * @param pageContents the contents of this page + * @param nextRequestBuilder the request builder for the next page + */ + public EducationGradingCategoryCollectionPage(@Nonnull final java.util.List pageContents, @Nullable final EducationGradingCategoryCollectionRequestBuilder nextRequestBuilder) { + super(pageContents, nextRequestBuilder); + } +} diff --git a/src/main/java/com/microsoft/graph/requests/EducationGradingCategoryCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/EducationGradingCategoryCollectionRequest.java new file mode 100644 index 00000000000..d7781e1a8a5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/EducationGradingCategoryCollectionRequest.java @@ -0,0 +1,173 @@ +// Template Source: BaseEntityCollectionRequest.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.EducationAssignmentSettings; +import com.microsoft.graph.models.EducationGradingCategory; +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.core.IBaseClient; +import com.microsoft.graph.http.BaseEntityCollectionRequest; +import com.microsoft.graph.requests.EducationGradingCategoryCollectionResponse; +import com.microsoft.graph.requests.EducationGradingCategoryCollectionRequestBuilder; +import com.microsoft.graph.requests.EducationGradingCategoryCollectionRequest; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Education Grading Category Collection Request. + */ +public class EducationGradingCategoryCollectionRequest extends BaseEntityCollectionRequest { + + /** + * The request builder for this collection of EducationGradingCategory + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public EducationGradingCategoryCollectionRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, EducationGradingCategoryCollectionResponse.class, EducationGradingCategoryCollectionPage.class, EducationGradingCategoryCollectionRequestBuilder.class); + } + + /** + * Creates a new EducationGradingCategory + * @param newEducationGradingCategory the EducationGradingCategory to create + * @return a future with the created object + */ + @Nonnull + public java.util.concurrent.CompletableFuture postAsync(@Nonnull final EducationGradingCategory newEducationGradingCategory) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new EducationGradingCategoryRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getHeaders()) + .postAsync(newEducationGradingCategory); + } + + /** + * Creates a new EducationGradingCategory + * @param newEducationGradingCategory the EducationGradingCategory to create + * @return the newly created object + */ + @Nonnull + public EducationGradingCategory post(@Nonnull final EducationGradingCategory newEducationGradingCategory) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new EducationGradingCategoryRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getHeaders()) + .post(newEducationGradingCategory); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + @Nonnull + public EducationGradingCategoryCollectionRequest 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 EducationGradingCategoryCollectionRequest 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 EducationGradingCategoryCollectionRequest 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 EducationGradingCategoryCollectionRequest 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 EducationGradingCategoryCollectionRequest 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 EducationGradingCategoryCollectionRequest count(final boolean value) { + addCountOption(value); + return this; + } + /** + * Sets the count value to true for the request + * + * @return the updated request + */ + @Nonnull + public EducationGradingCategoryCollectionRequest count() { + addCountOption(true); + return this; + } + /** + * Sets the skip value for the request + * + * @param value of the number of items to skip + * @return the updated request + */ + @Nonnull + public EducationGradingCategoryCollectionRequest skip(final int value) { + addSkipOption(value); + return this; + } + + + /** + * Add Skip token for pagination + * @param skipToken - Token for pagination + * @return the updated request + */ + @Nonnull + public EducationGradingCategoryCollectionRequest skipToken(@Nonnull final String skipToken) { + addSkipTokenOption(skipToken); + return this; + } +} + diff --git a/src/main/java/com/microsoft/graph/requests/EducationGradingCategoryCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/EducationGradingCategoryCollectionRequestBuilder.java new file mode 100644 index 00000000000..9f0655c91ec --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/EducationGradingCategoryCollectionRequestBuilder.java @@ -0,0 +1,51 @@ +// Template Source: BaseEntityCollectionRequestBuilder.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.EducationAssignmentSettings; +import com.microsoft.graph.models.EducationGradingCategory; +import java.util.Arrays; +import java.util.EnumSet; +import javax.annotation.Nullable; +import javax.annotation.Nonnull; + +import com.microsoft.graph.requests.EducationGradingCategoryCollectionRequestBuilder; +import com.microsoft.graph.requests.EducationGradingCategoryRequestBuilder; +import com.microsoft.graph.requests.EducationGradingCategoryCollectionRequest; +import com.microsoft.graph.http.BaseCollectionRequestBuilder; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.PrimitiveRequestBuilder; +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Education Grading Category Collection Request Builder. + */ +public class EducationGradingCategoryCollectionRequestBuilder extends BaseCollectionRequestBuilder { + + /** + * The request builder for this collection of EducationAssignmentSettings + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public EducationGradingCategoryCollectionRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, EducationGradingCategoryRequestBuilder.class, EducationGradingCategoryCollectionRequest.class); + } + + + + /** + * Gets the raw count request for the collection + * @return The raw count request for the collection + */ + @Nonnull + public PrimitiveRequestBuilder count() { + return new PrimitiveRequestBuilder(getRequestUrlWithAdditionalSegment("$count"), getClient(), null, Long.class); + } +} diff --git a/src/main/java/com/microsoft/graph/requests/EducationGradingCategoryCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/EducationGradingCategoryCollectionResponse.java new file mode 100644 index 00000000000..136957459b0 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/EducationGradingCategoryCollectionResponse.java @@ -0,0 +1,18 @@ +// Template Source: BaseEntityCollectionResponse.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.EducationGradingCategory; + +import com.microsoft.graph.http.BaseCollectionResponse; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Education Grading Category Collection Response. + */ +public class EducationGradingCategoryCollectionResponse extends BaseCollectionResponse { + +} diff --git a/src/main/java/com/microsoft/graph/requests/EducationGradingCategoryReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/EducationGradingCategoryReferenceRequest.java new file mode 100644 index 00000000000..c1ff67f72ae --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/EducationGradingCategoryReferenceRequest.java @@ -0,0 +1,64 @@ +// 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.EducationGradingCategory; +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 Education Grading Category Reference Request. + */ +public class EducationGradingCategoryReferenceRequest extends BaseReferenceRequest { + + /** + * The request for the EducationGradingCategory + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public EducationGradingCategoryReferenceRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, EducationGradingCategory.class); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + @Nonnull + public EducationGradingCategoryReferenceRequest 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 EducationGradingCategoryReferenceRequest expand(@Nonnull final String value) { + addExpandOption(value); + return this; + } +} diff --git a/src/main/java/com/microsoft/graph/requests/EducationGradingCategoryReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/EducationGradingCategoryReferenceRequestBuilder.java new file mode 100644 index 00000000000..f034f5f9b43 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/EducationGradingCategoryReferenceRequestBuilder.java @@ -0,0 +1,37 @@ + +// 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.EducationGradingCategory; +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 Education Grading Category Reference Request Builder. + */ +public class EducationGradingCategoryReferenceRequestBuilder extends BaseReferenceRequestBuilder { + + /** + * The request builder for the EducationGradingCategory + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public EducationGradingCategoryReferenceRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, EducationGradingCategoryReferenceRequest.class); + } +} diff --git a/src/main/java/com/microsoft/graph/requests/EducationGradingCategoryRequest.java b/src/main/java/com/microsoft/graph/requests/EducationGradingCategoryRequest.java new file mode 100644 index 00000000000..aa6388f3677 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/EducationGradingCategoryRequest.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.EducationGradingCategory; +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 Education Grading Category Request. + */ +public class EducationGradingCategoryRequest extends BaseRequest { + + /** + * The request for the EducationGradingCategory + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public EducationGradingCategoryRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, EducationGradingCategory.class); + } + + /** + * Gets the EducationGradingCategory from the service + * + * @return a future with the result + */ + @Nonnull + public java.util.concurrent.CompletableFuture getAsync() { + return sendAsync(HttpMethod.GET, null); + } + + /** + * Gets the EducationGradingCategory from the service + * + * @return the EducationGradingCategory from the request + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + @Nullable + public EducationGradingCategory 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 EducationGradingCategory delete() throws ClientException { + return send(HttpMethod.DELETE, null); + } + + /** + * Patches this EducationGradingCategory with a source + * + * @param sourceEducationGradingCategory the source object with updates + * @return a future with the result + */ + @Nonnull + public java.util.concurrent.CompletableFuture patchAsync(@Nonnull final EducationGradingCategory sourceEducationGradingCategory) { + return sendAsync(HttpMethod.PATCH, sourceEducationGradingCategory); + } + + /** + * Patches this EducationGradingCategory with a source + * + * @param sourceEducationGradingCategory the source object with updates + * @return the updated EducationGradingCategory + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + @Nullable + public EducationGradingCategory patch(@Nonnull final EducationGradingCategory sourceEducationGradingCategory) throws ClientException { + return send(HttpMethod.PATCH, sourceEducationGradingCategory); + } + + /** + * Creates a EducationGradingCategory with a new object + * + * @param newEducationGradingCategory the new object to create + * @return a future with the result + */ + @Nonnull + public java.util.concurrent.CompletableFuture postAsync(@Nonnull final EducationGradingCategory newEducationGradingCategory) { + return sendAsync(HttpMethod.POST, newEducationGradingCategory); + } + + /** + * Creates a EducationGradingCategory with a new object + * + * @param newEducationGradingCategory the new object to create + * @return the created EducationGradingCategory + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + @Nullable + public EducationGradingCategory post(@Nonnull final EducationGradingCategory newEducationGradingCategory) throws ClientException { + return send(HttpMethod.POST, newEducationGradingCategory); + } + + /** + * Creates a EducationGradingCategory with a new object + * + * @param newEducationGradingCategory the object to create/update + * @return a future with the result + */ + @Nonnull + public java.util.concurrent.CompletableFuture putAsync(@Nonnull final EducationGradingCategory newEducationGradingCategory) { + return sendAsync(HttpMethod.PUT, newEducationGradingCategory); + } + + /** + * Creates a EducationGradingCategory with a new object + * + * @param newEducationGradingCategory the object to create/update + * @return the created EducationGradingCategory + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + @Nullable + public EducationGradingCategory put(@Nonnull final EducationGradingCategory newEducationGradingCategory) throws ClientException { + return send(HttpMethod.PUT, newEducationGradingCategory); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + @Nonnull + public EducationGradingCategoryRequest 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 EducationGradingCategoryRequest expand(@Nonnull final String value) { + addExpandOption(value); + return this; + } + +} + diff --git a/src/main/java/com/microsoft/graph/requests/EducationGradingCategoryRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/EducationGradingCategoryRequestBuilder.java new file mode 100644 index 00000000000..b1b443ede58 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/EducationGradingCategoryRequestBuilder.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.EducationGradingCategory; +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 Education Grading Category Request Builder. + */ +public class EducationGradingCategoryRequestBuilder extends BaseRequestBuilder { + + /** + * The request builder for the EducationGradingCategory + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public EducationGradingCategoryRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions); + } + + /** + * Creates the request + * + * @param requestOptions the options for this request + * @return the EducationGradingCategoryRequest instance + */ + @Nonnull + public EducationGradingCategoryRequest 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 EducationGradingCategoryRequest instance + */ + @Nonnull + public EducationGradingCategoryRequest buildRequest(@Nonnull final java.util.List requestOptions) { + return new com.microsoft.graph.requests.EducationGradingCategoryRequest(getRequestUrl(), getClient(), requestOptions); + } + + +} diff --git a/src/main/java/com/microsoft/graph/requests/EducationGradingCategoryWithReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/EducationGradingCategoryWithReferenceRequest.java new file mode 100644 index 00000000000..4770e59627d --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/EducationGradingCategoryWithReferenceRequest.java @@ -0,0 +1,63 @@ +// 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.EducationGradingCategory; +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 Education Grading Category With Reference Request. + */ +public class EducationGradingCategoryWithReferenceRequest extends BaseWithReferenceRequest { + + /** + * The request for the EducationGradingCategory + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public EducationGradingCategoryWithReferenceRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, EducationGradingCategory.class); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + @Nonnull + public EducationGradingCategoryWithReferenceRequest 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 EducationGradingCategoryWithReferenceRequest expand(@Nonnull final String value) { + addExpandOption(value); + return this; + } +} diff --git a/src/main/java/com/microsoft/graph/requests/EducationGradingCategoryWithReferenceRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/EducationGradingCategoryWithReferenceRequestBuilder.java new file mode 100644 index 00000000000..ef90ea2b23f --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/EducationGradingCategoryWithReferenceRequestBuilder.java @@ -0,0 +1,36 @@ +// 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.EducationGradingCategory; +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 Education Grading Category With Reference Request Builder. + */ +public class EducationGradingCategoryWithReferenceRequestBuilder extends BaseWithReferenceRequestBuilder { + + /** + * The request builder for the EducationGradingCategory + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public EducationGradingCategoryWithReferenceRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, EducationGradingCategoryWithReferenceRequest.class, EducationGradingCategoryReferenceRequestBuilder.class); + } +} diff --git a/src/main/java/com/microsoft/graph/requests/RbacApplicationCollectionPage.java b/src/main/java/com/microsoft/graph/requests/RbacApplicationCollectionPage.java new file mode 100644 index 00000000000..95791d13898 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/RbacApplicationCollectionPage.java @@ -0,0 +1,40 @@ +// Template Source: BaseEntityCollectionPage.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.RbacApplication; +import com.microsoft.graph.requests.RbacApplicationCollectionRequestBuilder; +import javax.annotation.Nullable; +import javax.annotation.Nonnull; +import com.microsoft.graph.requests.RbacApplicationCollectionResponse; +import com.microsoft.graph.http.BaseCollectionPage; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Rbac Application Collection Page. + */ +public class RbacApplicationCollectionPage extends BaseCollectionPage { + + /** + * A collection page for RbacApplication + * + * @param response the serialized RbacApplicationCollectionResponse from the service + * @param builder the request builder for the next collection page + */ + public RbacApplicationCollectionPage(@Nonnull final RbacApplicationCollectionResponse response, @Nonnull final RbacApplicationCollectionRequestBuilder builder) { + super(response, builder); + } + + /** + * Creates the collection page for RbacApplication + * + * @param pageContents the contents of this page + * @param nextRequestBuilder the request builder for the next page + */ + public RbacApplicationCollectionPage(@Nonnull final java.util.List pageContents, @Nullable final RbacApplicationCollectionRequestBuilder nextRequestBuilder) { + super(pageContents, nextRequestBuilder); + } +} diff --git a/src/main/java/com/microsoft/graph/requests/RbacApplicationCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/RbacApplicationCollectionRequest.java new file mode 100644 index 00000000000..e2fbdd8c811 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/RbacApplicationCollectionRequest.java @@ -0,0 +1,175 @@ +// Template Source: BaseEntityCollectionRequest.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.RoleManagement; +import com.microsoft.graph.models.RbacApplication; +import com.microsoft.graph.models.UnifiedRoleScheduleInstanceBase; +import com.microsoft.graph.models.UnifiedRoleScheduleBase; +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.core.IBaseClient; +import com.microsoft.graph.http.BaseEntityCollectionRequest; +import com.microsoft.graph.requests.RbacApplicationCollectionResponse; +import com.microsoft.graph.requests.RbacApplicationCollectionRequestBuilder; +import com.microsoft.graph.requests.RbacApplicationCollectionRequest; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Rbac Application Collection Request. + */ +public class RbacApplicationCollectionRequest extends BaseEntityCollectionRequest { + + /** + * The request builder for this collection of RbacApplication + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public RbacApplicationCollectionRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, RbacApplicationCollectionResponse.class, RbacApplicationCollectionPage.class, RbacApplicationCollectionRequestBuilder.class); + } + + /** + * Creates a new RbacApplication + * @param newRbacApplication the RbacApplication to create + * @return a future with the created object + */ + @Nonnull + public java.util.concurrent.CompletableFuture postAsync(@Nonnull final RbacApplication newRbacApplication) { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new RbacApplicationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getHeaders()) + .postAsync(newRbacApplication); + } + + /** + * Creates a new RbacApplication + * @param newRbacApplication the RbacApplication to create + * @return the newly created object + */ + @Nonnull + public RbacApplication post(@Nonnull final RbacApplication newRbacApplication) throws ClientException { + final String requestUrl = getBaseRequest().getRequestUrl().toString(); + return new RbacApplicationRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) + .buildRequest(getBaseRequest().getHeaders()) + .post(newRbacApplication); + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + @Nonnull + public RbacApplicationCollectionRequest 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 RbacApplicationCollectionRequest 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 RbacApplicationCollectionRequest 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 RbacApplicationCollectionRequest 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 RbacApplicationCollectionRequest 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 RbacApplicationCollectionRequest count(final boolean value) { + addCountOption(value); + return this; + } + /** + * Sets the count value to true for the request + * + * @return the updated request + */ + @Nonnull + public RbacApplicationCollectionRequest count() { + addCountOption(true); + return this; + } + /** + * Sets the skip value for the request + * + * @param value of the number of items to skip + * @return the updated request + */ + @Nonnull + public RbacApplicationCollectionRequest skip(final int value) { + addSkipOption(value); + return this; + } + + + /** + * Add Skip token for pagination + * @param skipToken - Token for pagination + * @return the updated request + */ + @Nonnull + public RbacApplicationCollectionRequest skipToken(@Nonnull final String skipToken) { + addSkipTokenOption(skipToken); + return this; + } +} + diff --git a/src/main/java/com/microsoft/graph/requests/RbacApplicationCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/RbacApplicationCollectionRequestBuilder.java new file mode 100644 index 00000000000..4714320a4a1 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/RbacApplicationCollectionRequestBuilder.java @@ -0,0 +1,55 @@ +// Template Source: BaseEntityCollectionRequestBuilder.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.RoleManagement; +import com.microsoft.graph.models.RbacApplication; +import com.microsoft.graph.models.UnifiedRoleScheduleInstanceBase; +import com.microsoft.graph.models.UnifiedRoleScheduleBase; +import java.util.Arrays; +import java.util.EnumSet; +import javax.annotation.Nullable; +import javax.annotation.Nonnull; + +import com.microsoft.graph.requests.RbacApplicationCollectionRequestBuilder; +import com.microsoft.graph.requests.RbacApplicationRequestBuilder; +import com.microsoft.graph.requests.RbacApplicationCollectionRequest; +import com.microsoft.graph.http.BaseCollectionRequestBuilder; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.PrimitiveRequestBuilder; +import com.microsoft.graph.models.RbacApplicationRoleScheduleInstancesParameterSet; +import com.microsoft.graph.models.RbacApplicationRoleSchedulesParameterSet; +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Rbac Application Collection Request Builder. + */ +public class RbacApplicationCollectionRequestBuilder extends BaseCollectionRequestBuilder { + + /** + * The request builder for this collection of RoleManagement + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public RbacApplicationCollectionRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, RbacApplicationRequestBuilder.class, RbacApplicationCollectionRequest.class); + } + + + + /** + * Gets the raw count request for the collection + * @return The raw count request for the collection + */ + @Nonnull + public PrimitiveRequestBuilder count() { + return new PrimitiveRequestBuilder(getRequestUrlWithAdditionalSegment("$count"), getClient(), null, Long.class); + } +} diff --git a/src/main/java/com/microsoft/graph/requests/RbacApplicationCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/RbacApplicationCollectionResponse.java new file mode 100644 index 00000000000..0ac1392265c --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/RbacApplicationCollectionResponse.java @@ -0,0 +1,18 @@ +// Template Source: BaseEntityCollectionResponse.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.RbacApplication; + +import com.microsoft.graph.http.BaseCollectionResponse; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Rbac Application Collection Response. + */ +public class RbacApplicationCollectionResponse extends BaseCollectionResponse { + +} diff --git a/src/main/java/com/microsoft/graph/requests/RoleManagementRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/RoleManagementRequestBuilder.java index c116d01211f..6d0ed3ce5e2 100644 --- a/src/main/java/com/microsoft/graph/requests/RoleManagementRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/RoleManagementRequestBuilder.java @@ -76,6 +76,26 @@ public com.microsoft.graph.requests.RbacApplicationRequestBuilder directory() { public com.microsoft.graph.requests.RbacApplicationMultipleRequestBuilder cloudPC() { return new com.microsoft.graph.requests.RbacApplicationMultipleRequestBuilder(getRequestUrlWithAdditionalSegment("cloudPC"), getClient(), null); } + /** + * Gets a request builder for the RbacApplication collection + * + * @return the collection request builder + */ + @Nonnull + public com.microsoft.graph.requests.RbacApplicationCollectionRequestBuilder enterpriseApps() { + return new com.microsoft.graph.requests.RbacApplicationCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("enterpriseApps"), getClient(), null); + } + + /** + * Gets a request builder for the RbacApplication item + * + * @return the request builder + * @param id the item identifier + */ + @Nonnull + public com.microsoft.graph.requests.RbacApplicationRequestBuilder enterpriseApps(@Nonnull final String id) { + return new com.microsoft.graph.requests.RbacApplicationRequestBuilder(getRequestUrlWithAdditionalSegment("enterpriseApps") + "/" + id, getClient(), null); + } /** * Gets the request builder for UnifiedRbacApplication diff --git a/src/main/java/com/microsoft/graph/requests/UnifiedRbacResourceActionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/UnifiedRbacResourceActionRequestBuilder.java index 3bd5bfe7007..badb1886ce4 100644 --- a/src/main/java/com/microsoft/graph/requests/UnifiedRbacResourceActionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/UnifiedRbacResourceActionRequestBuilder.java @@ -57,6 +57,16 @@ public UnifiedRbacResourceActionRequest buildRequest(@Nonnull final java.util.Li + /** + * Gets the request builder for AuthenticationContextClassReference + * + * @return the AuthenticationContextClassReferenceWithReferenceRequestBuilder instance + */ + @Nonnull + public com.microsoft.graph.requests.AuthenticationContextClassReferenceWithReferenceRequestBuilder authenticationContext() { + return new com.microsoft.graph.requests.AuthenticationContextClassReferenceWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("authenticationContext"), getClient(), null); + } + /** * Gets the request builder for UnifiedRbacResourceScope *