Package odata.msgraph.client.beta.entity
Class PrintConnector
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.PrintConnector
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class PrintConnector extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPrintConnector.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringappVersionprotected DeviceHealthdeviceHealthprotected StringdisplayNameprotected StringfullyQualifiedDomainNameprotected PrinterLocationlocationprotected Stringnameprotected StringoperatingSystemprotected OffsetDateTimeregisteredDateTime-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPrintConnector()
-
Method Summary
-
-
-
Field Detail
-
appVersion
protected String appVersion
-
deviceHealth
protected DeviceHealth deviceHealth
-
displayName
protected String displayName
-
fullyQualifiedDomainName
protected String fullyQualifiedDomainName
-
location
protected PrinterLocation location
-
name
protected String name
-
operatingSystem
protected String operatingSystem
-
registeredDateTime
protected OffsetDateTime registeredDateTime
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderPrintConnector
public static PrintConnector.Builder builderPrintConnector()
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
-
withAppVersion
public PrintConnector withAppVersion(String appVersion)
-
getDeviceHealth
public Optional<DeviceHealth> getDeviceHealth()
-
withDeviceHealth
public PrintConnector withDeviceHealth(DeviceHealth deviceHealth)
-
withDisplayName
public PrintConnector withDisplayName(String displayName)
-
withFullyQualifiedDomainName
public PrintConnector withFullyQualifiedDomainName(String fullyQualifiedDomainName)
-
getLocation
public Optional<PrinterLocation> getLocation()
-
withLocation
public PrintConnector withLocation(PrinterLocation location)
-
withName
public PrintConnector withName(String name)
-
withOperatingSystem
public PrintConnector withOperatingSystem(String operatingSystem)
-
getRegisteredDateTime
public Optional<OffsetDateTime> getRegisteredDateTime()
-
withRegisteredDateTime
public PrintConnector withRegisteredDateTime(OffsetDateTime registeredDateTime)
-
withUnmappedField
public PrintConnector 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 PrintConnector patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public PrintConnector put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-