SetSchemaResponse.Builder
class SetSchemaResponse.Builder
Builder for SetSchemaResponse objects.
Summary
Public functions |
|
|---|---|
SetSchemaResponse.Builder |
addDeletedType(deletedType: String)Adds one |
SetSchemaResponse.Builder |
addDeletedTypes(deletedTypes: (Mutable)Collection<String!>)Adds |
SetSchemaResponse.Builder |
addIncompatibleType(incompatibleType: String)Adds one |
SetSchemaResponse.Builder |
addIncompatibleTypes(incompatibleTypes: (Mutable)Collection<String!>)Adds |
SetSchemaResponse.Builder |
addMigratedType(migratedType: String)Adds one |
SetSchemaResponse.Builder |
addMigratedTypes(migratedTypes: (Mutable)Collection<String!>)Adds |
SetSchemaResponse.Builder |
addMigrationFailure(Adds a |
SetSchemaResponse.Builder |
addMigrationFailures(Adds |
SetSchemaResponse |
build()Builds a |
Public functions
addDeletedType
fun addDeletedType(deletedType: String): SetSchemaResponse.Builder
Adds one deletedType to the list of deleted schema types.
addDeletedTypes
fun addDeletedTypes(deletedTypes: (Mutable)Collection<String!>): SetSchemaResponse.Builder
Adds deletedTypes to the list of deleted schema types.
addIncompatibleType
fun addIncompatibleType(incompatibleType: String): SetSchemaResponse.Builder
Adds one incompatibleType to the list of incompatible schema types.
addIncompatibleTypes
fun addIncompatibleTypes(incompatibleTypes: (Mutable)Collection<String!>): SetSchemaResponse.Builder
Adds incompatibleTypes to the list of incompatible schema types.
addMigratedType
fun addMigratedType(migratedType: String): SetSchemaResponse.Builder
Adds one migratedType to the list of migrated schema types.
addMigratedTypes
fun addMigratedTypes(migratedTypes: (Mutable)Collection<String!>): SetSchemaResponse.Builder
Adds migratedTypes to the list of migrated schema types.
addMigrationFailure
fun addMigrationFailure(
migrationFailure: SetSchemaResponse.MigrationFailure
): SetSchemaResponse.Builder
Adds a MigrationFailure to the list of migration failures.
addMigrationFailures
fun addMigrationFailures(
migrationFailures: (Mutable)Collection<SetSchemaResponse.MigrationFailure!>
): SetSchemaResponse.Builder
Adds MigrationFailures to the list of migration failures.