Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import java.util.Arrays;
import java.util.EnumSet;
import com.microsoft.graph.models.extensions.TeamsApp;
import com.microsoft.graph.models.extensions.Entity;
import com.microsoft.graph.requests.extensions.TeamsAppCollectionResponse;
import com.microsoft.graph.requests.extensions.TeamsAppCollectionPage;

Expand All @@ -23,8 +22,18 @@
/**
* The class for the App Catalogs.
*/
public class AppCatalogs extends Entity implements IJsonBackedObject {
public class AppCatalogs implements IJsonBackedObject {

@SerializedName("@odata.type")
@Expose
public String oDataType;

private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);

@Override
public final AdditionalDataManager additionalDataManager() {
return additionalDataManager;
}

/**
* The Teams Apps.
Expand Down
13 changes: 11 additions & 2 deletions src/main/java/com/microsoft/graph/models/extensions/Bitlocker.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import java.util.Arrays;
import java.util.EnumSet;
import com.microsoft.graph.models.extensions.BitlockerRecoveryKey;
import com.microsoft.graph.models.extensions.Entity;
import com.microsoft.graph.requests.extensions.BitlockerRecoveryKeyCollectionResponse;
import com.microsoft.graph.requests.extensions.BitlockerRecoveryKeyCollectionPage;

Expand All @@ -23,8 +22,18 @@
/**
* The class for the Bitlocker.
*/
public class Bitlocker extends Entity implements IJsonBackedObject {
public class Bitlocker implements IJsonBackedObject {

@SerializedName("@odata.type")
@Expose
public String oDataType;

private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);

@Override
public final AdditionalDataManager additionalDataManager() {
return additionalDataManager;
}

/**
* The Recovery Keys.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public class ChatMessage extends Entity implements IJsonBackedObject {

/**
* The Policy Violation.
*
* Defines the properties of a policy violation set by a data loss prevention (DLP) application.
*/
@SerializedName("policyViolation")
@Expose
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,39 +38,39 @@ public final AdditionalDataManager additionalDataManager() {

/**
* The Dlp Action.
*
* 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.
*/
@SerializedName("dlpAction")
@Expose
public EnumSet<ChatMessagePolicyViolationDlpActionTypes> dlpAction;

/**
* The Justification Text.
*
* Justification text provided by the sender of the message when overriding a policy violation.
*/
@SerializedName("justificationText")
@Expose
public String justificationText;

/**
* The Policy Tip.
*
* Information to display to the message sender about why the message was flagged as a violation.
*/
@SerializedName("policyTip")
@Expose
public ChatMessagePolicyViolationPolicyTip policyTip;

/**
* The User Action.
*
* 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.
*/
@SerializedName("userAction")
@Expose
public EnumSet<ChatMessagePolicyViolationUserActionTypes> userAction;

/**
* The Verdict Details.
*
* 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.
*/
@SerializedName("verdictDetails")
@Expose
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,23 +34,23 @@ public final AdditionalDataManager additionalDataManager() {

/**
* The Compliance Url.
*
* 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)
*/
@SerializedName("complianceUrl")
@Expose
public String complianceUrl;

/**
* The General Text.
*
* Explanatory text shown to the sender of the message.
*/
@SerializedName("generalText")
@Expose
public String generalText;

/**
* The Matched Condition Descriptions.
*
* 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'.
*/
@SerializedName("matchedConditionDescriptions")
@Expose
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import java.util.EnumSet;
import com.microsoft.graph.models.extensions.Call;
import com.microsoft.graph.models.extensions.OnlineMeeting;
import com.microsoft.graph.models.extensions.Entity;
import com.microsoft.graph.requests.extensions.CallCollectionResponse;
import com.microsoft.graph.requests.extensions.CallCollectionPage;
import com.microsoft.graph.requests.extensions.OnlineMeetingCollectionResponse;
Expand All @@ -26,8 +25,18 @@
/**
* The class for the Comms Application.
*/
public class CommsApplication extends Entity implements IJsonBackedObject {
public class CommsApplication implements IJsonBackedObject {

@SerializedName("@odata.type")
@Expose
public String oDataType;

private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);

@Override
public final AdditionalDataManager additionalDataManager() {
return additionalDataManager;
}

/**
* The Calls.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import java.util.Arrays;
import java.util.EnumSet;
import com.microsoft.graph.models.extensions.Ediscovery;
import com.microsoft.graph.models.extensions.Entity;


import com.google.gson.JsonObject;
Expand All @@ -21,8 +20,18 @@
/**
* The class for the Compliance.
*/
public class Compliance extends Entity implements IJsonBackedObject {
public class Compliance implements IJsonBackedObject {

@SerializedName("@odata.type")
@Expose
public String oDataType;

private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);

@Override
public final AdditionalDataManager additionalDataManager() {
return additionalDataManager;
}

/**
* The Ediscovery.
Expand Down
13 changes: 11 additions & 2 deletions src/main/java/com/microsoft/graph/models/extensions/External.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import java.util.Arrays;
import java.util.EnumSet;
import com.microsoft.graph.models.extensions.ExternalConnection;
import com.microsoft.graph.models.extensions.Entity;
import com.microsoft.graph.requests.extensions.ExternalConnectionCollectionResponse;
import com.microsoft.graph.requests.extensions.ExternalConnectionCollectionPage;

Expand All @@ -23,8 +22,18 @@
/**
* The class for the External.
*/
public class External extends Entity implements IJsonBackedObject {
public class External implements IJsonBackedObject {

@SerializedName("@odata.type")
@Expose
public String oDataType;

private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);

@Override
public final AdditionalDataManager additionalDataManager() {
return additionalDataManager;
}

/**
* The Connections.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import java.util.Arrays;
import java.util.EnumSet;
import com.microsoft.graph.models.extensions.Company;
import com.microsoft.graph.models.extensions.Entity;
import com.microsoft.graph.requests.extensions.CompanyCollectionResponse;
import com.microsoft.graph.requests.extensions.CompanyCollectionPage;

Expand All @@ -23,8 +22,18 @@
/**
* The class for the Financials.
*/
public class Financials extends Entity implements IJsonBackedObject {
public class Financials implements IJsonBackedObject {

@SerializedName("@odata.type")
@Expose
public String oDataType;

private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);

@Override
public final AdditionalDataManager additionalDataManager() {
return additionalDataManager;
}

/**
* The Companies.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import com.microsoft.graph.models.extensions.B2xIdentityUserFlow;
import com.microsoft.graph.models.extensions.IdentityUserFlow;
import com.microsoft.graph.models.extensions.ContinuousAccessEvaluationPolicy;
import com.microsoft.graph.models.extensions.Entity;
import com.microsoft.graph.requests.extensions.B2cIdentityUserFlowCollectionResponse;
import com.microsoft.graph.requests.extensions.B2cIdentityUserFlowCollectionPage;
import com.microsoft.graph.requests.extensions.B2xIdentityUserFlowCollectionResponse;
Expand All @@ -31,8 +30,18 @@
/**
* The class for the Identity Container.
*/
public class IdentityContainer extends Entity implements IJsonBackedObject {
public class IdentityContainer implements IJsonBackedObject {

@SerializedName("@odata.type")
@Expose
public String oDataType;

private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);

@Override
public final AdditionalDataManager additionalDataManager() {
return additionalDataManager;
}

/**
* The Conditional Access.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import com.microsoft.graph.models.extensions.AccessReviewSet;
import com.microsoft.graph.models.extensions.TermsOfUseContainer;
import com.microsoft.graph.models.extensions.EntitlementManagement;
import com.microsoft.graph.models.extensions.Entity;


import com.google.gson.JsonObject;
Expand All @@ -23,8 +22,18 @@
/**
* The class for the Identity Governance.
*/
public class IdentityGovernance extends Entity implements IJsonBackedObject {
public class IdentityGovernance implements IJsonBackedObject {

@SerializedName("@odata.type")
@Expose
public String oDataType;

private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);

@Override
public final AdditionalDataManager additionalDataManager() {
return additionalDataManager;
}

/**
* The Access Reviews.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import java.util.EnumSet;
import com.microsoft.graph.models.extensions.RiskDetection;
import com.microsoft.graph.models.extensions.RiskyUser;
import com.microsoft.graph.models.extensions.Entity;
import com.microsoft.graph.requests.extensions.RiskDetectionCollectionResponse;
import com.microsoft.graph.requests.extensions.RiskDetectionCollectionPage;
import com.microsoft.graph.requests.extensions.RiskyUserCollectionResponse;
Expand All @@ -26,8 +25,18 @@
/**
* The class for the Identity Protection Root.
*/
public class IdentityProtectionRoot extends Entity implements IJsonBackedObject {
public class IdentityProtectionRoot implements IJsonBackedObject {

@SerializedName("@odata.type")
@Expose
public String oDataType;

private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);

@Override
public final AdditionalDataManager additionalDataManager() {
return additionalDataManager;
}

/**
* The Risk Detections.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import com.microsoft.graph.models.extensions.OfficeClientCheckinStatus;
import com.microsoft.graph.models.extensions.OfficeUserCheckinSummary;
import com.microsoft.graph.models.extensions.OfficeClientConfiguration;
import com.microsoft.graph.models.extensions.Entity;
import com.microsoft.graph.requests.extensions.OfficeClientConfigurationCollectionResponse;
import com.microsoft.graph.requests.extensions.OfficeClientConfigurationCollectionPage;

Expand All @@ -25,8 +24,18 @@
/**
* The class for the Office Configuration.
*/
public class OfficeConfiguration extends Entity implements IJsonBackedObject {
public class OfficeConfiguration implements IJsonBackedObject {

@SerializedName("@odata.type")
@Expose
public String oDataType;

private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);

@Override
public final AdditionalDataManager additionalDataManager() {
return additionalDataManager;
}

/**
* The Tenant Checkin Statuses.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import com.microsoft.graph.models.extensions.DirectoryRoleAccessReviewPolicy;
import com.microsoft.graph.models.extensions.ConditionalAccessPolicy;
import com.microsoft.graph.models.extensions.IdentitySecurityDefaultsEnforcementPolicy;
import com.microsoft.graph.models.extensions.Entity;
import com.microsoft.graph.requests.extensions.ActivityBasedTimeoutPolicyCollectionResponse;
import com.microsoft.graph.requests.extensions.ActivityBasedTimeoutPolicyCollectionPage;
import com.microsoft.graph.requests.extensions.AuthorizationPolicyCollectionResponse;
Expand Down Expand Up @@ -50,8 +49,18 @@
/**
* The class for the Policy Root.
*/
public class PolicyRoot extends Entity implements IJsonBackedObject {
public class PolicyRoot implements IJsonBackedObject {

@SerializedName("@odata.type")
@Expose
public String oDataType;

private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);

@Override
public final AdditionalDataManager additionalDataManager() {
return additionalDataManager;
}

/**
* The Authentication Flows Policy.
Expand Down
Loading