blob: 94f355f93e36d2dbe45c0dd80604a87d10914c00 [file] [log] [blame]
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,
// software distributed under the License is distributed on an
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the License for the
// specific language governing permissions and limitations
// under the License.
//<auto-generated />
using System.Runtime.Serialization;
namespace Org.Apache.REEF.Tang.Implementations.ClassHierarchy.AvroDataContract
{
/// <summary>
/// Used to serialize and deserialize Avro record org.apache.reef.tang.implementation.avro.AvroConstructorArg.
/// </summary>
[DataContract(Namespace = "org.apache.reef.tang.implementation.avro")]
public partial class AvroConstructorArg
{
private const string JsonSchema = @"{""type"":""record"",""name"":""org.apache.reef.tang.implementation.avro.AvroConstructorArg"",""fields"":[{""name"":""fullArgClassName"",""type"":""string""},{""name"":""namedParameterName"",""type"":[""null"",""string""]},{""name"":""isInjectionFuture"",""type"":""boolean""}]}";
/// <summary>
/// Gets the schema.
/// </summary>
public static string Schema
{
get
{
return JsonSchema;
}
}
/// <summary>
/// Gets or sets the fullArgClassName field.
/// </summary>
[DataMember]
public string fullArgClassName { get; set; }
/// <summary>
/// Gets or sets the namedParameterName field.
/// </summary>
[DataMember]
public string namedParameterName { get; set; }
/// <summary>
/// Gets or sets the isInjectionFuture field.
/// </summary>
[DataMember]
public bool isInjectionFuture { get; set; }
/// <summary>
/// Initializes a new instance of the <see cref="AvroConstructorArg"/> class.
/// </summary>
public AvroConstructorArg()
{
this.namedParameterName = null;
}
/// <summary>
/// Initializes a new instance of the <see cref="AvroConstructorArg"/> class.
/// </summary>
/// <param name="fullArgClassName">The fullArgClassName.</param>
/// <param name="namedParameterName">The namedParameterName.</param>
/// <param name="isInjectionFuture">The isInjectionFuture.</param>
public AvroConstructorArg(string fullArgClassName, string namedParameterName, bool isInjectionFuture)
{
this.fullArgClassName = fullArgClassName;
this.namedParameterName = namedParameterName;
this.isInjectionFuture = isInjectionFuture;
}
}
}