Skip to content

Commit

Permalink
Merge pull request #1518 from microsoftgraph/v1.0/pipelinebuild/88471
Browse files Browse the repository at this point in the history
Generated v1.0 models and request builders using Typewriter
  • Loading branch information
andrueastman committed Oct 12, 2022
2 parents 486226c + fcea951 commit 9ecafe5
Show file tree
Hide file tree
Showing 52 changed files with 1,938 additions and 8 deletions.
3 changes: 3 additions & 0 deletions src/Microsoft.Graph/Generated/model/AccessPackage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ public partial class AccessPackage : Entity

/// <summary>
/// Gets or sets access packages incompatible with.
/// The access packages that are incompatible with this package. Read-only.
/// </summary>
[JsonPropertyName("accessPackagesIncompatibleWith")]
public IAccessPackageAccessPackagesIncompatibleWithCollectionWithReferencesPage AccessPackagesIncompatibleWith { get; set; }
Expand Down Expand Up @@ -89,6 +90,7 @@ public partial class AccessPackage : Entity

/// <summary>
/// Gets or sets incompatible access packages.
/// The access packages whose assigned users are ineligible to be assigned this access package.
/// </summary>
[JsonPropertyName("incompatibleAccessPackages")]
public IAccessPackageIncompatibleAccessPackagesCollectionWithReferencesPage IncompatibleAccessPackages { get; set; }
Expand All @@ -102,6 +104,7 @@ public partial class AccessPackage : Entity

/// <summary>
/// Gets or sets incompatible groups.
/// The groups whose members are ineligible to be assigned this access package.
/// </summary>
[JsonPropertyName("incompatibleGroups")]
public IAccessPackageIncompatibleGroupsCollectionPage IncompatibleGroups { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,48 @@ public partial class AndroidMinimumOperatingSystem
[JsonPropertyName("v5_1")]
public bool? V5_1 { get; set; }

/// <summary>
/// Gets or sets v6_0.
/// Version 6.0 or later.
/// </summary>
[JsonPropertyName("v6_0")]
public bool? V6_0 { get; set; }

/// <summary>
/// Gets or sets v7_0.
/// Version 7.0 or later.
/// </summary>
[JsonPropertyName("v7_0")]
public bool? V7_0 { get; set; }

/// <summary>
/// Gets or sets v7_1.
/// Version 7.1 or later.
/// </summary>
[JsonPropertyName("v7_1")]
public bool? V7_1 { get; set; }

/// <summary>
/// Gets or sets v8_0.
/// Version 8.0 or later.
/// </summary>
[JsonPropertyName("v8_0")]
public bool? V8_0 { get; set; }

/// <summary>
/// Gets or sets v8_1.
/// Version 8.1 or later.
/// </summary>
[JsonPropertyName("v8_1")]
public bool? V8_1 { get; set; }

/// <summary>
/// Gets or sets v9_0.
/// Version 9.0 or later.
/// </summary>
[JsonPropertyName("v9_0")]
public bool? V9_0 { get; set; }

/// <summary>
/// Gets or sets additional data.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,20 @@ public partial class ApplePushNotificationCertificate : Entity
[JsonPropertyName("certificateSerialNumber")]
public string CertificateSerialNumber { get; set; }

/// <summary>
/// Gets or sets certificate upload failure reason.
/// The reason the certificate upload failed.
/// </summary>
[JsonPropertyName("certificateUploadFailureReason")]
public string CertificateUploadFailureReason { get; set; }

/// <summary>
/// Gets or sets certificate upload status.
/// The certificate upload status.
/// </summary>
[JsonPropertyName("certificateUploadStatus")]
public string CertificateUploadStatus { get; set; }

/// <summary>
/// Gets or sets expiration date time.
/// The expiration date and time for Apple push notification certificate.
Expand Down
6 changes: 6 additions & 0 deletions src/Microsoft.Graph/Generated/model/BookingAppointment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ public partial class BookingAppointment : Entity
[JsonPropertyName("additionalInformation")]
public string AdditionalInformation { get; set; }

/// <summary>
/// Gets or sets anonymous join web url.
/// </summary>
[JsonPropertyName("anonymousJoinWebUrl")]
public string AnonymousJoinWebUrl { get; set; }

/// <summary>
/// Gets or sets customers.
/// It lists down the customer properties for an appointment. An appointment will contain a list of customer information and each unit will indicate the properties of a customer who is part of that appointment. Optional.
Expand Down
6 changes: 6 additions & 0 deletions src/Microsoft.Graph/Generated/model/BookingBusiness.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@ public partial class BookingBusiness : Entity
[JsonPropertyName("isPublished")]
public bool? IsPublished { get; set; }

/// <summary>
/// Gets or sets language tag.
/// </summary>
[JsonPropertyName("languageTag")]
public string LanguageTag { get; set; }

/// <summary>
/// Gets or sets phone.
/// The telephone number for the business. The phone property, together with address and webSiteUrl, appear in the footer of a business scheduling page.
Expand Down
12 changes: 12 additions & 0 deletions src/Microsoft.Graph/Generated/model/BookingService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ public partial class BookingService : Entity
[JsonPropertyName("displayName")]
public string DisplayName { get; set; }

/// <summary>
/// Gets or sets is anonymous join enabled.
/// </summary>
[JsonPropertyName("isAnonymousJoinEnabled")]
public bool? IsAnonymousJoinEnabled { get; set; }

/// <summary>
/// Gets or sets is hidden from customers.
/// True means this service is not available to customers for booking.
Expand All @@ -98,6 +104,12 @@ public partial class BookingService : Entity
[JsonPropertyName("isLocationOnline")]
public bool? IsLocationOnline { get; set; }

/// <summary>
/// Gets or sets language tag.
/// </summary>
[JsonPropertyName("languageTag")]
public string LanguageTag { get; set; }

/// <summary>
/// Gets or sets maximum attendees count.
/// The maximum number of customers allowed in a service. If maximumAttendeesCount of the service is greater than 1, pass valid customer IDs while creating or updating an appointment. To create a customer, use the Create bookingCustomer operation.
Expand Down
6 changes: 6 additions & 0 deletions src/Microsoft.Graph/Generated/model/BookingStaffMember.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ public BookingStaffMember()
[JsonPropertyName("emailAddress")]
public string EmailAddress { get; set; }

/// <summary>
/// Gets or sets is email notification enabled.
/// </summary>
[JsonPropertyName("isEmailNotificationEnabled")]
public bool? IsEmailNotificationEnabled { get; set; }

/// <summary>
/// Gets or sets role.
/// The role of the staff member in the business. Possible values are: guest, administrator, viewer, externalGuest and unknownFutureValue. Required.
Expand Down
10 changes: 10 additions & 0 deletions src/Microsoft.Graph/Generated/model/BookingStaffRole.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,15 @@ public enum BookingStaffRole
/// </summary>
UnknownFutureValue = 4,

/// <summary>
/// Scheduler
/// </summary>
Scheduler = 5,

/// <summary>
/// Team Member
/// </summary>
TeamMember = 6,

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,55 @@ namespace Microsoft.Graph
public partial class DeviceOperatingSystemSummary
{

/// <summary>
/// Gets or sets androidCorporateWorkProfileCount.
/// The count of Corporate work profile Android devices. Also known as Corporate Owned Personally Enabled (COPE). Valid values -1 to 2147483647
/// </summary>
[JsonPropertyName("androidCorporateWorkProfileCount")]
public Int32? AndroidCorporateWorkProfileCount { get; set; }

/// <summary>
/// Gets or sets androidCount.
/// Number of android device count.
/// </summary>
[JsonPropertyName("androidCount")]
public Int32? AndroidCount { get; set; }

/// <summary>
/// Gets or sets androidDedicatedCount.
/// Number of dedicated Android devices.
/// </summary>
[JsonPropertyName("androidDedicatedCount")]
public Int32? AndroidDedicatedCount { get; set; }

/// <summary>
/// Gets or sets androidDeviceAdminCount.
/// Number of device admin Android devices.
/// </summary>
[JsonPropertyName("androidDeviceAdminCount")]
public Int32? AndroidDeviceAdminCount { get; set; }

/// <summary>
/// Gets or sets androidFullyManagedCount.
/// Number of fully managed Android devices.
/// </summary>
[JsonPropertyName("androidFullyManagedCount")]
public Int32? AndroidFullyManagedCount { get; set; }

/// <summary>
/// Gets or sets androidWorkProfileCount.
/// Number of work profile Android devices.
/// </summary>
[JsonPropertyName("androidWorkProfileCount")]
public Int32? AndroidWorkProfileCount { get; set; }

/// <summary>
/// Gets or sets configMgrDeviceCount.
/// Number of ConfigMgr managed devices.
/// </summary>
[JsonPropertyName("configMgrDeviceCount")]
public Int32? ConfigMgrDeviceCount { get; set; }

/// <summary>
/// Gets or sets iosCount.
/// Number of iOS device count.
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.Graph/Generated/model/DirectoryAudit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public partial class DirectoryAudit : Entity

/// <summary>
/// Gets or sets category.
/// Indicates which resource category that's targeted by the activity. (For example: User Management, Group Management etc..)
/// Indicates which resource category that's targeted by the activity. For example: UserManagement, GroupManagement, ApplicationManagement, RoleManagement.
/// </summary>
[JsonPropertyName("category")]
public string Category { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.Graph/Generated/model/Group.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public Group()

/// <summary>
/// Gets or sets is assignable to role.
/// Indicates whether this group can be assigned to an Azure Active Directory role or not. Optional. This property can only be set while creating the group and is immutable. If set to true, the securityEnabled property must also be set to true and the group cannot be a dynamic group (that is, groupTypes cannot contain DynamicMembership). Only callers in Global administrator and Privileged role administrator roles can set this property. The caller must be assigned the RoleManagement.ReadWrite.Directory permission to set this property or update the membership of such groups. For more, see Using a group to manage Azure AD role assignmentsReturned by default. Supports $filter (eq, ne, not).
/// Indicates whether this group can be assigned to an Azure Active Directory role or not. Optional. This property can only be set while creating the group and is immutable. If set to true, the securityEnabled property must also be set to true and the group cannot be a dynamic group (that is, groupTypes cannot contain DynamicMembership). Only callers in Global Administrator and Privileged Role Administrator roles can set this property. The caller must also be assigned the RoleManagement.ReadWrite.Directory permission to set this property or update the membership of such groups. For more, see Using a group to manage Azure AD role assignmentsReturned by default. Supports $filter (eq, ne, not).
/// </summary>
[JsonPropertyName("isAssignableToRole")]
public bool? IsAssignableToRole { get; set; }
Expand Down
28 changes: 28 additions & 0 deletions src/Microsoft.Graph/Generated/model/ManagedDevice.cs
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,13 @@ public partial class ManagedDevice : Entity
[JsonPropertyName("managementAgent")]
public ManagementAgentType? ManagementAgent { get; set; }

/// <summary>
/// Gets or sets management certificate expiration date.
/// Reports device management certificate expiration date. This property is read-only.
/// </summary>
[JsonPropertyName("managementCertificateExpirationDate")]
public DateTimeOffset? ManagementCertificateExpirationDate { get; set; }

/// <summary>
/// Gets or sets manufacturer.
/// Manufacturer of the device. This property is read-only.
Expand Down Expand Up @@ -322,6 +329,13 @@ public partial class ManagedDevice : Entity
[JsonPropertyName("remoteAssistanceSessionUrl")]
public string RemoteAssistanceSessionUrl { get; set; }

/// <summary>
/// Gets or sets require user enrollment approval.
/// Reports if the managed iOS device is user approval enrollment. This property is read-only.
/// </summary>
[JsonPropertyName("requireUserEnrollmentApproval")]
public bool? RequireUserEnrollmentApproval { get; set; }

/// <summary>
/// Gets or sets serial number.
/// SerialNumber. This property is read-only.
Expand Down Expand Up @@ -413,6 +427,20 @@ public partial class ManagedDevice : Entity
[JsonPropertyName("deviceCategory")]
public DeviceCategory DeviceCategory { get; set; }

/// <summary>
/// Gets or sets users.
/// The primary users associated with the managed device.
/// </summary>
[JsonPropertyName("users")]
public IManagedDeviceUsersCollectionWithReferencesPage Users { get; set; }

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

}
}

1 change: 1 addition & 0 deletions src/Microsoft.Graph/Generated/model/Team.cs
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ public partial class Team : Entity

/// <summary>
/// Gets or sets tags.
/// The tags associated with the team.
/// </summary>
[JsonPropertyName("tags")]
public ITeamTagsCollectionPage Tags { get; set; }
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
// ------------------------------------------------------------------------------
// 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: MethodRequestBody.cs.tt

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

/// <summary>
/// The type TeamworkSendActivityNotificationToRecipientsRequestBody.
/// </summary>
public partial class TeamworkSendActivityNotificationToRecipientsRequestBody
{

/// <summary>
/// Gets or sets Topic.
/// </summary>
[JsonPropertyName("topic")]
public TeamworkActivityTopic Topic { get; set; }

/// <summary>
/// Gets or sets ActivityType.
/// </summary>
[JsonPropertyName("activityType")]
public string ActivityType { get; set; }

/// <summary>
/// Gets or sets ChainId.
/// </summary>
[JsonPropertyName("chainId")]
public Int64? ChainId { get; set; }

/// <summary>
/// Gets or sets PreviewText.
/// </summary>
[JsonPropertyName("previewText")]
public ItemBody PreviewText { get; set; }

/// <summary>
/// Gets or sets TeamsAppId.
/// </summary>
[JsonPropertyName("teamsAppId")]
public string TeamsAppId { get; set; }

/// <summary>
/// Gets or sets TemplateParameters.
/// </summary>
[JsonPropertyName("templateParameters")]
public IEnumerable<KeyValuePair> TemplateParameters { get; set; }

/// <summary>
/// Gets or sets Recipients.
/// </summary>
[JsonPropertyName("recipients")]
public IEnumerable<TeamworkNotificationRecipient> Recipients { get; set; }

}
}

0 comments on commit 9ecafe5

Please sign in to comment.