Share via


AccessListUsersSuccessResponseInner Class

  • java.lang.Object
    • com.azure.resourcemanager.confluent.fluent.models.AccessListUsersSuccessResponseInner

Implements

public final class AccessListUsersSuccessResponseInner
implements JsonSerializable<AccessListUsersSuccessResponseInner>

List users success response.

Constructor Summary

Constructor Description
AccessListUsersSuccessResponseInner()

Creates an instance of AccessListUsersSuccessResponseInner class.

Method Summary

Modifier and Type Method and Description
List<UserRecord> data()

Get the data property: Data of the users list.

static AccessListUsersSuccessResponseInner fromJson(JsonReader jsonReader)

Reads an instance of AccessListUsersSuccessResponseInner from the JsonReader.

String kind()

Get the kind property: Type of response.

ConfluentListMetadata metadata()

Get the metadata property: Metadata of the list.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AccessListUsersSuccessResponseInner withData(List<UserRecord> data)

Set the data property: Data of the users list.

AccessListUsersSuccessResponseInner withKind(String kind)

Set the kind property: Type of response.

AccessListUsersSuccessResponseInner withMetadata(ConfluentListMetadata metadata)

Set the metadata property: Metadata of the list.

Methods inherited from java.lang.Object

Constructor Details

AccessListUsersSuccessResponseInner

public AccessListUsersSuccessResponseInner()

Creates an instance of AccessListUsersSuccessResponseInner class.

Method Details

data

public List<UserRecord> data()

Get the data property: Data of the users list.

Returns:

the data value.

fromJson

public static AccessListUsersSuccessResponseInner fromJson(JsonReader jsonReader)

Reads an instance of AccessListUsersSuccessResponseInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AccessListUsersSuccessResponseInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the AccessListUsersSuccessResponseInner.

kind

public String kind()

Get the kind property: Type of response.

Returns:

the kind value.

metadata

public ConfluentListMetadata metadata()

Get the metadata property: Metadata of the list.

Returns:

the metadata value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withData

public AccessListUsersSuccessResponseInner withData(List<UserRecord> data)

Set the data property: Data of the users list.

Parameters:

data - the data value to set.

Returns:

the AccessListUsersSuccessResponseInner object itself.

withKind

public AccessListUsersSuccessResponseInner withKind(String kind)

Set the kind property: Type of response.

Parameters:

kind - the kind value to set.

Returns:

the AccessListUsersSuccessResponseInner object itself.

withMetadata

public AccessListUsersSuccessResponseInner withMetadata(ConfluentListMetadata metadata)

Set the metadata property: Metadata of the list.

Parameters:

metadata - the metadata value to set.

Returns:

the AccessListUsersSuccessResponseInner object itself.

Applies to