001/* 002 * This file is part of the Keycloak Moodle authenticator 003 * Copyright (C) 2024 Michael N. Lipp 004 * 005 * This program is free software; you can redistribute it and/or modify it 006 * under the terms of the GNU Lesser General Public License as published 007 * by the Free Software Foundation; either version 3 of the License, or 008 * (at your option) any later version. 009 * 010 * This program is distributed in the hope that it will be useful, but 011 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 012 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public 013 * License for more details. 014 * 015 * You should have received a copy of the GNU Lesser General Public License along 016 * with this program; if not, see <http://www.gnu.org/licenses/>. 017 */ 018 019package org.jdrupes.keycloak.moodleauth.moodle.model; 020 021/** 022 * Models the siet info 023 */ 024@SuppressWarnings("PMD.DataClass") 025public class MoodleSiteInfo { 026 027 private String sitename; 028 private String username; 029 private String firstname; 030 private String lastname; 031 private String fullname; 032 private String lang; 033 034 /** 035 * @return the sitename 036 */ 037 public String getSitename() { 038 return sitename; 039 } 040 041 /** 042 * @param sitename the sitename to set 043 */ 044 public void setSitename(String sitename) { 045 this.sitename = sitename; 046 } 047 048 /** 049 * @return the username 050 */ 051 public String getUsername() { 052 return username; 053 } 054 055 /** 056 * @param username the username to set 057 */ 058 public void setUsername(String username) { 059 this.username = username; 060 } 061 062 /** 063 * @return the firstname 064 */ 065 public String getFirstname() { 066 return firstname; 067 } 068 069 /** 070 * @param firstname the firstname to set 071 */ 072 public void setFirstname(String firstname) { 073 this.firstname = firstname; 074 } 075 076 /** 077 * @return the lastname 078 */ 079 public String getLastname() { 080 return lastname; 081 } 082 083 /** 084 * @param lastname the lastname to set 085 */ 086 public void setLastname(String lastname) { 087 this.lastname = lastname; 088 } 089 090 /** 091 * @return the fullname 092 */ 093 public String getFullname() { 094 return fullname; 095 } 096 097 /** 098 * @param fullname the fullname to set 099 */ 100 public void setFullname(String fullname) { 101 this.fullname = fullname; 102 } 103 104 /** 105 * @return the lang 106 */ 107 public String getLang() { 108 return lang; 109 } 110 111 /** 112 * @param lang the lang to set 113 */ 114 public void setLang(String lang) { 115 this.lang = lang; 116 } 117 118}