
odata.msgraph.client.entity.DeviceAppManagement Maven / Gradle / Ivy
package odata.msgraph.client.entity;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.github.davidmoten.odata.client.ActionRequestNoReturn;
import com.github.davidmoten.odata.client.ClientException;
import com.github.davidmoten.odata.client.NameValue;
import com.github.davidmoten.odata.client.ODataEntityType;
import com.github.davidmoten.odata.client.RequestOptions;
import com.github.davidmoten.odata.client.UnmappedFields;
import com.github.davidmoten.odata.client.Util;
import com.github.davidmoten.odata.client.annotation.Action;
import com.github.davidmoten.odata.client.annotation.NavigationProperty;
import com.github.davidmoten.odata.client.annotation.Property;
import com.github.davidmoten.odata.client.internal.ChangedFields;
import com.github.davidmoten.odata.client.internal.ParameterMap;
import com.github.davidmoten.odata.client.internal.RequestHelper;
import com.github.davidmoten.odata.client.internal.TypedObject;
import com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl;
import java.lang.Boolean;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
import java.lang.StringBuilder;
import java.time.OffsetDateTime;
import java.util.Map;
import java.util.Optional;
import odata.msgraph.client.entity.collection.request.AndroidManagedAppProtectionCollectionRequest;
import odata.msgraph.client.entity.collection.request.DefaultManagedAppProtectionCollectionRequest;
import odata.msgraph.client.entity.collection.request.IosManagedAppProtectionCollectionRequest;
import odata.msgraph.client.entity.collection.request.ManagedAppPolicyCollectionRequest;
import odata.msgraph.client.entity.collection.request.ManagedAppRegistrationCollectionRequest;
import odata.msgraph.client.entity.collection.request.ManagedAppStatusCollectionRequest;
import odata.msgraph.client.entity.collection.request.ManagedDeviceMobileAppConfigurationCollectionRequest;
import odata.msgraph.client.entity.collection.request.ManagedEBookCollectionRequest;
import odata.msgraph.client.entity.collection.request.MdmWindowsInformationProtectionPolicyCollectionRequest;
import odata.msgraph.client.entity.collection.request.MobileAppCategoryCollectionRequest;
import odata.msgraph.client.entity.collection.request.MobileAppCollectionRequest;
import odata.msgraph.client.entity.collection.request.TargetedManagedAppConfigurationCollectionRequest;
import odata.msgraph.client.entity.collection.request.VppTokenCollectionRequest;
import odata.msgraph.client.entity.collection.request.WindowsInformationProtectionPolicyCollectionRequest;
/**
* “Singleton entity that acts as a container for all device app management
* functionality.”
*/@JsonPropertyOrder({
"@odata.type",
"isEnabledForMicrosoftStoreForBusiness",
"microsoftStoreForBusinessLanguage",
"microsoftStoreForBusinessLastCompletedApplicationSyncTime",
"microsoftStoreForBusinessLastSuccessfulSyncDateTime"})
@JsonInclude(Include.NON_NULL)
public class DeviceAppManagement extends Entity implements ODataEntityType {
@Override
public String odataTypeName() {
return "microsoft.graph.deviceAppManagement";
}
@JsonProperty("isEnabledForMicrosoftStoreForBusiness")
protected Boolean isEnabledForMicrosoftStoreForBusiness;
@JsonProperty("microsoftStoreForBusinessLanguage")
protected String microsoftStoreForBusinessLanguage;
@JsonProperty("microsoftStoreForBusinessLastCompletedApplicationSyncTime")
protected OffsetDateTime microsoftStoreForBusinessLastCompletedApplicationSyncTime;
@JsonProperty("microsoftStoreForBusinessLastSuccessfulSyncDateTime")
protected OffsetDateTime microsoftStoreForBusinessLastSuccessfulSyncDateTime;
protected DeviceAppManagement() {
super();
}
/**
* Returns a builder which is used to create a new
* instance of this class (given that this class is immutable).
*
* @return a new Builder for this class
*/
// Suffix used on builder factory method to differentiate the method
// from static builder methods on superclasses
public static Builder builderDeviceAppManagement() {
return new Builder();
}
public static final class Builder {
private String id;
private Boolean isEnabledForMicrosoftStoreForBusiness;
private String microsoftStoreForBusinessLanguage;
private OffsetDateTime microsoftStoreForBusinessLastCompletedApplicationSyncTime;
private OffsetDateTime microsoftStoreForBusinessLastSuccessfulSyncDateTime;
private ChangedFields changedFields = ChangedFields.EMPTY;
Builder() {
// prevent instantiation
}
public Builder id(String id) {
this.id = id;
this.changedFields = changedFields.add("id");
return this;
}
/**
* “Whether the account is enabled for syncing applications from the Microsoft Store
* for Business.”
*
* @param isEnabledForMicrosoftStoreForBusiness
* value of {@code isEnabledForMicrosoftStoreForBusiness} property (as defined in service metadata)
* @return {@code this} (for method chaining)
*/
public Builder isEnabledForMicrosoftStoreForBusiness(Boolean isEnabledForMicrosoftStoreForBusiness) {
this.isEnabledForMicrosoftStoreForBusiness = isEnabledForMicrosoftStoreForBusiness;
this.changedFields = changedFields.add("isEnabledForMicrosoftStoreForBusiness");
return this;
}
/**
* “The locale information used to sync applications from the Microsoft Store for
* Business. Cultures that are specific to a country/region. The names of these
* cultures follow RFC 4646 (Windows Vista and later). The format is <languagecode2
* >-<country/regioncode2>, where <languagecode2> is a lowercase two-letter code
* derived from ISO 639-1 and <country/regioncode2> is an uppercase two-letter code
* derived from ISO 3166. For example, en-US for English (United States) is a
* specific culture.”
*
* @param microsoftStoreForBusinessLanguage
* value of {@code microsoftStoreForBusinessLanguage} property (as defined in service metadata)
* @return {@code this} (for method chaining)
*/
public Builder microsoftStoreForBusinessLanguage(String microsoftStoreForBusinessLanguage) {
this.microsoftStoreForBusinessLanguage = microsoftStoreForBusinessLanguage;
this.changedFields = changedFields.add("microsoftStoreForBusinessLanguage");
return this;
}
/**
* “The last time an application sync from the Microsoft Store for Business was
* completed.”
*
* @param microsoftStoreForBusinessLastCompletedApplicationSyncTime
* value of {@code microsoftStoreForBusinessLastCompletedApplicationSyncTime} property (as defined in service metadata)
* @return {@code this} (for method chaining)
*/
public Builder microsoftStoreForBusinessLastCompletedApplicationSyncTime(OffsetDateTime microsoftStoreForBusinessLastCompletedApplicationSyncTime) {
this.microsoftStoreForBusinessLastCompletedApplicationSyncTime = microsoftStoreForBusinessLastCompletedApplicationSyncTime;
this.changedFields = changedFields.add("microsoftStoreForBusinessLastCompletedApplicationSyncTime");
return this;
}
/**
* “The last time the apps from the Microsoft Store for Business were synced
* successfully for the account.”
*
* @param microsoftStoreForBusinessLastSuccessfulSyncDateTime
* value of {@code microsoftStoreForBusinessLastSuccessfulSyncDateTime} property (as defined in service metadata)
* @return {@code this} (for method chaining)
*/
public Builder microsoftStoreForBusinessLastSuccessfulSyncDateTime(OffsetDateTime microsoftStoreForBusinessLastSuccessfulSyncDateTime) {
this.microsoftStoreForBusinessLastSuccessfulSyncDateTime = microsoftStoreForBusinessLastSuccessfulSyncDateTime;
this.changedFields = changedFields.add("microsoftStoreForBusinessLastSuccessfulSyncDateTime");
return this;
}
public DeviceAppManagement build() {
DeviceAppManagement _x = new DeviceAppManagement();
_x.contextPath = null;
_x.changedFields = changedFields;
_x.unmappedFields = new UnmappedFieldsImpl();
_x.odataType = "microsoft.graph.deviceAppManagement";
_x.id = id;
_x.isEnabledForMicrosoftStoreForBusiness = isEnabledForMicrosoftStoreForBusiness;
_x.microsoftStoreForBusinessLanguage = microsoftStoreForBusinessLanguage;
_x.microsoftStoreForBusinessLastCompletedApplicationSyncTime = microsoftStoreForBusinessLastCompletedApplicationSyncTime;
_x.microsoftStoreForBusinessLastSuccessfulSyncDateTime = microsoftStoreForBusinessLastSuccessfulSyncDateTime;
return _x;
}
}
@Override
@JsonIgnore
public ChangedFields getChangedFields() {
return changedFields;
}
@Override
public void postInject(boolean addKeysToContextPath) {
if (addKeysToContextPath && id != null) {
contextPath = contextPath.clearQueries().addKeys(new NameValue(id.toString()));
}
}
/**
* “Whether the account is enabled for syncing applications from the Microsoft Store
* for Business.”
*
* @return property isEnabledForMicrosoftStoreForBusiness
*/
@Property(name="isEnabledForMicrosoftStoreForBusiness")
@JsonIgnore
public Optional getIsEnabledForMicrosoftStoreForBusiness() {
return Optional.ofNullable(isEnabledForMicrosoftStoreForBusiness);
}
/**
* Returns an immutable copy of {@code this} with just the {@code
* isEnabledForMicrosoftStoreForBusiness} field changed. Field description below.
* The field name is also added to an internal map of changed fields in the
* returned object so that when {@code this.patch()} is called (if available)on the
* returned object only the changed fields are submitted.
*
* “Whether the account is enabled for syncing applications from the Microsoft Store
* for Business.”
*
* @param isEnabledForMicrosoftStoreForBusiness
* new value of {@code isEnabledForMicrosoftStoreForBusiness} field (as defined in service metadata)
* @return immutable copy of {@code this} with just the {@code isEnabledForMicrosoftStoreForBusiness} field changed
*/
public DeviceAppManagement withIsEnabledForMicrosoftStoreForBusiness(Boolean isEnabledForMicrosoftStoreForBusiness) {
DeviceAppManagement _x = _copy();
_x.changedFields = changedFields.add("isEnabledForMicrosoftStoreForBusiness");
_x.odataType = Util.nvl(odataType, "microsoft.graph.deviceAppManagement");
_x.isEnabledForMicrosoftStoreForBusiness = isEnabledForMicrosoftStoreForBusiness;
return _x;
}
/**
* “The locale information used to sync applications from the Microsoft Store for
* Business. Cultures that are specific to a country/region. The names of these
* cultures follow RFC 4646 (Windows Vista and later). The format is <languagecode2
* >-<country/regioncode2>, where <languagecode2> is a lowercase two-letter code
* derived from ISO 639-1 and <country/regioncode2> is an uppercase two-letter code
* derived from ISO 3166. For example, en-US for English (United States) is a
* specific culture.”
*
* @return property microsoftStoreForBusinessLanguage
*/
@Property(name="microsoftStoreForBusinessLanguage")
@JsonIgnore
public Optional getMicrosoftStoreForBusinessLanguage() {
return Optional.ofNullable(microsoftStoreForBusinessLanguage);
}
/**
* Returns an immutable copy of {@code this} with just the {@code
* microsoftStoreForBusinessLanguage} field changed. Field description below. The
* field name is also added to an internal map of changed fields in the returned
* object so that when {@code this.patch()} is called (if available)on the returned
* object only the changed fields are submitted.
*
* “The locale information used to sync applications from the Microsoft Store for
* Business. Cultures that are specific to a country/region. The names of these
* cultures follow RFC 4646 (Windows Vista and later). The format is <languagecode2
* >-<country/regioncode2>, where <languagecode2> is a lowercase two-letter code
* derived from ISO 639-1 and <country/regioncode2> is an uppercase two-letter code
* derived from ISO 3166. For example, en-US for English (United States) is a
* specific culture.”
*
* @param microsoftStoreForBusinessLanguage
* new value of {@code microsoftStoreForBusinessLanguage} field (as defined in service metadata)
* @return immutable copy of {@code this} with just the {@code microsoftStoreForBusinessLanguage} field changed
*/
public DeviceAppManagement withMicrosoftStoreForBusinessLanguage(String microsoftStoreForBusinessLanguage) {
DeviceAppManagement _x = _copy();
_x.changedFields = changedFields.add("microsoftStoreForBusinessLanguage");
_x.odataType = Util.nvl(odataType, "microsoft.graph.deviceAppManagement");
_x.microsoftStoreForBusinessLanguage = microsoftStoreForBusinessLanguage;
return _x;
}
/**
* “The last time an application sync from the Microsoft Store for Business was
* completed.”
*
* @return property microsoftStoreForBusinessLastCompletedApplicationSyncTime
*/
@Property(name="microsoftStoreForBusinessLastCompletedApplicationSyncTime")
@JsonIgnore
public Optional getMicrosoftStoreForBusinessLastCompletedApplicationSyncTime() {
return Optional.ofNullable(microsoftStoreForBusinessLastCompletedApplicationSyncTime);
}
/**
* Returns an immutable copy of {@code this} with just the {@code
* microsoftStoreForBusinessLastCompletedApplicationSyncTime} field changed. Field
* description below. The field name is also added to an internal map of changed
* fields in the returned object so that when {@code this.patch()} is called (if
* available)on the returned object only the changed fields are submitted.
*
* “The last time an application sync from the Microsoft Store for Business was
* completed.”
*
* @param microsoftStoreForBusinessLastCompletedApplicationSyncTime
* new value of {@code microsoftStoreForBusinessLastCompletedApplicationSyncTime} field (as defined in service metadata)
* @return immutable copy of {@code this} with just the {@code microsoftStoreForBusinessLastCompletedApplicationSyncTime} field changed
*/
public DeviceAppManagement withMicrosoftStoreForBusinessLastCompletedApplicationSyncTime(OffsetDateTime microsoftStoreForBusinessLastCompletedApplicationSyncTime) {
DeviceAppManagement _x = _copy();
_x.changedFields = changedFields.add("microsoftStoreForBusinessLastCompletedApplicationSyncTime");
_x.odataType = Util.nvl(odataType, "microsoft.graph.deviceAppManagement");
_x.microsoftStoreForBusinessLastCompletedApplicationSyncTime = microsoftStoreForBusinessLastCompletedApplicationSyncTime;
return _x;
}
/**
* “The last time the apps from the Microsoft Store for Business were synced
* successfully for the account.”
*
* @return property microsoftStoreForBusinessLastSuccessfulSyncDateTime
*/
@Property(name="microsoftStoreForBusinessLastSuccessfulSyncDateTime")
@JsonIgnore
public Optional getMicrosoftStoreForBusinessLastSuccessfulSyncDateTime() {
return Optional.ofNullable(microsoftStoreForBusinessLastSuccessfulSyncDateTime);
}
/**
* Returns an immutable copy of {@code this} with just the {@code
* microsoftStoreForBusinessLastSuccessfulSyncDateTime} field changed. Field
* description below. The field name is also added to an internal map of changed
* fields in the returned object so that when {@code this.patch()} is called (if
* available)on the returned object only the changed fields are submitted.
*
* “The last time the apps from the Microsoft Store for Business were synced
* successfully for the account.”
*
* @param microsoftStoreForBusinessLastSuccessfulSyncDateTime
* new value of {@code microsoftStoreForBusinessLastSuccessfulSyncDateTime} field (as defined in service metadata)
* @return immutable copy of {@code this} with just the {@code microsoftStoreForBusinessLastSuccessfulSyncDateTime} field changed
*/
public DeviceAppManagement withMicrosoftStoreForBusinessLastSuccessfulSyncDateTime(OffsetDateTime microsoftStoreForBusinessLastSuccessfulSyncDateTime) {
DeviceAppManagement _x = _copy();
_x.changedFields = changedFields.add("microsoftStoreForBusinessLastSuccessfulSyncDateTime");
_x.odataType = Util.nvl(odataType, "microsoft.graph.deviceAppManagement");
_x.microsoftStoreForBusinessLastSuccessfulSyncDateTime = microsoftStoreForBusinessLastSuccessfulSyncDateTime;
return _x;
}
public DeviceAppManagement withUnmappedField(String name, String value) {
DeviceAppManagement _x = _copy();
_x.setUnmappedField(name, value);
return _x;
}
/**
* “The Managed eBook.”
*
* @return navigational property managedEBooks
*/
@NavigationProperty(name="managedEBooks")
@JsonIgnore
public ManagedEBookCollectionRequest getManagedEBooks() {
return new ManagedEBookCollectionRequest(
contextPath.addSegment("managedEBooks"), RequestHelper.getValue(unmappedFields, "managedEBooks"));
}
/**
* “The mobile app categories.”
*
* @return navigational property mobileAppCategories
*/
@NavigationProperty(name="mobileAppCategories")
@JsonIgnore
public MobileAppCategoryCollectionRequest getMobileAppCategories() {
return new MobileAppCategoryCollectionRequest(
contextPath.addSegment("mobileAppCategories"), RequestHelper.getValue(unmappedFields, "mobileAppCategories"));
}
/**
* “The Managed Device Mobile Application Configurations.”
*
* @return navigational property mobileAppConfigurations
*/
@NavigationProperty(name="mobileAppConfigurations")
@JsonIgnore
public ManagedDeviceMobileAppConfigurationCollectionRequest getMobileAppConfigurations() {
return new ManagedDeviceMobileAppConfigurationCollectionRequest(
contextPath.addSegment("mobileAppConfigurations"), RequestHelper.getValue(unmappedFields, "mobileAppConfigurations"));
}
/**
* “The mobile apps.”
*
* @return navigational property mobileApps
*/
@NavigationProperty(name="mobileApps")
@JsonIgnore
public MobileAppCollectionRequest getMobileApps() {
return new MobileAppCollectionRequest(
contextPath.addSegment("mobileApps"), RequestHelper.getValue(unmappedFields, "mobileApps"));
}
/**
* “List of Vpp tokens for this organization.”
*
* @return navigational property vppTokens
*/
@NavigationProperty(name="vppTokens")
@JsonIgnore
public VppTokenCollectionRequest getVppTokens() {
return new VppTokenCollectionRequest(
contextPath.addSegment("vppTokens"), RequestHelper.getValue(unmappedFields, "vppTokens"));
}
/**
* “Android managed app policies.”
*
* @return navigational property androidManagedAppProtections
*/
@NavigationProperty(name="androidManagedAppProtections")
@JsonIgnore
public AndroidManagedAppProtectionCollectionRequest getAndroidManagedAppProtections() {
return new AndroidManagedAppProtectionCollectionRequest(
contextPath.addSegment("androidManagedAppProtections"), RequestHelper.getValue(unmappedFields, "androidManagedAppProtections"));
}
/**
* “Default managed app policies.”
*
* @return navigational property defaultManagedAppProtections
*/
@NavigationProperty(name="defaultManagedAppProtections")
@JsonIgnore
public DefaultManagedAppProtectionCollectionRequest getDefaultManagedAppProtections() {
return new DefaultManagedAppProtectionCollectionRequest(
contextPath.addSegment("defaultManagedAppProtections"), RequestHelper.getValue(unmappedFields, "defaultManagedAppProtections"));
}
/**
* “iOS managed app policies.”
*
* @return navigational property iosManagedAppProtections
*/
@NavigationProperty(name="iosManagedAppProtections")
@JsonIgnore
public IosManagedAppProtectionCollectionRequest getIosManagedAppProtections() {
return new IosManagedAppProtectionCollectionRequest(
contextPath.addSegment("iosManagedAppProtections"), RequestHelper.getValue(unmappedFields, "iosManagedAppProtections"));
}
/**
* “Managed app policies.”
*
* @return navigational property managedAppPolicies
*/
@NavigationProperty(name="managedAppPolicies")
@JsonIgnore
public ManagedAppPolicyCollectionRequest getManagedAppPolicies() {
return new ManagedAppPolicyCollectionRequest(
contextPath.addSegment("managedAppPolicies"), RequestHelper.getValue(unmappedFields, "managedAppPolicies"));
}
/**
* “The managed app registrations.”
*
* @return navigational property managedAppRegistrations
*/
@NavigationProperty(name="managedAppRegistrations")
@JsonIgnore
public ManagedAppRegistrationCollectionRequest getManagedAppRegistrations() {
return new ManagedAppRegistrationCollectionRequest(
contextPath.addSegment("managedAppRegistrations"), RequestHelper.getValue(unmappedFields, "managedAppRegistrations"));
}
/**
* “The managed app statuses.”
*
* @return navigational property managedAppStatuses
*/
@NavigationProperty(name="managedAppStatuses")
@JsonIgnore
public ManagedAppStatusCollectionRequest getManagedAppStatuses() {
return new ManagedAppStatusCollectionRequest(
contextPath.addSegment("managedAppStatuses"), RequestHelper.getValue(unmappedFields, "managedAppStatuses"));
}
/**
* “Windows information protection for apps running on devices which are MDM
* enrolled.”
*
* @return navigational property mdmWindowsInformationProtectionPolicies
*/
@NavigationProperty(name="mdmWindowsInformationProtectionPolicies")
@JsonIgnore
public MdmWindowsInformationProtectionPolicyCollectionRequest getMdmWindowsInformationProtectionPolicies() {
return new MdmWindowsInformationProtectionPolicyCollectionRequest(
contextPath.addSegment("mdmWindowsInformationProtectionPolicies"), RequestHelper.getValue(unmappedFields, "mdmWindowsInformationProtectionPolicies"));
}
/**
* “Targeted managed app configurations.”
*
* @return navigational property targetedManagedAppConfigurations
*/
@NavigationProperty(name="targetedManagedAppConfigurations")
@JsonIgnore
public TargetedManagedAppConfigurationCollectionRequest getTargetedManagedAppConfigurations() {
return new TargetedManagedAppConfigurationCollectionRequest(
contextPath.addSegment("targetedManagedAppConfigurations"), RequestHelper.getValue(unmappedFields, "targetedManagedAppConfigurations"));
}
/**
* “Windows information protection for apps running on devices which are not MDM
* enrolled.”
*
* @return navigational property windowsInformationProtectionPolicies
*/
@NavigationProperty(name="windowsInformationProtectionPolicies")
@JsonIgnore
public WindowsInformationProtectionPolicyCollectionRequest getWindowsInformationProtectionPolicies() {
return new WindowsInformationProtectionPolicyCollectionRequest(
contextPath.addSegment("windowsInformationProtectionPolicies"), RequestHelper.getValue(unmappedFields, "windowsInformationProtectionPolicies"));
}
@JsonAnySetter
private void setUnmappedField(String name, Object value) {
if (unmappedFields == null) {
unmappedFields = new UnmappedFieldsImpl();
}
unmappedFields.put(name, value);
}
@JsonAnyGetter
private UnmappedFieldsImpl unmappedFields() {
return unmappedFields == null ? UnmappedFieldsImpl.EMPTY : unmappedFields;
}
@Override
public UnmappedFields getUnmappedFields() {
return unmappedFields();
}
/**
* Submits only changed fields for update and returns an
* immutable copy of {@code this} with changed fields reset.
*
* @return a copy of {@code this} with changed fields reset
* @throws ClientException if HTTP response is not as expected
*/
public DeviceAppManagement patch() {
RequestHelper.patch(this, contextPath, RequestOptions.EMPTY);
DeviceAppManagement _x = _copy();
_x.changedFields = null;
return _x;
}
/**
* Submits all fields for update and returns an immutable copy of {@code this}
* with changed fields reset (they were ignored anyway).
*
* @return a copy of {@code this} with changed fields reset
* @throws ClientException if HTTP response is not as expected
*/
public DeviceAppManagement put() {
RequestHelper.put(this, contextPath, RequestOptions.EMPTY);
DeviceAppManagement _x = _copy();
_x.changedFields = null;
return _x;
}
private DeviceAppManagement _copy() {
DeviceAppManagement _x = new DeviceAppManagement();
_x.contextPath = contextPath;
_x.changedFields = changedFields;
_x.unmappedFields = unmappedFields.copy();
_x.odataType = odataType;
_x.id = id;
_x.isEnabledForMicrosoftStoreForBusiness = isEnabledForMicrosoftStoreForBusiness;
_x.microsoftStoreForBusinessLanguage = microsoftStoreForBusinessLanguage;
_x.microsoftStoreForBusinessLastCompletedApplicationSyncTime = microsoftStoreForBusinessLastCompletedApplicationSyncTime;
_x.microsoftStoreForBusinessLastSuccessfulSyncDateTime = microsoftStoreForBusinessLastSuccessfulSyncDateTime;
return _x;
}
@Action(name = "syncMicrosoftStoreForBusinessApps")
@JsonIgnore
public ActionRequestNoReturn syncMicrosoftStoreForBusinessApps() {
Map _parameters = ParameterMap.empty();
return new ActionRequestNoReturn(this.contextPath.addActionOrFunctionSegment("microsoft.graph.syncMicrosoftStoreForBusinessApps"), _parameters);
}
@Override
public String toString() {
StringBuilder b = new StringBuilder();
b.append("DeviceAppManagement[");
b.append("id=");
b.append(this.id);
b.append(", ");
b.append("isEnabledForMicrosoftStoreForBusiness=");
b.append(this.isEnabledForMicrosoftStoreForBusiness);
b.append(", ");
b.append("microsoftStoreForBusinessLanguage=");
b.append(this.microsoftStoreForBusinessLanguage);
b.append(", ");
b.append("microsoftStoreForBusinessLastCompletedApplicationSyncTime=");
b.append(this.microsoftStoreForBusinessLastCompletedApplicationSyncTime);
b.append(", ");
b.append("microsoftStoreForBusinessLastSuccessfulSyncDateTime=");
b.append(this.microsoftStoreForBusinessLastSuccessfulSyncDateTime);
b.append("]");
b.append(",unmappedFields=");
b.append(unmappedFields);
b.append(",odataType=");
b.append(odataType);
return b.toString();
}
}