All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.volcengine.model.livesaas.response.GetViewingRestrictionInfoResponse Maven / Gradle / Ivy

There is a newer version: 1.0.192
Show newest version
package com.volcengine.model.livesaas.response;

import com.alibaba.fastjson.annotation.JSONField;
import com.volcengine.model.response.ResponseMetadata;
import lombok.Data;

@Data
public class GetViewingRestrictionInfoResponse {
    @JSONField(name = "ResponseMetadata")
    ResponseMetadata responseMetadata;
    @JSONField(name = "Result")
    GetViewingRestrictionInfoResponseBody result;

    @Data
    public static class GetViewingRestrictionInfoResponseBody {
        @JSONField(name="ActivityId")
        Long ActivityId;
        @JSONField(name="ViewingRestriction")
        ViewingRestriction ViewingRestriction;
        @JSONField(name="SubViewingRestriction")
        ViewingRestriction SubViewingRestriction ;
    }

    @Data
    public static class ViewingRestriction {
        @JSONField(name="ViewingAccountType")
        Integer ViewingAccountType;
        @JSONField(name="ViewingRestrictionButtonTitle")
        String ViewingRestrictionButtonTitle;
        @JSONField(name="CommentRestriction")
        CommentRestriction CommentRestriction;
        @JSONField(name="PasswordViewingRestriction")
        PasswordViewingRestriction PasswordViewingRestriction;
        @JSONField(name="WhitelistViewingRestriction")
        WhitelistViewingRestriction WhitelistViewingRestriction;
        @JSONField(name="CustomViewingRestriction")
        CustomViewingRestriction CustomViewingRestriction;
        @JSONField(name="PhoneViewingRestriction")
        PhoneViewingRestriction PhoneViewingRestriction;
    }

    @Data
    public static class CommentRestriction {
        @JSONField(name="IsAllowPublic")
        Boolean IsAllowPublic;
        @JSONField(name="IsAllowWechat")
        Boolean IsAllowWechat;
        @JSONField(name="IsAllowCustom")
        Boolean IsAllowCustom;
    }
    @Data
    public static class PasswordViewingRestriction {
        @JSONField(name="Password")
        String Password;
        @JSONField(name="Prompt")
        String Prompt;
    }
    @Data
    public static class WhitelistViewingRestriction {
        @JSONField(name="WelcomeTitle")
        String WelcomeTitle;
        @JSONField(name="InputPrompt")
        String InputPrompt;
        @JSONField(name="EnableTrial")
        Boolean EnableTrial;
        @JSONField(name="TrialTime")
        Integer TrialTime;
    }
    @Data
    public static class CustomViewingRestriction {
        @JSONField(name="CustomApp")
        String CustomApp;
        @JSONField(name="CustomUrl")
        String CustomUrl;
        @JSONField(name="ErrorRedirectUrl")
        String ErrorRedirectUrl;
        @JSONField(name="SecretKey")
        String SecretKey;
    }
    @Data
    public static class PhoneViewingRestriction {
        @JSONField(name="Prompt")
        String prompt;
        @JSONField(name="EnableTrial")
        Boolean EnableTrial;
        @JSONField(name="TrialTime")
        Integer TrialTime;
        @JSONField(name="EnableSMS")
        Boolean EnableSMS;
        @JSONField(name="IsPhoneListMode")
        Boolean IsPhoneListMode;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy