你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphDateTimeColumn Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphDateTimeColumn
- com.
Implements
public final class MicrosoftGraphDateTimeColumn
implements JsonSerializable<MicrosoftGraphDateTimeColumn>
dateTimeColumn.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphDateTimeColumn() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
String |
displayAs()
Get the display |
String |
format()
Get the format property: Indicates whether the value should be presented as a date only or a date and time. |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withDisplayAs(String displayAs)
Set the display |
Microsoft |
withFormat(String format)
Set the format property: Indicates whether the value should be presented as a date only or a date and time. |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphDateTimeColumn
public MicrosoftGraphDateTimeColumn()
Creates an instance of MicrosoftGraphDateTimeColumn class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: dateTimeColumn.
Returns:
displayAs
public String displayAs()
Get the displayAs property: How the value should be presented in the UX. Must be one of default, friendly, or standard. See below for more details. If unspecified, treated as default.
Returns:
format
public String format()
Get the format property: Indicates whether the value should be presented as a date only or a date and time. Must be one of dateOnly or dateTime.
Returns:
fromJson
public static MicrosoftGraphDateTimeColumn fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphDateTimeColumn from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphDateTimeColumn withAdditionalProperties(Map
Set the additionalProperties property: dateTimeColumn.
Parameters:
Returns:
withDisplayAs
public MicrosoftGraphDateTimeColumn withDisplayAs(String displayAs)
Set the displayAs property: How the value should be presented in the UX. Must be one of default, friendly, or standard. See below for more details. If unspecified, treated as default.
Parameters:
Returns:
withFormat
public MicrosoftGraphDateTimeColumn withFormat(String format)
Set the format property: Indicates whether the value should be presented as a date only or a date and time. Must be one of dateOnly or dateTime.
Parameters:
Returns: