Partager via


SecondaryConsent Class

Definition

This property indicates secondary consent for the support ticket.

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

Constructors

SecondaryConsent()

Initializes a new instance of SecondaryConsent.

Properties

SecondaryConsentType

The service name for which the secondary consent is being provided. The value needs to be retrieved from the Problem Classification API response.

UserConsent

User consent value provided.

Explicit Interface Implementations

IJsonModel<SecondaryConsent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SecondaryConsent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SecondaryConsent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SecondaryConsent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SecondaryConsent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to