Share via


ApiSpecImportContent Class

Definition

The API specification source entity properties.

public class ApiSpecImportContent : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ApiCenter.Models.ApiSpecImportContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ApiCenter.Models.ApiSpecImportContent>
type ApiSpecImportContent = class
    interface IJsonModel<ApiSpecImportContent>
    interface IPersistableModel<ApiSpecImportContent>
Public Class ApiSpecImportContent
Implements IJsonModel(Of ApiSpecImportContent), IPersistableModel(Of ApiSpecImportContent)
Inheritance
ApiSpecImportContent
Implements

Constructors

Name Description
ApiSpecImportContent()

Initializes a new instance of ApiSpecImportContent.

Properties

Name Description
Format

Format of the API specification source.

Specification

API specification details.

Value

Value of the API specification source.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<ApiSpecImportContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ApiSpecImportContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ApiSpecImportContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ApiSpecImportContent>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ApiSpecImportContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to