Skip to content

Commit 022fa1d

Browse files
authored
Merge pull request #534 from microsoftgraph/v1.0/pipelinebuild/3825484
Generated v1.0 models and request builders using Typewriter
2 parents 65fba97 + 79f5bd8 commit 022fa1d

File tree

76 files changed

+2547
-285
lines changed

Some content is hidden

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

76 files changed

+2547
-285
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public final AdditionalDataManager additionalDataManager() {
3333

3434
/**
3535
* The Allowed Member Types.
36-
* Specifies whether this app role can be assigned to users and groups (by setting to ['User']), to other application's (by setting to ['Application'], or both (by setting to ['User', 'Application']). App roles supporting assignment of other applications' service principals are also known as application permissions.
36+
* Specifies whether this app role can be assigned to users and groups (by setting to ['User']), to other application's (by setting to ['Application'], or both (by setting to ['User', 'Application']). App roles supporting assignment to other applications' service principals are also known as application permissions. The 'Application' value is only supported for app roles defined on application entities.
3737
*/
3838
@SerializedName(value = "allowedMemberTypes", alternate = {"AllowedMemberTypes"})
3939
@Expose

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,14 @@ public class Calendar extends Entity implements IJsonBackedObject {
8989
@Expose
9090
public OnlineMeetingProviderType defaultOnlineMeetingProvider;
9191

92+
/**
93+
* The Hex Color.
94+
*
95+
*/
96+
@SerializedName(value = "hexColor", alternate = {"HexColor"})
97+
@Expose
98+
public String hexColor;
99+
92100
/**
93101
* The Is Removable.
94102
* Indicates whether this user calendar can be deleted from the user mailbox.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public class Channel extends Entity implements IJsonBackedObject {
6464

6565
/**
6666
* The Web Url.
67-
* A hyperlink that will navigate to the channel in Microsoft Teams. This is the URL that you get when you right-click a channel in Microsoft Teams and select Get link to channel. This URL should be treated as an opaque blob, and not parsed. Read-only.
67+
* A hyperlink that will go to the channel in Microsoft Teams. This is the URL that you get when you right-click a channel in Microsoft Teams and select Get link to channel. This URL should be treated as an opaque blob, and not parsed. Read-only.
6868
*/
6969
@SerializedName(value = "webUrl", alternate = {"WebUrl"})
7070
@Expose

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public class ChatMessage extends Entity implements IJsonBackedObject {
132132

133133
/**
134134
* The Policy Violation.
135-
*
135+
* Defines the properties of a policy violation set by a data loss prevention (DLP) application.
136136
*/
137137
@SerializedName(value = "policyViolation", alternate = {"PolicyViolation"})
138138
@Expose

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,39 +37,39 @@ public final AdditionalDataManager additionalDataManager() {
3737

3838
/**
3939
* The Dlp Action.
40-
*
40+
* The action taken by the DLP provider on the message with sensitive content. Supported values are: NoneNotifySender -- Inform the sender of the violation but allow readers to read the message.BlockAccess -- Block readers from reading the message.BlockAccessExternal -- Block users outside the organization from reading the message, while allowing users within the organization to read the message.
4141
*/
4242
@SerializedName(value = "dlpAction", alternate = {"DlpAction"})
4343
@Expose
4444
public EnumSet<ChatMessagePolicyViolationDlpActionTypes> dlpAction;
4545

4646
/**
4747
* The Justification Text.
48-
*
48+
* Justification text provided by the sender of the message when overriding a policy violation.
4949
*/
5050
@SerializedName(value = "justificationText", alternate = {"JustificationText"})
5151
@Expose
5252
public String justificationText;
5353

5454
/**
5555
* The Policy Tip.
56-
*
56+
* Information to display to the message sender about why the message was flagged as a violation.
5757
*/
5858
@SerializedName(value = "policyTip", alternate = {"PolicyTip"})
5959
@Expose
6060
public ChatMessagePolicyViolationPolicyTip policyTip;
6161

6262
/**
6363
* The User Action.
64-
*
64+
* Indicates the action taken by the user on a message blocked by the DLP provider. Supported values are: NoneOverrideReportFalsePositiveWhen the DLP provider is updating the message for blocking sensitive content, userAction is not required.
6565
*/
6666
@SerializedName(value = "userAction", alternate = {"UserAction"})
6767
@Expose
6868
public EnumSet<ChatMessagePolicyViolationUserActionTypes> userAction;
6969

7070
/**
7171
* The Verdict Details.
72-
*
72+
* Indicates what actions the sender may take in response to the policy violation. Supported values are: NoneAllowFalsePositiveOverride -- Allows the sender to declare the policyViolation to be an error in the DLP app and its rules, and allow readers to see the message again if the dlpAction had hidden it.AllowOverrideWithoutJustification -- Allows the sender to overriide the DLP violation and allow readers to see the message again if the dlpAction had hidden it, without needing to provide an explanation for doing so. AllowOverrideWithJustification -- Allows the sender to overriide the DLP violation and allow readers to see the message again if the dlpAction had hidden it, after providing an explanation for doing so.AllowOverrideWithoutJustification and AllowOverrideWithJustification are mutually exclusive.
7373
*/
7474
@SerializedName(value = "verdictDetails", alternate = {"VerdictDetails"})
7575
@Expose

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,23 +33,23 @@ public final AdditionalDataManager additionalDataManager() {
3333

3434
/**
3535
* The Compliance Url.
36-
*
36+
* The URL a user can visit to read about the data loss prevention policies for the organization. (ie, policies about what users shouldn't say in chats)
3737
*/
3838
@SerializedName(value = "complianceUrl", alternate = {"ComplianceUrl"})
3939
@Expose
4040
public String complianceUrl;
4141

4242
/**
4343
* The General Text.
44-
*
44+
* Explanatory text shown to the sender of the message.
4545
*/
4646
@SerializedName(value = "generalText", alternate = {"GeneralText"})
4747
@Expose
4848
public String generalText;
4949

5050
/**
5151
* The Matched Condition Descriptions.
52-
*
52+
* The list of improper data in the message that was detected by the data loss prevention app. Each DLP app defines its own conditions, examples include 'Credit Card Number' and 'Social Security Number'.
5353
*/
5454
@SerializedName(value = "matchedConditionDescriptions", alternate = {"MatchedConditionDescriptions"})
5555
@Expose

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public class Event extends OutlookItem implements IJsonBackedObject {
9696

9797
/**
9898
* The ICal UId.
99-
* A unique identifier that is shared by all instances of an event across different calendars. Read-only.
99+
* A unique identifier for an event across calendars. This ID is different for each occurrence in a recurring series. Read-only.
100100
*/
101101
@SerializedName(value = "iCalUId", alternate = {"ICalUId"})
102102
@Expose
@@ -126,6 +126,14 @@ public class Event extends OutlookItem implements IJsonBackedObject {
126126
@Expose
127127
public Boolean isCancelled;
128128

129+
/**
130+
* The Is Draft.
131+
*
132+
*/
133+
@SerializedName(value = "isDraft", alternate = {"IsDraft"})
134+
@Expose
135+
public Boolean isDraft;
136+
129137
/**
130138
* The Is Online Meeting.
131139
* True if this event has online meeting information, false otherwise. Default is false. Optional.
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
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+
7+
8+
import com.google.gson.annotations.Expose;
9+
import com.google.gson.annotations.SerializedName;
10+
import com.google.gson.JsonObject;
11+
import com.microsoft.graph.serializer.ISerializer;
12+
import java.util.EnumSet;
13+
14+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
15+
16+
/**
17+
* The class for the Event Cancel Body.
18+
*/
19+
public class EventCancelBody {
20+
21+
/**
22+
* The comment.
23+
*
24+
*/
25+
@SerializedName(value = "comment", alternate = {"Comment"})
26+
@Expose
27+
public String comment;
28+
29+
30+
/**
31+
* The raw representation of this class
32+
*/
33+
private JsonObject rawObject;
34+
35+
/**
36+
* The serializer
37+
*/
38+
private ISerializer serializer;
39+
40+
/**
41+
* Gets the raw representation of this class
42+
*
43+
* @return the raw representation of this class
44+
*/
45+
public JsonObject getRawObject() {
46+
return rawObject;
47+
}
48+
49+
/**
50+
* Gets serializer
51+
*
52+
* @return the serializer
53+
*/
54+
protected ISerializer getSerializer() {
55+
return serializer;
56+
}
57+
58+
/**
59+
* Sets the raw JSON object
60+
*
61+
* @param serializer the serializer
62+
* @param json the JSON object to set this object to
63+
*/
64+
public void setRawObject(final ISerializer serializer, final JsonObject json) {
65+
this.serializer = serializer;
66+
rawObject = json;
67+
68+
}
69+
}
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
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+
7+
import com.microsoft.graph.models.extensions.Recipient;
8+
import com.google.gson.annotations.Expose;
9+
import com.google.gson.annotations.SerializedName;
10+
import com.google.gson.JsonObject;
11+
import com.microsoft.graph.serializer.ISerializer;
12+
import java.util.EnumSet;
13+
14+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
15+
16+
/**
17+
* The class for the Event Forward Body.
18+
*/
19+
public class EventForwardBody {
20+
21+
/**
22+
* The to Recipients.
23+
*
24+
*/
25+
@SerializedName(value = "toRecipients", alternate = {"ToRecipients"})
26+
@Expose
27+
public java.util.List<Recipient> toRecipients;
28+
29+
/**
30+
* The comment.
31+
*
32+
*/
33+
@SerializedName(value = "comment", alternate = {"Comment"})
34+
@Expose
35+
public String comment;
36+
37+
38+
/**
39+
* The raw representation of this class
40+
*/
41+
private JsonObject rawObject;
42+
43+
/**
44+
* The serializer
45+
*/
46+
private ISerializer serializer;
47+
48+
/**
49+
* Gets the raw representation of this class
50+
*
51+
* @return the raw representation of this class
52+
*/
53+
public JsonObject getRawObject() {
54+
return rawObject;
55+
}
56+
57+
/**
58+
* Gets serializer
59+
*
60+
* @return the serializer
61+
*/
62+
protected ISerializer getSerializer() {
63+
return serializer;
64+
}
65+
66+
/**
67+
* Sets the raw JSON object
68+
*
69+
* @param serializer the serializer
70+
* @param json the JSON object to set this object to
71+
*/
72+
public void setRawObject(final ISerializer serializer, final JsonObject json) {
73+
this.serializer = serializer;
74+
rawObject = json;
75+
76+
}
77+
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public class Group extends DirectoryObject implements IJsonBackedObject {
149149

150150
/**
151151
* The Mail Nickname.
152-
* The mail alias for the group, unique in the organization. This property must be specified when a group is created. Returned by default. Supports $filter.
152+
* The mail alias for the group, unique in the organization. This property must be specified when a group is created. These characters cannot be used in the mailNickName: @()/[]';:.&amp;lt;&amp;gt;,SPACE. Returned by default. Supports $filter.
153153
*/
154154
@SerializedName(value = "mailNickname", alternate = {"MailNickname"})
155155
@Expose

0 commit comments

Comments
 (0)