SolutionPatchRequestBody Class

  • java.lang.Object
    • com.azure.resourcemanager.selfhelp.models.SolutionPatchRequestBody

Implements

public final class SolutionPatchRequestBody
implements JsonSerializable<SolutionPatchRequestBody>

Solution PatchRequest body.

Constructor Summary

Constructor Description
SolutionPatchRequestBody()

Creates an instance of SolutionPatchRequestBody class.

Method Summary

Modifier and Type Method and Description
String content()

Get the content property: The HTML content that needs to be rendered and shown to customer.

static SolutionPatchRequestBody fromJson(JsonReader jsonReader)

Reads an instance of SolutionPatchRequestBody from the JsonReader.

Map<String,String> parameters()

Get the parameters property: Client input parameters to run Solution.

SolutionProvisioningState provisioningState()

Get the provisioningState property: Status of solution provisioning.

ReplacementMaps replacementMaps()

Get the replacementMaps property: Solution replacement maps.

List<Section> sections()

Get the sections property: List of section object.

String solutionId()

Get the solutionId property: Solution Id to identify single solution.

String title()

Get the title property: The title.

JsonWriter toJson(JsonWriter jsonWriter)
List<TriggerCriterion> triggerCriteria()

Get the triggerCriteria property: Solution request trigger criteria.

SolutionPatchRequestBody withParameters(Map<String,String> parameters)

Set the parameters property: Client input parameters to run Solution.

SolutionPatchRequestBody withTriggerCriteria(List<TriggerCriterion> triggerCriteria)

Set the triggerCriteria property: Solution request trigger criteria.

Methods inherited from java.lang.Object

Constructor Details

SolutionPatchRequestBody

public SolutionPatchRequestBody()

Creates an instance of SolutionPatchRequestBody class.

Method Details

content

public String content()

Get the content property: The HTML content that needs to be rendered and shown to customer.

Returns:

the content value.

fromJson

public static SolutionPatchRequestBody fromJson(JsonReader jsonReader)

Reads an instance of SolutionPatchRequestBody from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SolutionPatchRequestBody if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the SolutionPatchRequestBody.

parameters

public Map<String,String> parameters()

Get the parameters property: Client input parameters to run Solution.

Returns:

the parameters value.

provisioningState

public SolutionProvisioningState provisioningState()

Get the provisioningState property: Status of solution provisioning.

Returns:

the provisioningState value.

replacementMaps

public ReplacementMaps replacementMaps()

Get the replacementMaps property: Solution replacement maps.

Returns:

the replacementMaps value.

sections

public List

sections()

Get the sections property: List of section object.

Returns:

the sections value.

solutionId

public String solutionId()

Get the solutionId property: Solution Id to identify single solution.

Returns:

the solutionId value.

title

public String title()

Get the title property: The title.

Returns:

the title value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

triggerCriteria

public List<TriggerCriterion> triggerCriteria()

Get the triggerCriteria property: Solution request trigger criteria.

Returns:

the triggerCriteria value.

withParameters

public SolutionPatchRequestBody withParameters(Map<String,String> parameters)

Set the parameters property: Client input parameters to run Solution.

Parameters:

parameters - the parameters value to set.

Returns:

the SolutionPatchRequestBody object itself.

withTriggerCriteria

public SolutionPatchRequestBody withTriggerCriteria(List<TriggerCriterion> triggerCriteria)

Set the triggerCriteria property: Solution request trigger criteria.

Parameters:

triggerCriteria - the triggerCriteria value to set.

Returns:

the SolutionPatchRequestBody object itself.

Applies to