Partager via


TimeInWeek Class

Definition

Time in a week.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.TimeInWeekTypeConverter))]
public class TimeInWeek : Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.ITimeInWeek
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.TimeInWeekTypeConverter))>]
type TimeInWeek = class
    interface ITimeInWeek
    interface IJsonSerializable
Public Class TimeInWeek
Implements ITimeInWeek
Inheritance
TimeInWeek
Attributes
Implements

Constructors

TimeInWeek()

Creates an new TimeInWeek instance.

Properties

Day

The day of the week.

HourSlot

Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of TimeInWeek.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of TimeInWeek.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.ITimeInWeek.

FromJsonString(String)

Creates a new instance of TimeInWeek, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of TimeInWeek into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to