|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.baidubce.services.lss.model.Auth
public class Auth
Represents the authentication settings.
Constructor Summary | |
---|---|
Auth()
|
Method Summary | |
---|---|
Boolean |
getPlay()
Returns true if authentication is required before play |
Boolean |
getPush()
Returns true if authentication is required before push. |
void |
setPlay(Boolean play)
Sets to true if authentication is required before play |
void |
setPush(Boolean push)
Sets to true if authentication is required before push |
String |
toString()
|
Auth |
withPlay(Boolean play)
Sets to true if authentication is required before play |
Auth |
withPush(Boolean push)
Sets to true if authentication is required before push |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Auth()
Method Detail |
---|
public Boolean getPush()
public void setPush(Boolean push)
push
- true if authentication is required before pushpublic Auth withPush(Boolean push)
push
- true if authentication is required before push
public Boolean getPlay()
public void setPlay(Boolean play)
play
- true if authentication is required before playpublic Auth withPlay(Boolean play)
play
- true if authentication is required before play
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |