SecondaryConsent Class

  • java.lang.Object
    • com.azure.resourcemanager.support.models.SecondaryConsent

public final class SecondaryConsent

This property indicates secondary consent for the support ticket.

Constructor Summary

Constructor Description
SecondaryConsent()

Creates an instance of SecondaryConsent class.

Method Summary

Modifier and Type Method and Description
String type()

Get the type property: The service name for which the secondary consent is being provided.

UserConsent userConsent()

Get the userConsent property: User consent value provided.

void validate()

Validates the instance.

SecondaryConsent withType(String type)

Set the type property: The service name for which the secondary consent is being provided.

SecondaryConsent withUserConsent(UserConsent userConsent)

Set the userConsent property: User consent value provided.

Methods inherited from java.lang.Object

Constructor Details

SecondaryConsent

public SecondaryConsent()

Creates an instance of SecondaryConsent class.

Method Details

type

public String type()

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

Returns:

the type value.

userConsent

public UserConsent userConsent()

Get the userConsent property: User consent value provided.

Returns:

the userConsent value.

validate

public void validate()

Validates the instance.

withType

public SecondaryConsent withType(String type)

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

Parameters:

type - the type value to set.

Returns:

the SecondaryConsent object itself.

withUserConsent

public SecondaryConsent withUserConsent(UserConsent userConsent)

Set the userConsent property: User consent value provided.

Parameters:

userConsent - the userConsent value to set.

Returns:

the SecondaryConsent object itself.

Applies to