Class CustomTrainingSetting

java.lang.Object
com.microsoft.graph.models.TrainingSetting
com.microsoft.graph.models.CustomTrainingSetting
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class CustomTrainingSetting extends TrainingSetting implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Custom Training Setting.
  • Field Details

    • assignedTo

      @SerializedName(value="assignedTo", alternate="AssignedTo") @Expose @Nullable public List<TrainingAssignedTo> assignedTo
      The Assigned To. A user collection that specifies to whom the training should be assigned. Possible values are: none, allUsers, clickedPayload, compromised, reportedPhish, readButNotClicked, didNothing, unknownFutureValue.
    • description

      @SerializedName(value="description", alternate="Description") @Expose @Nullable public String description
      The Description. The description of the custom training setting.
    • displayName

      @SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayName
      The Display Name. The display name of the custom training setting.
    • durationInMinutes

      @SerializedName(value="durationInMinutes", alternate="DurationInMinutes") @Expose @Nullable public Integer durationInMinutes
      The Duration In Minutes. Training duration.
    • url

      @SerializedName(value="url", alternate="Url") @Expose @Nullable public String url
      The Url. The training URL.
  • Constructor Details

    • CustomTrainingSetting

      public CustomTrainingSetting()
  • Method Details

    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class TrainingSetting
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to