Package odata.msgraph.client.entity
Class PrintConnector
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.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 StringdisplayNameprotected StringfullyQualifiedDomainNameprotected PrinterLocationlocationprotected StringoperatingSystemprotected OffsetDateTimeregisteredDateTime-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPrintConnector()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PrintConnector.BuilderbuilderPrintConnector()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getAppVersion()com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getDisplayName()Optional<String>getFullyQualifiedDomainName()Optional<PrinterLocation>getLocation()Optional<String>getOperatingSystem()Optional<OffsetDateTime>getRegisteredDateTime()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()PrintConnectorpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)PrintConnectorput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()PrintConnectorwithAppVersion(String appVersion)PrintConnectorwithDisplayName(String displayName)PrintConnectorwithFullyQualifiedDomainName(String fullyQualifiedDomainName)PrintConnectorwithLocation(PrinterLocation location)PrintConnectorwithOperatingSystem(String operatingSystem)PrintConnectorwithRegisteredDateTime(OffsetDateTime registeredDateTime)PrintConnectorwithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
appVersion
protected String appVersion
-
displayName
protected String displayName
-
fullyQualifiedDomainName
protected String fullyQualifiedDomainName
-
location
protected PrinterLocation location
-
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)
-
withDisplayName
public PrintConnector withDisplayName(String displayName)
-
withFullyQualifiedDomainName
public PrintConnector withFullyQualifiedDomainName(String fullyQualifiedDomainName)
-
getLocation
public Optional<PrinterLocation> getLocation()
-
withLocation
public PrintConnector withLocation(PrinterLocation location)
-
withOperatingSystem
public PrintConnector withOperatingSystem(String operatingSystem)
-
getRegisteredDateTime
public Optional<OffsetDateTime> getRegisteredDateTime()
-
withRegisteredDateTime
public PrintConnector withRegisteredDateTime(OffsetDateTime registeredDateTime)
-
withUnmappedField
public PrintConnector withUnmappedField(String name, Object 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).
-
-