Class WorkspaceUpdateResponse.Builder
-
- All Implemented Interfaces:
public final class WorkspaceUpdateResponse.BuilderA builder for WorkspaceUpdateResponse.
-
-
Method Summary
-
-
Method Detail
-
id
final WorkspaceUpdateResponse.Builder id(String id)
The workspace id.
-
id
final WorkspaceUpdateResponse.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
creatorId
final WorkspaceUpdateResponse.Builder creatorId(String creatorId)
The workspace creator id.
-
creatorId
final WorkspaceUpdateResponse.Builder creatorId(Optional<String> creatorId)
Alias for calling Builder.creatorId with
creatorId.orElse(null).
-
creatorId
final WorkspaceUpdateResponse.Builder creatorId(JsonField<String> creatorId)
Sets Builder.creatorId to an arbitrary JSON value.
You should usually call Builder.creatorId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
dateCreated
final WorkspaceUpdateResponse.Builder dateCreated(OffsetDateTime dateCreated)
The workspace creation date.
-
dateCreated
final WorkspaceUpdateResponse.Builder dateCreated(JsonField<OffsetDateTime> dateCreated)
Sets Builder.dateCreated to an arbitrary JSON value.
You should usually call Builder.dateCreated with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
dateUpdated
final WorkspaceUpdateResponse.Builder dateUpdated(OffsetDateTime dateUpdated)
The workspace last updated date.
-
dateUpdated
final WorkspaceUpdateResponse.Builder dateUpdated(JsonField<OffsetDateTime> dateUpdated)
Sets Builder.dateUpdated to an arbitrary JSON value.
You should usually call Builder.dateUpdated with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
inviteCount
final WorkspaceUpdateResponse.Builder inviteCount(Long inviteCount)
The number of invites in the workspace.
-
inviteCount
final WorkspaceUpdateResponse.Builder inviteCount(JsonField<Long> inviteCount)
Sets Builder.inviteCount to an arbitrary JSON value.
You should usually call Builder.inviteCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
memberCount
final WorkspaceUpdateResponse.Builder memberCount(Long memberCount)
The number of members in the workspace.
-
memberCount
final WorkspaceUpdateResponse.Builder memberCount(JsonField<Long> memberCount)
Sets Builder.memberCount to an arbitrary JSON value.
You should usually call Builder.memberCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final WorkspaceUpdateResponse.Builder name(String name)
The workspace name.
-
name
final WorkspaceUpdateResponse.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
periodEndDate
final WorkspaceUpdateResponse.Builder periodEndDate(OffsetDateTime periodEndDate)
The end date of the current billing period.
-
periodEndDate
final WorkspaceUpdateResponse.Builder periodEndDate(Optional<OffsetDateTime> periodEndDate)
Alias for calling Builder.periodEndDate with
periodEndDate.orElse(null).
-
periodEndDate
final WorkspaceUpdateResponse.Builder periodEndDate(JsonField<OffsetDateTime> periodEndDate)
Sets Builder.periodEndDate to an arbitrary JSON value.
You should usually call Builder.periodEndDate with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
periodStartDate
final WorkspaceUpdateResponse.Builder periodStartDate(OffsetDateTime periodStartDate)
The start date of the current billing period.
-
periodStartDate
final WorkspaceUpdateResponse.Builder periodStartDate(Optional<OffsetDateTime> periodStartDate)
Alias for calling Builder.periodStartDate with
periodStartDate.orElse(null).
-
periodStartDate
final WorkspaceUpdateResponse.Builder periodStartDate(JsonField<OffsetDateTime> periodStartDate)
Sets Builder.periodStartDate to an arbitrary JSON value.
You should usually call Builder.periodStartDate with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
projectCount
final WorkspaceUpdateResponse.Builder projectCount(Long projectCount)
The number of projects in the workspace.
-
projectCount
final WorkspaceUpdateResponse.Builder projectCount(JsonField<Long> projectCount)
Sets Builder.projectCount to an arbitrary JSON value.
You should usually call Builder.projectCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
slug
final WorkspaceUpdateResponse.Builder slug(String slug)
The workspace slug.
-
slug
final WorkspaceUpdateResponse.Builder slug(JsonField<String> slug)
Sets Builder.slug to an arbitrary JSON value.
You should usually call Builder.slug with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
status
final WorkspaceUpdateResponse.Builder status(WorkspaceUpdateResponse.Status status)
-
status
final WorkspaceUpdateResponse.Builder status(JsonField<WorkspaceUpdateResponse.Status> status)
Sets Builder.status to an arbitrary JSON value.
You should usually call Builder.status with a well-typed Status value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
inviteCode
final WorkspaceUpdateResponse.Builder inviteCode(String inviteCode)
The workspace invite code.
-
inviteCode
final WorkspaceUpdateResponse.Builder inviteCode(JsonField<String> inviteCode)
Sets Builder.inviteCode to an arbitrary JSON value.
You should usually call Builder.inviteCode with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
monthlyUsage
final WorkspaceUpdateResponse.Builder monthlyUsage(List<WorkspaceUpdateResponse.MonthlyUsage> monthlyUsage)
-
monthlyUsage
final WorkspaceUpdateResponse.Builder monthlyUsage(JsonField<List<WorkspaceUpdateResponse.MonthlyUsage>> monthlyUsage)
Sets Builder.monthlyUsage to an arbitrary JSON value.
You should usually call Builder.monthlyUsage with a well-typed
List<MonthlyUsage>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addMonthlyUsage
final WorkspaceUpdateResponse.Builder addMonthlyUsage(WorkspaceUpdateResponse.MonthlyUsage monthlyUsage)
Adds a single MonthlyUsage to Builder.monthlyUsage.
-
samlOnlyAccess
final WorkspaceUpdateResponse.Builder samlOnlyAccess(Boolean samlOnlyAccess)
Whether the workspace only allows SAML authentication.
-
samlOnlyAccess
final WorkspaceUpdateResponse.Builder samlOnlyAccess(JsonField<Boolean> samlOnlyAccess)
Sets Builder.samlOnlyAccess to an arbitrary JSON value.
You should usually call Builder.samlOnlyAccess with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
wildcardDomains
final WorkspaceUpdateResponse.Builder wildcardDomains(List<String> wildcardDomains)
-
wildcardDomains
final WorkspaceUpdateResponse.Builder wildcardDomains(JsonField<List<String>> wildcardDomains)
Sets Builder.wildcardDomains to an arbitrary JSON value.
You should usually call Builder.wildcardDomains with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addWildcardDomain
final WorkspaceUpdateResponse.Builder addWildcardDomain(String wildcardDomain)
Adds a single String to wildcardDomains.
-
additionalProperties
final WorkspaceUpdateResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final WorkspaceUpdateResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final WorkspaceUpdateResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final WorkspaceUpdateResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final WorkspaceUpdateResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final WorkspaceUpdateResponse build()
Returns an immutable instance of WorkspaceUpdateResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .creatorId() .dateCreated() .dateUpdated() .inviteCount() .memberCount() .name() .periodEndDate() .periodStartDate() .projectCount() .slug() .status()
-
-
-
-