org.botlibre.sdk.config
Class WebMediumConfig

java.lang.Object
  extended by org.botlibre.sdk.config.Config
      extended by org.botlibre.sdk.config.WebMediumConfig
Direct Known Subclasses:
ChannelConfig, DomainConfig, ForumConfig, InstanceConfig

public abstract class WebMediumConfig
extends Config

DTO for XML web medium config.


Field Summary
 java.lang.String accessMode
           
 java.lang.String avatar
           
 java.lang.String categories
           
 java.lang.String connects
           
 java.lang.String creationDate
           
 java.lang.String creator
           
 java.lang.String dailyConnects
           
 java.lang.String description
           
 java.lang.String details
           
 java.lang.String disclaimer
           
 java.lang.String flaggedReason
           
 java.lang.String id
           
 boolean isAdmin
           
 boolean isAdult
           
 boolean isExternal
           
 boolean isFlagged
           
 boolean isHidden
           
 boolean isPaphus
           
 boolean isPrivate
           
 java.lang.String lastConnectedUser
           
 java.lang.String license
           
 java.lang.String monthlyConnects
           
 java.lang.String name
           
 boolean showAds
           
 java.lang.String tags
           
 java.lang.String website
           
 java.lang.String weeklyConnects
           
 
Fields inherited from class org.botlibre.sdk.config.Config
application, domain, instance, token, type, user
 
Constructor Summary
WebMediumConfig()
           
 
Method Summary
abstract  WebMediumConfig credentials()
           
 boolean equals(java.lang.Object object)
           
 long getToken()
           
abstract  java.lang.String getType()
           
 void parseXML(org.w3c.dom.Element element)
           
 java.lang.String stats()
           
abstract  java.lang.String toXML()
           
 void writeXML(java.io.StringWriter writer)
           
 
Methods inherited from class org.botlibre.sdk.config.Config
addCredentials, writeCredentials
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

public java.lang.String id

name

public java.lang.String name

isAdmin

public boolean isAdmin

isAdult

public boolean isAdult

isPrivate

public boolean isPrivate

isHidden

public boolean isHidden

accessMode

public java.lang.String accessMode

isFlagged

public boolean isFlagged

isExternal

public boolean isExternal

isPaphus

public boolean isPaphus

showAds

public boolean showAds

description

public java.lang.String description

details

public java.lang.String details

disclaimer

public java.lang.String disclaimer

website

public java.lang.String website

tags

public java.lang.String tags

categories

public java.lang.String categories

flaggedReason

public java.lang.String flaggedReason

creator

public java.lang.String creator

creationDate

public java.lang.String creationDate

lastConnectedUser

public java.lang.String lastConnectedUser

license

public java.lang.String license

avatar

public java.lang.String avatar

connects

public java.lang.String connects

dailyConnects

public java.lang.String dailyConnects

weeklyConnects

public java.lang.String weeklyConnects

monthlyConnects

public java.lang.String monthlyConnects
Constructor Detail

WebMediumConfig

public WebMediumConfig()
Method Detail

toXML

public abstract java.lang.String toXML()

getType

public abstract java.lang.String getType()

credentials

public abstract WebMediumConfig credentials()

stats

public java.lang.String stats()

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object

getToken

public long getToken()

writeXML

public void writeXML(java.io.StringWriter writer)

parseXML

public void parseXML(org.w3c.dom.Element element)
Overrides:
parseXML in class Config