title: Generate Getters and Setters in a Koltin Class in Android Studio
body: <p>I am trying to generate Getters and Setters in my Kotlin model class without writing the code manually but the options are not showing up in the Generate Menu in Android Studio.</p>
  
  <p><strong>My Model Class (Kotlin)</strong></p>
  
  <pre><code>import com.google.gson.annotations.Expose
  import com.google.gson.annotations.SerializedName
  
  public class EventsRoadSummaryAPINodeModel {
  
      @SerializedName("road_name")
      @Expose
      var road_name: String? = null
  
      @SerializedName("locality")
      @Expose
      var locality: String? = null
  
      @SerializedName("postcode")
      @Expose
      var postcode: String? = null
  
      @SerializedName("local_government_area")
      @Expose
      var local_government_area: String? = null
  
      @SerializedName("district")
      @Expose
      var district: String? = null
  }
  </code></pre>
  
  <p>How do I generate getters and setters in a Kotlin class, please?</p>