Share via


TokenBodyParameterContract Class

Definition

OAuth acquire token request body parameter (www-url-form-encoded).

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

Constructors

TokenBodyParameterContract(String, String)

Initializes a new instance of TokenBodyParameterContract.

Properties

Name

body parameter name.

Value

body parameter value.

Explicit Interface Implementations

IJsonModel<TokenBodyParameterContract>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TokenBodyParameterContract>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<TokenBodyParameterContract>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TokenBodyParameterContract>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TokenBodyParameterContract>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to