Skip to content

Commit 65ff27d

Browse files
Merge pull request #245 from microsoftgraph/v1.0/pipelinebuild/1237799
Generated v1.0 models and request builders using Typewriter
2 parents 9690e30 + f51c55b commit 65ff27d

File tree

62 files changed

+4691
-2
lines changed

Some content is hidden

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

62 files changed

+4691
-2
lines changed
Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
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+
14+
15+
import com.google.gson.JsonObject;
16+
import com.google.gson.JsonElement;
17+
import com.google.gson.annotations.*;
18+
import java.util.HashMap;
19+
import java.util.Map;
20+
21+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
22+
23+
/**
24+
* The class for the App Identity.
25+
*/
26+
public class AppIdentity implements IJsonBackedObject {
27+
28+
@SerializedName("@odata.type")
29+
@Expose
30+
public String oDataType;
31+
32+
private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
33+
34+
@Override
35+
public final AdditionalDataManager additionalDataManager() {
36+
return additionalDataManager;
37+
}
38+
39+
/**
40+
* The App Id.
41+
*
42+
*/
43+
@SerializedName("appId")
44+
@Expose
45+
public String appId;
46+
47+
/**
48+
* The Display Name.
49+
*
50+
*/
51+
@SerializedName("displayName")
52+
@Expose
53+
public String displayName;
54+
55+
/**
56+
* The Service Principal Id.
57+
*
58+
*/
59+
@SerializedName("servicePrincipalId")
60+
@Expose
61+
public String servicePrincipalId;
62+
63+
/**
64+
* The Service Principal Name.
65+
*
66+
*/
67+
@SerializedName("servicePrincipalName")
68+
@Expose
69+
public String servicePrincipalName;
70+
71+
72+
/**
73+
* The raw representation of this class
74+
*/
75+
private JsonObject rawObject;
76+
77+
/**
78+
* The serializer
79+
*/
80+
private ISerializer serializer;
81+
82+
/**
83+
* Gets the raw representation of this class
84+
*
85+
* @return the raw representation of this class
86+
*/
87+
public JsonObject getRawObject() {
88+
return rawObject;
89+
}
90+
91+
/**
92+
* Gets serializer
93+
*
94+
* @return the serializer
95+
*/
96+
protected ISerializer getSerializer() {
97+
return serializer;
98+
}
99+
100+
/**
101+
* Sets the raw JSON object
102+
*
103+
* @param serializer the serializer
104+
* @param json the JSON object to set this object to
105+
*/
106+
public void setRawObject(final ISerializer serializer, final JsonObject json) {
107+
this.serializer = serializer;
108+
rawObject = json;
109+
110+
}
111+
}
Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
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.generated.AppliedConditionalAccessPolicyResult;
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 Applied Conditional Access Policy.
26+
*/
27+
public class AppliedConditionalAccessPolicy 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 String id;
47+
48+
/**
49+
* The Display Name.
50+
*
51+
*/
52+
@SerializedName("displayName")
53+
@Expose
54+
public String displayName;
55+
56+
/**
57+
* The Enforced Grant Controls.
58+
*
59+
*/
60+
@SerializedName("enforcedGrantControls")
61+
@Expose
62+
public java.util.List<String> enforcedGrantControls;
63+
64+
/**
65+
* The Enforced Session Controls.
66+
*
67+
*/
68+
@SerializedName("enforcedSessionControls")
69+
@Expose
70+
public java.util.List<String> enforcedSessionControls;
71+
72+
/**
73+
* The Result.
74+
*
75+
*/
76+
@SerializedName("result")
77+
@Expose
78+
public AppliedConditionalAccessPolicyResult result;
79+
80+
81+
/**
82+
* The raw representation of this class
83+
*/
84+
private JsonObject rawObject;
85+
86+
/**
87+
* The serializer
88+
*/
89+
private ISerializer serializer;
90+
91+
/**
92+
* Gets the raw representation of this class
93+
*
94+
* @return the raw representation of this class
95+
*/
96+
public JsonObject getRawObject() {
97+
return rawObject;
98+
}
99+
100+
/**
101+
* Gets serializer
102+
*
103+
* @return the serializer
104+
*/
105+
protected ISerializer getSerializer() {
106+
return serializer;
107+
}
108+
109+
/**
110+
* Sets the raw JSON object
111+
*
112+
* @param serializer the serializer
113+
* @param json the JSON object to set this object to
114+
*/
115+
public void setRawObject(final ISerializer serializer, final JsonObject json) {
116+
this.serializer = serializer;
117+
rawObject = json;
118+
119+
}
120+
}
Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
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.UserIdentity;
14+
import com.microsoft.graph.models.extensions.AppIdentity;
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 Audit Activity Initiator.
27+
*/
28+
public class AuditActivityInitiator 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 User.
43+
*
44+
*/
45+
@SerializedName("user")
46+
@Expose
47+
public UserIdentity user;
48+
49+
/**
50+
* The App.
51+
*
52+
*/
53+
@SerializedName("app")
54+
@Expose
55+
public AppIdentity app;
56+
57+
58+
/**
59+
* The raw representation of this class
60+
*/
61+
private JsonObject rawObject;
62+
63+
/**
64+
* The serializer
65+
*/
66+
private ISerializer serializer;
67+
68+
/**
69+
* Gets the raw representation of this class
70+
*
71+
* @return the raw representation of this class
72+
*/
73+
public JsonObject getRawObject() {
74+
return rawObject;
75+
}
76+
77+
/**
78+
* Gets serializer
79+
*
80+
* @return the serializer
81+
*/
82+
protected ISerializer getSerializer() {
83+
return serializer;
84+
}
85+
86+
/**
87+
* Sets the raw JSON object
88+
*
89+
* @param serializer the serializer
90+
* @param json the JSON object to set this object to
91+
*/
92+
public void setRawObject(final ISerializer serializer, final JsonObject json) {
93+
this.serializer = serializer;
94+
rawObject = json;
95+
96+
}
97+
}

0 commit comments

Comments
 (0)