Class LabelsRoot
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.security.entity.LabelsRoot
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class LabelsRoot extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLabelsRoot.Builder
-
Field Summary
Fields Modifier and Type Field Description protected List<AuthorityTemplate>authoritiesprotected List<CategoryTemplate>categoriesprotected List<CitationTemplate>citationsprotected List<DepartmentTemplate>departmentsprotected List<FilePlanReferenceTemplate>filePlanReferencesprotected List<RetentionLabel>retentionLabels-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedLabelsRoot()
-
Method Summary
-
-
-
Field Detail
-
authorities
protected List<AuthorityTemplate> authorities
-
categories
protected List<CategoryTemplate> categories
-
citations
protected List<CitationTemplate> citations
-
departments
protected List<DepartmentTemplate> departments
-
filePlanReferences
protected List<FilePlanReferenceTemplate> filePlanReferences
-
retentionLabels
protected List<RetentionLabel> retentionLabels
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderLabelsRoot
public static LabelsRoot.Builder builderLabelsRoot()
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
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
withUnmappedField
public LabelsRoot withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getAuthorities
public AuthorityTemplateCollectionRequest getAuthorities()
-
getCategories
public CategoryTemplateCollectionRequest getCategories()
-
getCitations
public CitationTemplateCollectionRequest getCitations()
-
getDepartments
public DepartmentTemplateCollectionRequest getDepartments()
-
getFilePlanReferences
public FilePlanReferenceTemplateCollectionRequest getFilePlanReferences()
-
getRetentionLabels
public RetentionLabelCollectionRequest getRetentionLabels()
-
withAuthorities
public LabelsRoot withAuthorities(List<AuthorityTemplate> authorities)
-
withCategories
public LabelsRoot withCategories(List<CategoryTemplate> categories)
-
withCitations
public LabelsRoot withCitations(List<CitationTemplate> citations)
-
withDepartments
public LabelsRoot withDepartments(List<DepartmentTemplate> departments)
-
withFilePlanReferences
public LabelsRoot withFilePlanReferences(List<FilePlanReferenceTemplate> filePlanReferences)
-
withRetentionLabels
public LabelsRoot withRetentionLabels(List<RetentionLabel> retentionLabels)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public LabelsRoot patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public LabelsRoot put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-