/// <summary> /// Initializes a new instance of the <see cref="CFAssociationType" /> class. /// </summary> /// <param name="Identifier">Identifier (required).</param> /// <param name="AssociationType">AssociationType (required).</param> /// <param name="OriginNodeIdentifier">OriginNodeIdentifier (required).</param> /// <param name="DestinationNodeIdentifier">DestinationNodeIdentifier (required).</param> /// <param name="SequenceNumber">Model Primitive Datatype = Integer.</param> /// <param name="Relationship">Relationship.</param> /// <param name="Uri">Model Primitive Datatype = AnyURI (required).</param> /// <param name="OriginNodeURI">OriginNodeURI (required).</param> /// <param name="DestinationNodeURI">DestinationNodeURI (required).</param> /// <param name="CFAssociationGroupingIdentifier">CFAssociationGroupingIdentifier.</param> /// <param name="CFAssociationGroupingURI">CFAssociationGroupingURI.</param> /// <param name="LastChangeDateTime">Model Primitive Datatype = DateTime (required).</param> public CFAssociationType(GUIDType Identifier = null, string AssociationType = null, GUIDType OriginNodeIdentifier = null, GUIDType DestinationNodeIdentifier = null, int?SequenceNumber = null, List <GUIDRefType> Relationship = null, string Uri = null, LinkURIType OriginNodeURI = null, LinkURIType DestinationNodeURI = null, GUIDType CFAssociationGroupingIdentifier = null, LinkURIType CFAssociationGroupingURI = null, DateTime?LastChangeDateTime = null) { // to ensure "Identifier" is required (not null) if (Identifier == null) { throw new InvalidDataException("Identifier is a required property for CFAssociationType and cannot be null"); } else { this.Identifier = Identifier; } // to ensure "AssociationType" is required (not null) if (AssociationType == null) { throw new InvalidDataException("AssociationType is a required property for CFAssociationType and cannot be null"); } else { this.AssociationType = AssociationType; } // to ensure "OriginNodeIdentifier" is required (not null) if (OriginNodeIdentifier == null) { throw new InvalidDataException("OriginNodeIdentifier is a required property for CFAssociationType and cannot be null"); } else { this.OriginNodeIdentifier = OriginNodeIdentifier; } // to ensure "DestinationNodeIdentifier" is required (not null) if (DestinationNodeIdentifier == null) { throw new InvalidDataException("DestinationNodeIdentifier is a required property for CFAssociationType and cannot be null"); } else { this.DestinationNodeIdentifier = DestinationNodeIdentifier; } // to ensure "Uri" is required (not null) if (Uri == null) { throw new InvalidDataException("Uri is a required property for CFAssociationType and cannot be null"); } else { this.Uri = Uri; } // to ensure "OriginNodeURI" is required (not null) if (OriginNodeURI == null) { throw new InvalidDataException("OriginNodeURI is a required property for CFAssociationType and cannot be null"); } else { this.OriginNodeURI = OriginNodeURI; } // to ensure "DestinationNodeURI" is required (not null) if (DestinationNodeURI == null) { throw new InvalidDataException("DestinationNodeURI is a required property for CFAssociationType and cannot be null"); } else { this.DestinationNodeURI = DestinationNodeURI; } // to ensure "LastChangeDateTime" is required (not null) if (LastChangeDateTime == null) { throw new InvalidDataException("LastChangeDateTime is a required property for CFAssociationType and cannot be null"); } else { this.LastChangeDateTime = LastChangeDateTime; } this.SequenceNumber = SequenceNumber; this.Relationship = Relationship; this.CFAssociationGroupingIdentifier = CFAssociationGroupingIdentifier; this.CFAssociationGroupingURI = CFAssociationGroupingURI; }
/// <summary> /// Initializes a new instance of the <see cref="CFDocumentType" /> class. /// </summary> /// <param name="Identifier">Identifier (required).</param> /// <param name="Uri">Model Primitive Datatype = AnyURI (required).</param> /// <param name="Creator">Model Primitive Datatype = NormalizedString (required).</param> /// <param name="Title">Model Primitive Datatype = NormalizedString (required).</param> /// <param name="LastChangeDateTime">Model Primitive Datatype = DateTime (required).</param> /// <param name="OfficialSourceURL">OfficialSourceURL.</param> /// <param name="Publisher">Model Primitive Datatype = NormalizedString.</param> /// <param name="Description">Model Primitive Datatype = NormalizedString.</param> /// <param name="Subject">Model Primitive Datatype = NormalizedString.</param> /// <param name="SubjectURI">SubjectURI.</param> /// <param name="Language">Model Primitive Datatype = Language.</param> /// <param name="Version">Model Primitive Datatype = NormalizedString.</param> /// <param name="AdoptionStatus">Model Primitive Datatype = NormalizedString.</param> /// <param name="StatusStartDate">Model Primitive Datatype = Date.</param> /// <param name="StatusEndDate">Model Primitive Datatype = Date.</param> /// <param name="LicenseURI">LicenseURI.</param> /// <param name="Notes">Model Primitive Datatype = String.</param> /// <param name="CFPackageURI">Model Primitive Datatype = AnyURI (required).</param> public CFDocumentType(GUIDType Identifier = null, string Uri = null, string Creator = null, string Title = null, DateTime?LastChangeDateTime = null, URLType OfficialSourceURL = null, string Publisher = null, string Description = null, List <string> Subject = null, LinkURIType SubjectURI = null, string Language = null, string Version = null, string AdoptionStatus = null, DateTime?StatusStartDate = null, DateTime?StatusEndDate = null, LinkURIType LicenseURI = null, string Notes = null, string CFPackageURI = null) { // to ensure "Identifier" is required (not null) if (Identifier == null) { throw new InvalidDataException("Identifier is a required property for CFDocumentType and cannot be null"); } else { this.Identifier = Identifier; } // to ensure "Uri" is required (not null) if (Uri == null) { throw new InvalidDataException("Uri is a required property for CFDocumentType and cannot be null"); } else { this.Uri = Uri; } // to ensure "Creator" is required (not null) if (Creator == null) { throw new InvalidDataException("Creator is a required property for CFDocumentType and cannot be null"); } else { this.Creator = Creator; } // to ensure "Title" is required (not null) if (Title == null) { throw new InvalidDataException("Title is a required property for CFDocumentType and cannot be null"); } else { this.Title = Title; } // to ensure "LastChangeDateTime" is required (not null) if (LastChangeDateTime == null) { throw new InvalidDataException("LastChangeDateTime is a required property for CFDocumentType and cannot be null"); } else { this.LastChangeDateTime = LastChangeDateTime; } // to ensure "CFPackageURI" is required (not null) if (CFPackageURI == null) { throw new InvalidDataException("CFPackageURI is a required property for CFDocumentType and cannot be null"); } else { this.CFPackageURI = CFPackageURI; } this.OfficialSourceURL = OfficialSourceURL; this.Publisher = Publisher; this.Description = Description; this.Subject = Subject; this.SubjectURI = SubjectURI; this.Language = Language; this.Version = Version; this.AdoptionStatus = AdoptionStatus; this.StatusStartDate = StatusStartDate; this.StatusEndDate = StatusEndDate; this.LicenseURI = LicenseURI; this.Notes = Notes; }
/// <summary> /// Initializes a new instance of the <see cref="Models.CFItemType" /> class. /// </summary> /// <param name="Identifier">Identifier (required).</param> /// <param name="CFDocumentURI">Model Primitive Datatype = AnyURI (required).</param> /// <param name="OrganizationCompetencyCode">Model Primitive Datatype = NormalizedString (required).</param> /// <param name="CompetencyEffectiveDate">Model Primitive Datatype = DateTime.</param> /// <param name="CompetencyTerminationDate">Model Primitive Datatype = DateTime.</param> /// <param name="FullStatement">Model Primitive Datatype = NormalizedString.</param> /// <param name="CompetencyLabel">Model Primitive Datatype = NormalizedString.</param> /// <param name="CFItemType">Model Primitive Datatype = NormalizedString.</param> /// <param name="CompetencyAssociationSet">CompetencyAssociationSet.</param> /// <param name="CompetencyReferenceHierarchy">CompetencyReferenceHierarchy.</param> /// <param name="Uri">Model Primitive Datatype = AnyURI (required).</param> /// <param name="HumanCodingScheme">Model Primitive Datatype = NormalizedString.</param> /// <param name="ListEnumeration">Model Primitive Datatype = NormalizedString.</param> /// <param name="AbbreviatedStatement">Model Primitive Datatype = NormalizedString.</param> /// <param name="ConceptKeywords">Model Primitive Datatype = NormalizedString.</param> /// <param name="ConceptKeywordsURI">ConceptKeywordsURI.</param> /// <param name="Notes">Model Primitive Datatype = String.</param> /// <param name="Language">Model Primitive Datatype = Language.</param> /// <param name="EducationLevel">Model Primitive Datatype = NormalizedString.</param> /// <param name="CFItemTypeURI">CFItemTypeURI.</param> /// <param name="License">Model Primitive Datatype = NormalizedString.</param> /// <param name="LicenseURI">LicenseURI.</param> /// <param name="LastChangeDateTime">Model Primitive Datatype = DateTime (required).</param> /// <param name="CFItemAssociationURI">Model Primitive Datatype = AnyURI (required).</param> public CFItemType(GUIDType Identifier = null, string CFDocumentURI = null, string OrganizationCompetencyCode = null, DateTime?CompetencyEffectiveDate = null, DateTime?CompetencyTerminationDate = null, string FullStatement = null, string CompetencyLabel = null, string CFItemType = null, CFAssociationSetType CompetencyAssociationSet = null, List <GUIDType> CompetencyReferenceHierarchy = null, string Uri = null, string HumanCodingScheme = null, string ListEnumeration = null, string AbbreviatedStatement = null, List <string> ConceptKeywords = null, LinkURIType ConceptKeywordsURI = null, string Notes = null, string Language = null, List <string> EducationLevel = null, LinkURIType CFItemTypeURI = null, string License = null, LinkURIType LicenseURI = null, DateTime?LastChangeDateTime = null, string CFItemAssociationURI = null) { // to ensure "Identifier" is required (not null) if (Identifier == null) { throw new InvalidDataException("Identifier is a required property for CFItemType and cannot be null"); } else { this.Identifier = Identifier; } // to ensure "CFDocumentURI" is required (not null) if (CFDocumentURI == null) { throw new InvalidDataException("CFDocumentURI is a required property for CFItemType and cannot be null"); } else { this.CFDocumentURI = CFDocumentURI; } // to ensure "OrganizationCompetencyCode" is required (not null) if (OrganizationCompetencyCode == null) { throw new InvalidDataException("OrganizationCompetencyCode is a required property for CFItemType and cannot be null"); } else { this.OrganizationCompetencyCode = OrganizationCompetencyCode; } // to ensure "Uri" is required (not null) if (Uri == null) { throw new InvalidDataException("Uri is a required property for CFItemType and cannot be null"); } else { this.Uri = Uri; } // to ensure "LastChangeDateTime" is required (not null) if (LastChangeDateTime == null) { throw new InvalidDataException("LastChangeDateTime is a required property for CFItemType and cannot be null"); } else { this.LastChangeDateTime = LastChangeDateTime; } // to ensure "CFItemAssociationURI" is required (not null) if (CFItemAssociationURI == null) { throw new InvalidDataException("CFItemAssociationURI is a required property for CFItemType and cannot be null"); } else { this.CFItemAssociationURI = CFItemAssociationURI; } this.CompetencyEffectiveDate = CompetencyEffectiveDate; this.CompetencyTerminationDate = CompetencyTerminationDate; this.FullStatement = FullStatement; this.CompetencyLabel = CompetencyLabel; this.CFItemTypeType = CFItemType; this.CompetencyAssociationSet = CompetencyAssociationSet; this.CompetencyReferenceHierarchy = CompetencyReferenceHierarchy; this.HumanCodingScheme = HumanCodingScheme; this.ListEnumeration = ListEnumeration; this.AbbreviatedStatement = AbbreviatedStatement; this.ConceptKeywords = ConceptKeywords; this.ConceptKeywordsURI = ConceptKeywordsURI; this.Notes = Notes; this.Language = Language; this.EducationLevel = EducationLevel; this.CFItemTypeURI = CFItemTypeURI; this.License = License; this.LicenseURI = LicenseURI; }