vncore / com.venuenext.vncore.model / Environment

Environment

data class Environment

Environment VenueNext

Created on 1/30/19. Copyright © 2019 VenueNext Inc. All rights reserved.

Types

AuthConsumer

data class AuthConsumer

ServiceBaseUrls

data class ServiceBaseUrls

Constructors

<init>

Environment VenueNext

Environment(serviceBaseUrls: ServiceBaseUrls? = null, organizationName: String? = null, venues: List<Venue>? = null, authConsumer: AuthConsumer? = null, authProvider: OAuth? = null, userAgent: String? = null, sessionID: String? = null, httpRequestStaleInSecs: Int = 1800)

Properties

authConsumer

var authConsumer: AuthConsumer?

authProvider

var authProvider: OAuth?

httpRequestStaleInSecs

var httpRequestStaleInSecs: Int

organizationName

var organizationName: String?

serviceBaseUrls

var serviceBaseUrls: ServiceBaseUrls?

sessionID

var sessionID: String?

userAgent

var userAgent: String?

venues

var venues: List<Venue>?

Functions

generateSessionID

Generates session ID.

fun generateSessionID(): Unit

generateUserAgent

Generates user agent string.

fun generateUserAgent(context: Context): Unit