Skip to content

Commit 2fab667

Browse files
Generated v1.0 models and request builders using Typewriter (1.8.0)
1 parent da049aa commit 2fab667

File tree

933 files changed

+59706
-241
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

933 files changed

+59706
-241
lines changed

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ mavenBintraySnapshotUrl = http://oss.jfrog.org/artifactory/oss-snapshot-local
2626
mavenGroupId = com.microsoft.graph
2727
mavenArtifactId = microsoft-graph
2828
mavenMajorVersion = 1
29-
mavenMinorVersion = 7
30-
mavenPatchVersion = 1
29+
mavenMinorVersion = 8
30+
mavenPatchVersion = 0
3131
mavenArtifactSuffix =
3232
nightliesUrl = http://dl.bintray.com/MicrosoftGraph/Maven
3333

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
// ------------------------------------------------------------------------------
2+
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
3+
// ------------------------------------------------------------------------------
4+
5+
package com.microsoft.graph.models.extensions;
6+
import com.microsoft.graph.concurrency.*;
7+
import com.microsoft.graph.core.*;
8+
import com.microsoft.graph.http.*;
9+
import com.microsoft.graph.options.*;
10+
import com.microsoft.graph.serializer.*;
11+
import java.util.Arrays;
12+
import java.util.EnumSet;
13+
import com.microsoft.graph.models.extensions.StsPolicy;
14+
15+
16+
import com.google.gson.JsonObject;
17+
import com.google.gson.JsonElement;
18+
import com.google.gson.annotations.*;
19+
import java.util.HashMap;
20+
import java.util.Map;
21+
22+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
23+
24+
/**
25+
* The class for the Activity Based Timeout Policy.
26+
*/
27+
public class ActivityBasedTimeoutPolicy extends StsPolicy implements IJsonBackedObject {
28+
29+
30+
31+
/**
32+
* The raw representation of this class
33+
*/
34+
private JsonObject rawObject;
35+
36+
/**
37+
* The serializer
38+
*/
39+
private ISerializer serializer;
40+
41+
/**
42+
* Gets the raw representation of this class
43+
*
44+
* @return the raw representation of this class
45+
*/
46+
public JsonObject getRawObject() {
47+
return rawObject;
48+
}
49+
50+
/**
51+
* Gets serializer
52+
*
53+
* @return the serializer
54+
*/
55+
protected ISerializer getSerializer() {
56+
return serializer;
57+
}
58+
59+
/**
60+
* Sets the raw JSON object
61+
*
62+
* @param serializer the serializer
63+
* @param json the JSON object to set this object to
64+
*/
65+
public void setRawObject(final ISerializer serializer, final JsonObject json) {
66+
this.serializer = serializer;
67+
rawObject = json;
68+
69+
}
70+
}
Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
// ------------------------------------------------------------------------------
2+
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
3+
// ------------------------------------------------------------------------------
4+
5+
package com.microsoft.graph.models.extensions;
6+
import com.microsoft.graph.concurrency.*;
7+
import com.microsoft.graph.core.*;
8+
import com.microsoft.graph.http.*;
9+
import com.microsoft.graph.options.*;
10+
import com.microsoft.graph.serializer.*;
11+
import java.util.Arrays;
12+
import java.util.EnumSet;
13+
import com.microsoft.graph.models.extensions.KeyValue;
14+
15+
16+
import com.google.gson.JsonObject;
17+
import com.google.gson.JsonElement;
18+
import com.google.gson.annotations.*;
19+
import java.util.HashMap;
20+
import java.util.Map;
21+
22+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
23+
24+
/**
25+
* The class for the Add In.
26+
*/
27+
public class AddIn implements IJsonBackedObject {
28+
29+
@SerializedName("@odata.type")
30+
@Expose
31+
public String oDataType;
32+
33+
private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
34+
35+
@Override
36+
public final AdditionalDataManager additionalDataManager() {
37+
return additionalDataManager;
38+
}
39+
40+
/**
41+
* The Id.
42+
*
43+
*/
44+
@SerializedName("id")
45+
@Expose
46+
public java.util.UUID id;
47+
48+
/**
49+
* The Type.
50+
*
51+
*/
52+
@SerializedName("type")
53+
@Expose
54+
public String type;
55+
56+
/**
57+
* The Properties.
58+
*
59+
*/
60+
@SerializedName("properties")
61+
@Expose
62+
public java.util.List<KeyValue> properties;
63+
64+
65+
/**
66+
* The raw representation of this class
67+
*/
68+
private JsonObject rawObject;
69+
70+
/**
71+
* The serializer
72+
*/
73+
private ISerializer serializer;
74+
75+
/**
76+
* Gets the raw representation of this class
77+
*
78+
* @return the raw representation of this class
79+
*/
80+
public JsonObject getRawObject() {
81+
return rawObject;
82+
}
83+
84+
/**
85+
* Gets serializer
86+
*
87+
* @return the serializer
88+
*/
89+
protected ISerializer getSerializer() {
90+
return serializer;
91+
}
92+
93+
/**
94+
* Sets the raw JSON object
95+
*
96+
* @param serializer the serializer
97+
* @param json the JSON object to set this object to
98+
*/
99+
public void setRawObject(final ISerializer serializer, final JsonObject json) {
100+
this.serializer = serializer;
101+
rawObject = json;
102+
103+
}
104+
}

src/main/java/com/microsoft/graph/models/extensions/Alert.java

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import com.microsoft.graph.models.extensions.NetworkConnection;
2020
import com.microsoft.graph.models.extensions.Process;
2121
import com.microsoft.graph.models.extensions.RegistryKeyState;
22+
import com.microsoft.graph.models.extensions.SecurityResource;
2223
import com.microsoft.graph.models.generated.AlertSeverity;
2324
import com.microsoft.graph.models.generated.AlertStatus;
2425
import com.microsoft.graph.models.extensions.AlertTrigger;
@@ -178,6 +179,14 @@ public class Alert extends Entity implements IJsonBackedObject {
178179
@Expose
179180
public java.util.List<HostSecurityState> hostStates;
180181

182+
/**
183+
* The Incident Ids.
184+
* IDs of incidents related to current alert.
185+
*/
186+
@SerializedName("incidentIds")
187+
@Expose
188+
public java.util.List<String> incidentIds;
189+
181190
/**
182191
* The Last Modified Date Time.
183192
* Time at which the alert entity was last modified. 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'.
@@ -226,6 +235,14 @@ public class Alert extends Entity implements IJsonBackedObject {
226235
@Expose
227236
public java.util.List<RegistryKeyState> registryKeyStates;
228237

238+
/**
239+
* The Security Resources.
240+
* Resources related to current alert. For example, for some alerts this can have the Azure Resource value.
241+
*/
242+
@SerializedName("securityResources")
243+
@Expose
244+
public java.util.List<SecurityResource> securityResources;
245+
229246
/**
230247
* The Severity.
231248
* Alert severity - set by vendor/provider. Possible values are: unknown, informational, low, medium, high. Required.

src/main/java/com/microsoft/graph/models/extensions/AndroidManagedAppProtection.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,22 @@ public class AndroidManagedAppProtection extends TargetedManagedAppProtection im
7979
@Expose
8080
public String minimumWarningPatchVersion;
8181

82+
/**
83+
* The Custom Browser Package Id.
84+
* Unique identifier of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true.
85+
*/
86+
@SerializedName("customBrowserPackageId")
87+
@Expose
88+
public String customBrowserPackageId;
89+
90+
/**
91+
* The Custom Browser Display Name.
92+
* Friendly name of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true.
93+
*/
94+
@SerializedName("customBrowserDisplayName")
95+
@Expose
96+
public String customBrowserDisplayName;
97+
8298
/**
8399
* The Apps.
84100
* List of apps to which the policy is deployed.
Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
// ------------------------------------------------------------------------------
2+
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
3+
// ------------------------------------------------------------------------------
4+
5+
package com.microsoft.graph.models.extensions;
6+
import com.microsoft.graph.concurrency.*;
7+
import com.microsoft.graph.core.*;
8+
import com.microsoft.graph.http.*;
9+
import com.microsoft.graph.options.*;
10+
import com.microsoft.graph.serializer.*;
11+
import java.util.Arrays;
12+
import java.util.EnumSet;
13+
import com.microsoft.graph.models.extensions.PreAuthorizedApplication;
14+
import com.microsoft.graph.models.extensions.PermissionScope;
15+
16+
17+
import com.google.gson.JsonObject;
18+
import com.google.gson.JsonElement;
19+
import com.google.gson.annotations.*;
20+
import java.util.HashMap;
21+
import java.util.Map;
22+
23+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
24+
25+
/**
26+
* The class for the Api Application.
27+
*/
28+
public class ApiApplication implements IJsonBackedObject {
29+
30+
@SerializedName("@odata.type")
31+
@Expose
32+
public String oDataType;
33+
34+
private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
35+
36+
@Override
37+
public final AdditionalDataManager additionalDataManager() {
38+
return additionalDataManager;
39+
}
40+
41+
/**
42+
* The Accept Mapped Claims.
43+
* When true, allows an application to use claims mapping without specifying a custom signing key.
44+
*/
45+
@SerializedName("acceptMappedClaims")
46+
@Expose
47+
public Boolean acceptMappedClaims;
48+
49+
/**
50+
* The Known Client Applications.
51+
* Used for bundling consent if you have a solution that contains two parts: a client app and a custom web API app. If you set the appID of the client app to this value, the user only consents once to the client app. Azure AD knows that consenting to the client means implicitly consenting to the web API and automatically provisions service principals for both APIs at the same time. Both the client and the web API app must be registered in the same tenant.
52+
*/
53+
@SerializedName("knownClientApplications")
54+
@Expose
55+
public java.util.List<java.util.UUID> knownClientApplications;
56+
57+
/**
58+
* The Pre Authorized Applications.
59+
* Lists the client applications that are pre-authorized with the specified delegated permissions to access this application's APIs. Users are not required to consent to any pre-authorized application (for the permissions specified). However, any additional permissions not listed in preAuthorizedApplications (requested through incremental consent for example) will require user consent.
60+
*/
61+
@SerializedName("preAuthorizedApplications")
62+
@Expose
63+
public java.util.List<PreAuthorizedApplication> preAuthorizedApplications;
64+
65+
/**
66+
* The Requested Access Token Version.
67+
* Specifies the access token version expected by this resource. This changes the version and format of the JWT produced independent of the endpoint or client used to request the access token. The endpoint used, v1.0 or v2.0, is chosen by the client and only impacts the version of id_tokens. Resources need to explicitly configure requestedAccessTokenVersion to indicate the supported access token format. Possible values for requestedAccessTokenVersion are 1, 2, or null. If the value is null, this defaults to 1, which corresponds to the v1.0 endpoint. If signInAudience on the application is configured as AzureADandPersonalMicrosoftAccount, the value for this property must be 2
68+
*/
69+
@SerializedName("requestedAccessTokenVersion")
70+
@Expose
71+
public Integer requestedAccessTokenVersion;
72+
73+
/**
74+
* The Oauth2Permission Scopes.
75+
* The definition of the delegated permissions exposed by the web API represented by this application registration. These delegated permissions may be requested by a client application, and may be granted by users or administrators during consent. Delegated permissions are sometimes referred to as OAuth 2.0 scopes.
76+
*/
77+
@SerializedName("oauth2PermissionScopes")
78+
@Expose
79+
public java.util.List<PermissionScope> oauth2PermissionScopes;
80+
81+
82+
/**
83+
* The raw representation of this class
84+
*/
85+
private JsonObject rawObject;
86+
87+
/**
88+
* The serializer
89+
*/
90+
private ISerializer serializer;
91+
92+
/**
93+
* Gets the raw representation of this class
94+
*
95+
* @return the raw representation of this class
96+
*/
97+
public JsonObject getRawObject() {
98+
return rawObject;
99+
}
100+
101+
/**
102+
* Gets serializer
103+
*
104+
* @return the serializer
105+
*/
106+
protected ISerializer getSerializer() {
107+
return serializer;
108+
}
109+
110+
/**
111+
* Sets the raw JSON object
112+
*
113+
* @param serializer the serializer
114+
* @param json the JSON object to set this object to
115+
*/
116+
public void setRawObject(final ISerializer serializer, final JsonObject json) {
117+
this.serializer = serializer;
118+
rawObject = json;
119+
120+
}
121+
}

src/main/java/com/microsoft/graph/models/extensions/AppHostedMediaConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class AppHostedMediaConfig extends MediaConfig implements IJsonBackedObje
2929

3030
/**
3131
* The Blob.
32-
*
32+
* The media configuration blob generated by smart media agent.
3333
*/
3434
@SerializedName("blob")
3535
@Expose

0 commit comments

Comments
 (0)