Package ai.reveng.model
Class StructureMember
java.lang.Object
ai.reveng.model.StructureMember
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class StructureMember
extends Object
StructureMember
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic StructureMemberCreate an instance of StructureMember given an JSON stringGet lastChangegetName()Name of the structure memberOffset of the member within the structuregetSize()Size of the structure member in bytesgetType()Data type of the structure memberinthashCode()lastChange(String lastChange) voidsetLastChange(String lastChange) voidvoidvoidvoidtoJson()Convert an instance of StructureMember to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_LAST_CHANGE
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_OFFSET
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_SIZE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
StructureMember
public StructureMember()
-
-
Method Details
-
lastChange
-
getLastChange
Get lastChange- Returns:
- lastChange
-
setLastChange
-
name
-
getName
Name of the structure member- Returns:
- name
-
setName
-
offset
-
getOffset
Offset of the member within the structure- Returns:
- offset
-
setOffset
-
type
-
getType
Data type of the structure member- Returns:
- type
-
setType
-
size
-
getSize
Size of the structure member in bytes- Returns:
- size
-
setSize
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to StructureMember
-
fromJson
Create an instance of StructureMember given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of StructureMember
- Throws:
IOException- if the JSON string is invalid with respect to StructureMember
-
toJson
Convert an instance of StructureMember to an JSON string- Returns:
- JSON string
-