public class AndroidEnrollmentCompanyCode extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
AndroidEnrollmentCompanyCode.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
enrollmentToken |
protected String |
odataType |
protected String |
qrCodeContent |
protected MimeContent |
qrCodeImage |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
AndroidEnrollmentCompanyCode() |
| Modifier and Type | Method and Description |
|---|---|
static AndroidEnrollmentCompanyCode.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getEnrollmentToken()
“Enrollment Token used by the User to enroll their device.”
|
Optional<String> |
getQrCodeContent()
“String used to generate a QR code for the token.”
|
Optional<MimeContent> |
getQrCodeImage()
“Generated QR code for the token.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
AndroidEnrollmentCompanyCode |
withEnrollmentToken(String enrollmentToken)
Returns an immutable copy of
this with just the enrollmentToken
field changed. |
AndroidEnrollmentCompanyCode |
withQrCodeContent(String qrCodeContent)
Returns an immutable copy of
this with just the qrCodeContent
field changed. |
AndroidEnrollmentCompanyCode |
withQrCodeImage(MimeContent qrCodeImage)
Returns an immutable copy of
this with just the qrCodeImage
field changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String enrollmentToken
protected String qrCodeContent
protected MimeContent qrCodeImage
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<String> getEnrollmentToken()
public AndroidEnrollmentCompanyCode withEnrollmentToken(String enrollmentToken)
this with just the enrollmentToken
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.
“Enrollment Token used by the User to enroll their device.”
enrollmentToken - new value of enrollmentToken field (as defined in service metadata)this with just the enrollmentToken field changedpublic Optional<String> getQrCodeContent()
public AndroidEnrollmentCompanyCode withQrCodeContent(String qrCodeContent)
this with just the qrCodeContent
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.
“String used to generate a QR code for the token.”
qrCodeContent - new value of qrCodeContent field (as defined in service metadata)this with just the qrCodeContent field changedpublic Optional<MimeContent> getQrCodeImage()
public AndroidEnrollmentCompanyCode withQrCodeImage(MimeContent qrCodeImage)
this with just the qrCodeImage
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.
“Generated QR code for the token.”
qrCodeImage - new value of qrCodeImage field (as defined in service metadata)this with just the qrCodeImage 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 AndroidEnrollmentCompanyCode.Builder builder()
Copyright © 2018–2020. All rights reserved.