다음을 통해 공유


ApiLicenseInformation Class

Definition

The license information for the API.

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

Constructors

ApiLicenseInformation()

Initializes a new instance of ApiLicenseInformation.

Properties

Identifier

SPDX license information for the API. The identifier field is mutually exclusive of the URL field.

Name

Name of the license.

Uri

URL pointing to the license details. The URL field is mutually exclusive of the identifier field.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ApiLicenseInformation>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ApiLicenseInformation>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ApiLicenseInformation>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ApiLicenseInformation>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ApiLicenseInformation>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to