Package odata.msgraph.client.beta.entity
Class ChromeOSOnboardingSettings
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.ChromeOSOnboardingSettings
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class ChromeOSOnboardingSettings extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Entity that represents a Chromebook tenant settings”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classChromeOSOnboardingSettings.Builder
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimelastDirectorySyncDateTimeprotected OffsetDateTimelastModifiedDateTimeprotected OnboardingStatusonboardingStatusprotected StringownerUserPrincipalName-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedChromeOSOnboardingSettings()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChromeOSOnboardingSettings.BuilderbuilderChromeOSOnboardingSettings()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<OffsetDateTime>getLastDirectorySyncDateTime()“The ChromebookTenant's LastDirectorySyncDateTime”Optional<OffsetDateTime>getLastModifiedDateTime()“The ChromebookTenant's LastModifiedDateTime”Optional<OnboardingStatus>getOnboardingStatus()“The ChromebookTenant's OnboardingStatus”Optional<String>getOwnerUserPrincipalName()“The ChromebookTenant's OwnerUserPrincipalName”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()ChromeOSOnboardingSettingspatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)ChromeOSOnboardingSettingsput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()ChromeOSOnboardingSettingswithLastDirectorySyncDateTime(OffsetDateTime lastDirectorySyncDateTime)Returns an immutable copy ofthiswith just thelastDirectorySyncDateTimefield changed.ChromeOSOnboardingSettingswithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Returns an immutable copy ofthiswith just thelastModifiedDateTimefield changed.ChromeOSOnboardingSettingswithOnboardingStatus(OnboardingStatus onboardingStatus)Returns an immutable copy ofthiswith just theonboardingStatusfield changed.ChromeOSOnboardingSettingswithOwnerUserPrincipalName(String ownerUserPrincipalName)Returns an immutable copy ofthiswith just theownerUserPrincipalNamefield changed.ChromeOSOnboardingSettingswithUnmappedField(String name, String value)
-
-
-
Field Detail
-
lastDirectorySyncDateTime
protected OffsetDateTime lastDirectorySyncDateTime
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
onboardingStatus
protected OnboardingStatus onboardingStatus
-
ownerUserPrincipalName
protected String ownerUserPrincipalName
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderChromeOSOnboardingSettings
public static ChromeOSOnboardingSettings.Builder builderChromeOSOnboardingSettings()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getLastDirectorySyncDateTime
public Optional<OffsetDateTime> getLastDirectorySyncDateTime()
“The ChromebookTenant's LastDirectorySyncDateTime”- Returns:
- property lastDirectorySyncDateTime
-
withLastDirectorySyncDateTime
public ChromeOSOnboardingSettings withLastDirectorySyncDateTime(OffsetDateTime lastDirectorySyncDateTime)
Returns an immutable copy ofthiswith just thelastDirectorySyncDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The ChromebookTenant's LastDirectorySyncDateTime”
- Parameters:
lastDirectorySyncDateTime- new value oflastDirectorySyncDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastDirectorySyncDateTimefield changed
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
“The ChromebookTenant's LastModifiedDateTime”- Returns:
- property lastModifiedDateTime
-
withLastModifiedDateTime
public ChromeOSOnboardingSettings withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy ofthiswith just thelastModifiedDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The ChromebookTenant's LastModifiedDateTime”
- Parameters:
lastModifiedDateTime- new value oflastModifiedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastModifiedDateTimefield changed
-
getOnboardingStatus
public Optional<OnboardingStatus> getOnboardingStatus()
“The ChromebookTenant's OnboardingStatus”- Returns:
- property onboardingStatus
-
withOnboardingStatus
public ChromeOSOnboardingSettings withOnboardingStatus(OnboardingStatus onboardingStatus)
Returns an immutable copy ofthiswith just theonboardingStatusfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The ChromebookTenant's OnboardingStatus”
- Parameters:
onboardingStatus- new value ofonboardingStatusfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theonboardingStatusfield changed
-
getOwnerUserPrincipalName
public Optional<String> getOwnerUserPrincipalName()
“The ChromebookTenant's OwnerUserPrincipalName”- Returns:
- property ownerUserPrincipalName
-
withOwnerUserPrincipalName
public ChromeOSOnboardingSettings withOwnerUserPrincipalName(String ownerUserPrincipalName)
Returns an immutable copy ofthiswith just theownerUserPrincipalNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The ChromebookTenant's OwnerUserPrincipalName”
- Parameters:
ownerUserPrincipalName- new value ofownerUserPrincipalNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theownerUserPrincipalNamefield changed
-
withUnmappedField
public ChromeOSOnboardingSettings withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public ChromeOSOnboardingSettings patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public ChromeOSOnboardingSettings put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-