Skip to content

Commit

Permalink
Generated v1.0 models and request builders using Typewriter (#995)
Browse files Browse the repository at this point in the history
* Update generated files with build 49356
  • Loading branch information
github-actions[bot] committed May 12, 2021
1 parent f4bae8a commit ffecbd4
Show file tree
Hide file tree
Showing 196 changed files with 530 additions and 492 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 @@ -74,7 +74,7 @@ public CallRecord()

/// <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>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "startDateTime", Required = Newtonsoft.Json.Required.Default)]
public DateTimeOffset? StartDateTime { get; set; }
Expand All @@ -88,7 +88,7 @@ public CallRecord()

/// <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>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "version", Required = Newtonsoft.Json.Required.Default)]
public Int64? Version { 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 @@ -67,7 +67,7 @@ public Session()

/// <summary>
/// Gets or sets start date time.
/// 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
/// 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
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "startDateTime", Required = Newtonsoft.Json.Required.Default)]
public DateTimeOffset? StartDateTime { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public AadUserConversationMember()

/// <summary>
/// Gets or sets user id.
/// The guid of the user.
/// The GUID of the user.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "userId", Required = Newtonsoft.Json.Required.Default)]
public string UserId { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ public AccessReviewReviewerScope()

/// <summary>
/// Gets or sets queryRoot.
/// The type of query. Examples include MicrosoftGraph and ARM.
/// In the scenario where reviewers need to be specified dynamically, this property is used to indicate the relative source of the query. This property is only required if a relative query (i.e., ./manager) is specified.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "queryRoot", Required = Newtonsoft.Json.Required.Default)]
public string QueryRoot { get; set; }

/// <summary>
/// Gets or sets queryType.
/// In the scenario where reviewers need to be specified dynamically, this property is used to indicate the relative source of the query. This property is only required if a relative query (i.e., ./manager) is specified.
/// The type of query. Examples include MicrosoftGraph and ARM.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "queryType", Required = Newtonsoft.Json.Required.Default)]
public string QueryType { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public AdminConsentRequestPolicy()

/// <summary>
/// Gets or sets reviewers.
/// The list of reviewers for the admin consent. Required.
/// Required.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "reviewers", Required = Newtonsoft.Json.Required.Default)]
public IEnumerable<AccessReviewReviewerScope> Reviewers { get; set; }
Expand Down
4 changes: 2 additions & 2 deletions src/Microsoft.Graph/Generated/model/Agreement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public Agreement()

/// <summary>
/// Gets or sets is per device acceptance required.
/// Indicates whether end users are required to accept this agreement on every device that they access it from. The end user is required to register their device in Azure AD, if they haven't already done so.
/// This setting enables you to require end users to accept this agreement on every device that they are accessing it from. The end user will be required to register their device in Azure AD, if they haven't already done so.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "isPerDeviceAcceptanceRequired", Required = Newtonsoft.Json.Required.Default)]
public bool? IsPerDeviceAcceptanceRequired { get; set; }
Expand Down Expand Up @@ -81,7 +81,7 @@ public Agreement()

/// <summary>
/// Gets or sets files.
/// PDFs linked to this agreement. This property is in the process of being deprecated. Use the file property instead.
/// PDFs linked to this agreement. Note: This property is in the process of being deprecated. Use the file property instead.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "files", Required = Newtonsoft.Json.Required.Default)]
public IAgreementFilesCollectionPage Files { get; set; }
Expand Down
16 changes: 8 additions & 8 deletions src/Microsoft.Graph/Generated/model/AgreementAcceptance.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ public AgreementAcceptance()

/// <summary>
/// Gets or sets agreement file id.
/// The identifier of the agreement file accepted by the user.
/// ID of the agreement file accepted by the user.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "agreementFileId", Required = Newtonsoft.Json.Required.Default)]
public string AgreementFileId { get; set; }

/// <summary>
/// Gets or sets agreement id.
/// The identifier of the agreement.
/// ID of the agreement.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "agreementId", Required = Newtonsoft.Json.Required.Default)]
public string AgreementId { get; set; }
Expand All @@ -60,35 +60,35 @@ public AgreementAcceptance()

/// <summary>
/// Gets or sets device ostype.
/// The operating system used to accept the agreement.
/// The operating system used for accepting the agreement.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "deviceOSType", Required = Newtonsoft.Json.Required.Default)]
public string DeviceOSType { get; set; }

/// <summary>
/// Gets or sets device osversion.
/// The operating system version of the device used to accept the agreement.
/// The operating system version of the device used for accepting the agreement.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "deviceOSVersion", Required = Newtonsoft.Json.Required.Default)]
public string DeviceOSVersion { get; set; }

/// <summary>
/// Gets or sets expiration date time.
/// The expiration date time of the acceptance. 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 would look like this: '2014-01-01T00:00:00Z'
/// The expiration date time of the acceptance. 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>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "expirationDateTime", Required = Newtonsoft.Json.Required.Default)]
public DateTimeOffset? ExpirationDateTime { get; set; }

/// <summary>
/// Gets or sets recorded 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 would look like this: '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>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "recordedDateTime", Required = Newtonsoft.Json.Required.Default)]
public DateTimeOffset? RecordedDateTime { get; set; }

/// <summary>
/// Gets or sets state.
/// The state of the agreement acceptance. Possible values are: accepted, declined.
/// Possible values are: accepted, declined.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "state", Required = Newtonsoft.Json.Required.Default)]
public AgreementAcceptanceState? State { get; set; }
Expand All @@ -109,7 +109,7 @@ public AgreementAcceptance()

/// <summary>
/// Gets or sets user id.
/// The identifier of the user who accepted the agreement.
/// ID of the user who accepted the agreement.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "userId", Required = Newtonsoft.Json.Required.Default)]
public string UserId { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ public AndroidManagedAppProtection()

/// <summary>
/// Gets or sets custom browser display name.
/// Friendly name of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true.
/// Friendly name of the preferred custom browser to open weblink on Android.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "customBrowserDisplayName", Required = Newtonsoft.Json.Required.Default)]
public string CustomBrowserDisplayName { get; set; }

/// <summary>
/// Gets or sets custom browser package id.
/// Unique identifier of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true.
/// Unique identifier of a custom browser to open weblink on Android.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "customBrowserPackageId", Required = Newtonsoft.Json.Required.Default)]
public string CustomBrowserPackageId { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.Graph/Generated/model/AppConsentRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public AppConsentRequestObject()

/// <summary>
/// Gets or sets pending scopes.
/// A list of pending scopes waiting for approval. Required.
/// A list of pending scopes waiting for approval. This is empty if the consentType is Static. Required.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "pendingScopes", Required = Newtonsoft.Json.Required.Default)]
public IEnumerable<AppConsentRequestScope> PendingScopes { get; set; }
Expand Down
12 changes: 6 additions & 6 deletions src/Microsoft.Graph/Generated/model/Application.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public Application()

/// <summary>
/// Gets or sets app id.
/// The unique identifier for the application that is assigned to an application by Azure AD. Not nullable. Read-only.
/// The unique identifier for the application that is assigned by Azure AD. Not nullable. Read-only.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "appId", Required = Newtonsoft.Json.Required.Default)]
public string AppId { get; set; }
Expand Down Expand Up @@ -87,21 +87,21 @@ public Application()

/// <summary>
/// Gets or sets group membership claims.
/// Configures the groups claim issued in a user or OAuth 2.0 access token that the application expects. To set this attribute, use one of the following valid string values: None, SecurityGroup (for security groups and Azure AD roles), All (this gets all of the security groups, distribution groups, and Azure AD directory roles that the signed-in user is a member of).
/// Configures the groups claim issued in a user or OAuth 2.0 access token that the application expects. To set this attribute, use one of the following string values: None, SecurityGroup (for security groups and Azure AD roles), All (this gets all security groups, distribution groups, and Azure AD directory roles that the signed-in user is a member of).
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "groupMembershipClaims", Required = Newtonsoft.Json.Required.Default)]
public string GroupMembershipClaims { get; set; }

/// <summary>
/// Gets or sets identifier uris.
/// The URIs that identify the application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. For more information see Application Objects and Service Principal Objects. The any operator is required for filter expressions on multi-valued properties. Not nullable.
/// The URIs that identify the application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. For more information, see Application Objects and Service Principal Objects. The any operator is required for filter expressions on multi-valued properties. Not nullable.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "identifierUris", Required = Newtonsoft.Json.Required.Default)]
public IEnumerable<string> IdentifierUris { get; set; }

/// <summary>
/// Gets or sets info.
/// Basic profile information of the application such as app's marketing, support, terms of service and privacy statement URLs. The terms of service and privacy statement are surfaced to users through the user consent experience. For more info, see How to: Add Terms of service and privacy statement for registered Azure AD apps.
/// Basic profile information of the application, such as it's marketing, support, terms of service, and privacy statement URLs. The terms of service and privacy statement are surfaced to users through the user consent experience. For more information, see How to: Add Terms of service and privacy statement for registered Azure AD apps.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "info", Required = Newtonsoft.Json.Required.Default)]
public InformationalUrl Info { get; set; }
Expand All @@ -115,7 +115,7 @@ public Application()

/// <summary>
/// Gets or sets is fallback public client.
/// Specifies the fallback application type as public client, such as an installed application running on a mobile device. The default value is false which means the fallback application type is confidential client such as a web app. There are certain scenarios where Azure AD cannot determine the client application type. For example, the ROPC flow where it is configured without specifying a redirect URI. In those cases Azure AD interprets the application type based on the value of this property.
/// Specifies the fallback application type as public client, such as an installed application running on a mobile device. The default value is false which means the fallback application type is confidential client such as a web app. There are certain scenarios where Azure AD cannot determine the client application type. For example, the ROPC flow where the application is configured without specifying a redirect URI. In those cases Azure AD interprets the application type based on the value of this property.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "isFallbackPublicClient", Required = Newtonsoft.Json.Required.Default)]
public bool? IsFallbackPublicClient { get; set; }
Expand Down Expand Up @@ -177,7 +177,7 @@ public Application()

/// <summary>
/// Gets or sets publisher domain.
/// The verified publisher domain for the application. Read-only. For more information, see How to: Configure an application's publisher domain.
/// The verified publisher domain for the application. Read-only.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "publisherDomain", Required = Newtonsoft.Json.Required.Default)]
public string PublisherDomain { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ public AppliedConditionalAccessPolicy()

/// <summary>
/// Gets or sets id.
/// An identifier of the conditional access policy.
/// Identifier of the conditional access policy.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "id", Required = Newtonsoft.Json.Required.Default)]
public string Id { get; set; }

/// <summary>
/// Gets or sets result.
/// Indicates the result of the CA policy that was triggered. Possible values are: success, failure, notApplied (Policy isn't applied because policy conditions were not met),notEnabled (This is due to the policy in disabled state), unknown, unknownFutureValue.
/// Indicates the result of the CA policy that was triggered. Possible values are: success, failure, notApplied (Policy isn't applied because policy conditions were not met),notEnabled (This is due to the policy in disabled state), unknown, unknownFutureValue, reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "result", Required = Newtonsoft.Json.Required.Default)]
public AppliedConditionalAccessPolicyResult? Result { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.Graph/Generated/model/Approval.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public Approval()

/// <summary>
/// Gets or sets stages.
/// A collection of stages in the approval decision.
/// Used for the approvalStages property of approval settings in the requestApprovalSettings property of an access package assignment policy. Specifies the primary, fallback, and escalation approvers of each stage.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "stages", Required = Newtonsoft.Json.Required.Default)]
public IApprovalStagesCollectionPage Stages { get; set; }
Expand Down

0 comments on commit ffecbd4

Please sign in to comment.