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 stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Timestamp of the last change to this structure membergetName()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) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.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
Timestamp of the last change to this structure member- 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
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the StructureMember instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
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
-