# GooglePlaces Framework Reference

# GMSPlaceIsOpenResponse

    @interface GMSPlaceIsOpenResponse : NSObject

The response object for the `isOpenWithRequest:callback:` method.
- `


  ### [-init](https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Classes/GMSPlaceIsOpenResponse#/c:objc(cs)GMSPlaceIsOpenResponse(im)init)


  ` Unavailable
  Default init is not available. Please use the designated initializer.

  #### Declaration

  Objective-C

      - (nonnull instancetype)init;

- `


  ### [-initWithStatus:](https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Classes/GMSPlaceIsOpenResponse#/c:objc(cs)GMSPlaceIsOpenResponse(im)initWithStatus:)


  ` Initializes the response with a given status. This is meant to be used for unit testing
  - purposes.

  #### Declaration

  Swift

      init(status: https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Enums/GMSPlaceOpenStatus.html)

  Objective-C

      - (nonnull instancetype)initWithStatus:(https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Enums/GMSPlaceOpenStatus.html)status;

- `


  ### [status](https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Classes/GMSPlaceIsOpenResponse#/c:objc(cs)GMSPlaceIsOpenResponse(py)status)


  ` The open status of the place.

  #### Declaration

  Swift

      var status: https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Enums/GMSPlaceOpenStatus.html { get }

  Objective-C

      @property (nonatomic, readonly) https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Enums/GMSPlaceOpenStatus.html status;