Class UserTeamwork

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.UserTeamwork
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class UserTeamwork extends Entity implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • UserTeamwork

      public UserTeamwork()
      Instantiates a new UserTeamwork and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static UserTeamwork createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a UserTeamwork
    • getAssociatedTeams

      @Nullable public List<AssociatedTeamInfo> getAssociatedTeams()
      Gets the associatedTeams property value. The list of associatedTeamInfo objects that a user is associated with.
      Returns:
      a List<AssociatedTeamInfo>
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getInstalledApps

      @Nullable public List<UserScopeTeamsAppInstallation> getInstalledApps()
      Gets the installedApps property value. The apps installed in the personal scope of this user.
      Returns:
      a List<UserScopeTeamsAppInstallation>
    • getLocale

      @Nullable public String getLocale()
      Gets the locale property value. Represents the location that a user selected in Microsoft Teams and doesn't follow the Office's locale setting. A user's locale is represented by their preferred language and country or region. For example, en-us. The language component follows two-letter codes as defined in ISO 639-1, and the country component follows two-letter codes as defined in ISO 3166-1 alpha-2.
      Returns:
      a String
    • getRegion

      @Nullable public String getRegion()
      Gets the region property value. Represents the region of the organization or the user. For users with multigeo licenses, the property contains the user's region (if available). For users without multigeo licenses, the property contains the organization's region.The region value can be any region supported by the Teams payload. The possible values are: Americas, Europe and MiddleEast, Asia Pacific, UAE, Australia, Brazil, Canada, Switzerland, Germany, France, India, Japan, South Korea, Norway, Singapore, United Kingdom, South Africa, Sweden, Qatar, Poland, Italy, Israel, Spain, Mexico, USGov Community Cloud, USGov Community Cloud High, USGov Department of Defense, and China.
      Returns:
      a String
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAssociatedTeams

      public void setAssociatedTeams(@Nullable List<AssociatedTeamInfo> value)
      Sets the associatedTeams property value. The list of associatedTeamInfo objects that a user is associated with.
      Parameters:
      value - Value to set for the associatedTeams property.
    • setInstalledApps

      public void setInstalledApps(@Nullable List<UserScopeTeamsAppInstallation> value)
      Sets the installedApps property value. The apps installed in the personal scope of this user.
      Parameters:
      value - Value to set for the installedApps property.
    • setLocale

      public void setLocale(@Nullable String value)
      Sets the locale property value. Represents the location that a user selected in Microsoft Teams and doesn't follow the Office's locale setting. A user's locale is represented by their preferred language and country or region. For example, en-us. The language component follows two-letter codes as defined in ISO 639-1, and the country component follows two-letter codes as defined in ISO 3166-1 alpha-2.
      Parameters:
      value - Value to set for the locale property.
    • setRegion

      public void setRegion(@Nullable String value)
      Sets the region property value. Represents the region of the organization or the user. For users with multigeo licenses, the property contains the user's region (if available). For users without multigeo licenses, the property contains the organization's region.The region value can be any region supported by the Teams payload. The possible values are: Americas, Europe and MiddleEast, Asia Pacific, UAE, Australia, Brazil, Canada, Switzerland, Germany, France, India, Japan, South Korea, Norway, Singapore, United Kingdom, South Africa, Sweden, Qatar, Poland, Italy, Israel, Spain, Mexico, USGov Community Cloud, USGov Community Cloud High, USGov Department of Defense, and China.
      Parameters:
      value - Value to set for the region property.