<commit_before>/**
 *  Copyright (C) 2010 Cloud.com, Inc.  All rights reserved.
 * 
 * This software is licensed under the GNU General Public License v3 or later.
 * 
 * It is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or any later version.
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 * 
 */
package com.cloud.api.response;

import java.util.Date;

import com.cloud.api.ApiConstants;
import com.cloud.serializer.Param;
import com.google.gson.annotations.SerializedName;

public class UserResponse extends BaseResponse {
    @SerializedName("id") @Param(description="the user ID")
    private Long id;

    @SerializedName("username") @Param(description="the user name")
    private String username;

    @SerializedName("firstname") @Param(description="the user firstname")
    private String firstname;

    @SerializedName("lastname") @Param(description="the user lastname")
    private String lastname;

    @SerializedName("email") @Param(description="the user email address")
    private String email;

    @SerializedName("created") @Param(description="the date and time the user account was created")
    private Date created;

    @SerializedName("state") @Param(description="the user state")
    private String state;

    @SerializedName("account") @Param(description="the account name of the user")
    private String accountName;

    @SerializedName("accounttype") @Param(description="the account type of the user")
    private Short accountType;

    @SerializedName("domainid") @Param(description="the domain ID of the user")
    private Long domainId;

    @SerializedName("domain") @Param(description="the domain name of the user")
    private String domainName;

    @SerializedName("timezone") @Param(description="the timezone user was created in")
    private String timezone;

    @SerializedName(ApiConstants.API_KEY) @Param(description="the api key of the user")
    private String apiKey;

    @SerializedName(ApiConstants.SECRET_KEY) @Param(description="the secret key of the user")
    private String secretKey;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getFirstname() {<commit_msg>Fixed userResponse to return api/secretKeys<commit_after>/**
 *  Copyright (C) 2010 Cloud.com, Inc.  All rights reserved.
 * 
 * This software is licensed under the GNU General Public License v3 or later.
 * 
 * It is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or any later version.
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 * 
 */
package com.cloud.api.response;

import java.util.Date;

import com.cloud.api.ApiConstants;
import com.cloud.serializer.Param;
import com.google.gson.annotations.SerializedName;

public class UserResponse extends BaseResponse {
    @SerializedName("id") @Param(description="the user ID")
    private Long id;

    @SerializedName("username") @Param(description="the user name")
    private String username;

    @SerializedName("firstname") @Param(description="the user firstname")
    private String firstname;

    @SerializedName("lastname") @Param(description="the user lastname")
    private String lastname;

    @SerializedName("email") @Param(description="the user email address")
    private String email;

    @SerializedName("created") @Param(description="the date and time the user account was created")
    private Date created;

    @SerializedName("state") @Param(description="the user state")
    private String state;

    @SerializedName("account") @Param(description="the account name of the user")
    private String accountName;

    @SerializedName("accounttype") @Param(description="the account type of the user")
    private Short accountType;

    @SerializedName("domainid") @Param(description="the domain ID of the user")
    private Long domainId;

    @SerializedName("domain") @Param(description="the domain name of the user")
    private String domainName;

    @SerializedName("timezone") @Param(description="the timezone user was created in")
    private String timezone;

    @SerializedName("apikey") @Param(description="the api key of the user")
    private String apiKey;

    @SerializedName("secretkey") @Param(description="the secret key of the user")
    private String secretKey;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getFirstname() {
{'fraction_non_alphanumeric': 0.09341044514546092, 'fraction_numerical': 0.002103049421661409, 'mean_word_length': 3.971254355400697, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2759885', 'n_tokens_mistral': 1529, 'n_tokens_neox': 1472, 'n_words': 570}