Class MicrosoftGraphCopyNotebookModel
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphCopyNotebookModel
-
public final class MicrosoftGraphCopyNotebookModel extends Object
CopyNotebookModel.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphCopyNotebookModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: CopyNotebookModel.String
createdBy()
Get the createdBy property: The createdBy property.MicrosoftGraphIdentitySet
createdByIdentity()
Get the createdByIdentity property: identitySet.OffsetDateTime
createdTime()
Get the createdTime property: The createdTime property.String
id()
Get the id property: The id property.Boolean
isDefault()
Get the isDefault property: The isDefault property.Boolean
isShared()
Get the isShared property: The isShared property.String
lastModifiedBy()
Get the lastModifiedBy property: The lastModifiedBy property.MicrosoftGraphIdentitySet
lastModifiedByIdentity()
Get the lastModifiedByIdentity property: identitySet.OffsetDateTime
lastModifiedTime()
Get the lastModifiedTime property: The lastModifiedTime property.MicrosoftGraphNotebookLinks
links()
Get the links property: notebookLinks.String
name()
Get the name property: The name property.String
sectionGroupsUrl()
Get the sectionGroupsUrl property: The sectionGroupsUrl property.String
sectionsUrl()
Get the sectionsUrl property: The sectionsUrl property.String
self()
Get the self property: The self property.MicrosoftGraphOnenoteUserRole
userRole()
Get the userRole property: The userRole property.void
validate()
Validates the instance.MicrosoftGraphCopyNotebookModel
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: CopyNotebookModel.MicrosoftGraphCopyNotebookModel
withCreatedBy(String createdBy)
Set the createdBy property: The createdBy property.MicrosoftGraphCopyNotebookModel
withCreatedByIdentity(MicrosoftGraphIdentitySet createdByIdentity)
Set the createdByIdentity property: identitySet.MicrosoftGraphCopyNotebookModel
withCreatedTime(OffsetDateTime createdTime)
Set the createdTime property: The createdTime property.MicrosoftGraphCopyNotebookModel
withId(String id)
Set the id property: The id property.MicrosoftGraphCopyNotebookModel
withIsDefault(Boolean isDefault)
Set the isDefault property: The isDefault property.MicrosoftGraphCopyNotebookModel
withIsShared(Boolean isShared)
Set the isShared property: The isShared property.MicrosoftGraphCopyNotebookModel
withLastModifiedBy(String lastModifiedBy)
Set the lastModifiedBy property: The lastModifiedBy property.MicrosoftGraphCopyNotebookModel
withLastModifiedByIdentity(MicrosoftGraphIdentitySet lastModifiedByIdentity)
Set the lastModifiedByIdentity property: identitySet.MicrosoftGraphCopyNotebookModel
withLastModifiedTime(OffsetDateTime lastModifiedTime)
Set the lastModifiedTime property: The lastModifiedTime property.MicrosoftGraphCopyNotebookModel
withLinks(MicrosoftGraphNotebookLinks links)
Set the links property: notebookLinks.MicrosoftGraphCopyNotebookModel
withName(String name)
Set the name property: The name property.MicrosoftGraphCopyNotebookModel
withSectionGroupsUrl(String sectionGroupsUrl)
Set the sectionGroupsUrl property: The sectionGroupsUrl property.MicrosoftGraphCopyNotebookModel
withSectionsUrl(String sectionsUrl)
Set the sectionsUrl property: The sectionsUrl property.MicrosoftGraphCopyNotebookModel
withSelf(String self)
Set the self property: The self property.MicrosoftGraphCopyNotebookModel
withUserRole(MicrosoftGraphOnenoteUserRole userRole)
Set the userRole property: The userRole property.
-
-
-
Method Detail
-
createdBy
public String createdBy()
Get the createdBy property: The createdBy property.- Returns:
- the createdBy value.
-
withCreatedBy
public MicrosoftGraphCopyNotebookModel withCreatedBy(String createdBy)
Set the createdBy property: The createdBy property.- Parameters:
createdBy
- the createdBy value to set.- Returns:
- the MicrosoftGraphCopyNotebookModel object itself.
-
createdByIdentity
public MicrosoftGraphIdentitySet createdByIdentity()
Get the createdByIdentity property: identitySet.- Returns:
- the createdByIdentity value.
-
withCreatedByIdentity
public MicrosoftGraphCopyNotebookModel withCreatedByIdentity(MicrosoftGraphIdentitySet createdByIdentity)
Set the createdByIdentity property: identitySet.- Parameters:
createdByIdentity
- the createdByIdentity value to set.- Returns:
- the MicrosoftGraphCopyNotebookModel object itself.
-
createdTime
public OffsetDateTime createdTime()
Get the createdTime property: The createdTime property.- Returns:
- the createdTime value.
-
withCreatedTime
public MicrosoftGraphCopyNotebookModel withCreatedTime(OffsetDateTime createdTime)
Set the createdTime property: The createdTime property.- Parameters:
createdTime
- the createdTime value to set.- Returns:
- the MicrosoftGraphCopyNotebookModel object itself.
-
id
public String id()
Get the id property: The id property.- Returns:
- the id value.
-
withId
public MicrosoftGraphCopyNotebookModel withId(String id)
Set the id property: The id property.- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphCopyNotebookModel object itself.
-
isDefault
public Boolean isDefault()
Get the isDefault property: The isDefault property.- Returns:
- the isDefault value.
-
withIsDefault
public MicrosoftGraphCopyNotebookModel withIsDefault(Boolean isDefault)
Set the isDefault property: The isDefault property.- Parameters:
isDefault
- the isDefault value to set.- Returns:
- the MicrosoftGraphCopyNotebookModel object itself.
-
isShared
public Boolean isShared()
Get the isShared property: The isShared property.- Returns:
- the isShared value.
-
withIsShared
public MicrosoftGraphCopyNotebookModel withIsShared(Boolean isShared)
Set the isShared property: The isShared property.- Parameters:
isShared
- the isShared value to set.- Returns:
- the MicrosoftGraphCopyNotebookModel object itself.
-
lastModifiedBy
public String lastModifiedBy()
Get the lastModifiedBy property: The lastModifiedBy property.- Returns:
- the lastModifiedBy value.
-
withLastModifiedBy
public MicrosoftGraphCopyNotebookModel withLastModifiedBy(String lastModifiedBy)
Set the lastModifiedBy property: The lastModifiedBy property.- Parameters:
lastModifiedBy
- the lastModifiedBy value to set.- Returns:
- the MicrosoftGraphCopyNotebookModel object itself.
-
lastModifiedByIdentity
public MicrosoftGraphIdentitySet lastModifiedByIdentity()
Get the lastModifiedByIdentity property: identitySet.- Returns:
- the lastModifiedByIdentity value.
-
withLastModifiedByIdentity
public MicrosoftGraphCopyNotebookModel withLastModifiedByIdentity(MicrosoftGraphIdentitySet lastModifiedByIdentity)
Set the lastModifiedByIdentity property: identitySet.- Parameters:
lastModifiedByIdentity
- the lastModifiedByIdentity value to set.- Returns:
- the MicrosoftGraphCopyNotebookModel object itself.
-
lastModifiedTime
public OffsetDateTime lastModifiedTime()
Get the lastModifiedTime property: The lastModifiedTime property.- Returns:
- the lastModifiedTime value.
-
withLastModifiedTime
public MicrosoftGraphCopyNotebookModel withLastModifiedTime(OffsetDateTime lastModifiedTime)
Set the lastModifiedTime property: The lastModifiedTime property.- Parameters:
lastModifiedTime
- the lastModifiedTime value to set.- Returns:
- the MicrosoftGraphCopyNotebookModel object itself.
-
links
public MicrosoftGraphNotebookLinks links()
Get the links property: notebookLinks.- Returns:
- the links value.
-
withLinks
public MicrosoftGraphCopyNotebookModel withLinks(MicrosoftGraphNotebookLinks links)
Set the links property: notebookLinks.- Parameters:
links
- the links value to set.- Returns:
- the MicrosoftGraphCopyNotebookModel object itself.
-
name
public String name()
Get the name property: The name property.- Returns:
- the name value.
-
withName
public MicrosoftGraphCopyNotebookModel withName(String name)
Set the name property: The name property.- Parameters:
name
- the name value to set.- Returns:
- the MicrosoftGraphCopyNotebookModel object itself.
-
sectionGroupsUrl
public String sectionGroupsUrl()
Get the sectionGroupsUrl property: The sectionGroupsUrl property.- Returns:
- the sectionGroupsUrl value.
-
withSectionGroupsUrl
public MicrosoftGraphCopyNotebookModel withSectionGroupsUrl(String sectionGroupsUrl)
Set the sectionGroupsUrl property: The sectionGroupsUrl property.- Parameters:
sectionGroupsUrl
- the sectionGroupsUrl value to set.- Returns:
- the MicrosoftGraphCopyNotebookModel object itself.
-
sectionsUrl
public String sectionsUrl()
Get the sectionsUrl property: The sectionsUrl property.- Returns:
- the sectionsUrl value.
-
withSectionsUrl
public MicrosoftGraphCopyNotebookModel withSectionsUrl(String sectionsUrl)
Set the sectionsUrl property: The sectionsUrl property.- Parameters:
sectionsUrl
- the sectionsUrl value to set.- Returns:
- the MicrosoftGraphCopyNotebookModel object itself.
-
self
public String self()
Get the self property: The self property.- Returns:
- the self value.
-
withSelf
public MicrosoftGraphCopyNotebookModel withSelf(String self)
Set the self property: The self property.- Parameters:
self
- the self value to set.- Returns:
- the MicrosoftGraphCopyNotebookModel object itself.
-
userRole
public MicrosoftGraphOnenoteUserRole userRole()
Get the userRole property: The userRole property.- Returns:
- the userRole value.
-
withUserRole
public MicrosoftGraphCopyNotebookModel withUserRole(MicrosoftGraphOnenoteUserRole userRole)
Set the userRole property: The userRole property.- Parameters:
userRole
- the userRole value to set.- Returns:
- the MicrosoftGraphCopyNotebookModel object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: CopyNotebookModel.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphCopyNotebookModel withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: CopyNotebookModel.- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MicrosoftGraphCopyNotebookModel object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-