NominatedFacility

class NominatedFacility(var currentlyAMember: Boolean = false, var nominationId: Int? = 0, var status: String? = "", var clubName: String? = "", var managerName: String? = "", var clubPhone: String? = "", var address1: String? = "", var address2: String? = "", var city: String? = "", var stateCode: String? = "", var zip: String? = "", var countryId: Int? = 0, var createdDateTime: String? = "")

Represents a facility that has been nominated by a user.

This data class holds all the relevant information about a nominated fitness club or facility, including its contact details, address, and nomination status.

Constructors

Link copied to clipboard
constructor(currentlyAMember: Boolean = false, nominationId: Int? = 0, status: String? = "", clubName: String? = "", managerName: String? = "", clubPhone: String? = "", address1: String? = "", address2: String? = "", city: String? = "", stateCode: String? = "", zip: String? = "", countryId: Int? = 0, createdDateTime: String? = "")

Properties

Link copied to clipboard

The first line of the facility's street address.

Link copied to clipboard

The second line of the facility's street address (e.g., suite, floor).

Link copied to clipboard
var city: String?

The city where the facility is located.

Link copied to clipboard

The name of the nominated club or facility.

Link copied to clipboard

The contact phone number for the club.

Link copied to clipboard

The unique identifier for the country where the facility is located.

Link copied to clipboard

The date and time when the nomination was created, as a String.

Link copied to clipboard

Indicates whether the member is currently registered with the facility.

Link copied to clipboard

The name of the manager at the facility, if known.

Link copied to clipboard

The backend-assigned identifier for this nomination record (the nominated-club id). null when the backend omitted the id in its response — for example for an in-flight submission that has not yet been persisted with an id.

Link copied to clipboard

The state or province code (e.g., "CA", "ON").

Link copied to clipboard

The nomination's review state as a backend-provided string. Treated case-insensitively by substring: values containing "approve" or "verified" indicate an accepted nomination, "reject" or "deni(ed)" indicate a declined one, and anything else (including null or empty) is treated as pending review.

Link copied to clipboard
var zip: String?

The postal or ZIP code for the facility's address.