openapi-nexus 0.1.7

OpenAPI 3.x multi-language code generator
Documentation
// Code generated by openapi-nexus. DO NOT EDIT.
//
// All Optional Properties Test — 1.0.0
// Test case for object with all optional properties including arrays, references, and inline objects

package com.example.sdk.models;

import com.google.gson.annotations.SerializedName;

/**
 * User model with snake_case properties
 */
public class User {
    @SerializedName("email_address")
    private String emailAddress;
    @SerializedName("user_id")
    private String userId;
    @SerializedName("user_name")
    private String userName;

    public User(String emailAddress, String userId, String userName) {
        this.emailAddress = emailAddress;
        this.userId = userId;
        this.userName = userName;
    }

    public String getEmailAddress() {
        return this.emailAddress;
    }

    public String getUserId() {
        return this.userId;
    }

    public String getUserName() {
        return this.userName;
    }
}