public class AirPrintDestination extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
AirPrintDestination.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected Boolean |
forceTls |
protected String |
ipAddress |
protected String |
odataType |
protected Integer |
port |
protected String |
resourcePath |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
AirPrintDestination() |
| Modifier and Type | Method and Description |
|---|---|
static AirPrintDestination.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<Boolean> |
getForceTls()
“If true AirPrint connections are secured by Transport Layer Security (TLS).
|
Optional<String> |
getIpAddress()
“The IP Address of the AirPrint destination.”
|
Optional<Integer> |
getPort()
“The listening port of the AirPrint destination.
|
Optional<String> |
getResourcePath()
“The Resource Path associated with the printer.
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
AirPrintDestination |
withForceTls(Boolean forceTls)
Returns an immutable copy of
this with just the forceTls field
changed. |
AirPrintDestination |
withIpAddress(String ipAddress)
Returns an immutable copy of
this with just the ipAddress field
changed. |
AirPrintDestination |
withPort(Integer port)
Returns an immutable copy of
this with just the port field
changed. |
AirPrintDestination |
withResourcePath(String resourcePath)
Returns an immutable copy of
this with just the resourcePath
field changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String ipAddress
protected String resourcePath
protected Integer port
protected Boolean forceTls
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<String> getIpAddress()
public AirPrintDestination withIpAddress(String ipAddress)
this with just the ipAddress field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“The IP Address of the AirPrint destination.”
ipAddress - new value of ipAddress field (as defined in service metadata)this with just the ipAddress field changedpublic Optional<String> getResourcePath()
public AirPrintDestination withResourcePath(String resourcePath)
this with just the resourcePath
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“The Resource Path associated with the printer. This corresponds to the rp parameter of the _ipps.tcp Bonjour record. For example: printers/Canon_MG5300_ series, printers/Xerox_Phaser_7600, ipp/print, Epson_IPP_Printer.”
resourcePath - new value of resourcePath field (as defined in service metadata)this with just the resourcePath field changedpublic Optional<Integer> getPort()
public AirPrintDestination withPort(Integer port)
this with just the port field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“The listening port of the AirPrint destination. If this key is not specified AirPrint will use the default port. Available in iOS 11.0 and later.”
port - new value of port field (as defined in service metadata)this with just the port field changedpublic Optional<Boolean> getForceTls()
public AirPrintDestination withForceTls(Boolean forceTls)
this with just the forceTls field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“If true AirPrint connections are secured by Transport Layer Security (TLS). Default is false. Available in iOS 11.0 and later.”
forceTls - new value of forceTls field (as defined in service metadata)this with just the forceTls field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static AirPrintDestination.Builder builder()
Copyright © 2018–2020. All rights reserved.