/// <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="CreateStorageDataRelationshipsTarget" /> class. /// </summary> /// <param name="Data">Data.</param> public CreateStorageDataRelationshipsTarget(StorageRelationshipsTargetData Data = null) { this.Data = Data; }