Class MoneyMovementGroup

java.lang.Object
cm.xd.genapi.ynab.model.MoneyMovementGroup

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-04-26T18:05:30.720340+02:00[Europe/Stockholm]", comments="Generator version: 7.21.0") public class MoneyMovementGroup extends Object
MoneyMovementGroup
  • Field Details

  • Constructor Details

    • MoneyMovementGroup

      public MoneyMovementGroup()
  • Method Details

    • id

      public MoneyMovementGroup id(@Nonnull UUID id)
    • getId

      @Nonnull public UUID getId()
      Get id
      Returns:
      id
    • setId

      public void setId(@Nonnull UUID id)
    • groupCreatedAt

      public MoneyMovementGroup groupCreatedAt(@Nonnull OffsetDateTime groupCreatedAt)
    • getGroupCreatedAt

      @Nonnull public OffsetDateTime getGroupCreatedAt()
      When the money movement group was created
      Returns:
      groupCreatedAt
    • setGroupCreatedAt

      public void setGroupCreatedAt(@Nonnull OffsetDateTime groupCreatedAt)
    • month

      public MoneyMovementGroup month(@Nonnull LocalDate month)
    • getMonth

      @Nonnull public LocalDate getMonth()
      The month of the money movement group in ISO format (e.g. 2024-01-01)
      Returns:
      month
    • setMonth

      public void setMonth(@Nonnull LocalDate month)
    • note

      public MoneyMovementGroup note(@Nullable String note)
    • getNote

      @Nullable public String getNote()
      Get note
      Returns:
      note
    • setNote

      public void setNote(@Nullable String note)
    • performedByUserId

      public MoneyMovementGroup performedByUserId(@Nullable UUID performedByUserId)
    • getPerformedByUserId

      @Nullable public UUID getPerformedByUserId()
      The id of the user who performed the money movement group
      Returns:
      performedByUserId
    • setPerformedByUserId

      public void setPerformedByUserId(@Nullable UUID performedByUserId)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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 MoneyMovementGroup
    • fromJson

      public static MoneyMovementGroup fromJson(String jsonString) throws IOException
      Create an instance of MoneyMovementGroup given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of MoneyMovementGroup
      Throws:
      IOException - if the JSON string is invalid with respect to MoneyMovementGroup
    • toJson

      public String toJson()
      Convert an instance of MoneyMovementGroup to an JSON string
      Returns:
      JSON string