SecondaryConsent Class
- java.
lang. Object - com.
azure. resourcemanager. support. models. SecondaryConsent
- com.
public final class SecondaryConsent
This property indicates secondary consent for the support ticket.
Constructor Summary
| Constructor | Description |
|---|---|
| SecondaryConsent() |
Creates an instance of Secondary |
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. |
|
User |
userConsent()
Get the user |
| void |
validate()
Validates the instance. |
|
Secondary |
withType(String type)
Set the type property: The service name for which the secondary consent is being provided. |
|
Secondary |
withUserConsent(UserConsent userConsent)
Set the user |
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:
userConsent
public UserConsent userConsent()
Get the userConsent property: User consent value provided.
Returns:
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:
Returns:
withUserConsent
public SecondaryConsent withUserConsent(UserConsent userConsent)
Set the userConsent property: User consent value provided.
Parameters:
Returns: