Skip to content

Commit

Permalink
Merge pull request #1243 from microsoftgraph/v1.0/pipelinebuild/65939
Browse files Browse the repository at this point in the history
Generated v1.0 models and request builders using Typewriter
  • Loading branch information
andrueastman authored Feb 9, 2022
2 parents 6bdb1be + e756467 commit 7e705e8
Show file tree
Hide file tree
Showing 305 changed files with 4,137 additions and 549 deletions.
4 changes: 2 additions & 2 deletions src/Microsoft.Graph/Generated/callrecords/model/CallRecord.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public partial class CallRecord : Microsoft.Graph.Entity

/// <summary>
/// Gets or sets start date time.
/// UTC time when the first user joined the call. 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
/// UTC time when the first user joined the call. 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.
/// </summary>
[JsonPropertyName("startDateTime")]
public DateTimeOffset? StartDateTime { get; set; }
Expand All @@ -79,7 +79,7 @@ public partial class CallRecord : Microsoft.Graph.Entity

/// <summary>
/// Gets or sets version.
/// Monotonically increasing version of the call record. Higher version call records with the same ID includes additional data compared to the lower version.
/// Monotonically increasing version of the call record. Higher version call records with the same id includes additional data compared to the lower version.
/// </summary>
[JsonPropertyName("version")]
public Int64? Version { get; set; }
Expand Down
Original file line number Diff line number Diff line change
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, 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.
/// 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
2 changes: 1 addition & 1 deletion src/Microsoft.Graph/Generated/callrecords/model/Session.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public partial class Session : Microsoft.Graph.Entity

/// <summary>
/// Gets or sets start date time.
/// UTC fime when the first user joined the session. 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
/// UTC time when the first user joined the session. 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
/// </summary>
[JsonPropertyName("startDateTime")]
public DateTimeOffset? StartDateTime { get; set; }
Expand Down
6 changes: 3 additions & 3 deletions src/Microsoft.Graph/Generated/externalconnectors/model/Acl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,21 @@ public partial class Acl

/// <summary>
/// Gets or sets accessType.
/// The access granted to the identity. Possible values are: grant, deny.
/// The access granted to the identity. Possible values are: grant, deny, unknownFutureValue.
/// </summary>
[JsonPropertyName("accessType")]
public AccessType? AccessType { get; set; }

/// <summary>
/// Gets or sets type.
/// The type of identity. Possible values are: user, group, everyone, everyoneExceptGuests if the identitySource is azureActiveDirectory and just group if the identitySource is external.
/// The type of identity. Possible values are: user, group, everyone, everyoneExceptGuests, externalGroup, unknownFutureValue.
/// </summary>
[JsonPropertyName("type")]
public AclType? Type { get; set; }

/// <summary>
/// Gets or sets value.
/// The unique identifer of the identity. In case of Azure Active Directory identities, value is set to the object identifier of the user, group or tenant for types user, group and everyone (and everyoneExceptGuests) respectively. In case of external groups value is set to the ID of the externalGroup.
/// The unique identifer of the identity. In case of Azure Active Directory identities, value is set to the object identifier of the user, group or tenant for types user, group and everyone (and everyoneExceptGuests) respectively. In case of external groups value is set to the ID of the externalGroup
/// </summary>
[JsonPropertyName("value")]
public string Value { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public partial class ConnectionOperation : Microsoft.Graph.Entity

/// <summary>
/// Gets or sets status.
/// Indicates the status of the asynchronous operation. Possible values are: unspecified, inprogress, completed, failed.
/// Indicates the status of the asynchronous operation. Possible values are: unspecified, inprogress, completed, failed, unknownFutureValue.
/// </summary>
[JsonPropertyName("status")]
public ConnectionOperationStatus? Status { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public partial class ExternalConnection : Microsoft.Graph.Entity

/// <summary>
/// Gets or sets state.
/// Indicates the current state of the connection. Possible values are draft, ready, obsolete, and limitExceeded. Required.
/// Indicates the current state of the connection. Possible values are: draft, ready, obsolete, limitExceeded, unknownFutureValue.
/// </summary>
[JsonPropertyName("state")]
public ConnectionState? State { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public partial class ExternalGroup : Microsoft.Graph.Entity

/// <summary>
/// Gets or sets members.
/// A member added to an externalGroup. You can add Azure Active Directory users, Azure Active Directory groups, or other externalGroups as members.
/// A member added to an externalGroup. You can add Azure Active Directory users, Azure Active Directory groups, or an externalGroup as members.
/// </summary>
[JsonPropertyName("members")]
public IExternalGroupMembersCollectionPage Members { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public partial class ExternalItemContent

/// <summary>
/// Gets or sets type.
/// The type of content in the value property. Possible values are text and html. Required.
/// The type of content in the value property. Possible values are: text, html, unknownFutureValue.
/// </summary>
[JsonPropertyName("type")]
public ExternalItemContentType? Type { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@ public partial class Property

/// <summary>
/// Gets or sets isSearchable.
/// Specifies if the property is searchable. Only properties of type string or stringCollection can be searchable. Non-searchable properties are not added to the search index. Optional.
/// Specifies if the property is searchable. Only properties of type String or StringCollection can be searchable. Non-searchable properties are not added to the search index. Optional.
/// </summary>
[JsonPropertyName("isSearchable")]
public bool? IsSearchable { get; set; }

/// <summary>
/// Gets or sets labels.
/// Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (e.g. better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl, containerName, containerUrl. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: iconUrl, containerName, containerUrl.
/// Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (e.g. better relevance). The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue. Optional.
/// </summary>
[JsonPropertyName("labels")]
public IEnumerable<Label> Labels { get; set; }
Expand All @@ -72,7 +72,7 @@ public partial class Property

/// <summary>
/// Gets or sets type.
/// The data type of the property. Possible values are: string, int64, double, dateTime, boolean, stringCollection, int64Collection, doubleCollection, dateTimeCollection, unknownFutureValue. Required.
/// The data type of the property. Possible values are: string, int64, double, dateTime, boolean, stringCollection, int64Collection, doubleCollection, dateTimeCollection, unknownFutureValue.
/// </summary>
[JsonPropertyName("type")]
public PropertyType? Type { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public partial class Schema : Microsoft.Graph.Entity

/// <summary>
/// Gets or sets base type.
/// Must be set to microsoft.graph.externalItem. Required.
/// Must be set to microsoft.graph.externalConnector.externalItem. Required.
/// </summary>
[JsonPropertyName("baseType")]
public string BaseType { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public AadUserConversationMember()

/// <summary>
/// Gets or sets user id.
/// The GUID of the user.
/// The guid of the user.
/// </summary>
[JsonPropertyName("userId")]
public string UserId { get; set; }
Expand Down
Original file line number Diff line number Diff line change
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 Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ 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; }
Expand All @@ -64,7 +64,7 @@ public partial class AccessPackageAssignmentRequestObject : Entity

/// <summary>
/// Gets or sets access package.
/// The access package associated with the accessPackageAssignmentRequest. An access package defines the collections of resource roles and the policies for how one or more users can get access to those resources. Read-only. Nullable. Supports $expand.
/// The access package associated with the accessPackageAssignmentRequest. An access package defines the collections of resource roles and the policies for how one or more users can get access to those resources. Read-only. Nullable. Supports $expand.
/// </summary>
[JsonPropertyName("accessPackage")]
public AccessPackage AccessPackage { get; set; }
Expand Down
6 changes: 3 additions & 3 deletions src/Microsoft.Graph/Generated/model/AccessPackageCatalog.cs
Original file line number Diff line number Diff line change
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 All @@ -44,7 +44,7 @@ public partial class AccessPackageCatalog : Entity

/// <summary>
/// Gets or sets display name.
/// The display name of the access package catalog. Supports $filter (eq, contains).
/// The display name of the access package catalog.
/// </summary>
[JsonPropertyName("displayName")]
public string DisplayName { get; set; }
Expand Down Expand Up @@ -72,7 +72,7 @@ public partial class AccessPackageCatalog : Entity

/// <summary>
/// Gets or sets access packages.
/// The access packages in this catalog. Read-only. Nullable. Supports $expand.
/// The access packages in this catalog. Read-only. Nullable.
/// </summary>
[JsonPropertyName("accessPackages")]
public IAccessPackageCatalogAccessPackagesCollectionPage AccessPackages { get; set; }
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
// ------------------------------------------------------------------------------
// 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 AccessReviewHistoryDecisionFilter.
/// </summary>
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum AccessReviewHistoryDecisionFilter
{

/// <summary>
/// Approve
/// </summary>
Approve = 0,

/// <summary>
/// Deny
/// </summary>
Deny = 1,

/// <summary>
/// Not Reviewed
/// </summary>
NotReviewed = 2,

/// <summary>
/// Dont Know
/// </summary>
DontKnow = 3,

/// <summary>
/// Not Notified
/// </summary>
NotNotified = 4,

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

}
}
103 changes: 103 additions & 0 deletions src/Microsoft.Graph/Generated/model/AccessReviewHistoryDefinition.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
// ------------------------------------------------------------------------------
// 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: EntityType.cs.tt

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

/// <summary>
/// The type Access Review History Definition.
/// </summary>
[JsonConverter(typeof(DerivedTypeConverter<AccessReviewHistoryDefinition>))]
public partial class AccessReviewHistoryDefinition : Entity
{

/// <summary>
/// Gets or sets created by.
/// User who created this review history definition.
/// </summary>
[JsonPropertyName("createdBy")]
public UserIdentity CreatedBy { get; set; }

/// <summary>
/// Gets or sets created date time.
/// Timestamp when the access review definition was created.
/// </summary>
[JsonPropertyName("createdDateTime")]
public DateTimeOffset? CreatedDateTime { get; set; }

/// <summary>
/// Gets or sets decisions.
/// Determines which review decisions will be included in the fetched review history data if specified. Optional on create. All decisions will be included by default if no decisions are provided on create. Possible values are: approve, deny, dontKnow, notReviewed, and notNotified.
/// </summary>
[JsonPropertyName("decisions")]
public IEnumerable<AccessReviewHistoryDecisionFilter> Decisions { get; set; }

/// <summary>
/// Gets or sets display name.
/// Name for the access review history data collection. Required.
/// </summary>
[JsonPropertyName("displayName")]
public string DisplayName { get; set; }

/// <summary>
/// Gets or sets review history period end date time.
/// A timestamp. Reviews ending on or before this date will be included in the fetched history data. Only required if scheduleSettings is not defined.
/// </summary>
[JsonPropertyName("reviewHistoryPeriodEndDateTime")]
public DateTimeOffset? ReviewHistoryPeriodEndDateTime { get; set; }

/// <summary>
/// Gets or sets review history period start date time.
/// A timestamp. Reviews starting on or before this date will be included in the fetched history data. Only required if scheduleSettings is not defined.
/// </summary>
[JsonPropertyName("reviewHistoryPeriodStartDateTime")]
public DateTimeOffset? ReviewHistoryPeriodStartDateTime { get; set; }

/// <summary>
/// Gets or sets schedule settings.
/// The settings for a recurring access review history definition series. Only required if reviewHistoryPeriodStartDateTime or reviewHistoryPeriodEndDateTime are not defined.
/// </summary>
[JsonPropertyName("scheduleSettings")]
public AccessReviewHistoryScheduleSettings ScheduleSettings { get; set; }

/// <summary>
/// Gets or sets scopes.
/// Used to scope what reviews are included in the fetched history data. Fetches reviews whose scope matches with this provided scope. Required.
/// </summary>
[JsonPropertyName("scopes")]
public IEnumerable<AccessReviewScope> Scopes { get; set; }

/// <summary>
/// Gets or sets status.
/// Represents the status of the review history data collection. The possible values are: done, inProgress, error, requested, unknownFutureValue.
/// </summary>
[JsonPropertyName("status")]
public AccessReviewHistoryStatus? Status { get; set; }

/// <summary>
/// Gets or sets instances.
/// If the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that does not recur will have exactly one instance.
/// </summary>
[JsonPropertyName("instances")]
public IAccessReviewHistoryDefinitionInstancesCollectionPage Instances { get; set; }

/// <summary>
/// Gets or sets instancesNextLink.
/// </summary>
[JsonPropertyName("[email protected]")]
[JsonConverter(typeof(NextLinkConverter))]
public string InstancesNextLink { get; set; }

}
}

Loading

0 comments on commit 7e705e8

Please sign in to comment.