Share via


SolutionTriggerCriterion Class

Definition

Solution request trigger criterion. SolutionId/ProblemClassificationId is the only supported trigger type for Solution PUT request. ReplacementKey is the only supported trigger type for Solution PATCH request.

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

Constructors

SolutionTriggerCriterion()

Initializes a new instance of SolutionTriggerCriterion.

Properties

Name

Trigger criterion name.

Value

Trigger criterion value.

Explicit Interface Implementations

IJsonModel<SolutionTriggerCriterion>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SolutionTriggerCriterion>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SolutionTriggerCriterion>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SolutionTriggerCriterion>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SolutionTriggerCriterion>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to