# EnergyEvseTrait.ChargingTargetScheduleStruct

# EnergyEvseTrait.ChargingTargetScheduleStruct


```
class EnergyEvseTrait.ChargingTargetScheduleStruct : ClusterStruct
```

<br />

*** ** * ** ***

A set of user-specified charging targets for an electric vehicle for a set of specified days.

## Summary

| ### Nested types |
|---|
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/EnergyEvseTrait.ChargingTargetScheduleStruct.StructFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this struct's fields. |

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/EnergyEvseTrait.ChargingTargetScheduleStruct#ChargingTargetScheduleStruct(com.google.home.matter.standard.EnergyEvseTrait.TargetDayOfWeekBitmap,kotlin.collections.List)( dayOfWeekForSequence: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/EnergyEvseTrait.TargetDayOfWeekBitmap, chargingTargets: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/EnergyEvseTrait.ChargingTargetStruct> )` Creates the ChargingTargetScheduleStruct class. |

| ### Public functions |
|---|---|
| `open https://developers.home.google.com/reference/kotlin/com/google/home/StructDescriptor` | `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/EnergyEvseTrait.ChargingTargetScheduleStruct#getDescriptor()()` Returns the descriptor for the struct. |
| `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html?` | `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/EnergyEvseTrait.ChargingTargetScheduleStruct#getFieldValueById(kotlin.UInt)(tagId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html)` Returns the value of the field for the given tag ID. |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/EnergyEvseTrait.ChargingTargetStruct>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/EnergyEvseTrait.ChargingTargetScheduleStruct#chargingTargets()` A list of up to 10 charging targets for each of the associated days of the week. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/EnergyEvseTrait.TargetDayOfWeekBitmap` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/EnergyEvseTrait.ChargingTargetScheduleStruct#dayOfWeekForSequence()` The days of the week to which the charging targets should be associated. |

## Public constructors

### ChargingTargetScheduleStruct

```
ChargingTargetScheduleStruct(
    dayOfWeekForSequence: EnergyEvseTrait.TargetDayOfWeekBitmap = TargetDayOfWeekBitmap(),
    chargingTargets: List<EnergyEvseTrait.ChargingTargetStruct> = emptyList()
)
```

Creates the ChargingTargetScheduleStruct class.

## Public functions

### getDescriptor

```
@HomeExperimentalGenericApi
open fun getDescriptor(): StructDescriptor
```

Returns the descriptor for the struct.

### getFieldValueById

```
@HomeExperimentalGenericApi
open fun getFieldValueById(tagId: UInt): Any?
```

Returns the value of the field for the given tag ID.

## Public properties

### chargingTargets

```
val chargingTargets: List<EnergyEvseTrait.ChargingTargetStruct>
```

A list of up to 10 charging targets for each of the associated days of the week.

### dayOfWeekForSequence

```
val dayOfWeekForSequence: EnergyEvseTrait.TargetDayOfWeekBitmap
```

The days of the week to which the charging targets should be associated. This field is a bitmap, which allows the associated targets to be applied to multiple days.