LabSupportProperties Class
- java.
lang. Object - com.
azure. resourcemanager. devtestlabs. models. LabSupportProperties
- com.
Implements
public final class LabSupportProperties
implements JsonSerializable<LabSupportProperties>
Properties of a lab's support banner.
Constructor Summary
| Constructor | Description |
|---|---|
| LabSupportProperties() |
Creates an instance of Lab |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Enable |
enabled()
Get the enabled property: Is the lab support banner active/enabled at this time?. |
|
static
Lab |
fromJson(JsonReader jsonReader)
Reads an instance of Lab |
| String |
markdown()
Get the markdown property: The markdown text (if any) that this lab displays in the UI. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Lab |
withEnabled(EnableStatus enabled)
Set the enabled property: Is the lab support banner active/enabled at this time?. |
|
Lab |
withMarkdown(String markdown)
Set the markdown property: The markdown text (if any) that this lab displays in the UI. |
Methods inherited from java.lang.Object
Constructor Details
LabSupportProperties
public LabSupportProperties()
Creates an instance of LabSupportProperties class.
Method Details
enabled
public EnableStatus enabled()
Get the enabled property: Is the lab support banner active/enabled at this time?.
Returns:
fromJson
public static LabSupportProperties fromJson(JsonReader jsonReader)
Reads an instance of LabSupportProperties from the JsonReader.
Parameters:
Returns:
Throws:
markdown
public String markdown()
Get the markdown property: The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.
Returns:
toJson
withEnabled
public LabSupportProperties withEnabled(EnableStatus enabled)
Set the enabled property: Is the lab support banner active/enabled at this time?.
Parameters:
Returns:
withMarkdown
public LabSupportProperties withMarkdown(String markdown)
Set the markdown property: The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.
Parameters:
Returns: