Share via


ProblemClassificationInner Class

  • java.lang.Object
    • com.azure.resourcemanager.support.fluent.models.ProblemClassificationInner

Implements

public final class ProblemClassificationInner
implements JsonSerializable<ProblemClassificationInner>

ProblemClassification resource object.

Constructor Summary

Constructor Description
ProblemClassificationInner()

Creates an instance of ProblemClassificationInner class.

Method Summary

Modifier and Type Method and Description
String displayName()

Get the displayName property: Localized name of problem classification.

static ProblemClassificationInner fromJson(JsonReader jsonReader)

Reads an instance of ProblemClassificationInner from the JsonReader.

String id()

Get the id property: Id of the resource.

String name()

Get the name property: Name of the resource.

List<SecondaryConsentEnabled> secondaryConsentEnabled()

Get the secondaryConsentEnabled property: This property indicates whether secondary consent is present for problem classification.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Type of the resource 'Microsoft.Support/problemClassification'.

void validate()

Validates the instance.

ProblemClassificationInner withDisplayName(String displayName)

Set the displayName property: Localized name of problem classification.

ProblemClassificationInner withSecondaryConsentEnabled(List<SecondaryConsentEnabled> secondaryConsentEnabled)

Set the secondaryConsentEnabled property: This property indicates whether secondary consent is present for problem classification.

Methods inherited from java.lang.Object

Constructor Details

ProblemClassificationInner

public ProblemClassificationInner()

Creates an instance of ProblemClassificationInner class.

Method Details

displayName

public String displayName()

Get the displayName property: Localized name of problem classification.

Returns:

the displayName value.

fromJson

public static ProblemClassificationInner fromJson(JsonReader jsonReader)

Reads an instance of ProblemClassificationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ProblemClassificationInner 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 ProblemClassificationInner.

id

public String id()

Get the id property: Id of the resource.

Returns:

the id value.

name

public String name()

Get the name property: Name of the resource.

Returns:

the name value.

secondaryConsentEnabled

public List<SecondaryConsentEnabled> secondaryConsentEnabled()

Get the secondaryConsentEnabled property: This property indicates whether secondary consent is present for problem classification.

Returns:

the secondaryConsentEnabled value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Type of the resource 'Microsoft.Support/problemClassification'.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withDisplayName

public ProblemClassificationInner withDisplayName(String displayName)

Set the displayName property: Localized name of problem classification.

Parameters:

displayName - the displayName value to set.

Returns:

the ProblemClassificationInner object itself.

withSecondaryConsentEnabled

public ProblemClassificationInner withSecondaryConsentEnabled(List<SecondaryConsentEnabled> secondaryConsentEnabled)

Set the secondaryConsentEnabled property: This property indicates whether secondary consent is present for problem classification.

Parameters:

secondaryConsentEnabled - the secondaryConsentEnabled value to set.

Returns:

the ProblemClassificationInner object itself.

Applies to