Record Class TargetJob

java.lang.Object
java.lang.Record
io.micronaut.jsonschema.generator.ref.TargetJob

public record TargetJob(NullableSalary Salary, NullableFrequency Remote, NullableNoticePeriod noticePeriod, NullableTravelAvailability travelAvailability, Set<String> Roles, Set<TargetJob.OperatingSystems> operatingSystems, Set<String> Features, Set<String> desiredSkills, Set<String> excludedSkills, List<Location> Locations) extends Record
  • Constructor Details

    • TargetJob

      public TargetJob(NullableSalary Salary, NullableFrequency Remote, NullableNoticePeriod noticePeriod, NullableTravelAvailability travelAvailability, Set<String> Roles, Set<TargetJob.OperatingSystems> operatingSystems, Set<String> Features, Set<String> desiredSkills, Set<String> excludedSkills, List<Location> Locations)
      Creates an instance of a TargetJob record class.
      Parameters:
      Salary - the value for the Salary record component
      Remote - the value for the Remote record component
      noticePeriod - the value for the noticePeriod record component
      travelAvailability - the value for the travelAvailability record component
      Roles - the value for the Roles record component
      operatingSystems - the value for the operatingSystems record component
      Features - the value for the Features record component
      desiredSkills - the value for the desiredSkills record component
      excludedSkills - the value for the excludedSkills record component
      Locations - the value for the Locations record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • Salary

      public NullableSalary Salary()
      Returns the value of the Salary record component.
      Returns:
      the value of the Salary record component
    • Remote

      public NullableFrequency Remote()
      Returns the value of the Remote record component.
      Returns:
      the value of the Remote record component
    • noticePeriod

      public NullableNoticePeriod noticePeriod()
      Returns the value of the noticePeriod record component.
      Returns:
      the value of the noticePeriod record component
    • travelAvailability

      public NullableTravelAvailability travelAvailability()
      Returns the value of the travelAvailability record component.
      Returns:
      the value of the travelAvailability record component
    • Roles

      public Set<String> Roles()
      Returns the value of the Roles record component.
      Returns:
      the value of the Roles record component
    • operatingSystems

      public Set<TargetJob.OperatingSystems> operatingSystems()
      Returns the value of the operatingSystems record component.
      Returns:
      the value of the operatingSystems record component
    • Features

      public Set<String> Features()
      Returns the value of the Features record component.
      Returns:
      the value of the Features record component
    • desiredSkills

      public Set<String> desiredSkills()
      Returns the value of the desiredSkills record component.
      Returns:
      the value of the desiredSkills record component
    • excludedSkills

      public Set<String> excludedSkills()
      Returns the value of the excludedSkills record component.
      Returns:
      the value of the excludedSkills record component
    • Locations

      public List<Location> Locations()
      Returns the value of the Locations record component.
      Returns:
      the value of the Locations record component