TermsOfServiceProperties Class

Definition

Terms of service contract properties.

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

Constructors

TermsOfServiceProperties()

Initializes a new instance of TermsOfServiceProperties.

Properties

IsConsentRequired

Ask user for consent to the terms of service.

IsDisplayEnabled

Display terms of service during a sign-up process.

Text

A terms of service text.

Explicit Interface Implementations

IJsonModel<TermsOfServiceProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TermsOfServiceProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<TermsOfServiceProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TermsOfServiceProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TermsOfServiceProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to