Package odata.msgraph.client.complex
Class SharingLink
- java.lang.Object
-
- odata.msgraph.client.complex.SharingLink
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class SharingLink extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSharingLink.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Identityapplicationprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringodataTypeprotected BooleanpreventsDownloadprotected Stringscopeprotected Stringtypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFieldsprotected StringwebHtmlprotected StringwebUrl
-
Constructor Summary
Constructors Modifier Constructor Description protectedSharingLink()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SharingLink.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Identity>getApplication()Optional<Boolean>getPreventsDownload()Optional<String>getScope()Optional<String>getType()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getWebHtml()Optional<String>getWebUrl()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()SharingLinkwithApplication(Identity application)SharingLinkwithPreventsDownload(Boolean preventsDownload)SharingLinkwithScope(String scope)SharingLinkwithType(String type)SharingLinkwithUnmappedField(String name, String value)SharingLinkwithWebHtml(String webHtml)SharingLinkwithWebUrl(String webUrl)
-
-
-
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
-
application
protected Identity application
-
preventsDownload
protected Boolean preventsDownload
-
scope
protected String scope
-
type
protected String type
-
webHtml
protected String webHtml
-
webUrl
protected String webUrl
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withApplication
public SharingLink withApplication(Identity application)
-
withPreventsDownload
public SharingLink withPreventsDownload(Boolean preventsDownload)
-
withScope
public SharingLink withScope(String scope)
-
withType
public SharingLink withType(String type)
-
withWebHtml
public SharingLink withWebHtml(String webHtml)
-
withWebUrl
public SharingLink withWebUrl(String webUrl)
-
withUnmappedField
public SharingLink 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 SharingLink.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
-
-