001// Generated by delombok at Thu Aug 13 13:56:43 UTC 2026 002/* 003 * Copyright (c) 2010-2026 Mark Allen, Norbert Bartels. 004 * 005 * Permission is hereby granted, free of charge, to any person obtaining a copy 006 * of this software and associated documentation files (the "Software"), to deal 007 * in the Software without restriction, including without limitation the rights 008 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 009 * copies of the Software, and to permit persons to whom the Software is 010 * furnished to do so, subject to the following conditions: 011 * 012 * The above copyright notice and this permission notice shall be included in 013 * all copies or substantial portions of the Software. 014 * 015 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 016 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 017 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 018 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 019 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 020 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 021 * THE SOFTWARE. 022 */ 023package com.restfb.types.ads; 024 025import com.restfb.Facebook; 026import com.restfb.types.AbstractFacebookType; 027 028/** 029 * Represents the 030 * <a href="https://developers.facebook.com/docs/marketing-api/reference/custom-audience-permission">Custom audience 031 * permission</a> Marketing API type 032 */ 033public class CustomAudiencePermission extends AbstractFacebookType { 034 /** 035 * Permission to edit the audience 036 */ 037 @Facebook("can_edit") 038 private Boolean canEdit; 039 /** 040 * Permission to see insight of the audience 041 */ 042 @Facebook("can_see_insight") 043 private Boolean canSeeInsight; 044 /** 045 * Capability to share audience based on gatekeeper 046 */ 047 @Facebook("can_share") 048 private Boolean canShare; 049 /** 050 * Capability to be used as seed for lookalike audience 051 */ 052 @Facebook("subtype_supports_lookalike") 053 private Boolean subtypeSupportsLookalike; 054 /** 055 * Capability to be used as seed for lookalike audience for recipient ad accounts 056 */ 057 @Facebook("supports_recipient_lookalike") 058 private Boolean supportsRecipientLookalike; 059 060 /** 061 * @return Permission to edit the audience 062 */ 063 @java.lang.SuppressWarnings("all") 064 @lombok.Generated 065 public Boolean getCanEdit() { 066 return this.canEdit; 067 } 068 069 /** 070 * Permission to edit the audience 071 */ 072 @java.lang.SuppressWarnings("all") 073 @lombok.Generated 074 public void setCanEdit(final Boolean canEdit) { 075 this.canEdit = canEdit; 076 } 077 078 /** 079 * @return Permission to see insight of the audience 080 */ 081 @java.lang.SuppressWarnings("all") 082 @lombok.Generated 083 public Boolean getCanSeeInsight() { 084 return this.canSeeInsight; 085 } 086 087 /** 088 * Permission to see insight of the audience 089 */ 090 @java.lang.SuppressWarnings("all") 091 @lombok.Generated 092 public void setCanSeeInsight(final Boolean canSeeInsight) { 093 this.canSeeInsight = canSeeInsight; 094 } 095 096 /** 097 * @return Capability to share audience based on gatekeeper 098 */ 099 @java.lang.SuppressWarnings("all") 100 @lombok.Generated 101 public Boolean getCanShare() { 102 return this.canShare; 103 } 104 105 /** 106 * Capability to share audience based on gatekeeper 107 */ 108 @java.lang.SuppressWarnings("all") 109 @lombok.Generated 110 public void setCanShare(final Boolean canShare) { 111 this.canShare = canShare; 112 } 113 114 /** 115 * @return Capability to be used as seed for lookalike audience 116 */ 117 @java.lang.SuppressWarnings("all") 118 @lombok.Generated 119 public Boolean getSubtypeSupportsLookalike() { 120 return this.subtypeSupportsLookalike; 121 } 122 123 /** 124 * Capability to be used as seed for lookalike audience 125 */ 126 @java.lang.SuppressWarnings("all") 127 @lombok.Generated 128 public void setSubtypeSupportsLookalike(final Boolean subtypeSupportsLookalike) { 129 this.subtypeSupportsLookalike = subtypeSupportsLookalike; 130 } 131 132 /** 133 * @return Capability to be used as seed for lookalike audience for recipient ad accounts 134 */ 135 @java.lang.SuppressWarnings("all") 136 @lombok.Generated 137 public Boolean getSupportsRecipientLookalike() { 138 return this.supportsRecipientLookalike; 139 } 140 141 /** 142 * Capability to be used as seed for lookalike audience for recipient ad accounts 143 */ 144 @java.lang.SuppressWarnings("all") 145 @lombok.Generated 146 public void setSupportsRecipientLookalike(final Boolean supportsRecipientLookalike) { 147 this.supportsRecipientLookalike = supportsRecipientLookalike; 148 } 149}