openapi-nexus 0.1.7

OpenAPI 3.x multi-language code generator
Documentation
// Code generated by openapi-nexus. DO NOT EDIT.
//
// Nested Object Reference Test — 1.0.0
// Test case for nested object reference with recursive FromJSON calls

package com.example.sdk.models;

import com.google.gson.annotations.SerializedName;

/**
 * User with required nested profile reference
 */
public class UserWithProfile {
    private UserProfile profile;
    @SerializedName("user_id")
    private String userId;

    public UserWithProfile(UserProfile profile, String userId) {
        this.profile = profile;
        this.userId = userId;
    }

    public UserProfile getProfile() {
        return this.profile;
    }

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