public class SchemaInfoObject extends QApiType
QApiTypeDescriptor{name=SchemaInfoObject, data={members=[SchemaInfoObjectMember], *tag=str, *variants=[SchemaInfoObjectVariant]}, innerTypes=null}
Modifier and Type | Field and Description |
---|---|
List<SchemaInfoObjectMember> |
members |
String |
tag |
List<SchemaInfoObjectVariant> |
variants |
Constructor and Description |
---|
SchemaInfoObject() |
SchemaInfoObject(List<SchemaInfoObjectMember> members,
String tag,
List<SchemaInfoObjectVariant> variants) |
Modifier and Type | Method and Description |
---|---|
Object |
getFieldByName(String name) |
List<String> |
getFieldNames() |
SchemaInfoObject |
withMembers(List<SchemaInfoObjectMember> value) |
SchemaInfoObject |
withTag(String value) |
SchemaInfoObject |
withVariants(List<SchemaInfoObjectVariant> value) |
toString
@Nonnull public List<SchemaInfoObjectMember> members
@CheckForNull public String tag
@CheckForNull public List<SchemaInfoObjectVariant> variants
public SchemaInfoObject()
public SchemaInfoObject(List<SchemaInfoObjectMember> members, String tag, List<SchemaInfoObjectVariant> variants)
@Nonnull public SchemaInfoObject withMembers(List<SchemaInfoObjectMember> value)
@Nonnull public SchemaInfoObject withTag(String value)
@Nonnull public SchemaInfoObject withVariants(List<SchemaInfoObjectVariant> value)
public List<String> getFieldNames()
getFieldNames
in class QApiType
public Object getFieldByName(@Nonnull String name) throws NoSuchFieldException
getFieldByName
in class QApiType
NoSuchFieldException