类 Auth


  • public class Auth
    extends Object
    Represents the authentication settings.
    • 构造器详细资料

      • Auth

        public Auth()
    • 方法详细资料

      • getPush

        public Boolean getPush()
        Returns true if authentication is required before push.
        返回:
        true if authentication is required before push
      • setPush

        public void setPush​(Boolean push)
        Sets to true if authentication is required before push
        参数:
        push - true if authentication is required before push
      • withPush

        public Auth withPush​(Boolean push)
        Sets to true if authentication is required before push
        参数:
        push - true if authentication is required before push
        返回:
        this object
      • getPlay

        public Boolean getPlay()
        Returns true if authentication is required before play
        返回:
        true if authentication is required before play
      • setPlay

        public void setPlay​(Boolean play)
        Sets to true if authentication is required before play
        参数:
        play - true if authentication is required before play
      • withPlay

        public Auth withPlay​(Boolean play)
        Sets to true if authentication is required before play
        参数:
        play - true if authentication is required before play
        返回:
        this object