Class MsTeamCheckAuthResponse.Connection.Builder
-
- All Implemented Interfaces:
public final class MsTeamCheckAuthResponse.Connection.BuilderA builder for Connection.
-
-
Method Summary
-
-
Method Detail
-
ok
final MsTeamCheckAuthResponse.Connection.Builder ok(Boolean ok)
Whether the Microsoft Teams connection is valid.
-
ok
final MsTeamCheckAuthResponse.Connection.Builder ok(JsonField<Boolean> ok)
Sets Builder.ok to an arbitrary JSON value.
You should usually call Builder.ok with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
reason
final MsTeamCheckAuthResponse.Connection.Builder reason(String reason)
The reason for the Microsoft Teams connection if it is not valid.
-
reason
final MsTeamCheckAuthResponse.Connection.Builder reason(Optional<String> reason)
Alias for calling Builder.reason with
reason.orElse(null).
-
reason
final MsTeamCheckAuthResponse.Connection.Builder reason(JsonField<String> reason)
Sets Builder.reason to an arbitrary JSON value.
You should usually call Builder.reason with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final MsTeamCheckAuthResponse.Connection.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final MsTeamCheckAuthResponse.Connection.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final MsTeamCheckAuthResponse.Connection.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final MsTeamCheckAuthResponse.Connection.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final MsTeamCheckAuthResponse.Connection.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final MsTeamCheckAuthResponse.Connection build()
Returns an immutable instance of Connection.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.ok()
-
-
-
-