Class IosBookmark
- java.lang.Object
-
- odata.msgraph.client.beta.complex.IosBookmark
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class IosBookmark extends Object implements com.github.davidmoten.odata.client.ODataType
“iOS URL bookmark”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIosBookmark.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringbookmarkFolderprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringdisplayNameprotected StringodataTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFieldsprotected Stringurl
-
Constructor Summary
Constructors Modifier Constructor Description protectedIosBookmark()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IosBookmark.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getBookmarkFolder()“The folder into which the bookmark should be added in Safari”Optional<String>getDisplayName()“The display name of the bookmark”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getUrl()“URL allowed to access”StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()IosBookmarkwithBookmarkFolder(String bookmarkFolder)Returns an immutable copy ofthiswith just thebookmarkFolderfield changed.IosBookmarkwithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.IosBookmarkwithUnmappedField(String name, String value)IosBookmarkwithUrl(String url)Returns an immutable copy ofthiswith just theurlfield changed.
-
-
-
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
-
bookmarkFolder
protected String bookmarkFolder
-
displayName
protected String displayName
-
url
protected String url
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getBookmarkFolder
public Optional<String> getBookmarkFolder()
“The folder into which the bookmark should be added in Safari”- Returns:
- property bookmarkFolder
-
withBookmarkFolder
public IosBookmark withBookmarkFolder(String bookmarkFolder)
Returns an immutable copy ofthiswith just thebookmarkFolderfield 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.“The folder into which the bookmark should be added in Safari”
- Parameters:
bookmarkFolder- new value ofbookmarkFolderfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thebookmarkFolderfield changed
-
getDisplayName
public Optional<String> getDisplayName()
“The display name of the bookmark”- Returns:
- property displayName
-
withDisplayName
public IosBookmark withDisplayName(String displayName)
Returns an immutable copy ofthiswith just thedisplayNamefield 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.“The display name of the bookmark”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
withUrl
public IosBookmark withUrl(String url)
Returns an immutable copy ofthiswith just theurlfield 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.“URL allowed to access”
- Parameters:
url- new value ofurlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theurlfield changed
-
withUnmappedField
public IosBookmark 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 IosBookmark.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
-
-