Package odata.msgraph.client.beta.entity
Class CloudPC
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.CloudPC
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class CloudPC extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCloudPC.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringaadDeviceIdprotected StringdisplayNameprotected OffsetDateTimegracePeriodEndDateTimeprotected StringimageDisplayNameprotected CloudPcLoginResultlastLoginResultprotected OffsetDateTimelastModifiedDateTimeprotected CloudPcRemoteActionResultlastRemoteActionResultprotected StringmanagedDeviceIdprotected StringmanagedDeviceNameprotected StringonPremisesConnectionNameprotected CloudPcOperatingSystemosVersionprotected StringprovisioningPolicyIdprotected StringprovisioningPolicyNameprotected StringservicePlanIdprotected StringservicePlanNameprotected CloudPcServicePlanTypeservicePlanTypeprotected CloudPcStatusstatusprotected CloudPcStatusDetailsstatusDetailsprotected CloudPcUserAccountTypeuserAccountTypeprotected StringuserPrincipalName-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCloudPC()
-
Method Summary
-
-
-
Field Detail
-
aadDeviceId
protected String aadDeviceId
-
displayName
protected String displayName
-
gracePeriodEndDateTime
protected OffsetDateTime gracePeriodEndDateTime
-
imageDisplayName
protected String imageDisplayName
-
lastLoginResult
protected CloudPcLoginResult lastLoginResult
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
lastRemoteActionResult
protected CloudPcRemoteActionResult lastRemoteActionResult
-
managedDeviceId
protected String managedDeviceId
-
managedDeviceName
protected String managedDeviceName
-
onPremisesConnectionName
protected String onPremisesConnectionName
-
osVersion
protected CloudPcOperatingSystem osVersion
-
provisioningPolicyId
protected String provisioningPolicyId
-
provisioningPolicyName
protected String provisioningPolicyName
-
servicePlanId
protected String servicePlanId
-
servicePlanName
protected String servicePlanName
-
servicePlanType
protected CloudPcServicePlanType servicePlanType
-
status
protected CloudPcStatus status
-
statusDetails
protected CloudPcStatusDetails statusDetails
-
userAccountType
protected CloudPcUserAccountType userAccountType
-
userPrincipalName
protected String userPrincipalName
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderCloudPC
public static CloudPC.Builder builderCloudPC()
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
-
getGracePeriodEndDateTime
public Optional<OffsetDateTime> getGracePeriodEndDateTime()
-
withGracePeriodEndDateTime
public CloudPC withGracePeriodEndDateTime(OffsetDateTime gracePeriodEndDateTime)
-
getLastLoginResult
public Optional<CloudPcLoginResult> getLastLoginResult()
-
withLastLoginResult
public CloudPC withLastLoginResult(CloudPcLoginResult lastLoginResult)
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
-
withLastModifiedDateTime
public CloudPC withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
-
getLastRemoteActionResult
public Optional<CloudPcRemoteActionResult> getLastRemoteActionResult()
-
withLastRemoteActionResult
public CloudPC withLastRemoteActionResult(CloudPcRemoteActionResult lastRemoteActionResult)
-
withOnPremisesConnectionName
public CloudPC withOnPremisesConnectionName(String onPremisesConnectionName)
-
getOsVersion
public Optional<CloudPcOperatingSystem> getOsVersion()
-
withOsVersion
public CloudPC withOsVersion(CloudPcOperatingSystem osVersion)
-
withProvisioningPolicyName
public CloudPC withProvisioningPolicyName(String provisioningPolicyName)
-
getServicePlanType
public Optional<CloudPcServicePlanType> getServicePlanType()
-
withServicePlanType
public CloudPC withServicePlanType(CloudPcServicePlanType servicePlanType)
-
getStatus
public Optional<CloudPcStatus> getStatus()
-
withStatus
public CloudPC withStatus(CloudPcStatus status)
-
getStatusDetails
public Optional<CloudPcStatusDetails> getStatusDetails()
-
withStatusDetails
public CloudPC withStatusDetails(CloudPcStatusDetails statusDetails)
-
getUserAccountType
public Optional<CloudPcUserAccountType> getUserAccountType()
-
withUserAccountType
public CloudPC withUserAccountType(CloudPcUserAccountType userAccountType)
-
withUnmappedField
public CloudPC 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 CloudPC patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public CloudPC put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
changeUserAccountType
public com.github.davidmoten.odata.client.ActionRequestNoReturn changeUserAccountType(CloudPcUserAccountType userAccountType)
-
endGracePeriod
public com.github.davidmoten.odata.client.ActionRequestNoReturn endGracePeriod()
-
reboot
public com.github.davidmoten.odata.client.ActionRequestNoReturn reboot()
-
rename
public com.github.davidmoten.odata.client.ActionRequestNoReturn rename(String displayName)
-
reprovision
public com.github.davidmoten.odata.client.ActionRequestNoReturn reprovision(CloudPcUserAccountType userAccountType, CloudPcOperatingSystem osVersion)
-
troubleshoot
public com.github.davidmoten.odata.client.ActionRequestNoReturn troubleshoot()
-
-