public class BusinessHours extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BusinessHours.Builder
Class to build instances of
BusinessHours. |
| Modifier | Constructor and Description |
|---|---|
|
BusinessHours(List<BusinessHoursPeriod> periods)
Initialization constructor.
|
protected |
BusinessHours(io.apimatic.core.types.OptionalNullable<List<BusinessHoursPeriod>> periods)
Internal initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<BusinessHoursPeriod> |
getPeriods()
Getter for Periods.
|
int |
hashCode() |
protected io.apimatic.core.types.OptionalNullable<List<BusinessHoursPeriod>> |
internalGetPeriods()
Internal Getter for Periods.
|
BusinessHours.Builder |
toBuilder()
Builds a new
BusinessHours.Builder object. |
String |
toString()
Converts this BusinessHours into string format.
|
public BusinessHours(List<BusinessHoursPeriod> periods)
periods - List of BusinessHoursPeriod value for periods.protected BusinessHours(io.apimatic.core.types.OptionalNullable<List<BusinessHoursPeriod>> periods)
protected io.apimatic.core.types.OptionalNullable<List<BusinessHoursPeriod>> internalGetPeriods()
public List<BusinessHoursPeriod> getPeriods()
public String toString()
public BusinessHours.Builder toBuilder()
BusinessHours.Builder object.
Creates the instance with the state of the current model.BusinessHours.Builder objectCopyright © 2023. All rights reserved.