Class FieldType


  • public class FieldType
    extends Object
    The FieldType model.
    • Constructor Detail

      • FieldType

        public FieldType()
    • Method Detail

      • orderNumber

        public int orderNumber()
        Get the orderNumber value.
        Returns:
        the orderNumber value
      • withOrderNumber

        public FieldType withOrderNumber​(int orderNumber)
        Set the orderNumber value.
        Parameters:
        orderNumber - the orderNumber value to set
        Returns:
        the FieldType object itself.
      • discipline

        public String discipline()
        Get possible values include: 'Football', 'Futsal', 'BeachSoccer'.
        Returns:
        the discipline value
      • withDiscipline

        public FieldType withDiscipline​(String discipline)
        Set possible values include: 'Football', 'Futsal', 'BeachSoccer'.
        Parameters:
        discipline - the discipline value to set
        Returns:
        the FieldType object itself.
      • capacity

        public int capacity()
        Get the capacity value.
        Returns:
        the capacity value
      • withCapacity

        public FieldType withCapacity​(int capacity)
        Set the capacity value.
        Parameters:
        capacity - the capacity value to set
        Returns:
        the FieldType object itself.
      • groundNature

        public String groundNature()
        Get possible values include: 'grass', 'turf2star', 'turf1star', 'turf', 'hard pitch', 'unknown'.
        Returns:
        the groundNature value
      • withGroundNature

        public FieldType withGroundNature​(String groundNature)
        Set possible values include: 'grass', 'turf2star', 'turf1star', 'turf', 'hard pitch', 'unknown'.
        Parameters:
        groundNature - the groundNature value to set
        Returns:
        the FieldType object itself.
      • length

        public Double length()
        Get the length value.
        Returns:
        the length value
      • withLength

        public FieldType withLength​(Double length)
        Set the length value.
        Parameters:
        length - the length value to set
        Returns:
        the FieldType object itself.
      • width

        public Double width()
        Get the width value.
        Returns:
        the width value
      • withWidth

        public FieldType withWidth​(Double width)
        Set the width value.
        Parameters:
        width - the width value to set
        Returns:
        the FieldType object itself.
      • latitude

        public Double latitude()
        Get the latitude value.
        Returns:
        the latitude value
      • withLatitude

        public FieldType withLatitude​(Double latitude)
        Set the latitude value.
        Parameters:
        latitude - the latitude value to set
        Returns:
        the FieldType object itself.
      • longitude

        public Double longitude()
        Get the longitude value.
        Returns:
        the longitude value
      • withLongitude

        public FieldType withLongitude​(Double longitude)
        Set the longitude value.
        Parameters:
        longitude - the longitude value to set
        Returns:
        the FieldType object itself.