Class AndroidEnrollmentCompanyCode
- java.lang.Object
-
- odata.msgraph.client.beta.complex.AndroidEnrollmentCompanyCode
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class AndroidEnrollmentCompanyCode extends Object implements com.github.davidmoten.odata.client.ODataType
“A class to hold specialty enrollment data used for enrolling via Google's Android Management API, such as Token, Url, and QR code content”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAndroidEnrollmentCompanyCode.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringenrollmentTokenprotected StringodataTypeprotected StringqrCodeContentprotected MimeContentqrCodeImageprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedAndroidEnrollmentCompanyCode()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AndroidEnrollmentCompanyCode.Builderbuilder()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.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()AndroidEnrollmentCompanyCodewithEnrollmentToken(String enrollmentToken)Returns an immutable copy ofthiswith just theenrollmentTokenfield changed.AndroidEnrollmentCompanyCodewithQrCodeContent(String qrCodeContent)Returns an immutable copy ofthiswith just theqrCodeContentfield changed.AndroidEnrollmentCompanyCodewithQrCodeImage(MimeContent qrCodeImage)Returns an immutable copy ofthiswith just theqrCodeImagefield changed.AndroidEnrollmentCompanyCodewithUnmappedField(String name, String value)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
enrollmentToken
protected String enrollmentToken
-
qrCodeContent
protected String qrCodeContent
-
qrCodeImage
protected MimeContent qrCodeImage
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getEnrollmentToken
public Optional<String> getEnrollmentToken()
“Enrollment Token used by the User to enroll their device.”- Returns:
- property enrollmentToken
-
withEnrollmentToken
public AndroidEnrollmentCompanyCode withEnrollmentToken(String enrollmentToken)
Returns an immutable copy ofthiswith just theenrollmentTokenfield 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.“Enrollment Token used by the User to enroll their device.”
- Parameters:
enrollmentToken- new value ofenrollmentTokenfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theenrollmentTokenfield changed
-
getQrCodeContent
public Optional<String> getQrCodeContent()
“String used to generate a QR code for the token.”- Returns:
- property qrCodeContent
-
withQrCodeContent
public AndroidEnrollmentCompanyCode withQrCodeContent(String qrCodeContent)
Returns an immutable copy ofthiswith just theqrCodeContentfield 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.“String used to generate a QR code for the token.”
- Parameters:
qrCodeContent- new value ofqrCodeContentfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theqrCodeContentfield changed
-
getQrCodeImage
public Optional<MimeContent> getQrCodeImage()
“Generated QR code for the token.”- Returns:
- property qrCodeImage
-
withQrCodeImage
public AndroidEnrollmentCompanyCode withQrCodeImage(MimeContent qrCodeImage)
Returns an immutable copy ofthiswith just theqrCodeImagefield 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.“Generated QR code for the token.”
- Parameters:
qrCodeImage- new value ofqrCodeImagefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theqrCodeImagefield changed
-
withUnmappedField
public AndroidEnrollmentCompanyCode withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static AndroidEnrollmentCompanyCode.Builder builder()
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
-
-