com.baidubce.services.lss.model
Class Auth

java.lang.Object
  extended by com.baidubce.services.lss.model.Auth

public class Auth
extends Object

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

Auth

public Auth()
Method Detail

getPush

public Boolean getPush()
Returns true if authentication is required before push.

Returns:
true if authentication is required before push

setPush

public void setPush(Boolean push)
Sets to true if authentication is required before push

Parameters:
push - true if authentication is required before push

withPush

public Auth withPush(Boolean push)
Sets to true if authentication is required before push

Parameters:
push - true if authentication is required before push
Returns:
this object

getPlay

public Boolean getPlay()
Returns true if authentication is required before play

Returns:
true if authentication is required before play

setPlay

public void setPlay(Boolean play)
Sets to true if authentication is required before play

Parameters:
play - true if authentication is required before play

withPlay

public Auth withPlay(Boolean play)
Sets to true if authentication is required before play

Parameters:
play - true if authentication is required before play
Returns:
this object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2018. All rights reserved.