All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.maps.gwt.client.places.PlaceEvent Maven / Gradle / Ivy

/*
 * Copyright 2011 The Google Web Toolkit Authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.google.maps.gwt.client.places;

import com.google.gwt.core.client.JavaScriptObject;

/**
 * Represents a single place's event.
 *
 * THIS SOURCE CODE IS GENERATED, DO NOT MODIFY
 */
public class PlaceEvent extends JavaScriptObject {

  public static final PlaceEvent create(){
    return JavaScriptObject.createObject().cast();
  }


  /**
   * Protected constructor avoids default public constructor.
   */
  protected PlaceEvent() {
    /* Java constructor is protected, */
  }

  /**
   * Event's duration, in seconds.
   */ 
  public final native double getDuration()/*-{
    return this.duration;

  }-*/;

  /**
   * Event's id.
   */ 
  public final native String getEventId()/*-{
    return this.event_id;

  }-*/;

  /**
   * Event's starting time, expressed in seconds since epoch (UTC).
   */ 
  public final native double getStartTime()/*-{
    return this.start_time;

  }-*/;

  /**
   * Summary of the event.
   */ 
  public final native String getSummary()/*-{
    return this.summary;

  }-*/;

  /**
   * URL pointing to event's details.
   */ 
  public final native String getUrl()/*-{
    return this.url;

  }-*/;

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy