Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RubricCriterionType" /> class.
 /// </summary>
 /// <param name="RubricCriterionId">RubricCriterionId (required).</param>
 /// <param name="Category">Model Primitive Datatype &#x3D; NormalizedString.</param>
 /// <param name="Description">Model Primitive Datatype &#x3D; String.</param>
 /// <param name="Weight">Model Primitive Datatype &#x3D; Float.</param>
 /// <param name="Position">Model Primitive Datatype &#x3D; Integer.</param>
 /// <param name="RubricId">RubricId.</param>
 public RubricCriterionType(GUIDType RubricCriterionId = null, string Category = null, string Description = null, float?Weight = null, int?Position = null, GUIDType RubricId = null)
 {
     // to ensure "RubricCriterionId" is required (not null)
     if (RubricCriterionId == null)
     {
         throw new InvalidDataException("RubricCriterionId is a required property for RubricCriterionType and cannot be null");
     }
     else
     {
         this.RubricCriterionId = RubricCriterionId;
     }
     this.Category    = Category;
     this.Description = Description;
     this.Weight      = Weight;
     this.Position    = Position;
     this.RubricId    = RubricId;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="COMPETENCY_RELATIONSHIP_TYPE" /> class.
 /// </summary>
 /// <param name="CompetencyRelationshipGUID">CompetencyRelationshipGUID (required).</param>
 /// <param name="COMPETENCY_RELATIONSHIP_TYPE">CompetencyRelationshipType (required).</param>
 /// <param name="CompetencyFrom">CompetencyFrom (required).</param>
 /// <param name="CompetencyTo">CompetencyTo (required).</param>
 /// <param name="SequenceNumber">Model Primitive Datatype &#x3D; Integer (required).</param>
 /// <param name="Relationship">Relationship.</param>
 public CompetencyRelationshipType(GUIDType CompetencyRelationshipGUID = null, string COMPETENCY_RELATIONSHIP_TYPE = null, GUIDType CompetencyFrom = null, GUIDType CompetencyTo = null, int?SequenceNumber = null, List <GUIDRefType> Relationship = null)
 {
     // to ensure "CompetencyRelationshipGUID" is required (not null)
     if (CompetencyRelationshipGUID == null)
     {
         throw new InvalidDataException("CompetencyRelationshipGUID is a required property for CompetencyRelationshipType and cannot be null");
     }
     else
     {
         this.CompetencyRelationshipGUID = CompetencyRelationshipGUID;
     }
     // to ensure "CompetencyRelationshipType" is required (not null)
     if (this.COMPETENCY_RELATIONSHIP_TYPE == null)
     {
         throw new InvalidDataException("CompetencyRelationshipType is a required property for CompetencyRelationshipType and cannot be null");
     }
     else
     {
         this.COMPETENCY_RELATIONSHIP_TYPE = COMPETENCY_RELATIONSHIP_TYPE;
     }
     // to ensure "CompetencyFrom" is required (not null)
     if (CompetencyFrom == null)
     {
         throw new InvalidDataException("CompetencyFrom is a required property for CompetencyRelationshipType and cannot be null");
     }
     else
     {
         this.CompetencyFrom = CompetencyFrom;
     }
     // to ensure "CompetencyTo" is required (not null)
     if (CompetencyTo == null)
     {
         throw new InvalidDataException("CompetencyTo is a required property for CompetencyRelationshipType and cannot be null");
     }
     else
     {
         this.CompetencyTo = CompetencyTo;
     }
     // to ensure "SequenceNumber" is required (not null)
     if (SequenceNumber == null)
     {
         throw new InvalidDataException("SequenceNumber is a required property for CompetencyRelationshipType and cannot be null");
     }
     else
     {
         this.SequenceNumber = SequenceNumber;
     }
     this.Relationship = Relationship;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RubricCriterionLevelType" /> class.
 /// </summary>
 /// <param name="RubricCriterionLevel">RubricCriterionLevel (required).</param>
 /// <param name="Description">Model Primitive Datatype &#x3D; String.</param>
 /// <param name="Quality">Model Primitive Datatype &#x3D; NormalizedString.</param>
 /// <param name="Score">Model Primitive Datatype &#x3D; Float.</param>
 /// <param name="Feedback">Model Primitive Datatype &#x3D; String.</param>
 /// <param name="Position">Model Primitive Datatype &#x3D; Integer.</param>
 /// <param name="RubricCriterionId">RubricCriterionId.</param>
 public RubricCriterionLevelType(GUIDType RubricCriterionLevel = null, string Description = null, string Quality = null, float?Score = null, string Feedback = null, int?Position = null, GUIDType RubricCriterionId = null)
 {
     // to ensure "RubricCriterionLevel" is required (not null)
     if (RubricCriterionLevel == null)
     {
         throw new InvalidDataException("RubricCriterionLevel is a required property for RubricCriterionLevelType and cannot be null");
     }
     else
     {
         this.RubricCriterionLevel = RubricCriterionLevel;
     }
     this.Description       = Description;
     this.Quality           = Quality;
     this.Score             = Score;
     this.Feedback          = Feedback;
     this.Position          = Position;
     this.RubricCriterionId = RubricCriterionId;
 }