Search Results for

    Show / Hide Table of Contents

    Class AbstractOpenAPISchema

    Abstract base class for oneOf, anyOf schemas in the OpenAPI specification

    Inheritance
    object
    AbstractOpenAPISchema
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: mailslurp.Model
    Assembly: mailslurp.dll
    Syntax
    public abstract class AbstractOpenAPISchema

    Fields

    View Source

    AdditionalPropertiesSerializerSettings

    Custom JSON serializer for objects with additional properties

    Declaration
    public static readonly JsonSerializerSettings AdditionalPropertiesSerializerSettings
    Field Value
    Type Description
    Newtonsoft.Json.JsonSerializerSettings
    View Source

    SerializerSettings

    Custom JSON serializer

    Declaration
    public static readonly JsonSerializerSettings SerializerSettings
    Field Value
    Type Description
    Newtonsoft.Json.JsonSerializerSettings

    Properties

    View Source

    ActualInstance

    Gets or Sets the actual instance

    Declaration
    public abstract object ActualInstance { get; set; }
    Property Value
    Type Description
    object
    View Source

    IsNullable

    Gets or Sets IsNullable to indicate whether the instance is nullable

    Declaration
    public bool IsNullable { get; protected set; }
    Property Value
    Type Description
    bool
    View Source

    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 Source

    ToJson()

    Converts the instance into JSON string.

    Declaration
    public abstract string ToJson()
    Returns
    Type Description
    string
    • View Source
    In This Article
    Back to top See MailSlurp website for more information.