001// Generated by delombok at Tue Dec 10 13:42:03 UTC 2024 002/* 003 * Copyright (c) 2010-2024 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 public Boolean getCanEdit() { 065 return this.canEdit; 066 } 067 068 /** 069 * Permission to edit the audience 070 */ 071 @java.lang.SuppressWarnings("all") 072 public void setCanEdit(final Boolean canEdit) { 073 this.canEdit = canEdit; 074 } 075 076 /** 077 * @return Permission to see insight of the audience 078 */ 079 @java.lang.SuppressWarnings("all") 080 public Boolean getCanSeeInsight() { 081 return this.canSeeInsight; 082 } 083 084 /** 085 * Permission to see insight of the audience 086 */ 087 @java.lang.SuppressWarnings("all") 088 public void setCanSeeInsight(final Boolean canSeeInsight) { 089 this.canSeeInsight = canSeeInsight; 090 } 091 092 /** 093 * @return Capability to share audience based on gatekeeper 094 */ 095 @java.lang.SuppressWarnings("all") 096 public Boolean getCanShare() { 097 return this.canShare; 098 } 099 100 /** 101 * Capability to share audience based on gatekeeper 102 */ 103 @java.lang.SuppressWarnings("all") 104 public void setCanShare(final Boolean canShare) { 105 this.canShare = canShare; 106 } 107 108 /** 109 * @return Capability to be used as seed for lookalike audience 110 */ 111 @java.lang.SuppressWarnings("all") 112 public Boolean getSubtypeSupportsLookalike() { 113 return this.subtypeSupportsLookalike; 114 } 115 116 /** 117 * Capability to be used as seed for lookalike audience 118 */ 119 @java.lang.SuppressWarnings("all") 120 public void setSubtypeSupportsLookalike(final Boolean subtypeSupportsLookalike) { 121 this.subtypeSupportsLookalike = subtypeSupportsLookalike; 122 } 123 124 /** 125 * @return Capability to be used as seed for lookalike audience for recipient ad accounts 126 */ 127 @java.lang.SuppressWarnings("all") 128 public Boolean getSupportsRecipientLookalike() { 129 return this.supportsRecipientLookalike; 130 } 131 132 /** 133 * Capability to be used as seed for lookalike audience for recipient ad accounts 134 */ 135 @java.lang.SuppressWarnings("all") 136 public void setSupportsRecipientLookalike(final Boolean supportsRecipientLookalike) { 137 this.supportsRecipientLookalike = supportsRecipientLookalike; 138 } 139}