LeaveCustomAudienceRequest


public final class LeaveCustomAudienceRequest


The request object to leave a custom audience.

Summary

Public constructors

Public methods

boolean
equals(Object other)

Checks whether two LeaveCustomAudienceRequest objects contain the same information.

final @NonNull AdTechIdentifier

an AdTechIdentifier containing the custom audience's buyer's domain.

final @NonNull String

the String name of the custom audience.

int

Returns the hash of the LeaveCustomAudienceRequest object's data.

@NonNull String

Public constructors

LeaveCustomAudienceRequest

Added in 1.0.0
public LeaveCustomAudienceRequest(
    @NonNull AdTechIdentifier buyer,
    @NonNull String name
)
Parameters
@NonNull AdTechIdentifier buyer

an AdTechIdentifier containing the custom audience's buyer's domain.

@NonNull String name

the String name of the custom audience.

Public methods

equals

public boolean equals(Object other)

Checks whether two LeaveCustomAudienceRequest objects contain the same information.

getBuyer

Added in 1.0.0
public final @NonNull AdTechIdentifier getBuyer()

an AdTechIdentifier containing the custom audience's buyer's domain.

getName

Added in 1.0.0
public final @NonNull String getName()

the String name of the custom audience.

hashCode

public int hashCode()

Returns the hash of the LeaveCustomAudienceRequest object's data.

toString

public @NonNull String toString()