Skip to content

Commit

Permalink
Merge pull request #1340 from microsoftgraph/v1.0/pipelinebuild/74050
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 May 9, 2022
2 parents 9fd2e52 + d8a56aa commit ae1f3d0
Show file tree
Hide file tree
Showing 112 changed files with 5,140 additions and 52 deletions.
10 changes: 9 additions & 1 deletion src/Microsoft.Graph/Generated/callrecords/model/UserAgent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,17 @@ namespace Microsoft.Graph.CallRecords
/// The type UserAgent.
/// </summary>
[JsonConverter(typeof(Microsoft.Graph.DerivedTypeConverter<UserAgent>))]
public abstract partial class UserAgent
public partial class UserAgent
{

///<summary>
/// The internal UserAgent constructor
///</summary>
protected internal UserAgent()
{
// Don't allow initialization of abstract complex types
}

/// <summary>
/// Gets or sets applicationVersion.
/// Identifies the version of application software used by this endpoint.
Expand Down
10 changes: 9 additions & 1 deletion src/Microsoft.Graph/Generated/model/AccessReviewApplyAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,17 @@ namespace Microsoft.Graph
/// The type AccessReviewApplyAction.
/// </summary>
[JsonConverter(typeof(DerivedTypeConverter<AccessReviewApplyAction>))]
public abstract partial class AccessReviewApplyAction
public partial class AccessReviewApplyAction
{

///<summary>
/// The internal AccessReviewApplyAction constructor
///</summary>
protected internal AccessReviewApplyAction()
{
// Don't allow initialization of abstract complex types
}

/// <summary>
/// Gets or sets additional data.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,17 @@ namespace Microsoft.Graph
/// The type AccessReviewNotificationRecipientScope.
/// </summary>
[JsonConverter(typeof(DerivedTypeConverter<AccessReviewNotificationRecipientScope>))]
public abstract partial class AccessReviewNotificationRecipientScope
public partial class AccessReviewNotificationRecipientScope
{

///<summary>
/// The internal AccessReviewNotificationRecipientScope constructor
///</summary>
protected internal AccessReviewNotificationRecipientScope()
{
// Don't allow initialization of abstract complex types
}

/// <summary>
/// Gets or sets additional data.
/// </summary>
Expand Down
10 changes: 9 additions & 1 deletion src/Microsoft.Graph/Generated/model/ActionResultPart.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,17 @@ namespace Microsoft.Graph
/// The type ActionResultPart.
/// </summary>
[JsonConverter(typeof(DerivedTypeConverter<ActionResultPart>))]
public abstract partial class ActionResultPart
public partial class ActionResultPart
{

///<summary>
/// The internal ActionResultPart constructor
///</summary>
protected internal ActionResultPart()
{
// Don't allow initialization of abstract complex types
}

/// <summary>
/// Gets or sets error.
/// The error that occurred, if any, during the course of the bulk operation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,17 @@ namespace Microsoft.Graph
/// The type ApiAuthenticationConfigurationBase.
/// </summary>
[JsonConverter(typeof(DerivedTypeConverter<ApiAuthenticationConfigurationBase>))]
public abstract partial class ApiAuthenticationConfigurationBase
public partial class ApiAuthenticationConfigurationBase
{

///<summary>
/// The internal ApiAuthenticationConfigurationBase constructor
///</summary>
protected internal ApiAuthenticationConfigurationBase()
{
// Don't allow initialization of abstract complex types
}

/// <summary>
/// Gets or sets additional data.
/// </summary>
Expand Down
38 changes: 38 additions & 0 deletions src/Microsoft.Graph/Generated/model/AuthenticationProtocol.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
// ------------------------------------------------------------------------------
// 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: EnumType.cs.tt


namespace Microsoft.Graph
{
using System.Text.Json.Serialization;

/// <summary>
/// The enum AuthenticationProtocol.
/// </summary>
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum AuthenticationProtocol
{

/// <summary>
/// Ws Fed
/// </summary>
WsFed = 0,

/// <summary>
/// Saml
/// </summary>
Saml = 1,

/// <summary>
/// Unknown Future Value
/// </summary>
UnknownFutureValue = 2,

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,17 @@ namespace Microsoft.Graph
/// The type BookingCustomerInformationBase.
/// </summary>
[JsonConverter(typeof(DerivedTypeConverter<BookingCustomerInformationBase>))]
public abstract partial class BookingCustomerInformationBase
public partial class BookingCustomerInformationBase
{

///<summary>
/// The internal BookingCustomerInformationBase constructor
///</summary>
protected internal BookingCustomerInformationBase()
{
// Don't allow initialization of abstract complex types
}

/// <summary>
/// Gets or sets additional data.
/// </summary>
Expand Down
10 changes: 9 additions & 1 deletion src/Microsoft.Graph/Generated/model/CallOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,17 @@ namespace Microsoft.Graph
/// The type CallOptions.
/// </summary>
[JsonConverter(typeof(DerivedTypeConverter<CallOptions>))]
public abstract partial class CallOptions
public partial class CallOptions
{

///<summary>
/// The internal CallOptions constructor
///</summary>
protected internal CallOptions()
{
// Don't allow initialization of abstract complex types
}

/// <summary>
/// Gets or sets hideBotAfterEscalation.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,17 @@ namespace Microsoft.Graph
/// The type ConditionalAccessSessionControl.
/// </summary>
[JsonConverter(typeof(DerivedTypeConverter<ConditionalAccessSessionControl>))]
public abstract partial class ConditionalAccessSessionControl
public partial class ConditionalAccessSessionControl
{

///<summary>
/// The internal ConditionalAccessSessionControl constructor
///</summary>
protected internal ConditionalAccessSessionControl()
{
// Don't allow initialization of abstract complex types
}

/// <summary>
/// Gets or sets isEnabled.
/// Specifies whether the session control is enabled.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,17 @@ namespace Microsoft.Graph
/// The type DeviceAndAppManagementAssignmentTarget.
/// </summary>
[JsonConverter(typeof(DerivedTypeConverter<DeviceAndAppManagementAssignmentTarget>))]
public abstract partial class DeviceAndAppManagementAssignmentTarget
public partial class DeviceAndAppManagementAssignmentTarget
{

///<summary>
/// The internal DeviceAndAppManagementAssignmentTarget constructor
///</summary>
protected internal DeviceAndAppManagementAssignmentTarget()
{
// Don't allow initialization of abstract complex types
}

/// <summary>
/// Gets or sets additional data.
/// </summary>
Expand Down
14 changes: 14 additions & 0 deletions src/Microsoft.Graph/Generated/model/Directory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,20 @@ public partial class Directory : Entity
[JsonConverter(typeof(NextLinkConverter))]
public string DeletedItemsNextLink { get; set; }

/// <summary>
/// Gets or sets federation configurations.
/// Configure domain federation with organizations whose identity provider (IdP) supports either the SAML or WS-Fed protocol.
/// </summary>
[JsonPropertyName("federationConfigurations")]
public IDirectoryFederationConfigurationsCollectionPage FederationConfigurations { get; set; }

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

}
}

22 changes: 18 additions & 4 deletions src/Microsoft.Graph/Generated/model/Domain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,14 @@ public partial class Domain : Entity

/// <summary>
/// Gets or sets supported services.
/// The capabilities assigned to the domain. Can include 0, 1 or more of following values: Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline,SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune. The values which you can add/remove using Graph API include: Email, OfficeCommunicationsOnline, Yammer. Not nullable
/// The capabilities assigned to the domain. Can include 0, 1 or more of following values: Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline,SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune. The values which you can add/remove using Graph API include: Email, OfficeCommunicationsOnline, Yammer. Not nullable.
/// </summary>
[JsonPropertyName("supportedServices")]
public IEnumerable<string> SupportedServices { get; set; }

/// <summary>
/// Gets or sets domain name references.
/// Read-only, Nullable
/// The objects such as users and groups that reference the domain ID. Read-only, Nullable. Supports $expand and $filter by the OData type of objects returned. For example /domains/{domainId}/domainNameReferences/microsoft.graph.user and /domains/{domainId}/domainNameReferences/microsoft.graph.group.
/// </summary>
[JsonPropertyName("domainNameReferences")]
public IDomainDomainNameReferencesCollectionWithReferencesPage DomainNameReferences { get; set; }
Expand All @@ -123,9 +123,23 @@ public partial class Domain : Entity
[JsonConverter(typeof(NextLinkConverter))]
public string DomainNameReferencesNextLink { get; set; }

/// <summary>
/// Gets or sets federation configuration.
/// Domain settings configured by customer when federated with Azure AD. Supports $expand.
/// </summary>
[JsonPropertyName("federationConfiguration")]
public IDomainFederationConfigurationCollectionPage FederationConfiguration { get; set; }

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

/// <summary>
/// Gets or sets service configuration records.
/// DNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services. Read-only, Nullable
/// DNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services. Read-only, Nullable. Supports $expand.
/// </summary>
[JsonPropertyName("serviceConfigurationRecords")]
public IDomainServiceConfigurationRecordsCollectionPage ServiceConfigurationRecords { get; set; }
Expand All @@ -139,7 +153,7 @@ public partial class Domain : Entity

/// <summary>
/// Gets or sets verification dns records.
/// DNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Azure AD. Read-only, Nullable
/// DNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Azure AD. Read-only, Nullable. Supports $expand.
/// </summary>
[JsonPropertyName("verificationDnsRecords")]
public IDomainVerificationDnsRecordsCollectionPage VerificationDnsRecords { get; set; }
Expand Down
6 changes: 3 additions & 3 deletions src/Microsoft.Graph/Generated/model/DomainDnsRecord.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,21 @@ public partial class DomainDnsRecord : Entity

/// <summary>
/// Gets or sets record type.
/// Indicates what type of DNS record this entity represents.The value can be one of the following: CName, Mx, Srv, TxtKey
/// Indicates what type of DNS record this entity represents.The value can be one of the following: CName, Mx, Srv, Txt.
/// </summary>
[JsonPropertyName("recordType")]
public string RecordType { get; set; }

/// <summary>
/// Gets or sets supported service.
/// Microsoft Online Service or feature that has a dependency on this DNS record.Can be one of the following values: null, Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune
/// Microsoft Online Service or feature that has a dependency on this DNS record.Can be one of the following values: null, Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune.
/// </summary>
[JsonPropertyName("supportedService")]
public string SupportedService { get; set; }

/// <summary>
/// Gets or sets ttl.
/// Value to use when configuring the time-to-live (ttl) property of the DNS record at the DNS host. Not nullable
/// Value to use when configuring the time-to-live (ttl) property of the DNS record at the DNS host. Not nullable.
/// </summary>
[JsonPropertyName("ttl")]
public Int32? Ttl { get; set; }
Expand Down
10 changes: 9 additions & 1 deletion src/Microsoft.Graph/Generated/model/EdgeSearchEngineBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,17 @@ namespace Microsoft.Graph
/// The type EdgeSearchEngineBase.
/// </summary>
[JsonConverter(typeof(DerivedTypeConverter<EdgeSearchEngineBase>))]
public abstract partial class EdgeSearchEngineBase
public partial class EdgeSearchEngineBase
{

///<summary>
/// The internal EdgeSearchEngineBase constructor
///</summary>
protected internal EdgeSearchEngineBase()
{
// Don't allow initialization of abstract complex types
}

/// <summary>
/// Gets or sets additional data.
/// </summary>
Expand Down
10 changes: 9 additions & 1 deletion src/Microsoft.Graph/Generated/model/EducationAssignmentGrade.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,17 @@ namespace Microsoft.Graph
/// The type EducationAssignmentGrade.
/// </summary>
[JsonConverter(typeof(DerivedTypeConverter<EducationAssignmentGrade>))]
public abstract partial class EducationAssignmentGrade
public partial class EducationAssignmentGrade
{

///<summary>
/// The internal EducationAssignmentGrade constructor
///</summary>
protected internal EducationAssignmentGrade()
{
// Don't allow initialization of abstract complex types
}

/// <summary>
/// Gets or sets gradedBy.
/// User who did the grading.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,17 @@ namespace Microsoft.Graph
/// The type EducationAssignmentGradeType.
/// </summary>
[JsonConverter(typeof(DerivedTypeConverter<EducationAssignmentGradeType>))]
public abstract partial class EducationAssignmentGradeType
public partial class EducationAssignmentGradeType
{

///<summary>
/// The internal EducationAssignmentGradeType constructor
///</summary>
protected internal EducationAssignmentGradeType()
{
// Don't allow initialization of abstract complex types
}

/// <summary>
/// Gets or sets additional data.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,17 @@ namespace Microsoft.Graph
/// The type EducationAssignmentRecipient.
/// </summary>
[JsonConverter(typeof(DerivedTypeConverter<EducationAssignmentRecipient>))]
public abstract partial class EducationAssignmentRecipient
public partial class EducationAssignmentRecipient
{

///<summary>
/// The internal EducationAssignmentRecipient constructor
///</summary>
protected internal EducationAssignmentRecipient()
{
// Don't allow initialization of abstract complex types
}

/// <summary>
/// Gets or sets additional data.
/// </summary>
Expand Down

0 comments on commit ae1f3d0

Please sign in to comment.