Package odata.msgraph.client.complex
Class ResourceReference
- java.lang.Object
-
- odata.msgraph.client.complex.ResourceReference
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class ResourceReference extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResourceReference.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected Stringidprotected StringodataTypeprotected Stringtypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFieldsprotected StringwebUrl
-
Constructor Summary
Constructors Modifier Constructor Description protectedResourceReference()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceReference.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getId()Optional<String>getType()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getWebUrl()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()ResourceReferencewithId(String id)ResourceReferencewithType(String type)ResourceReferencewithUnmappedField(String name, String value)ResourceReferencewithWebUrl(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
-
id
protected String id
-
type
protected String type
-
webUrl
protected String webUrl
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withId
public ResourceReference withId(String id)
-
withType
public ResourceReference withType(String type)
-
withWebUrl
public ResourceReference withWebUrl(String webUrl)
-
withUnmappedField
public ResourceReference 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 ResourceReference.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
-
-