Class FilePlanDescriptor
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.security.entity.FilePlanDescriptor
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class FilePlanDescriptor extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFilePlanDescriptor.Builder
-
Field Summary
Fields Modifier and Type Field Description protected FilePlanAuthorityauthorityprotected FilePlanAppliedCategorycategoryprotected FilePlanCitationcitationprotected FilePlanDepartmentdepartmentprotected FilePlanReferencefilePlanReference-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedFilePlanDescriptor()
-
Method Summary
-
-
-
Field Detail
-
authority
protected FilePlanAuthority authority
-
category
protected FilePlanAppliedCategory category
-
citation
protected FilePlanCitation citation
-
department
protected FilePlanDepartment department
-
filePlanReference
protected FilePlanReference filePlanReference
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderFilePlanDescriptor
public static FilePlanDescriptor.Builder builderFilePlanDescriptor()
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
-
getAuthority
public Optional<FilePlanAuthority> getAuthority()
-
withAuthority
public FilePlanDescriptor withAuthority(FilePlanAuthority authority)
-
getCategory
public Optional<FilePlanAppliedCategory> getCategory()
-
withCategory
public FilePlanDescriptor withCategory(FilePlanAppliedCategory category)
-
getCitation
public Optional<FilePlanCitation> getCitation()
-
withCitation
public FilePlanDescriptor withCitation(FilePlanCitation citation)
-
getDepartment
public Optional<FilePlanDepartment> getDepartment()
-
withDepartment
public FilePlanDescriptor withDepartment(FilePlanDepartment department)
-
getFilePlanReference
public Optional<FilePlanReference> getFilePlanReference()
-
withFilePlanReference
public FilePlanDescriptor withFilePlanReference(FilePlanReference filePlanReference)
-
withUnmappedField
public FilePlanDescriptor withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getAuthorityTemplate
public AuthorityTemplateRequest getAuthorityTemplate()
-
getCategoryTemplate
public CategoryTemplateRequest getCategoryTemplate()
-
getCitationTemplate
public CitationTemplateRequest getCitationTemplate()
-
getDepartmentTemplate
public DepartmentTemplateRequest getDepartmentTemplate()
-
getFilePlanReferenceTemplate
public FilePlanReferenceTemplateRequest getFilePlanReferenceTemplate()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public FilePlanDescriptor patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public FilePlanDescriptor put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-