@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable public final class ImmutableCompanyAdminCountResponse extends Object implements CompanyAdminCountResponse
CompanyAdminCountResponse.
Use the builder to create immutable instances:
ImmutableCompanyAdminCountResponse.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableCompanyAdminCountResponse.Builder
Builds instances of type
ImmutableCompanyAdminCountResponse. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableCompanyAdminCountResponse.Builder |
builder()
Creates a builder for
ImmutableCompanyAdminCountResponse. |
static ImmutableCompanyAdminCountResponse |
copyOf(CompanyAdminCountResponse instance)
Creates an immutable copy of a
CompanyAdminCountResponse value. |
int |
count()
Number of company admins in given company.
|
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableCompanyAdminCountResponse that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
count. |
String |
toString()
Prints the immutable value
CompanyAdminCountResponse with attribute values. |
ImmutableCompanyAdminCountResponse |
withCount(int value)
Copy the current immutable object by setting a value for the
count attribute. |
public int count()
count in interface CompanyAdminCountResponsepublic final ImmutableCompanyAdminCountResponse withCount(int value)
count attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for countthis objectpublic boolean equals(@Nullable Object another)
ImmutableCompanyAdminCountResponse that have equal attribute values.public int hashCode()
count.public String toString()
CompanyAdminCountResponse with attribute values.public static ImmutableCompanyAdminCountResponse copyOf(CompanyAdminCountResponse instance)
CompanyAdminCountResponse value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static ImmutableCompanyAdminCountResponse.Builder builder()
ImmutableCompanyAdminCountResponse.
ImmutableCompanyAdminCountResponse.builder()
.count(int) // required count
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.