Class AbstractOpenAPISchema
Abstract base class for oneOf, anyOf schemas in the OpenAPI specification
Inherited Members
object.Equals(object, object)
object.MemberwiseClone()
object.ToString()
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
public abstract class AbstractOpenAPISchema
Fields
View SourceAdditionalPropertiesSerializerSettings
Custom JSON serializer for objects with additional properties
Declaration
public static readonly JsonSerializerSettings AdditionalPropertiesSerializerSettings
Field Value
Type | Description |
---|---|
Newtonsoft.Json.JsonSerializerSettings |
SerializerSettings
Custom JSON serializer
Declaration
public static readonly JsonSerializerSettings SerializerSettings
Field Value
Type | Description |
---|---|
Newtonsoft.Json.JsonSerializerSettings |
Properties
View SourceActualInstance
Gets or Sets the actual instance
Declaration
public abstract object ActualInstance { get; set; }
Property Value
Type | Description |
---|---|
object |
IsNullable
Gets or Sets IsNullable to indicate whether the instance is nullable
Declaration
public bool IsNullable { get; protected set; }
Property Value
Type | Description |
---|---|
bool |
SchemaType
Gets or Sets the schema type, which can be either oneOf
or anyOf
Declaration
public string SchemaType { get; protected set; }
Property Value
Type | Description |
---|---|
string |
Methods
View SourceToJson()
Converts the instance into JSON string.
Declaration
public abstract string ToJson()
Returns
Type | Description |
---|---|
string |