Share via


OpenApiDateTime Class

Definition

Open API Datetime

public class OpenApiDateTime : Microsoft.OpenApi.Any.OpenApiPrimitive<DateTimeOffset>
type OpenApiDateTime = class
    inherit OpenApiPrimitive<DateTimeOffset>
Public Class OpenApiDateTime
Inherits OpenApiPrimitive(Of DateTimeOffset)
Inheritance

Constructors

OpenApiDateTime(DateTimeOffset)

Initializes the OpenApiDateTime class.

Properties

AnyType

The kind of IOpenApiAny.

(Inherited from OpenApiPrimitive<T>)
PrimitiveType

Primitive type this object represents.

Value

Value of this IOpenApiPrimitive

(Inherited from OpenApiPrimitive<T>)

Methods

Write(IOpenApiWriter, OpenApiSpecVersion)

Write out content of primitive element

(Inherited from OpenApiPrimitive<T>)

Extension Methods

Validate(IOpenApiElement, ValidationRuleSet)

Validate element and all child elements

Applies to