Class AndroidDeviceOwnerKioskModeWeblink
- java.lang.Object
-
- odata.msgraph.client.beta.complex.AndroidDeviceOwnerKioskModeHomeScreenItem
-
- odata.msgraph.client.beta.complex.AndroidDeviceOwnerKioskModeFolderItem
-
- odata.msgraph.client.beta.complex.AndroidDeviceOwnerKioskModeWeblink
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class AndroidDeviceOwnerKioskModeWeblink extends AndroidDeviceOwnerKioskModeFolderItem implements com.github.davidmoten.odata.client.ODataType
“A weblink on the Android Device Owner Managed Home Screen”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAndroidDeviceOwnerKioskModeWeblink.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Stringlabelprotected Stringlink-
Fields inherited from class odata.msgraph.client.beta.complex.AndroidDeviceOwnerKioskModeHomeScreenItem
contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAndroidDeviceOwnerKioskModeWeblink()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AndroidDeviceOwnerKioskModeWeblink.BuilderbuilderAndroidDeviceOwnerKioskModeWeblink()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getLabel()“Display name for weblink”Optional<String>getLink()“Link for weblink”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()AndroidDeviceOwnerKioskModeWeblinkwithLabel(String label)Returns an immutable copy ofthiswith just thelabelfield changed.AndroidDeviceOwnerKioskModeWeblinkwithLink(String link)Returns an immutable copy ofthiswith just thelinkfield changed.AndroidDeviceOwnerKioskModeWeblinkwithUnmappedField(String name, String value)
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classAndroidDeviceOwnerKioskModeFolderItem
-
withLabel
public AndroidDeviceOwnerKioskModeWeblink withLabel(String label)
Returns an immutable copy ofthiswith just thelabelfield 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.“Display name for weblink”
- Parameters:
label- new value oflabelfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelabelfield changed
-
withLink
public AndroidDeviceOwnerKioskModeWeblink withLink(String link)
Returns an immutable copy ofthiswith just thelinkfield 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.“Link for weblink”
- Parameters:
link- new value oflinkfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelinkfield changed
-
withUnmappedField
public AndroidDeviceOwnerKioskModeWeblink withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classAndroidDeviceOwnerKioskModeFolderItem
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classAndroidDeviceOwnerKioskModeFolderItem
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classAndroidDeviceOwnerKioskModeFolderItem
-
builderAndroidDeviceOwnerKioskModeWeblink
public static AndroidDeviceOwnerKioskModeWeblink.Builder builderAndroidDeviceOwnerKioskModeWeblink()
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
-
toString
public String toString()
- Overrides:
toStringin classAndroidDeviceOwnerKioskModeFolderItem
-
-