Skip to content
This repository was archived by the owner on Oct 28, 2021. It is now read-only.

Commit 623b83c

Browse files
committed
Merge remote-tracking branch 'upstream/develop' into develop
2 parents 1a1a88f + 7d596cd commit 623b83c

File tree

12 files changed

+723
-1
lines changed

12 files changed

+723
-1
lines changed

NOTICE.txt

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,49 @@ Copyright 2016 The Symphony Software Foundation
44
This product includes software developed at
55
The Symphony Software Foundation (http://symphony.foundation).
66

7+
---
8+
79
Source files (*.cs) in src/SymphonyOSS.RestApiClient.Generated/
810
have been generated using swagger-codegen
911
(https://github.com/swagger-api/swagger-codegen), licensed
1012
under the Apache License, Version 2.0.
1113

14+
---
15+
1216
The following files do not contain license headers but are still
1317
licensed under the Apache License, Version 2.0:
1418
**/AssemblyInfo.cs
1519
**/packages.config
1620
src/SymphonyOSS.RestApiClient.Generated/OpenApi/Yaml/**/*.yaml
1721
.travis.yml
22+
23+
---
24+
25+
The code in src/SymphonyOSS.RestApiClient.Generated/Json/JsonSubtypeConverter.cs
26+
was initially copied from a .NET Fiddle at https://dotnetfiddle.net/ELcvnk,
27+
written by Anatoly Ressin. This code was licensed under the MIT License, according
28+
to the license header:
29+
30+
// Discriminated Json Converter (JsonSubtypes) implementation for .NET
31+
//
32+
// MIT License
33+
//
34+
// Copyright (c) 2016 Anatoly Ressin
35+
36+
// Permission is hereby granted, free of charge, to any person obtaining a
37+
// copy of this software and associated documentation files (the "Software"),
38+
// to deal in the Software without restriction, including without limitation
39+
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
40+
// and/or sell copies of the Software, and to permit persons to whom the
41+
// Software is furnished to do so, subject to the following conditions:
42+
//
43+
// The above copyright notice and this permission notice shall be included in
44+
// all copies or substantial portions of the Software.
45+
//
46+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
47+
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
48+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
49+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
50+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
51+
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
52+
// DEALINGS IN THE SOFTWARE.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
// Licensed to the Symphony Software Foundation (SSF) under one
2+
// or more contributor license agreements. See the NOTICE file
3+
// distributed with this work for additional information
4+
// regarding copyright ownership. The SSF licenses this file
5+
// to you under the Apache License, Version 2.0 (the
6+
// "License"); you may not use this file except in compliance
7+
// with the License. You may obtain a copy of the License at
8+
//
9+
// http://www.apache.org/licenses/LICENSE-2.0
10+
//
11+
// Unless required by applicable law or agreed to in writing,
12+
// software distributed under the License is distributed on an
13+
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
// KIND, either express or implied. See the License for the
15+
// specific language governing permissions and limitations
16+
// under the License.
17+
18+
namespace SymphonyOSS.RestApiClient.Generated.OpenApi.AgentApi.Model
19+
{
20+
using Newtonsoft.Json;
21+
using Json;
22+
23+
/// <summary>
24+
/// Json discriminator attributes added to V2BaseMessage (and
25+
/// its descendants) to support polymorphism.
26+
/// </summary>
27+
[JsonConverter(typeof(JsonSubtypeConverter))]
28+
[JsonDiscriminator("V2messageType")]
29+
public partial class V2BaseMessage
30+
{
31+
}
32+
33+
[JsonSubtype("V2Message")]
34+
public partial class V2Message
35+
{
36+
}
37+
}

0 commit comments

Comments
 (0)