
com.stackmob.sdk.api.StackMobSession Maven / Gradle / Ivy
/**
* Copyright 2011 StackMob
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.stackmob.sdk.api;
import com.sun.tools.corba.se.idl.toJavaPortable.StringGen;
public class StackMobSession {
private String key;
private String secret;
private String userObjectName;
private int apiVersionNumber;
private String appName = null;
public StackMobSession(String key, String secret, String userObjectName, String appName, int apiVersionNumber) {
this(key, secret, userObjectName, apiVersionNumber);
this.appName = appName;
}
public StackMobSession(String key, String secret, String userObjectName, int apiVersionNumber) {
this.key = key;
this.secret = secret;
this.userObjectName = userObjectName;
this.apiVersionNumber = apiVersionNumber;
}
public String getKey() {
return key;
}
public String getSecret() {
return secret;
}
public String getUserObjectName() {
return userObjectName;
}
public int getApiVersionNumber() {
return apiVersionNumber;
}
public String getAppName() {
return appName;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy