/// <summary> /// Initializes a new instance of the <see cref="JsonApiRelationshipsLinksInternal" /> class. /// </summary> /// <param name="Links">Links (required).</param> public JsonApiRelationshipsLinksInternal(JsonApiLinksRelated Links = null) { // to ensure "Links" is required (not null) if (Links == null) { throw new InvalidDataException("Links is a required property for JsonApiRelationshipsLinksInternal and cannot be null"); } else { this.Links = Links; } }
/// <summary> /// Initializes a new instance of the <see cref="StorageRelationshipsTarget" /> class. /// </summary> /// <param name="Links">Links (required).</param> /// <param name="Data">Data.</param> public StorageRelationshipsTarget(JsonApiLinksRelated Links = null, StorageRelationshipsTargetData Data = null) { // to ensure "Links" is required (not null) if (Links == null) { throw new InvalidDataException("Links is a required property for StorageRelationshipsTarget and cannot be null"); } else { this.Links = Links; } this.Data = Data; }
/// <summary> /// Initializes a new instance of the <see cref="JsonApiRelationshipsLinksInternalResource" /> class. /// </summary> /// <param name="Links">Links (required).</param> /// <param name="Data">Data (required).</param> public JsonApiRelationshipsLinksInternalResource(JsonApiLinksRelated Links = null, JsonApiTypeId Data = null) { // to ensure "Links" is required (not null) if (Links == null) { throw new InvalidDataException("Links is a required property for JsonApiRelationshipsLinksInternalResource and cannot be null"); } else { this.Links = Links; } // to ensure "Data" is required (not null) if (Data == null) { throw new InvalidDataException("Data is a required property for JsonApiRelationshipsLinksInternalResource and cannot be null"); } else { this.Data = Data; } }