Package com.chrt.api.types
Class OrgInfoResponse.Builder
- java.lang.Object
-
- com.chrt.api.types.OrgInfoResponse.Builder
-
- All Implemented Interfaces:
OrgInfoResponse._FinalStage,OrgInfoResponse.AdminDeleteEnabledStage,OrgInfoResponse.CreatedAtStage,OrgInfoResponse.HasImageStage,OrgInfoResponse.IdStage,OrgInfoResponse.MaxAllowedMembershipsStage,OrgInfoResponse.NameStage,OrgInfoResponse.UpdatedAtStage
- Enclosing class:
- OrgInfoResponse
public static final class OrgInfoResponse.Builder extends java.lang.Object implements OrgInfoResponse.IdStage, OrgInfoResponse.NameStage, OrgInfoResponse.HasImageStage, OrgInfoResponse.MaxAllowedMembershipsStage, OrgInfoResponse.AdminDeleteEnabledStage, OrgInfoResponse.CreatedAtStage, OrgInfoResponse.UpdatedAtStage, OrgInfoResponse._FinalStage
-
-
Method Summary
-
-
-
Method Detail
-
from
public OrgInfoResponse.Builder from(OrgInfoResponse other)
- Specified by:
fromin interfaceOrgInfoResponse.IdStage
-
id
public OrgInfoResponse.NameStage id(@NotNull java.lang.String id)
Must be a string starting with
org_Must be a string starting with
org_- Specified by:
idin interfaceOrgInfoResponse.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
public OrgInfoResponse.HasImageStage name(@NotNull java.lang.String name)
- Specified by:
namein interfaceOrgInfoResponse.NameStage
-
hasImage
public OrgInfoResponse.MaxAllowedMembershipsStage hasImage(boolean hasImage)
- Specified by:
hasImagein interfaceOrgInfoResponse.HasImageStage
-
maxAllowedMemberships
public OrgInfoResponse.AdminDeleteEnabledStage maxAllowedMemberships(int maxAllowedMemberships)
- Specified by:
maxAllowedMembershipsin interfaceOrgInfoResponse.MaxAllowedMembershipsStage
-
adminDeleteEnabled
public OrgInfoResponse.CreatedAtStage adminDeleteEnabled(boolean adminDeleteEnabled)
- Specified by:
adminDeleteEnabledin interfaceOrgInfoResponse.AdminDeleteEnabledStage
-
createdAt
public OrgInfoResponse.UpdatedAtStage createdAt(int createdAt)
- Specified by:
createdAtin interfaceOrgInfoResponse.CreatedAtStage
-
updatedAt
public OrgInfoResponse._FinalStage updatedAt(int updatedAt)
- Specified by:
updatedAtin interfaceOrgInfoResponse.UpdatedAtStage
-
publicMetadata
public OrgInfoResponse._FinalStage publicMetadata(java.lang.String key, java.lang.Object value)
- Specified by:
publicMetadatain interfaceOrgInfoResponse._FinalStage
-
putAllPublicMetadata
public OrgInfoResponse._FinalStage putAllPublicMetadata(java.util.Map<java.lang.String,java.lang.Object> publicMetadata)
- Specified by:
putAllPublicMetadatain interfaceOrgInfoResponse._FinalStage
-
publicMetadata
public OrgInfoResponse._FinalStage publicMetadata(java.util.Map<java.lang.String,java.lang.Object> publicMetadata)
- Specified by:
publicMetadatain interfaceOrgInfoResponse._FinalStage
-
membersCount
public OrgInfoResponse._FinalStage membersCount(Nullable<java.lang.Integer> membersCount)
- Specified by:
membersCountin interfaceOrgInfoResponse._FinalStage
-
membersCount
public OrgInfoResponse._FinalStage membersCount(java.lang.Integer membersCount)
- Specified by:
membersCountin interfaceOrgInfoResponse._FinalStage
-
membersCount
public OrgInfoResponse._FinalStage membersCount(java.util.Optional<java.lang.Integer> membersCount)
- Specified by:
membersCountin interfaceOrgInfoResponse._FinalStage
-
imageUrl
public OrgInfoResponse._FinalStage imageUrl(Nullable<java.lang.String> imageUrl)
- Specified by:
imageUrlin interfaceOrgInfoResponse._FinalStage
-
imageUrl
public OrgInfoResponse._FinalStage imageUrl(java.lang.String imageUrl)
- Specified by:
imageUrlin interfaceOrgInfoResponse._FinalStage
-
imageUrl
public OrgInfoResponse._FinalStage imageUrl(java.util.Optional<java.lang.String> imageUrl)
- Specified by:
imageUrlin interfaceOrgInfoResponse._FinalStage
-
slug
public OrgInfoResponse._FinalStage slug(Nullable<java.lang.String> slug)
- Specified by:
slugin interfaceOrgInfoResponse._FinalStage
-
slug
public OrgInfoResponse._FinalStage slug(java.lang.String slug)
- Specified by:
slugin interfaceOrgInfoResponse._FinalStage
-
slug
public OrgInfoResponse._FinalStage slug(java.util.Optional<java.lang.String> slug)
- Specified by:
slugin interfaceOrgInfoResponse._FinalStage
-
build
public OrgInfoResponse build()
- Specified by:
buildin interfaceOrgInfoResponse._FinalStage
-
-