Skip to content

Commit

Permalink
Merge pull request #1200 from microsoftgraph/dev
Browse files Browse the repository at this point in the history
Release 4.12.0
  • Loading branch information
andrueastman committed Dec 15, 2021
2 parents 3e54d7c + bee6cab commit d863451
Show file tree
Hide file tree
Showing 44 changed files with 126 additions and 62 deletions.
Expand Up @@ -37,7 +37,7 @@ public ClientUserAgent()

/// <summary>
/// Gets or sets productFamily.
/// Identifies the family of application software used by this endpoint. Possible values are: unknown, teams, skypeForBusiness, lync, unknownFutureValue.
/// Identifies the family of application software used by this endpoint. Possible values are: unknown, teams, skypeForBusiness, lync, unknownFutureValue, azureCommunicationServices. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: azureCommunicationServices.
/// </summary>
[JsonPropertyName("productFamily")]
public ProductFamily? ProductFamily { get; set; }
Expand Down
1 change: 1 addition & 0 deletions src/Microsoft.Graph/Generated/model/AccessPackage.cs
Expand Up @@ -57,6 +57,7 @@ public partial class AccessPackage : Entity

/// <summary>
/// Gets or sets catalog.
/// Read-only. Nullable.
/// </summary>
[JsonPropertyName("catalog")]
public AccessPackageCatalog Catalog { get; set; }
Expand Down
Expand Up @@ -23,7 +23,7 @@ public partial class AccessPackageAssignment : Entity

/// <summary>
/// Gets or sets expired date time.
/// The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
/// The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
/// </summary>
[JsonPropertyName("expiredDateTime")]
public DateTimeOffset? ExpiredDateTime { get; set; }
Expand All @@ -37,12 +37,14 @@ public partial class AccessPackageAssignment : Entity

/// <summary>
/// Gets or sets state.
/// The state of the access package assignment. The possible values are: delivering, partiallyDelivered, delivered, expired, deliveryFailed, unknownFutureValue. Read-only.
/// </summary>
[JsonPropertyName("state")]
public AccessPackageAssignmentState? State { get; set; }

/// <summary>
/// Gets or sets status.
/// More information about the assignment lifecycle. Possible values include Delivering, Delivered, NearExpiry1DayNotificationTriggered, or ExpiredNotificationTriggered. Read-only.
/// </summary>
[JsonPropertyName("status")]
public string Status { get; set; }
Expand Down
Expand Up @@ -36,26 +36,28 @@ public partial class AccessPackageAssignmentRequestObject : Entity

/// <summary>
/// Gets or sets request type.
/// One of UserAdd, UserRemove, AdminAdd, AdminRemove or SystemRemove. A request from the user themselves would have requestType of UserAdd or UserRemove. Read-only.
/// The type of the request. The possible values are: notSpecified, userAdd, userUpdate, userRemove, adminAdd, adminUpdate, adminRemove, systemAdd, systemUpdate, systemRemove, onBehalfAdd, unknownFutureValue. A request from the user themselves would have requestType of UserAdd or UserRemove. This property cannot be changed once set.
/// </summary>
[JsonPropertyName("requestType")]
public AccessPackageRequestType? RequestType { get; set; }

/// <summary>
/// Gets or sets schedule.
/// The range of dates that access is to be assigned to the requestor. Read-only.
/// The range of dates that access is to be assigned to the requestor. This property cannot be changed once set.
/// </summary>
[JsonPropertyName("schedule")]
public EntitlementManagementSchedule Schedule { get; set; }

/// <summary>
/// Gets or sets state.
/// The state of the request. The possible values are: submitted, pendingApproval, delivering, delivered, deliveryFailed, denied, scheduled, canceled, partiallyDelivered, unknownFutureValue. Read-only.
/// </summary>
[JsonPropertyName("state")]
public AccessPackageRequestState? State { get; set; }

/// <summary>
/// Gets or sets status.
/// More information on the request processing status. Read-only.
/// </summary>
[JsonPropertyName("status")]
public string Status { get; set; }
Expand All @@ -69,6 +71,7 @@ public partial class AccessPackageAssignmentRequestObject : Entity

/// <summary>
/// Gets or sets assignment.
/// For a requestType of UserAdd or AdminAdd, this is an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove or SystemRemove, this has the id property of an existing assignment to be removed. Supports $expand.
/// </summary>
[JsonPropertyName("assignment")]
public AccessPackageAssignment Assignment { get; set; }
Expand Down
Expand Up @@ -23,18 +23,21 @@ public partial class AccessPackageAssignmentRequestRequirements

/// <summary>
/// Gets or sets allowCustomAssignmentSchedule.
/// Indicates whether the requestor is allowed to set a custom schedule.
/// </summary>
[JsonPropertyName("allowCustomAssignmentSchedule")]
public bool? AllowCustomAssignmentSchedule { get; set; }

/// <summary>
/// Gets or sets isApprovalRequiredForAdd.
/// Indicates whether a request to add must be approved by an approver.
/// </summary>
[JsonPropertyName("isApprovalRequiredForAdd")]
public bool? IsApprovalRequiredForAdd { get; set; }

/// <summary>
/// Gets or sets isApprovalRequiredForUpdate.
/// Indicates whether a request to update must be approved by an approver.
/// </summary>
[JsonPropertyName("isApprovalRequiredForUpdate")]
public bool? IsApprovalRequiredForUpdate { get; set; }
Expand Down
3 changes: 2 additions & 1 deletion src/Microsoft.Graph/Generated/model/AccessPackageCatalog.cs
Expand Up @@ -23,7 +23,7 @@ public partial class AccessPackageCatalog : Entity

/// <summary>
/// Gets or sets catalog type.
/// One of UserManaged or ServiceDefault.
/// Whether the catalog is created by a user or entitlement management. The possible values are: userManaged, serviceDefault, serviceManaged, unknownFutureValue.
/// </summary>
[JsonPropertyName("catalogType")]
public AccessPackageCatalogType? CatalogType { get; set; }
Expand Down Expand Up @@ -65,6 +65,7 @@ public partial class AccessPackageCatalog : Entity

/// <summary>
/// Gets or sets state.
/// Has the value published if the access packages are available for management. The possible values are: unpublished, published, unknownFutureValue.
/// </summary>
[JsonPropertyName("state")]
public AccessPackageCatalogState? State { get; set; }
Expand Down
2 changes: 2 additions & 0 deletions src/Microsoft.Graph/Generated/model/AccessPackageSubject.cs
Expand Up @@ -44,6 +44,7 @@ public partial class AccessPackageSubject : Entity

/// <summary>
/// Gets or sets on premises security identifier.
/// A string representation of the principal's security identifier, if known, or null if the subject does not have a security identifier.
/// </summary>
[JsonPropertyName("onPremisesSecurityIdentifier")]
public string OnPremisesSecurityIdentifier { get; set; }
Expand All @@ -57,6 +58,7 @@ public partial class AccessPackageSubject : Entity

/// <summary>
/// Gets or sets subject type.
/// The resource type of the subject. The possible values are: notSpecified, user, servicePrincipal, unknownFutureValue.
/// </summary>
[JsonPropertyName("subjectType")]
public AccessPackageSubjectType? SubjectType { get; set; }
Expand Down
10 changes: 5 additions & 5 deletions src/Microsoft.Graph/Generated/model/AdministrativeUnit.cs
Expand Up @@ -30,14 +30,14 @@ public AdministrativeUnit()

/// <summary>
/// Gets or sets description.
/// An optional description for the administrative unit.
/// An optional description for the administrative unit. Supports $filter (eq, ne, in, startsWith).
/// </summary>
[JsonPropertyName("description")]
public string Description { get; set; }

/// <summary>
/// Gets or sets display name.
/// Display name for the administrative unit.
/// Display name for the administrative unit. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy.
/// </summary>
[JsonPropertyName("displayName")]
public string DisplayName { get; set; }
Expand All @@ -51,7 +51,7 @@ public AdministrativeUnit()

/// <summary>
/// Gets or sets members.
/// Users and groups that are members of this Adminsitrative Unit. HTTP Methods: GET (list members), POST (add members), DELETE (remove members).
/// Users and groups that are members of this administrative unit. HTTP Methods: GET (list members), POST (add members), DELETE (remove members).
/// </summary>
[JsonPropertyName("members")]
public IAdministrativeUnitMembersCollectionWithReferencesPage Members { get; set; }
Expand All @@ -65,7 +65,7 @@ public AdministrativeUnit()

/// <summary>
/// Gets or sets scoped role members.
/// Scoped-role members of this Administrative Unit. HTTP Methods: GET (list scopedRoleMemberships), POST (add scopedRoleMembership), DELETE (remove scopedRoleMembership).
/// Scoped-role members of this administrative unit. HTTP Methods: GET (list scopedRoleMemberships), POST (add scopedRoleMembership), DELETE (remove scopedRoleMembership).
/// </summary>
[JsonPropertyName("scopedRoleMembers")]
public IAdministrativeUnitScopedRoleMembersCollectionPage ScopedRoleMembers { get; set; }
Expand All @@ -79,7 +79,7 @@ public AdministrativeUnit()

/// <summary>
/// Gets or sets extensions.
/// The collection of open extensions defined for this Administrative Unit. Nullable.
/// The collection of open extensions defined for this administrative unit. Nullable.
/// </summary>
[JsonPropertyName("extensions")]
public IAdministrativeUnitExtensionsCollectionPage Extensions { get; set; }
Expand Down
4 changes: 2 additions & 2 deletions src/Microsoft.Graph/Generated/model/Application.cs
Expand Up @@ -51,7 +51,7 @@ public Application()

/// <summary>
/// Gets or sets application template id.
/// Unique identifier of the applicationTemplate.
/// Unique identifier of the applicationTemplate. Supports $filter (eq, not, ne).
/// </summary>
[JsonPropertyName("applicationTemplateId")]
public string ApplicationTemplateId { get; set; }
Expand All @@ -72,7 +72,7 @@ public Application()

/// <summary>
/// Gets or sets description.
/// An optional description of the application. Supports $filter (eq, ne, not, ge, le, startsWith) and $search.
/// Free text field to provide a description of the application object to end users. The maximum allowed size is 1024 characters. Supports $filter (eq, ne, not, ge, le, startsWith) and $search.
/// </summary>
[JsonPropertyName("description")]
public string Description { get; set; }
Expand Down
6 changes: 6 additions & 0 deletions src/Microsoft.Graph/Generated/model/CallOptions.cs
Expand Up @@ -21,6 +21,12 @@ namespace Microsoft.Graph
public abstract partial class CallOptions
{

/// <summary>
/// Gets or sets hideBotAfterEscalation.
/// </summary>
[JsonPropertyName("hideBotAfterEscalation")]
public bool? HideBotAfterEscalation { get; set; }

/// <summary>
/// Gets or sets additional data.
/// </summary>
Expand Down
7 changes: 7 additions & 0 deletions src/Microsoft.Graph/Generated/model/Chat.cs
Expand Up @@ -49,6 +49,13 @@ public partial class Chat : Entity
[JsonPropertyName("topic")]
public string Topic { get; set; }

/// <summary>
/// Gets or sets web url.
/// A hyperlink that will go to the chat in Microsoft Teams. This URL should be treated as an opaque blob, and not parsed. Read-only.
/// </summary>
[JsonPropertyName("webUrl")]
public string WebUrl { get; set; }

/// <summary>
/// Gets or sets installed apps.
/// A collection of all the apps in the chat. Nullable.
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.Graph/Generated/model/ChatMessage.cs
Expand Up @@ -72,7 +72,7 @@ public partial class ChatMessage : Entity

/// <summary>
/// Gets or sets event detail.
/// Read-only. If present, represents details of an event that happened in a chat, a channel, or a team, for example, members were added, and so on. For event messages, the messageType property will be set to systemEventMessage.
/// Read-only. If present, represents details of an event that happened in a chat, a channel, or a team, for example, adding new members. For event messages, the messageType property will be set to systemEventMessage.
/// </summary>
[JsonPropertyName("eventDetail")]
public EventMessageDetail EventDetail { get; set; }
Expand Down
3 changes: 2 additions & 1 deletion src/Microsoft.Graph/Generated/model/ConnectedOrganization.cs
Expand Up @@ -44,6 +44,7 @@ public partial class ConnectedOrganization : Entity

/// <summary>
/// Gets or sets identity sources.
/// The identity sources in this connected organization, one of azureActiveDirectoryTenant, domainIdentitySource or externalDomainFederation. Nullable.
/// </summary>
[JsonPropertyName("identitySources")]
public IEnumerable<IdentitySource> IdentitySources { get; set; }
Expand All @@ -57,7 +58,7 @@ public partial class ConnectedOrganization : Entity

/// <summary>
/// Gets or sets state.
/// The state of a connected organization defines whether assignment policies with requestor scope type AllConfiguredConnectedOrganizationSubjects are applicable or not. Possible values are: configured, proposed.
/// The state of a connected organization defines whether assignment policies with requestor scope type AllConfiguredConnectedOrganizationSubjects are applicable or not. The possible values are: configured, proposed, unknownFutureValue.
/// </summary>
[JsonPropertyName("state")]
public ConnectedOrganizationState? State { get; set; }
Expand Down
Expand Up @@ -29,13 +29,14 @@ public ConnectedOrganizationMembers()

/// <summary>
/// Gets or sets connectedOrganizationId.
/// The ID of the connected organization in entitlement management.
/// </summary>
[JsonPropertyName("connectedOrganizationId")]
public string ConnectedOrganizationId { get; set; }

/// <summary>
/// Gets or sets description.
/// The name of the connected organization. Read only.
/// The name of the connected organization.
/// </summary>
[JsonPropertyName("description")]
public string Description { get; set; }
Expand Down
6 changes: 6 additions & 0 deletions src/Microsoft.Graph/Generated/model/EntitlementManagement.cs
Expand Up @@ -35,6 +35,7 @@ public partial class EntitlementManagement : Entity

/// <summary>
/// Gets or sets access packages.
/// Access packages.
/// </summary>
[JsonPropertyName("accessPackages")]
public IEntitlementManagementAccessPackagesCollectionPage AccessPackages { get; set; }
Expand All @@ -48,6 +49,7 @@ public partial class EntitlementManagement : Entity

/// <summary>
/// Gets or sets assignment requests.
/// Access package assignment requests.
/// </summary>
[JsonPropertyName("assignmentRequests")]
public IEntitlementManagementAssignmentRequestsCollectionPage AssignmentRequests { get; set; }
Expand All @@ -61,6 +63,7 @@ public partial class EntitlementManagement : Entity

/// <summary>
/// Gets or sets assignments.
/// Access package assignments.
/// </summary>
[JsonPropertyName("assignments")]
public IEntitlementManagementAssignmentsCollectionPage Assignments { get; set; }
Expand All @@ -74,6 +77,7 @@ public partial class EntitlementManagement : Entity

/// <summary>
/// Gets or sets catalogs.
/// Access package catalogs.
/// </summary>
[JsonPropertyName("catalogs")]
public IEntitlementManagementCatalogsCollectionPage Catalogs { get; set; }
Expand All @@ -87,6 +91,7 @@ public partial class EntitlementManagement : Entity

/// <summary>
/// Gets or sets connected organizations.
/// Connected organizations.
/// </summary>
[JsonPropertyName("connectedOrganizations")]
public IEntitlementManagementConnectedOrganizationsCollectionPage ConnectedOrganizations { get; set; }
Expand All @@ -100,6 +105,7 @@ public partial class EntitlementManagement : Entity

/// <summary>
/// Gets or sets settings.
/// Entitlement management settings.
/// </summary>
[JsonPropertyName("settings")]
public EntitlementManagementSettings Settings { get; set; }
Expand Down
Expand Up @@ -23,18 +23,21 @@ public partial class EntitlementManagementSchedule

/// <summary>
/// Gets or sets expiration.
/// When the access should expire.
/// </summary>
[JsonPropertyName("expiration")]
public ExpirationPattern Expiration { get; set; }

/// <summary>
/// Gets or sets recurrence.
/// For recurring access. Not used at present.
/// </summary>
[JsonPropertyName("recurrence")]
public PatternedRecurrence Recurrence { get; set; }

/// <summary>
/// Gets or sets startDateTime.
/// 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.
/// </summary>
[JsonPropertyName("startDateTime")]
public DateTimeOffset? StartDateTime { get; set; }
Expand Down
Expand Up @@ -23,13 +23,14 @@ public partial class EntitlementManagementSettings : Entity

/// <summary>
/// Gets or sets duration until external user deleted after blocked.
/// If externalUserLifecycleAction is blockSignInAndDelete, the duration, typically a number of days, after an external user is blocked from sign in before their account is deleted.
/// </summary>
[JsonPropertyName("durationUntilExternalUserDeletedAfterBlocked")]
public Duration DurationUntilExternalUserDeletedAfterBlocked { get; set; }

/// <summary>
/// Gets or sets external user lifecycle action.
/// One of None, BlockSignIn, or BlockSignInAndDelete.
/// Automatic action that the service should take when an external user's last access package assignment is removed. The possible values are: none, blockSignIn, blockSignInAndDelete, unknownFutureValue.
/// </summary>
[JsonPropertyName("externalUserLifecycleAction")]
public AccessPackageExternalUserLifecycleAction? ExternalUserLifecycleAction { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.Graph/Generated/model/ExpirationPattern.cs
Expand Up @@ -37,7 +37,7 @@ public partial class ExpirationPattern

/// <summary>
/// Gets or sets type.
/// The requestor's desired expiration pattern type.
/// The requestor's desired expiration pattern type. The possible values are: notSpecified, noExpiration, afterDateTime, afterDuration.
/// </summary>
[JsonPropertyName("type")]
public ExpirationPatternType? Type { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.Graph/Generated/model/Group.cs
Expand Up @@ -121,7 +121,7 @@ public Group()

/// <summary>
/// Gets or sets mail nickname.
/// The mail alias for the group, unique in the organization. Maximum length is 64 characters. This property can contain only characters in the ASCII character set 0 - 127 except the following: @ () / [] ' ; : . &amp;lt;&amp;gt; , SPACE. Required. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values).
/// The mail alias for the group, unique for Microsoft 365 groups in the organization. Maximum length is 64 characters. This property can contain only characters in the ASCII character set 0 - 127 except the following: @ () / [] ' ; : . &amp;lt;&amp;gt; , SPACE. Required. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values).
/// </summary>
[JsonPropertyName("mailNickname")]
public string MailNickname { get; set; }
Expand Down
1 change: 1 addition & 0 deletions src/Microsoft.Graph/Generated/model/GroupMembers.cs
Expand Up @@ -36,6 +36,7 @@ public GroupMembers()

/// <summary>
/// Gets or sets groupId.
/// The ID of the group in Azure AD.
/// </summary>
[JsonPropertyName("groupId")]
public string GroupId { get; set; }
Expand Down

0 comments on commit d863451

Please sign in to comment.