Package odata.msgraph.client.complex
Class SharingDetail
- java.lang.Object
-
- odata.msgraph.client.complex.SharingDetail
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class SharingDetail extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSharingDetail.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringodataTypeprotected InsightIdentitysharedByprotected OffsetDateTimesharedDateTimeprotected ResourceReferencesharingReferenceprotected StringsharingSubjectprotected StringsharingTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedSharingDetail()
-
Method Summary
-
-
-
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
-
sharedBy
protected InsightIdentity sharedBy
-
sharedDateTime
protected OffsetDateTime sharedDateTime
-
sharingReference
protected ResourceReference sharingReference
-
sharingSubject
protected String sharingSubject
-
sharingType
protected String sharingType
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getSharedBy
public Optional<InsightIdentity> getSharedBy()
-
withSharedBy
public SharingDetail withSharedBy(InsightIdentity sharedBy)
-
getSharedDateTime
public Optional<OffsetDateTime> getSharedDateTime()
-
withSharedDateTime
public SharingDetail withSharedDateTime(OffsetDateTime sharedDateTime)
-
getSharingReference
public Optional<ResourceReference> getSharingReference()
Org.OData.Core.V1.Computed
true
- Returns:
- property sharingReference
-
withSharingReference
public SharingDetail withSharingReference(ResourceReference sharingReference)
Returns an immutable copy ofthiswith just thesharingReferencefield 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.Org.OData.Core.V1.Computed
true
- Parameters:
sharingReference- new value ofsharingReferencefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesharingReferencefield changed
-
withSharingSubject
public SharingDetail withSharingSubject(String sharingSubject)
-
withSharingType
public SharingDetail withSharingType(String sharingType)
-
withUnmappedField
public SharingDetail withUnmappedField(String name, Object 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 SharingDetail.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
-
-