Package odata.msgraph.client.complex
Class TargetResource
- java.lang.Object
-
- odata.msgraph.client.complex.TargetResource
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class TargetResource extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTargetResource.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringdisplayNameprotected GroupTypegroupTypeprotected Stringidprotected List<ModifiedProperty>modifiedPropertiesprotected StringmodifiedPropertiesNextLinkprotected StringodataTypeprotected Stringtypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFieldsprotected StringuserPrincipalName
-
Constructor Summary
Constructors Modifier Constructor Description protectedTargetResource()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TargetResource.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getDisplayName()Optional<GroupType>getGroupType()Optional<String>getId()com.github.davidmoten.odata.client.CollectionPage<ModifiedProperty>getModifiedProperties()com.github.davidmoten.odata.client.CollectionPage<ModifiedProperty>getModifiedProperties(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<String>getType()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getUserPrincipalName()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()TargetResourcewithDisplayName(String displayName)TargetResourcewithGroupType(GroupType groupType)TargetResourcewithId(String id)TargetResourcewithType(String type)TargetResourcewithUnmappedField(String name, Object value)TargetResourcewithUserPrincipalName(String userPrincipalName)
-
-
-
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
-
displayName
protected String displayName
-
groupType
protected GroupType groupType
-
id
protected String id
-
modifiedProperties
protected List<ModifiedProperty> modifiedProperties
-
modifiedPropertiesNextLink
protected String modifiedPropertiesNextLink
-
type
protected String type
-
userPrincipalName
protected String userPrincipalName
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withDisplayName
public TargetResource withDisplayName(String displayName)
-
withGroupType
public TargetResource withGroupType(GroupType groupType)
-
withId
public TargetResource withId(String id)
-
getModifiedProperties
public com.github.davidmoten.odata.client.CollectionPage<ModifiedProperty> getModifiedProperties()
-
getModifiedProperties
public com.github.davidmoten.odata.client.CollectionPage<ModifiedProperty> getModifiedProperties(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withType
public TargetResource withType(String type)
-
withUserPrincipalName
public TargetResource withUserPrincipalName(String userPrincipalName)
-
withUnmappedField
public TargetResource 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 TargetResource.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
-
-