AI-generated Key Takeaways
- 
          
GMSPlaceIsOpenResponseprovides information about whether a place is currently open or closed. - 
          
It uses the
GMSPlaceOpenStatusenum to represent the open status of the place. - 
          
Initialization should be done using
initWithStatus:for testing purposes, the default init is unavailable. - 
          
The
statusproperty gives access to the place's open/closed state usingGMSPlaceOpenStatus. 
GMSPlaceIsOpenResponse
@interface GMSPlaceIsOpenResponse : NSObjectThe response object for the isOpenWithRequest:callback: method.
- 
                  
                  
Unavailable
Default init is not available. Please use the designated initializer.
Declaration
Objective-C
- (nonnull instancetype)init; - 
                  
                  
Initializes the response with a given status. This is meant to be used for unit testing
- purposes.
 
Declaration
Swift
init(status: GMSPlaceOpenStatus)Objective-C
- (nonnull instancetype)initWithStatus:(GMSPlaceOpenStatus)status; - 
                  
                  
The open status of the place.
Declaration
Swift
var status: GMSPlaceOpenStatus { get }Objective-C
@property (nonatomic, readonly) GMSPlaceOpenStatus status;