Class MicrosoftGraphTeamInner

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphTeamInner

public final class MicrosoftGraphTeamInner extends MicrosoftGraphEntity
team.
  • Constructor Details

    • MicrosoftGraphTeamInner

      public MicrosoftGraphTeamInner()
      Creates an instance of MicrosoftGraphTeamInner class.
  • Method Details

    • classification

      public String classification()
      Get the classification property: An optional label. Typically describes the data or business sensitivity of the team. Must match one of a pre-configured set in the tenant's directory.
      Returns:
      the classification value.
    • withClassification

      public MicrosoftGraphTeamInner withClassification(String classification)
      Set the classification property: An optional label. Typically describes the data or business sensitivity of the team. Must match one of a pre-configured set in the tenant's directory.
      Parameters:
      classification - the classification value to set.
      Returns:
      the MicrosoftGraphTeamInner object itself.
    • description

      public String description()
      Get the description property: An optional description for the team.
      Returns:
      the description value.
    • withDescription

      public MicrosoftGraphTeamInner withDescription(String description)
      Set the description property: An optional description for the team.
      Parameters:
      description - the description value to set.
      Returns:
      the MicrosoftGraphTeamInner object itself.
    • displayName

      public String displayName()
      Get the displayName property: The name of the team.
      Returns:
      the displayName value.
    • withDisplayName

      public MicrosoftGraphTeamInner withDisplayName(String displayName)
      Set the displayName property: The name of the team.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the MicrosoftGraphTeamInner object itself.
    • funSettings

      public MicrosoftGraphTeamFunSettings funSettings()
      Get the funSettings property: teamFunSettings.
      Returns:
      the funSettings value.
    • withFunSettings

      public MicrosoftGraphTeamInner withFunSettings(MicrosoftGraphTeamFunSettings funSettings)
      Set the funSettings property: teamFunSettings.
      Parameters:
      funSettings - the funSettings value to set.
      Returns:
      the MicrosoftGraphTeamInner object itself.
    • guestSettings

      public MicrosoftGraphTeamGuestSettings guestSettings()
      Get the guestSettings property: teamGuestSettings.
      Returns:
      the guestSettings value.
    • withGuestSettings

      public MicrosoftGraphTeamInner withGuestSettings(MicrosoftGraphTeamGuestSettings guestSettings)
      Set the guestSettings property: teamGuestSettings.
      Parameters:
      guestSettings - the guestSettings value to set.
      Returns:
      the MicrosoftGraphTeamInner object itself.
    • internalId

      public String internalId()
      Get the internalId property: A unique ID for the team that has been used in a few places such as the audit log/Office 365 Management Activity API.
      Returns:
      the internalId value.
    • withInternalId

      public MicrosoftGraphTeamInner withInternalId(String internalId)
      Set the internalId property: A unique ID for the team that has been used in a few places such as the audit log/Office 365 Management Activity API.
      Parameters:
      internalId - the internalId value to set.
      Returns:
      the MicrosoftGraphTeamInner object itself.
    • isArchived

      public Boolean isArchived()
      Get the isArchived property: Whether this team is in read-only mode.
      Returns:
      the isArchived value.
    • withIsArchived

      public MicrosoftGraphTeamInner withIsArchived(Boolean isArchived)
      Set the isArchived property: Whether this team is in read-only mode.
      Parameters:
      isArchived - the isArchived value to set.
      Returns:
      the MicrosoftGraphTeamInner object itself.
    • memberSettings

      public MicrosoftGraphTeamMemberSettings memberSettings()
      Get the memberSettings property: teamMemberSettings.
      Returns:
      the memberSettings value.
    • withMemberSettings

      public MicrosoftGraphTeamInner withMemberSettings(MicrosoftGraphTeamMemberSettings memberSettings)
      Set the memberSettings property: teamMemberSettings.
      Parameters:
      memberSettings - the memberSettings value to set.
      Returns:
      the MicrosoftGraphTeamInner object itself.
    • messagingSettings

      public MicrosoftGraphTeamMessagingSettings messagingSettings()
      Get the messagingSettings property: teamMessagingSettings.
      Returns:
      the messagingSettings value.
    • withMessagingSettings

      public MicrosoftGraphTeamInner withMessagingSettings(MicrosoftGraphTeamMessagingSettings messagingSettings)
      Set the messagingSettings property: teamMessagingSettings.
      Parameters:
      messagingSettings - the messagingSettings value to set.
      Returns:
      the MicrosoftGraphTeamInner object itself.
    • specialization

      public MicrosoftGraphTeamSpecialization specialization()
      Get the specialization property: teamSpecialization.
      Returns:
      the specialization value.
    • withSpecialization

      public MicrosoftGraphTeamInner withSpecialization(MicrosoftGraphTeamSpecialization specialization)
      Set the specialization property: teamSpecialization.
      Parameters:
      specialization - the specialization value to set.
      Returns:
      the MicrosoftGraphTeamInner object itself.
    • visibility

      public MicrosoftGraphTeamVisibilityType visibility()
      Get the visibility property: teamVisibilityType.
      Returns:
      the visibility value.
    • withVisibility

      public MicrosoftGraphTeamInner withVisibility(MicrosoftGraphTeamVisibilityType visibility)
      Set the visibility property: teamVisibilityType.
      Parameters:
      visibility - the visibility value to set.
      Returns:
      the MicrosoftGraphTeamInner object itself.
    • webUrl

      public String webUrl()
      Get the webUrl property: A hyperlink that will go to the team in the Microsoft Teams client. This is the URL that you get when you right-click a team in the Microsoft Teams client and select Get link to team. This URL should be treated as an opaque blob, and not parsed.
      Returns:
      the webUrl value.
    • withWebUrl

      public MicrosoftGraphTeamInner withWebUrl(String webUrl)
      Set the webUrl property: A hyperlink that will go to the team in the Microsoft Teams client. This is the URL that you get when you right-click a team in the Microsoft Teams client and select Get link to team. This URL should be treated as an opaque blob, and not parsed.
      Parameters:
      webUrl - the webUrl value to set.
      Returns:
      the MicrosoftGraphTeamInner object itself.
    • schedule

      public MicrosoftGraphSchedule schedule()
      Get the schedule property: schedule.
      Returns:
      the schedule value.
    • withSchedule

      public MicrosoftGraphTeamInner withSchedule(MicrosoftGraphSchedule schedule)
      Set the schedule property: schedule.
      Parameters:
      schedule - the schedule value to set.
      Returns:
      the MicrosoftGraphTeamInner object itself.
    • channels

      public List<MicrosoftGraphChannel> channels()
      Get the channels property: The collection of channels & messages associated with the team.
      Returns:
      the channels value.
    • withChannels

      public MicrosoftGraphTeamInner withChannels(List<MicrosoftGraphChannel> channels)
      Set the channels property: The collection of channels & messages associated with the team.
      Parameters:
      channels - the channels value to set.
      Returns:
      the MicrosoftGraphTeamInner object itself.
    • group

      public MicrosoftGraphGroupInner group()
      Get the group property: group

      Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.

      Returns:
      the group value.
    • withGroup

      Set the group property: group

      Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.

      Parameters:
      group - the group value to set.
      Returns:
      the MicrosoftGraphTeamInner object itself.
    • installedApps

      public List<MicrosoftGraphTeamsAppInstallation> installedApps()
      Get the installedApps property: The apps installed in this team.
      Returns:
      the installedApps value.
    • withInstalledApps

      public MicrosoftGraphTeamInner withInstalledApps(List<MicrosoftGraphTeamsAppInstallation> installedApps)
      Set the installedApps property: The apps installed in this team.
      Parameters:
      installedApps - the installedApps value to set.
      Returns:
      the MicrosoftGraphTeamInner object itself.
    • members

      Get the members property: Members and owners of the team.
      Returns:
      the members value.
    • withMembers

      Set the members property: Members and owners of the team.
      Parameters:
      members - the members value to set.
      Returns:
      the MicrosoftGraphTeamInner object itself.
    • operations

      Get the operations property: The async operations that ran or are running on this team.
      Returns:
      the operations value.
    • withOperations

      public MicrosoftGraphTeamInner withOperations(List<MicrosoftGraphTeamsAsyncOperation> operations)
      Set the operations property: The async operations that ran or are running on this team.
      Parameters:
      operations - the operations value to set.
      Returns:
      the MicrosoftGraphTeamInner object itself.
    • primaryChannel

      public MicrosoftGraphChannel primaryChannel()
      Get the primaryChannel property: channel.
      Returns:
      the primaryChannel value.
    • withPrimaryChannel

      public MicrosoftGraphTeamInner withPrimaryChannel(MicrosoftGraphChannel primaryChannel)
      Set the primaryChannel property: channel.
      Parameters:
      primaryChannel - the primaryChannel value to set.
      Returns:
      the MicrosoftGraphTeamInner object itself.
    • template

      public MicrosoftGraphTeamsTemplate template()
      Get the template property: teamsTemplate.
      Returns:
      the template value.
    • withTemplate

      public MicrosoftGraphTeamInner withTemplate(MicrosoftGraphTeamsTemplate template)
      Set the template property: teamsTemplate.
      Parameters:
      template - the template value to set.
      Returns:
      the MicrosoftGraphTeamInner object itself.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: team.
      Overrides:
      additionalProperties in class MicrosoftGraphEntity
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphTeamInner withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: team.
      Overrides:
      withAdditionalProperties in class MicrosoftGraphEntity
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphTeamInner object itself.
    • withId

      public MicrosoftGraphTeamInner withId(String id)
      Set the id property: Read-only.
      Overrides:
      withId in class MicrosoftGraphEntity
      Parameters:
      id - the id value to set.
      Returns:
      the MicrosoftGraphEntity object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class MicrosoftGraphEntity
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.