public class Restriction extends Object
| Constructor and Description |
|---|
Restriction() |
| Modifier and Type | Method and Description |
|---|---|
ReasonCode |
reasonCode()
Get the reasonCode value.
|
String |
type()
Get the type value.
|
List<String> |
values()
Get the values value.
|
Restriction |
withReasonCode(ReasonCode reasonCode)
Set the reasonCode value.
|
public String type()
public ReasonCode reasonCode()
public Restriction withReasonCode(ReasonCode reasonCode)
reasonCode - the reasonCode value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/