Package odata.msgraph.client.entity
Class Team
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.Team
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Team extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTeam.Builder
-
Field Summary
Fields Modifier and Type Field Description protected List<Channel>channelsprotected Stringclassificationprotected OffsetDateTimecreatedDateTimeprotected Stringdescriptionprotected StringdisplayNameprotected TeamFunSettingsfunSettingsprotected TeamGuestSettingsguestSettingsprotected List<TeamsAppInstallation>installedAppsprotected StringinternalIdprotected BooleanisArchivedprotected List<ConversationMember>membersprotected TeamMemberSettingsmemberSettingsprotected TeamMessagingSettingsmessagingSettingsprotected List<TeamsAsyncOperation>operationsprotected List<ResourceSpecificPermissionGrant>permissionGrantsprotected ProfilePhotophotoprotected ChannelprimaryChannelprotected Schedulescheduleprotected TeamSpecializationspecializationprotected TeamSummarysummaryprotected List<TeamworkTag>tagsprotected StringtenantIdprotected TeamVisibilityTypevisibilityprotected StringwebUrl-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTeam()
-
Method Summary
-
-
-
Field Detail
-
classification
protected String classification
-
createdDateTime
protected OffsetDateTime createdDateTime
-
description
protected String description
-
displayName
protected String displayName
-
funSettings
protected TeamFunSettings funSettings
-
guestSettings
protected TeamGuestSettings guestSettings
-
internalId
protected String internalId
-
isArchived
protected Boolean isArchived
-
memberSettings
protected TeamMemberSettings memberSettings
-
messagingSettings
protected TeamMessagingSettings messagingSettings
-
specialization
protected TeamSpecialization specialization
-
summary
protected TeamSummary summary
-
tenantId
protected String tenantId
-
visibility
protected TeamVisibilityType visibility
-
webUrl
protected String webUrl
-
installedApps
protected List<TeamsAppInstallation> installedApps
-
members
protected List<ConversationMember> members
-
operations
protected List<TeamsAsyncOperation> operations
-
permissionGrants
protected List<ResourceSpecificPermissionGrant> permissionGrants
-
photo
protected ProfilePhoto photo
-
primaryChannel
protected Channel primaryChannel
-
tags
protected List<TeamworkTag> tags
-
schedule
protected Schedule schedule
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderTeam
public static Team.Builder builderTeam()
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
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public Team withCreatedDateTime(OffsetDateTime createdDateTime)
-
getFunSettings
public Optional<TeamFunSettings> getFunSettings()
-
withFunSettings
public Team withFunSettings(TeamFunSettings funSettings)
-
getGuestSettings
public Optional<TeamGuestSettings> getGuestSettings()
-
withGuestSettings
public Team withGuestSettings(TeamGuestSettings guestSettings)
-
getMemberSettings
public Optional<TeamMemberSettings> getMemberSettings()
-
withMemberSettings
public Team withMemberSettings(TeamMemberSettings memberSettings)
-
getMessagingSettings
public Optional<TeamMessagingSettings> getMessagingSettings()
-
withMessagingSettings
public Team withMessagingSettings(TeamMessagingSettings messagingSettings)
-
getSpecialization
public Optional<TeamSpecialization> getSpecialization()
-
withSpecialization
public Team withSpecialization(TeamSpecialization specialization)
-
getSummary
public Optional<TeamSummary> getSummary()
-
withSummary
public Team withSummary(TeamSummary summary)
-
getVisibility
public Optional<TeamVisibilityType> getVisibility()
-
withVisibility
public Team withVisibility(TeamVisibilityType visibility)
-
withUnmappedField
public Team withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getAllChannels
public ChannelCollectionRequest getAllChannels()
-
getChannels
public ChannelCollectionRequest getChannels()
-
getGroup
public GroupRequest getGroup()
-
getIncomingChannels
public ChannelCollectionRequest getIncomingChannels()
-
getInstalledApps
public TeamsAppInstallationCollectionRequest getInstalledApps()
-
getMembers
public ConversationMemberCollectionRequest getMembers()
-
getOperations
public TeamsAsyncOperationCollectionRequest getOperations()
-
getPermissionGrants
public ResourceSpecificPermissionGrantCollectionRequest getPermissionGrants()
-
getPhoto
public ProfilePhotoRequest getPhoto()
-
getPrimaryChannel
public ChannelRequest getPrimaryChannel()
-
getTags
public TeamworkTagCollectionRequest getTags()
-
getTemplate
public TeamsTemplateRequest getTemplate()
-
getSchedule
public ScheduleRequest getSchedule()
-
withInstalledApps
public Team withInstalledApps(List<TeamsAppInstallation> installedApps)
-
withMembers
public Team withMembers(List<ConversationMember> members)
-
withOperations
public Team withOperations(List<TeamsAsyncOperation> operations)
-
withPermissionGrants
public Team withPermissionGrants(List<ResourceSpecificPermissionGrant> permissionGrants)
-
withPhoto
public Team withPhoto(ProfilePhoto photo)
-
withTags
public Team withTags(List<TeamworkTag> tags)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public Team patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public Team put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
archive
public com.github.davidmoten.odata.client.ActionRequestNoReturn archive(Boolean shouldSetSpoSiteReadOnlyForMembers)
-
unarchive
public com.github.davidmoten.odata.client.ActionRequestNoReturn unarchive()
-
clone
public com.github.davidmoten.odata.client.ActionRequestNoReturn clone(String displayName, String description, String mailNickname, String classification, TeamVisibilityType visibility, ClonableTeamParts partsToClone)
-
completeMigration
public com.github.davidmoten.odata.client.ActionRequestNoReturn completeMigration()
-
sendActivityNotification
public com.github.davidmoten.odata.client.ActionRequestNoReturn sendActivityNotification(TeamworkActivityTopic topic, String activityType, Long chainId, ItemBody previewText, List<KeyValuePair> templateParameters, TeamworkNotificationRecipient recipient)
-
-