Skip to content

Commit

Permalink
Merge pull request #49 from microsoftgraph/beta/pipelinebuild/2190154
Browse files Browse the repository at this point in the history
Generated models and request builders using Typewriter
  • Loading branch information
MIchaelMainer authored Dec 20, 2019
2 parents 525e6c7 + f673693 commit db1d5f2
Show file tree
Hide file tree
Showing 371 changed files with 14,578 additions and 2,006 deletions.
2 changes: 1 addition & 1 deletion src/Microsoft.Graph/Microsoft.Graph.Beta.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<PackageReleaseNotes>
</PackageReleaseNotes>
<!-- edit this value to change the current major.minor.patch version -->
<VersionPrefix>0.10.0</VersionPrefix>
<VersionPrefix>0.11.0</VersionPrefix>
<!-- adds a version suffix if the Prerelease environment variable is set. BUILD_BUILDID is an
environment variable set by Azure pipelines from the build. We can use the buildid to correlate
which commit was used to generate the preview build. -->
Expand Down
14 changes: 14 additions & 0 deletions src/Microsoft.Graph/Models/Generated/AndroidCompliancePolicy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,27 @@ public AndroidCompliancePolicy()
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "deviceThreatProtectionRequiredSecurityLevel", Required = Newtonsoft.Json.Required.Default)]
public DeviceThreatProtectionLevel? DeviceThreatProtectionRequiredSecurityLevel { get; set; }

/// <summary>
/// Gets or sets advanced threat protection required security level.
/// MDATP Require Mobile Threat Protection minimum risk level to report noncompliance.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "advancedThreatProtectionRequiredSecurityLevel", Required = Newtonsoft.Json.Required.Default)]
public DeviceThreatProtectionLevel? AdvancedThreatProtectionRequiredSecurityLevel { get; set; }

/// <summary>
/// Gets or sets security block jailbroken devices.
/// Devices must not be jailbroken or rooted.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "securityBlockJailbrokenDevices", Required = Newtonsoft.Json.Required.Default)]
public bool? SecurityBlockJailbrokenDevices { get; set; }

/// <summary>
/// Gets or sets security block device administrator managed devices.
/// Block device administrator managed devices.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "securityBlockDeviceAdministratorManagedDevices", Required = Newtonsoft.Json.Required.Default)]
public bool? SecurityBlockDeviceAdministratorManagedDevices { get; set; }

/// <summary>
/// Gets or sets os minimum version.
/// Minimum Android version.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ public AndroidDeviceOwnerCompliancePolicy()
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "deviceThreatProtectionRequiredSecurityLevel", Required = Newtonsoft.Json.Required.Default)]
public DeviceThreatProtectionLevel? DeviceThreatProtectionRequiredSecurityLevel { get; set; }

/// <summary>
/// Gets or sets advanced threat protection required security level.
/// MDATP Require Mobile Threat Protection minimum risk level to report noncompliance.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "advancedThreatProtectionRequiredSecurityLevel", Required = Newtonsoft.Json.Required.Default)]
public DeviceThreatProtectionLevel? AdvancedThreatProtectionRequiredSecurityLevel { get; set; }

/// <summary>
/// Gets or sets security require safety net attestation basic integrity.
/// Require the device to pass the SafetyNet basic integrity check.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,13 @@ public AndroidDeviceOwnerGeneralDeviceConfiguration()
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "cellularBlockWiFiTethering", Required = Newtonsoft.Json.Required.Default)]
public bool? CellularBlockWiFiTethering { get; set; }

/// <summary>
/// Gets or sets certificate credential configuration disabled.
/// Indicates whether or not to block users from any certificate credential configuration.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "certificateCredentialConfigurationDisabled", Required = Newtonsoft.Json.Required.Default)]
public bool? CertificateCredentialConfigurationDisabled { get; set; }

/// <summary>
/// Gets or sets data roaming blocked.
/// Indicates whether or not to block a user from data roaming.
Expand Down Expand Up @@ -128,6 +135,13 @@ public AndroidDeviceOwnerGeneralDeviceConfiguration()
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "globalProxy", Required = Newtonsoft.Json.Required.Default)]
public AndroidDeviceOwnerGlobalProxy GlobalProxy { get; set; }

/// <summary>
/// Gets or sets google accounts blocked.
/// Indicates whether or not google accounts will be blocked.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "googleAccountsBlocked", Required = Newtonsoft.Json.Required.Default)]
public bool? GoogleAccountsBlocked { get; set; }

/// <summary>
/// Gets or sets kiosk mode screen saver configuration enabled.
/// Whether or not to enable screen saver mode or not in Kiosk Mode.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public AndroidForWorkImportedPFXCertificateProfile()

/// <summary>
/// Gets or sets intended purpose.
/// Intended Purpose of the Certificate Profile - which could be Unassigned, SmimeEncryption, SmimeSigning etc.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "intendedPurpose", Required = Newtonsoft.Json.Required.Default)]
public IntendedPurpose? IntendedPurpose { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public AndroidImportedPFXCertificateProfile()

/// <summary>
/// Gets or sets intended purpose.
/// Intended Purpose of the Certificate Profile - which could be Unassigned, SmimeEncryption, SmimeSigning etc.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "intendedPurpose", Required = Newtonsoft.Json.Required.Default)]
public IntendedPurpose? IntendedPurpose { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,34 @@ public AndroidManagedAppProtection()
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "minimumWipeCompanyPortalVersion", Required = Newtonsoft.Json.Required.Default)]
public string MinimumWipeCompanyPortalVersion { get; set; }

/// <summary>
/// Gets or sets keyboards restricted.
/// Indicates if keyboard restriction is enabled. If enabled list of approved keyboards must be provided as well.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "keyboardsRestricted", Required = Newtonsoft.Json.Required.Default)]
public bool? KeyboardsRestricted { get; set; }

/// <summary>
/// Gets or sets approved keyboards.
/// If Keyboard Restriction is enabled, only keyboards in this approved list will be allowed. A key should be Android package id for a keyboard and value should be a friendly name
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "approvedKeyboards", Required = Newtonsoft.Json.Required.Default)]
public IEnumerable<KeyValuePair> ApprovedKeyboards { get; set; }

/// <summary>
/// Gets or sets allowed android device models.
/// List of device models allowed, as a string, for the managed app to work.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "allowedAndroidDeviceModels", Required = Newtonsoft.Json.Required.Default)]
public IEnumerable<string> AllowedAndroidDeviceModels { get; set; }

/// <summary>
/// Gets or sets app action if android device model not allowed.
/// Defines a managed app behavior, either block or wipe, if the specified device model is not allowed.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "appActionIfAndroidDeviceModelNotAllowed", Required = Newtonsoft.Json.Required.Default)]
public ManagedAppRemediationAction? AppActionIfAndroidDeviceModelNotAllowed { get; set; }

/// <summary>
/// Gets or sets apps.
/// List of apps to which the policy is deployed.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,13 @@ public AndroidWorkProfileCompliancePolicy()
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "deviceThreatProtectionRequiredSecurityLevel", Required = Newtonsoft.Json.Required.Default)]
public DeviceThreatProtectionLevel? DeviceThreatProtectionRequiredSecurityLevel { get; set; }

/// <summary>
/// Gets or sets advanced threat protection required security level.
/// MDATP Require Mobile Threat Protection minimum risk level to report noncompliance.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "advancedThreatProtectionRequiredSecurityLevel", Required = Newtonsoft.Json.Required.Default)]
public DeviceThreatProtectionLevel? AdvancedThreatProtectionRequiredSecurityLevel { get; set; }

/// <summary>
/// Gets or sets security block jailbroken devices.
/// Devices must not be jailbroken or rooted.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,34 @@ public AndroidWorkProfilePkcsCertificateProfile()
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "subjectAlternativeNameFormatString", Required = Newtonsoft.Json.Required.Default)]
public string SubjectAlternativeNameFormatString { get; set; }

/// <summary>
/// Gets or sets subject name format string.
/// Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "subjectNameFormatString", Required = Newtonsoft.Json.Required.Default)]
public string SubjectNameFormatString { get; set; }

/// <summary>
/// Gets or sets certificate store.
/// Target store certificate
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "certificateStore", Required = Newtonsoft.Json.Required.Default)]
public CertificateStore? CertificateStore { get; set; }

/// <summary>
/// Gets or sets custom subject alternative names.
/// Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "customSubjectAlternativeNames", Required = Newtonsoft.Json.Required.Default)]
public IEnumerable<CustomSubjectAlternativeName> CustomSubjectAlternativeNames { get; set; }

/// <summary>
/// Gets or sets managed device certificate states.
/// Certificate state for devices
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "managedDeviceCertificateStates", Required = Newtonsoft.Json.Required.Default)]
public IAndroidWorkProfilePkcsCertificateProfileManagedDeviceCertificateStatesCollectionPage ManagedDeviceCertificateStates { get; set; }

}
}

Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public AppHostedMediaConfig()

/// <summary>
/// Gets or sets blob.
/// The media configuration blob generated by smart media agent.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "blob", Required = Newtonsoft.Json.Required.Default)]
public string Blob { get; set; }
Expand Down
3 changes: 3 additions & 0 deletions src/Microsoft.Graph/Models/Generated/AudioConferencing.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,21 @@ public AudioConferencing()

/// <summary>
/// Gets or sets tollNumber.
/// The toll number that connects to the Audio Conference Provider.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "tollNumber", Required = Newtonsoft.Json.Required.Default)]
public string TollNumber { get; set; }

/// <summary>
/// Gets or sets tollFreeNumber.
/// The toll-free number that connects to the Audio Conference Provider.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "tollFreeNumber", Required = Newtonsoft.Json.Required.Default)]
public string TollFreeNumber { get; set; }

/// <summary>
/// Gets or sets dialinUrl.
/// A URL to the externally-accessible web page that contains dial-in information.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "dialinUrl", Required = Newtonsoft.Json.Required.Default)]
public string DialinUrl { get; set; }
Expand Down
6 changes: 3 additions & 3 deletions src/Microsoft.Graph/Models/Generated/AuditActor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ public AuditActor()
public string UserId { get; set; }

/// <summary>
/// Gets or sets scopeTags.
/// Gets or sets userRoleScopeTags.
/// List of user scope tags when the audit was performed.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "scopeTags", Required = Newtonsoft.Json.Required.Default)]
public IEnumerable<ScopeTagInfo> ScopeTags { get; set; }
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "userRoleScopeTags", Required = Newtonsoft.Json.Required.Default)]
public IEnumerable<RoleScopeTagInfo> UserRoleScopeTags { get; set; }

/// <summary>
/// Gets or sets additional data.
Expand Down
21 changes: 21 additions & 0 deletions src/Microsoft.Graph/Models/Generated/Call.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,21 @@ public Call()

/// <summary>
/// Gets or sets state.
/// The call state. Possible values are: incoming, establishing, ringing, established, hold, transferring, transferAccepted, redirecting, terminating, terminated. Read-only.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "state", Required = Newtonsoft.Json.Required.Default)]
public CallState? State { get; set; }

/// <summary>
/// Gets or sets media state.
/// Read-only. The call media state.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "mediaState", Required = Newtonsoft.Json.Required.Default)]
public CallMediaState MediaState { get; set; }

/// <summary>
/// Gets or sets result info.
/// The result information. For example can hold termination reason. Read-only.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "resultInfo", Required = Newtonsoft.Json.Required.Default)]
public ResultInfo ResultInfo { get; set; }
Expand All @@ -56,6 +59,7 @@ public Call()

/// <summary>
/// Gets or sets direction.
/// The direction of the call. The possible value are incoming or outgoing. Read-only.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "direction", Required = Newtonsoft.Json.Required.Default)]
public CallDirection? Direction { get; set; }
Expand All @@ -68,12 +72,14 @@ public Call()

/// <summary>
/// Gets or sets subject.
/// The subject of the conversation.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "subject", Required = Newtonsoft.Json.Required.Default)]
public string Subject { get; set; }

/// <summary>
/// Gets or sets callback uri.
/// The callback URL on which callbacks will be delivered. Must be https.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "callbackUri", Required = Newtonsoft.Json.Required.Default)]
public string CallbackUri { get; set; }
Expand All @@ -86,12 +92,14 @@ public Call()

/// <summary>
/// Gets or sets source.
/// The originator of the call.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "source", Required = Newtonsoft.Json.Required.Default)]
public ParticipantInfo Source { get; set; }

/// <summary>
/// Gets or sets targets.
/// The targets of the call. Required information for creating peer to peer call.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "targets", Required = Newtonsoft.Json.Required.Default)]
public IEnumerable<InvitationParticipantInfo> Targets { get; set; }
Expand All @@ -104,6 +112,7 @@ public Call()

/// <summary>
/// Gets or sets requested modalities.
/// The list of requested modalities.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "requestedModalities", Required = Newtonsoft.Json.Required.Default)]
public IEnumerable<Modality> RequestedModalities { get; set; }
Expand All @@ -116,18 +125,27 @@ public Call()

/// <summary>
/// Gets or sets media config.
/// The media configuration. Required.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "mediaConfig", Required = Newtonsoft.Json.Required.Default)]
public MediaConfig MediaConfig { get; set; }

/// <summary>
/// Gets or sets chat info.
/// The chat information. Required information for joining a meeting.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "chatInfo", Required = Newtonsoft.Json.Required.Default)]
public ChatInfo ChatInfo { get; set; }

/// <summary>
/// Gets or sets call options.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "callOptions", Required = Newtonsoft.Json.Required.Default)]
public CallOptions CallOptions { get; set; }

/// <summary>
/// Gets or sets meeting info.
/// The meeting information that's required for joining a meeting.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "meetingInfo", Required = Newtonsoft.Json.Required.Default)]
public MeetingInfo MeetingInfo { get; set; }
Expand All @@ -152,6 +170,7 @@ public Call()

/// <summary>
/// Gets or sets my participant id.
/// Read-only.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "myParticipantId", Required = Newtonsoft.Json.Required.Default)]
public string MyParticipantId { get; set; }
Expand All @@ -170,6 +189,7 @@ public Call()

/// <summary>
/// Gets or sets participants.
/// Read-only. Nullable.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "participants", Required = Newtonsoft.Json.Required.Default)]
public ICallParticipantsCollectionPage Participants { get; set; }
Expand All @@ -182,6 +202,7 @@ public Call()

/// <summary>
/// Gets or sets operations.
/// Read-only. Nullable.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "operations", Required = Newtonsoft.Json.Required.Default)]
public ICallOperationsCollectionPage Operations { get; set; }
Expand Down
1 change: 1 addition & 0 deletions src/Microsoft.Graph/Models/Generated/CallMediaState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public CallMediaState()

/// <summary>
/// Gets or sets audio.
/// The audio media state. Possible values are: active, inactive.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "audio", Required = Newtonsoft.Json.Required.Default)]
public MediaState? Audio { get; set; }
Expand Down
Loading

0 comments on commit db1d5f2

Please sign in to comment.