Class WorkHoursAndLocationsSetting

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

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

    • WorkHoursAndLocationsSetting

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

    • createFromDiscriminatorValue

      @Nonnull public static WorkHoursAndLocationsSetting 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 WorkHoursAndLocationsSetting
    • 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>>
    • getMaxSharedWorkLocationDetails

      @Nullable public MaxWorkLocationDetails getMaxSharedWorkLocationDetails()
      Gets the maxSharedWorkLocationDetails property value. The maxSharedWorkLocationDetails property
      Returns:
      a MaxWorkLocationDetails
    • getOccurrences

      @Nullable public List<WorkPlanOccurrence> getOccurrences()
      Gets the occurrences property value. Collection of work plan occurrences.
      Returns:
      a List<WorkPlanOccurrence>
    • getRecurrences

      @Nullable public List<WorkPlanRecurrence> getRecurrences()
      Gets the recurrences property value. Collection of recurring work plans defined by the user.
      Returns:
      a List<WorkPlanRecurrence>
    • 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
    • setMaxSharedWorkLocationDetails

      public void setMaxSharedWorkLocationDetails(@Nullable MaxWorkLocationDetails value)
      Sets the maxSharedWorkLocationDetails property value. The maxSharedWorkLocationDetails property
      Parameters:
      value - Value to set for the maxSharedWorkLocationDetails property.
    • setOccurrences

      public void setOccurrences(@Nullable List<WorkPlanOccurrence> value)
      Sets the occurrences property value. Collection of work plan occurrences.
      Parameters:
      value - Value to set for the occurrences property.
    • setRecurrences

      public void setRecurrences(@Nullable List<WorkPlanRecurrence> value)
      Sets the recurrences property value. Collection of recurring work plans defined by the user.
      Parameters:
      value - Value to set for the recurrences property.