isOpenRequest

fun isOpenRequest(placeId: String, utcTimeMillis: Long? = null, actions: IsOpenRequest.Builder.() -> Unit? = null): IsOpenRequest

Builds a new IsOpenRequest.

Return

the constructed IsOpenRequest

Parameters

placeId

The Place.id of the place for which isOpen is to be determined.

utcTimeMillis

The milliseconds from 1970-01-01T00:00:00Z.

actions

the actions to apply to the IsOpenRequest.Builder


fun isOpenRequest(place: Place, utcTimeMillis: Long? = null, actions: IsOpenRequest.Builder.() -> Unit? = null): IsOpenRequest

Builds a new IsOpenRequest.

Return

the constructed IsOpenRequest

Parameters

place

The Place for which isOpen is to be determined.

utcTimeMillis

The milliseconds from 1970-01-01T00:00:00Z.

actions

the actions to apply to the IsOpenRequest.Builder

Throws

if Place does not have a Place.id associated with it.