Skip to content

Commit

Permalink
Merge pull request #1385 from microsoftgraph/dev
Browse files Browse the repository at this point in the history
Release 4.31.0
  • Loading branch information
andrueastman authored Jun 15, 2022
2 parents d9abb00 + 30c865c commit 55bbacf
Show file tree
Hide file tree
Showing 25 changed files with 166 additions and 110 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/validatePullRequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
dotnet-version: 6.0.x
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: csharp
- name: Restore dependencies
Expand All @@ -29,4 +29,4 @@ jobs:
- name: Test
run: dotnet test ${{ env.solutionName }} --no-build --verbosity normal -c Release /p:CollectCoverage=true /p:CoverletOutput=TestResults/ /p:CoverletOutputFormat=opencover
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ public partial class ExternalConnection : Microsoft.Graph.Entity

/// <summary>
/// Gets or sets groups.
/// Read-only. Nullable.
/// </summary>
[JsonPropertyName("groups")]
public IExternalConnectionGroupsCollectionPage Groups { get; set; }
Expand All @@ -65,7 +64,6 @@ public partial class ExternalConnection : Microsoft.Graph.Entity

/// <summary>
/// Gets or sets items.
/// Read-only. Nullable.
/// </summary>
[JsonPropertyName("items")]
public IExternalConnectionItemsCollectionPage Items { get; set; }
Expand All @@ -79,7 +77,6 @@ public partial class ExternalConnection : Microsoft.Graph.Entity

/// <summary>
/// Gets or sets operations.
/// Read-only. Nullable.
/// </summary>
[JsonPropertyName("operations")]
public IExternalConnectionOperationsCollectionPage Operations { get; set; }
Expand All @@ -93,7 +90,6 @@ public partial class ExternalConnection : Microsoft.Graph.Entity

/// <summary>
/// Gets or sets schema.
/// Read-only. Nullable.
/// </summary>
[JsonPropertyName("schema")]
public Schema Schema { get; set; }
Expand Down
2 changes: 0 additions & 2 deletions src/Microsoft.Graph/Generated/model/AccessPackage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ public partial class AccessPackage : Entity

/// <summary>
/// Gets or sets assignment policies.
/// Read-only. Nullable.
/// </summary>
[JsonPropertyName("assignmentPolicies")]
public IAccessPackageAssignmentPoliciesCollectionPage AssignmentPolicies { get; set; }
Expand All @@ -71,7 +70,6 @@ public partial class AccessPackage : Entity

/// <summary>
/// Gets or sets catalog.
/// Read-only. Nullable.
/// </summary>
[JsonPropertyName("catalog")]
public AccessPackageCatalog Catalog { get; set; }
Expand Down
8 changes: 7 additions & 1 deletion src/Microsoft.Graph/Generated/model/Application.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ public Application()
[JsonPropertyName("appRoles")]
public IEnumerable<AppRole> AppRoles { get; set; }

/// <summary>
/// Gets or sets certification.
/// Specifies the certification status of the application.
/// </summary>
[JsonPropertyName("certification")]
public Certification Certification { get; set; }

/// <summary>
/// Gets or sets created date time.
/// The date and time the application was registered. 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. Read-only. Supports $filter (eq, ne, not, ge, le, in, and eq on null values) and $orderBy.
Expand Down Expand Up @@ -246,7 +253,6 @@ public Application()

/// <summary>
/// Gets or sets created on behalf of.
/// Read-only.
/// </summary>
[JsonPropertyName("createdOnBehalfOf")]
public DirectoryObject CreatedOnBehalfOf { get; set; }
Expand Down
2 changes: 0 additions & 2 deletions src/Microsoft.Graph/Generated/model/AuditLogRoot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ public partial class AuditLogRoot : Entity

/// <summary>
/// Gets or sets directory audits.
/// Read-only. Nullable.
/// </summary>
[JsonPropertyName("directoryAudits")]
public IAuditLogRootDirectoryAuditsCollectionPage DirectoryAudits { get; set; }
Expand Down Expand Up @@ -62,7 +61,6 @@ public partial class AuditLogRoot : Entity

/// <summary>
/// Gets or sets sign ins.
/// Read-only. Nullable.
/// </summary>
[JsonPropertyName("signIns")]
public IAuditLogRootSignInsCollectionPage SignIns { get; set; }
Expand Down
3 changes: 0 additions & 3 deletions src/Microsoft.Graph/Generated/model/Call.cs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ public partial class Call : Entity

/// <summary>
/// Gets or sets audio routing groups.
/// Read-only. Nullable.
/// </summary>
[JsonPropertyName("audioRoutingGroups")]
public ICallAudioRoutingGroupsCollectionPage AudioRoutingGroups { get; set; }
Expand All @@ -168,7 +167,6 @@ public partial class Call : Entity

/// <summary>
/// Gets or sets operations.
/// Read-only. Nullable.
/// </summary>
[JsonPropertyName("operations")]
public ICallOperationsCollectionPage Operations { get; set; }
Expand All @@ -182,7 +180,6 @@ public partial class Call : Entity

/// <summary>
/// Gets or sets participants.
/// Read-only. Nullable.
/// </summary>
[JsonPropertyName("participants")]
public ICallParticipantsCollectionPage Participants { get; set; }
Expand Down
72 changes: 72 additions & 0 deletions src/Microsoft.Graph/Generated/model/Certification.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------

// **NOTE** This file was generated by a tool and any changes will be overwritten.
// <auto-generated/>

// Template Source: ComplexType.cs.tt

namespace Microsoft.Graph
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Text.Json.Serialization;

/// <summary>
/// The type Certification.
/// </summary>
[JsonConverter(typeof(DerivedTypeConverter<Certification>))]
public partial class Certification
{

/// <summary>
/// Gets or sets certificationDetailsUrl.
/// URL that shows certification details for the application.
/// </summary>
[JsonPropertyName("certificationDetailsUrl")]
public string CertificationDetailsUrl { get; set; }

/// <summary>
/// Gets or sets certificationExpirationDateTime.
/// The timestamp when the current certification for the application will expire.
/// </summary>
[JsonPropertyName("certificationExpirationDateTime")]
public DateTimeOffset? CertificationExpirationDateTime { get; set; }

/// <summary>
/// Gets or sets isCertifiedByMicrosoft.
/// Indicates whether the application is certified by Microsoft.
/// </summary>
[JsonPropertyName("isCertifiedByMicrosoft")]
public bool? IsCertifiedByMicrosoft { get; set; }

/// <summary>
/// Gets or sets isPublisherAttested.
/// Indicates whether the application has been self-attested by the application developer or the publisher.
/// </summary>
[JsonPropertyName("isPublisherAttested")]
public bool? IsPublisherAttested { get; set; }

/// <summary>
/// Gets or sets lastCertificationDateTime.
/// The timestamp when the certification for the application was most recently added or updated.
/// </summary>
[JsonPropertyName("lastCertificationDateTime")]
public DateTimeOffset? LastCertificationDateTime { get; set; }

/// <summary>
/// Gets or sets additional data.
/// </summary>
[JsonExtensionData]
public IDictionary<string, object> AdditionalData { get; set; }

/// <summary>
/// Gets or sets @odata.type.
/// </summary>
[JsonPropertyName("@odata.type")]
public string ODataType { get; set; }

}
}
2 changes: 0 additions & 2 deletions src/Microsoft.Graph/Generated/model/ConnectedOrganization.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ public partial class ConnectedOrganization : Entity

/// <summary>
/// Gets or sets external sponsors.
/// Nullable.
/// </summary>
[JsonPropertyName("externalSponsors")]
public IConnectedOrganizationExternalSponsorsCollectionPage ExternalSponsors { get; set; }
Expand All @@ -79,7 +78,6 @@ public partial class ConnectedOrganization : Entity

/// <summary>
/// Gets or sets internal sponsors.
/// Nullable.
/// </summary>
[JsonPropertyName("internalSponsors")]
public IConnectedOrganizationInternalSponsorsCollectionPage InternalSponsors { get; set; }
Expand Down
1 change: 0 additions & 1 deletion src/Microsoft.Graph/Generated/model/ConversationThread.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ public partial class ConversationThread : Entity

/// <summary>
/// Gets or sets posts.
/// Read-only. Nullable.
/// </summary>
[JsonPropertyName("posts")]
public IConversationThreadPostsCollectionPage Posts { get; set; }
Expand Down
3 changes: 0 additions & 3 deletions src/Microsoft.Graph/Generated/model/EducationSubmission.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ public partial class EducationSubmission : Entity

/// <summary>
/// Gets or sets outcomes.
/// Read-Write. Nullable.
/// </summary>
[JsonPropertyName("outcomes")]
public IEducationSubmissionOutcomesCollectionPage Outcomes { get; set; }
Expand All @@ -114,7 +113,6 @@ public partial class EducationSubmission : Entity

/// <summary>
/// Gets or sets resources.
/// Nullable.
/// </summary>
[JsonPropertyName("resources")]
public IEducationSubmissionResourcesCollectionPage Resources { get; set; }
Expand All @@ -128,7 +126,6 @@ public partial class EducationSubmission : Entity

/// <summary>
/// Gets or sets submitted resources.
/// Read-only. Nullable.
/// </summary>
[JsonPropertyName("submittedResources")]
public IEducationSubmissionSubmittedResourcesCollectionPage SubmittedResources { get; set; }
Expand Down
1 change: 0 additions & 1 deletion src/Microsoft.Graph/Generated/model/Entity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ protected internal Entity()

/// <summary>
/// Gets or sets id.
/// Read-only.
/// </summary>
[JsonPropertyName("id")]
public string Id { get; set; }
Expand Down
43 changes: 21 additions & 22 deletions src/Microsoft.Graph/Generated/model/Group.cs
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,27 @@ public Group()
[JsonConverter(typeof(NextLinkConverter))]
public string EventsNextLink { get; set; }

/// <summary>
/// Gets or sets photo.
/// The group's profile photo.
/// </summary>
[JsonPropertyName("photo")]
public ProfilePhoto Photo { get; set; }

/// <summary>
/// Gets or sets photos.
/// The profile photos owned by the group. Read-only. Nullable.
/// </summary>
[JsonPropertyName("photos")]
public IGroupPhotosCollectionPage Photos { get; set; }

/// <summary>
/// Gets or sets photosNextLink.
/// </summary>
[JsonPropertyName("photos@odata.nextLink")]
[JsonConverter(typeof(NextLinkConverter))]
public string PhotosNextLink { get; set; }

/// <summary>
/// Gets or sets rejected senders.
/// The list of users or groups that are not allowed to create posts or calendar events in this group. Nullable
Expand Down Expand Up @@ -588,32 +609,10 @@ public Group()

/// <summary>
/// Gets or sets onenote.
/// Read-only.
/// </summary>
[JsonPropertyName("onenote")]
public Onenote Onenote { get; set; }

/// <summary>
/// Gets or sets photo.
/// The group's profile photo.
/// </summary>
[JsonPropertyName("photo")]
public ProfilePhoto Photo { get; set; }

/// <summary>
/// Gets or sets photos.
/// The profile photos owned by the group. Read-only. Nullable.
/// </summary>
[JsonPropertyName("photos")]
public IGroupPhotosCollectionPage Photos { get; set; }

/// <summary>
/// Gets or sets photosNextLink.
/// </summary>
[JsonPropertyName("photos@odata.nextLink")]
[JsonConverter(typeof(NextLinkConverter))]
public string PhotosNextLink { get; set; }

/// <summary>
/// Gets or sets team.
/// The team associated with this group.
Expand Down
2 changes: 0 additions & 2 deletions src/Microsoft.Graph/Generated/model/PrintJob.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ public partial class PrintJob : Entity

/// <summary>
/// Gets or sets created by.
/// Read-only. Nullable.
/// </summary>
[JsonPropertyName("createdBy")]
public UserIdentity CreatedBy { get; set; }
Expand Down Expand Up @@ -71,7 +70,6 @@ public partial class PrintJob : Entity

/// <summary>
/// Gets or sets documents.
/// Read-only.
/// </summary>
[JsonPropertyName("documents")]
public IPrintJobDocumentsCollectionPage Documents { get; set; }
Expand Down
1 change: 0 additions & 1 deletion src/Microsoft.Graph/Generated/model/RoleManagement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ public partial class RoleManagement

/// <summary>
/// Gets or sets directory.
/// Read-only. Nullable.
/// </summary>
[JsonPropertyName("directory")]
public RbacApplication Directory { get; set; }
Expand Down
1 change: 0 additions & 1 deletion src/Microsoft.Graph/Generated/model/RoomList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ public RoomList()

/// <summary>
/// Gets or sets rooms.
/// Read-only. Nullable.
/// </summary>
[JsonPropertyName("rooms")]
public IRoomListRoomsCollectionPage Rooms { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.Graph/Generated/model/SecureScore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public partial class SecureScore : Entity

/// <summary>
/// Gets or sets enabled services.
/// Microsoft-provided services for the tenant (for example, Exchange online, Skype, Sharepoint).
/// Microsoft-provided services for the tenant (for example, Exchange online, Skype, SharePoint).
/// </summary>
[JsonPropertyName("enabledServices")]
public IEnumerable<string> EnabledServices { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public SignInFrequencySessionControl()

/// <summary>
/// Gets or sets type.
/// Possible values are: days, hours.
/// Possible values are: days, hours, or null if frequencyInterval is everyTime .
/// </summary>
[JsonPropertyName("type")]
public SigninFrequencyType? Type { get; set; }
Expand Down
Loading

0 comments on commit 55bbacf

Please sign in to comment.