Package odata.msgraph.client.beta.entity
Class SideLoadingKey
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.SideLoadingKey
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class SideLoadingKey extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“SideLoadingKey entity is required for Windows 8 and 8.1 devices to intall Line Of Business Apps for a tenant.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSideLoadingKey.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Stringdescriptionprotected StringdisplayNameprotected StringlastUpdatedDateTimeprotected IntegertotalActivationprotected Stringvalue-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSideLoadingKey()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SideLoadingKey.BuilderbuilderSideLoadingKey()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<String>getDescription()“Side Loading Key description displayed to the ITPro Admins..”Optional<String>getDisplayName()“Side Loading Key Name displayed to the ITPro Admins.”Optional<String>getLastUpdatedDateTime()“Side Loading Key Last Updated Date displayed to the ITPro Admins.”Optional<Integer>getTotalActivation()“Side Loading Key Total Activation displayed to the ITPro Admins.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getValue()“Side Loading Key Value, it is 5x5 value, seperated by hiphens.”StringodataTypeName()SideLoadingKeypatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)SideLoadingKeyput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()SideLoadingKeywithDescription(String description)Returns an immutable copy ofthiswith just thedescriptionfield changed.SideLoadingKeywithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.SideLoadingKeywithLastUpdatedDateTime(String lastUpdatedDateTime)Returns an immutable copy ofthiswith just thelastUpdatedDateTimefield changed.SideLoadingKeywithTotalActivation(Integer totalActivation)Returns an immutable copy ofthiswith just thetotalActivationfield changed.SideLoadingKeywithUnmappedField(String name, String value)SideLoadingKeywithValue(String value)Returns an immutable copy ofthiswith just thevaluefield changed.
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderSideLoadingKey
public static SideLoadingKey.Builder builderSideLoadingKey()
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
-
getDescription
public Optional<String> getDescription()
“Side Loading Key description displayed to the ITPro Admins..”- Returns:
- property description
-
withDescription
public SideLoadingKey withDescription(String description)
Returns an immutable copy ofthiswith just thedescriptionfield 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.“Side Loading Key description displayed to the ITPro Admins..”
- Parameters:
description- new value ofdescriptionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedescriptionfield changed
-
getDisplayName
public Optional<String> getDisplayName()
“Side Loading Key Name displayed to the ITPro Admins.”- Returns:
- property displayName
-
withDisplayName
public SideLoadingKey withDisplayName(String displayName)
Returns an immutable copy ofthiswith just thedisplayNamefield 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.“Side Loading Key Name displayed to the ITPro Admins.”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
getLastUpdatedDateTime
public Optional<String> getLastUpdatedDateTime()
“Side Loading Key Last Updated Date displayed to the ITPro Admins.”- Returns:
- property lastUpdatedDateTime
-
withLastUpdatedDateTime
public SideLoadingKey withLastUpdatedDateTime(String lastUpdatedDateTime)
Returns an immutable copy ofthiswith just thelastUpdatedDateTimefield 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.“Side Loading Key Last Updated Date displayed to the ITPro Admins.”
- Parameters:
lastUpdatedDateTime- new value oflastUpdatedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastUpdatedDateTimefield changed
-
getTotalActivation
public Optional<Integer> getTotalActivation()
“Side Loading Key Total Activation displayed to the ITPro Admins.”- Returns:
- property totalActivation
-
withTotalActivation
public SideLoadingKey withTotalActivation(Integer totalActivation)
Returns an immutable copy ofthiswith just thetotalActivationfield 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.“Side Loading Key Total Activation displayed to the ITPro Admins.”
- Parameters:
totalActivation- new value oftotalActivationfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetotalActivationfield changed
-
getValue
public Optional<String> getValue()
“Side Loading Key Value, it is 5x5 value, seperated by hiphens.”- Returns:
- property value
-
withValue
public SideLoadingKey withValue(String value)
Returns an immutable copy ofthiswith just thevaluefield 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.“Side Loading Key Value, it is 5x5 value, seperated by hiphens.”
- Parameters:
value- new value ofvaluefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thevaluefield changed
-
withUnmappedField
public SideLoadingKey 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 SideLoadingKey patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public SideLoadingKey put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-