Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • Hotfix/3115-userReportingEmpty
  • Hotfix/3115-userReportingEmpty2
  • Issue/2432-publicationKpi
  • Issue/2446-addingResponsibleOrganization
  • Issue/2492-respOrg
  • Issue/2627-addPidRecord
  • Issue/2666-adminCronjobs
  • Issue/2666-adminCronjobs-theSequal
  • Issue/2668-graphDeployer
  • Issue/2672-fixSfbPidPointing
  • Issue/2769-migrateCron
  • Issue/2782-correctUsageRights
  • Issue/2847-reporting
  • Issue/2881-messageController
  • Issue/2944-gdShenanigans
  • Issue/2981-dataPubInDb
  • Issue/2982-kpiDataPub
  • Issue/3011-maintenanceMode
  • Issue/3043-DataStorageNrwResource
  • Issue/3142-kpiGenerator
  • dev
  • main
  • test-linux-pipelines
  • v1.1.0
  • v1.2.0
  • v1.2.1
  • v1.3.0
  • v1.3.1
  • v1.3.2
  • v1.3.3
  • v1.4.0
  • v1.5.0
  • v1.6.0
  • v1.7.0
  • v1.8.0
  • v1.9.0
  • v1.9.1
  • v1.9.10
  • v1.9.2
  • v1.9.3
  • v1.9.4
  • v1.9.5
  • v1.9.6
  • v1.9.7
  • v1.9.8
  • v1.9.9
46 results

Target

Select target project
  • coscine/backend/libraries/apiclient
1 result
Select Git revision
  • Hotfix/3115-userReportingEmpty
  • Hotfix/3115-userReportingEmpty2
  • Issue/2432-publicationKpi
  • Issue/2446-addingResponsibleOrganization
  • Issue/2492-respOrg
  • Issue/2627-addPidRecord
  • Issue/2666-adminCronjobs
  • Issue/2666-adminCronjobs-theSequal
  • Issue/2668-graphDeployer
  • Issue/2672-fixSfbPidPointing
  • Issue/2769-migrateCron
  • Issue/2782-correctUsageRights
  • Issue/2847-reporting
  • Issue/2881-messageController
  • Issue/2944-gdShenanigans
  • Issue/2981-dataPubInDb
  • Issue/2982-kpiDataPub
  • Issue/3011-maintenanceMode
  • Issue/3043-DataStorageNrwResource
  • Issue/3142-kpiGenerator
  • dev
  • main
  • test-linux-pipelines
  • v1.1.0
  • v1.2.0
  • v1.2.1
  • v1.3.0
  • v1.3.1
  • v1.3.2
  • v1.3.3
  • v1.4.0
  • v1.5.0
  • v1.6.0
  • v1.7.0
  • v1.8.0
  • v1.9.0
  • v1.9.1
  • v1.9.10
  • v1.9.2
  • v1.9.3
  • v1.9.4
  • v1.9.5
  • v1.9.6
  • v1.9.7
  • v1.9.8
  • v1.9.9
46 results
Show changes
/*
* Coscine Web API
*
* Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project.
*
* The version of the OpenAPI document: 2.0
* Contact: servicedesk@itc.rwth-aachen.de
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Linq;
using System.ComponentModel.DataAnnotations;
using OpenAPIDateConverter = Coscine.ApiClient.Core.Client.OpenAPIDateConverter;
namespace Coscine.ApiClient.Core.Model
{
/// <summary>
/// Represents a data transfer object (DTO) for a project publication request.
/// </summary>
[DataContract(Name = "ProjectPublicationRequestDto")]
public partial class ProjectPublicationRequestDto : IValidatableObject
{
/// <summary>
/// Initializes a new instance of the <see cref="ProjectPublicationRequestDto" /> class.
/// </summary>
/// <param name="id">Unique identifier for the project publication request..</param>
/// <param name="project">project.</param>
/// <param name="publicationServiceRorId">Identifier for the publication service used for this request..</param>
/// <param name="creator">creator.</param>
/// <param name="dateCreated">The date and time when the request was created..</param>
/// <param name="message">Optional message associated with the publication request..</param>
/// <param name="resources">Collection of the resources involved in the publication request..</param>
public ProjectPublicationRequestDto(Guid id = default(Guid), ProjectMinimalDto project = default(ProjectMinimalDto), string publicationServiceRorId = default(string), UserMinimalDto creator = default(UserMinimalDto), DateTime dateCreated = default(DateTime), string message = default(string), List<ResourceMinimalDto> resources = default(List<ResourceMinimalDto>))
{
this.Id = id;
this.Project = project;
this.PublicationServiceRorId = publicationServiceRorId;
this.Creator = creator;
this.DateCreated = dateCreated;
this.Message = message;
this.Resources = resources;
}
/// <summary>
/// Unique identifier for the project publication request.
/// </summary>
/// <value>Unique identifier for the project publication request.</value>
[DataMember(Name = "id", EmitDefaultValue = false)]
public Guid Id { get; set; }
/// <summary>
/// Gets or Sets Project
/// </summary>
[DataMember(Name = "project", EmitDefaultValue = false)]
public ProjectMinimalDto Project { get; set; }
/// <summary>
/// Identifier for the publication service used for this request.
/// </summary>
/// <value>Identifier for the publication service used for this request.</value>
[DataMember(Name = "publicationServiceRorId", EmitDefaultValue = false)]
public string PublicationServiceRorId { get; set; }
/// <summary>
/// Gets or Sets Creator
/// </summary>
[DataMember(Name = "creator", EmitDefaultValue = false)]
public UserMinimalDto Creator { get; set; }
/// <summary>
/// The date and time when the request was created.
/// </summary>
/// <value>The date and time when the request was created.</value>
[DataMember(Name = "dateCreated", EmitDefaultValue = false)]
public DateTime DateCreated { get; set; }
/// <summary>
/// Optional message associated with the publication request.
/// </summary>
/// <value>Optional message associated with the publication request.</value>
[DataMember(Name = "message", EmitDefaultValue = true)]
public string Message { get; set; }
/// <summary>
/// Collection of the resources involved in the publication request.
/// </summary>
/// <value>Collection of the resources involved in the publication request.</value>
[DataMember(Name = "resources", EmitDefaultValue = false)]
public List<ResourceMinimalDto> Resources { get; set; }
/// <summary>
/// Returns the string presentation of the object
/// </summary>
/// <returns>String presentation of the object</returns>
public override string ToString()
{
StringBuilder sb = new StringBuilder();
sb.Append("class ProjectPublicationRequestDto {\n");
sb.Append(" Id: ").Append(Id).Append("\n");
sb.Append(" Project: ").Append(Project).Append("\n");
sb.Append(" PublicationServiceRorId: ").Append(PublicationServiceRorId).Append("\n");
sb.Append(" Creator: ").Append(Creator).Append("\n");
sb.Append(" DateCreated: ").Append(DateCreated).Append("\n");
sb.Append(" Message: ").Append(Message).Append("\n");
sb.Append(" Resources: ").Append(Resources).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
/// <summary>
/// Returns the JSON string presentation of the object
/// </summary>
/// <returns>JSON string presentation of the object</returns>
public virtual string ToJson()
{
return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented);
}
/// <summary>
/// To validate all properties of the instance
/// </summary>
/// <param name="validationContext">Validation context</param>
/// <returns>Validation Result</returns>
IEnumerable<ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
}
}
}
/*
* Coscine Web API
*
* Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project.
*
* The version of the OpenAPI document: 2.0
* Contact: servicedesk@itc.rwth-aachen.de
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Linq;
using System.ComponentModel.DataAnnotations;
using OpenAPIDateConverter = Coscine.ApiClient.Core.Client.OpenAPIDateConverter;
namespace Coscine.ApiClient.Core.Model
{
/// <summary>
/// ProjectPublicationRequestDtoResponse
/// </summary>
[DataContract(Name = "ProjectPublicationRequestDtoResponse")]
public partial class ProjectPublicationRequestDtoResponse : IValidatableObject
{
/// <summary>
/// Initializes a new instance of the <see cref="ProjectPublicationRequestDtoResponse" /> class.
/// </summary>
/// <param name="data">data.</param>
/// <param name="statusCode">statusCode.</param>
/// <param name="traceId">traceId.</param>
public ProjectPublicationRequestDtoResponse(ProjectPublicationRequestDto data = default(ProjectPublicationRequestDto), int? statusCode = default(int?), string traceId = default(string))
{
this.Data = data;
this.StatusCode = statusCode;
this.TraceId = traceId;
}
/// <summary>
/// Gets or Sets Data
/// </summary>
[DataMember(Name = "data", EmitDefaultValue = false)]
public ProjectPublicationRequestDto Data { get; set; }
/// <summary>
/// Gets or Sets IsSuccess
/// </summary>
[DataMember(Name = "isSuccess", EmitDefaultValue = true)]
public bool IsSuccess { get; private set; }
/// <summary>
/// Returns false as IsSuccess should not be serialized given that it's read-only.
/// </summary>
/// <returns>false (boolean)</returns>
public bool ShouldSerializeIsSuccess()
{
return false;
}
/// <summary>
/// Gets or Sets StatusCode
/// </summary>
[DataMember(Name = "statusCode", EmitDefaultValue = true)]
public int? StatusCode { get; set; }
/// <summary>
/// Gets or Sets TraceId
/// </summary>
[DataMember(Name = "traceId", EmitDefaultValue = true)]
public string TraceId { get; set; }
/// <summary>
/// Returns the string presentation of the object
/// </summary>
/// <returns>String presentation of the object</returns>
public override string ToString()
{
StringBuilder sb = new StringBuilder();
sb.Append("class ProjectPublicationRequestDtoResponse {\n");
sb.Append(" Data: ").Append(Data).Append("\n");
sb.Append(" IsSuccess: ").Append(IsSuccess).Append("\n");
sb.Append(" StatusCode: ").Append(StatusCode).Append("\n");
sb.Append(" TraceId: ").Append(TraceId).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
/// <summary>
/// Returns the JSON string presentation of the object
/// </summary>
/// <returns>JSON string presentation of the object</returns>
public virtual string ToJson()
{
return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented);
}
/// <summary>
/// To validate all properties of the instance
/// </summary>
/// <param name="validationContext">Validation context</param>
/// <returns>Validation Result</returns>
IEnumerable<ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
}
}
}
......@@ -42,8 +42,8 @@ namespace Coscine.ApiClient.Core.Model
/// </summary>
/// <param name="displayName">The data publication service&#39;s display name. (required).</param>
/// <param name="email">The data publication service&#39;s email address. (required).</param>
/// <param name="text">The data publication service&#39;s info text..</param>
public PublicationAdvisoryServiceDto(string displayName = default(string), string email = default(string), string text = default(string))
/// <param name="description">The data publication service&#39;s description..</param>
public PublicationAdvisoryServiceDto(string displayName = default(string), string email = default(string), string description = default(string))
{
// to ensure "displayName" is required (not null)
if (displayName == null)
......@@ -57,7 +57,7 @@ namespace Coscine.ApiClient.Core.Model
throw new ArgumentNullException("email is a required property for PublicationAdvisoryServiceDto and cannot be null");
}
this.Email = email;
this.Text = text;
this.Description = description;
}
/// <summary>
......@@ -75,11 +75,11 @@ namespace Coscine.ApiClient.Core.Model
public string Email { get; set; }
/// <summary>
/// The data publication service&#39;s info text.
/// The data publication service&#39;s description.
/// </summary>
/// <value>The data publication service&#39;s info text.</value>
[DataMember(Name = "text", EmitDefaultValue = false)]
public string Text { get; set; }
/// <value>The data publication service&#39;s description.</value>
[DataMember(Name = "description", EmitDefaultValue = true)]
public string Description { get; set; }
/// <summary>
/// Returns the string presentation of the object
......@@ -91,7 +91,7 @@ namespace Coscine.ApiClient.Core.Model
sb.Append("class PublicationAdvisoryServiceDto {\n");
sb.Append(" DisplayName: ").Append(DisplayName).Append("\n");
sb.Append(" Email: ").Append(Email).Append("\n");
sb.Append(" Text: ").Append(Text).Append("\n");
sb.Append(" Description: ").Append(Description).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
......
......@@ -40,17 +40,17 @@ namespace Coscine.ApiClient.Core.Model
/// <summary>
/// Initializes a new instance of the <see cref="PublicationRequestForCreationDto" /> class.
/// </summary>
/// <param name="dataPublicationServiceRorId">The data publication service&#39;s ror id. (required).</param>
/// <param name="publicationServiceRorId">The data publication service&#39;s ror id. (required).</param>
/// <param name="resourceIds">The resource guids. (required).</param>
/// <param name="message">A message of the requester..</param>
public PublicationRequestForCreationDto(string dataPublicationServiceRorId = default(string), List<Guid> resourceIds = default(List<Guid>), string message = default(string))
public PublicationRequestForCreationDto(string publicationServiceRorId = default(string), List<Guid> resourceIds = default(List<Guid>), string message = default(string))
{
// to ensure "dataPublicationServiceRorId" is required (not null)
if (dataPublicationServiceRorId == null)
// to ensure "publicationServiceRorId" is required (not null)
if (publicationServiceRorId == null)
{
throw new ArgumentNullException("dataPublicationServiceRorId is a required property for PublicationRequestForCreationDto and cannot be null");
throw new ArgumentNullException("publicationServiceRorId is a required property for PublicationRequestForCreationDto and cannot be null");
}
this.DataPublicationServiceRorId = dataPublicationServiceRorId;
this.PublicationServiceRorId = publicationServiceRorId;
// to ensure "resourceIds" is required (not null)
if (resourceIds == null)
{
......@@ -64,8 +64,8 @@ namespace Coscine.ApiClient.Core.Model
/// The data publication service&#39;s ror id.
/// </summary>
/// <value>The data publication service&#39;s ror id.</value>
[DataMember(Name = "dataPublicationServiceRorId", IsRequired = true, EmitDefaultValue = true)]
public string DataPublicationServiceRorId { get; set; }
[DataMember(Name = "publicationServiceRorId", IsRequired = true, EmitDefaultValue = true)]
public string PublicationServiceRorId { get; set; }
/// <summary>
/// The resource guids.
......@@ -89,7 +89,7 @@ namespace Coscine.ApiClient.Core.Model
{
StringBuilder sb = new StringBuilder();
sb.Append("class PublicationRequestForCreationDto {\n");
sb.Append(" DataPublicationServiceRorId: ").Append(DataPublicationServiceRorId).Append("\n");
sb.Append(" PublicationServiceRorId: ").Append(PublicationServiceRorId).Append("\n");
sb.Append(" ResourceIds: ").Append(ResourceIds).Append("\n");
sb.Append(" Message: ").Append(Message).Append("\n");
sb.Append("}\n");
......@@ -112,10 +112,10 @@ namespace Coscine.ApiClient.Core.Model
/// <returns>Validation Result</returns>
IEnumerable<ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
{
// DataPublicationServiceRorId (string) minLength
if (this.DataPublicationServiceRorId != null && this.DataPublicationServiceRorId.Length < 1)
// PublicationServiceRorId (string) minLength
if (this.PublicationServiceRorId != null && this.PublicationServiceRorId.Length < 1)
{
yield return new ValidationResult("Invalid value for DataPublicationServiceRorId, length must be greater than 1.", new [] { "DataPublicationServiceRorId" });
yield return new ValidationResult("Invalid value for PublicationServiceRorId, length must be greater than 1.", new [] { "PublicationServiceRorId" });
}
yield break;
......
......@@ -4,7 +4,7 @@
<RootNamespace>Coscine.ApiClient</RootNamespace>
<AssemblyName>Coscine.ApiClient</AssemblyName>
<TargetFramework>net8.0</TargetFramework>
<Version>1.9.2</Version>
<Version>1.9.3</Version>
</PropertyGroup>
<PropertyGroup>
......