<?php
/**
 * FoundOrganisationLocalType
 *
 * PHP version 5
 *
 * @category Class
 * @package  Fifa\ConnectId\Sdk\Api
 * @author   Swaagger Codegen team
 * @link     https://github.com/swagger-api/swagger-codegen
 */

/**
 * FIFA Connect ID - ID Directory V6
 *
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 *
 * OpenAPI spec version: v6
 * 
 * Generated by: https://github.com/swagger-api/swagger-codegen.git
 *
 */

/**
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen
 * Do not edit the class manually.
 */

namespace Fifa\ConnectId\Sdk\Api\Model;

use \ArrayAccess;

/**
 * FoundOrganisationLocalType Class Doc Comment
 *
 * @category    Class
 * @package     Fifa\ConnectId\Sdk\Api
 * @author      Swagger Codegen team
 * @link        https://github.com/swagger-api/swagger-codegen
 */
class FoundOrganisationLocalType implements ArrayAccess
{
    const DISCRIMINATOR = null;

    /**
      * The original name of the model.
      * @var string
      */
    protected static $swaggerModelName = 'FoundOrganisationLocalType';

    /**
      * Array of property to type mappings. Used for (de)serialization
      * @var string[]
      */
    protected static $swaggerTypes = [
        'modified_at' => '\DateTime',
        'match_score' => 'double',
        'organisation_fifa_id' => 'string',
        'status' => 'string',
        'international_name' => 'string',
        'international_short_name' => 'string',
        'local_name' => 'string',
        'local_short_name' => 'string',
        'local_system_ma_id' => 'string',
        'local_language' => 'string',
        'local_country' => 'string',
        'organisation_nature' => 'string',
        'club_training_category' => 'string',
        'compliance_and_payment_manager' => '\Fifa\ConnectId\Sdk\Api\Model\ComplianceAndPaymentManagerType',
        'foundation_date' => '\DateTime',
        'dissolution_date' => '\DateTime',
        'parent_organisation_fifa_id' => 'string',
        'national_identifier' => '\Fifa\ConnectId\Sdk\Api\Model\NationalIdentifierType[]',
        'local_organisation_name' => '\Fifa\ConnectId\Sdk\Api\Model\LocalNameType[]',
        'supported_discipline' => '\Fifa\ConnectId\Sdk\Api\Model\SupportedDisciplineType[]',
        'official_address' => '\Fifa\ConnectId\Sdk\Api\Model\AddressType',
        'web_address' => 'string',
        'email' => 'string',
        'phone' => 'string',
        'fax' => 'string',
        'logo' => '\Fifa\ConnectId\Sdk\Api\Model\PictureType'
    ];

    public static function swaggerTypes()
    {
        return self::$swaggerTypes;
    }

    /**
     * Array of attributes where the key is the local name, and the value is the original name
     * @var string[]
     */
    protected static $attributeMap = [
        'modified_at' => 'modifiedAt',
        'match_score' => 'matchScore',
        'organisation_fifa_id' => 'organisationFIFAId',
        'status' => 'status',
        'international_name' => 'internationalName',
        'international_short_name' => 'internationalShortName',
        'local_name' => 'localName',
        'local_short_name' => 'localShortName',
        'local_system_ma_id' => 'localSystemMAId',
        'local_language' => 'localLanguage',
        'local_country' => 'localCountry',
        'organisation_nature' => 'organisationNature',
        'club_training_category' => 'clubTrainingCategory',
        'compliance_and_payment_manager' => 'complianceAndPaymentManager',
        'foundation_date' => 'foundationDate',
        'dissolution_date' => 'dissolutionDate',
        'parent_organisation_fifa_id' => 'parentOrganisationFIFAId',
        'national_identifier' => 'nationalIdentifier',
        'local_organisation_name' => 'localOrganisationName',
        'supported_discipline' => 'supportedDiscipline',
        'official_address' => 'officialAddress',
        'web_address' => 'webAddress',
        'email' => 'email',
        'phone' => 'phone',
        'fax' => 'fax',
        'logo' => 'logo'
    ];

    /**
     * Array of attributes to setter functions (for deserialization of responses)
     * @var string[]
     */
    protected static $setters = [
        'modified_at' => 'setModifiedAt',
        'match_score' => 'setMatchScore',
        'organisation_fifa_id' => 'setOrganisationFifaId',
        'status' => 'setStatus',
        'international_name' => 'setInternationalName',
        'international_short_name' => 'setInternationalShortName',
        'local_name' => 'setLocalName',
        'local_short_name' => 'setLocalShortName',
        'local_system_ma_id' => 'setLocalSystemMaId',
        'local_language' => 'setLocalLanguage',
        'local_country' => 'setLocalCountry',
        'organisation_nature' => 'setOrganisationNature',
        'club_training_category' => 'setClubTrainingCategory',
        'compliance_and_payment_manager' => 'setComplianceAndPaymentManager',
        'foundation_date' => 'setFoundationDate',
        'dissolution_date' => 'setDissolutionDate',
        'parent_organisation_fifa_id' => 'setParentOrganisationFifaId',
        'national_identifier' => 'setNationalIdentifier',
        'local_organisation_name' => 'setLocalOrganisationName',
        'supported_discipline' => 'setSupportedDiscipline',
        'official_address' => 'setOfficialAddress',
        'web_address' => 'setWebAddress',
        'email' => 'setEmail',
        'phone' => 'setPhone',
        'fax' => 'setFax',
        'logo' => 'setLogo'
    ];

    /**
     * Array of attributes to getter functions (for serialization of requests)
     * @var string[]
     */
    protected static $getters = [
        'modified_at' => 'getModifiedAt',
        'match_score' => 'getMatchScore',
        'organisation_fifa_id' => 'getOrganisationFifaId',
        'status' => 'getStatus',
        'international_name' => 'getInternationalName',
        'international_short_name' => 'getInternationalShortName',
        'local_name' => 'getLocalName',
        'local_short_name' => 'getLocalShortName',
        'local_system_ma_id' => 'getLocalSystemMaId',
        'local_language' => 'getLocalLanguage',
        'local_country' => 'getLocalCountry',
        'organisation_nature' => 'getOrganisationNature',
        'club_training_category' => 'getClubTrainingCategory',
        'compliance_and_payment_manager' => 'getComplianceAndPaymentManager',
        'foundation_date' => 'getFoundationDate',
        'dissolution_date' => 'getDissolutionDate',
        'parent_organisation_fifa_id' => 'getParentOrganisationFifaId',
        'national_identifier' => 'getNationalIdentifier',
        'local_organisation_name' => 'getLocalOrganisationName',
        'supported_discipline' => 'getSupportedDiscipline',
        'official_address' => 'getOfficialAddress',
        'web_address' => 'getWebAddress',
        'email' => 'getEmail',
        'phone' => 'getPhone',
        'fax' => 'getFax',
        'logo' => 'getLogo'
    ];

    public static function attributeMap()
    {
        return self::$attributeMap;
    }

    public static function setters()
    {
        return self::$setters;
    }

    public static function getters()
    {
        return self::$getters;
    }

    const STATUS_ACTIVE = 'active';
    const STATUS_INACTIVE = 'inactive';
    const STATUS_PENDING = 'pending';
    const ORGANISATION_NATURE_WORLD_FEDERATION = 'WorldFederation';
    const ORGANISATION_NATURE_CONFEDERATION = 'Confederation';
    const ORGANISATION_NATURE_NATIONAL_ASSOCIATION = 'NationalAssociation';
    const ORGANISATION_NATURE_REGIONAL_ASSOCIATION = 'RegionalAssociation';
    const ORGANISATION_NATURE_CLUB = 'Club';
    const ORGANISATION_NATURE_TEAM = 'Team';
    const ORGANISATION_NATURE_SCHOOL = 'School';
    const ORGANISATION_NATURE_MA_ACADEMY = 'MA Academy';
    const ORGANISATION_NATURE_GRASSROOT_PROGRAMME = 'Grassroot Programme';
    const ORGANISATION_NATURE_PRIVATE_ACADEMY = 'Private Academy';
    const ORGANISATION_NATURE_COLLEGE = 'College';
    const ORGANISATION_NATURE_UNIVERSITY = 'University';
    const ORGANISATION_NATURE_OTHER = 'Other';
    const CLUB_TRAINING_CATEGORY_CATEGORY1 = 'Category1';
    const CLUB_TRAINING_CATEGORY_CATEGORY2 = 'Category2';
    const CLUB_TRAINING_CATEGORY_CATEGORY3 = 'Category3';
    const CLUB_TRAINING_CATEGORY_CATEGORY4 = 'Category4';

    /**
     * Gets allowable values of the enum
     * @return string[]
     */
    public function getStatusAllowableValues()
    {
        return [
            self::STATUS_ACTIVE,
            self::STATUS_INACTIVE,
            self::STATUS_PENDING,
        ];
    }

    /**
     * Gets allowable values of the enum
     * @return string[]
     */
    public function getOrganisationNatureAllowableValues()
    {
        return [
            self::ORGANISATION_NATURE_WORLD_FEDERATION,
            self::ORGANISATION_NATURE_CONFEDERATION,
            self::ORGANISATION_NATURE_NATIONAL_ASSOCIATION,
            self::ORGANISATION_NATURE_REGIONAL_ASSOCIATION,
            self::ORGANISATION_NATURE_CLUB,
            self::ORGANISATION_NATURE_TEAM,
            self::ORGANISATION_NATURE_SCHOOL,
            self::ORGANISATION_NATURE_MA_ACADEMY,
            self::ORGANISATION_NATURE_GRASSROOT_PROGRAMME,
            self::ORGANISATION_NATURE_PRIVATE_ACADEMY,
            self::ORGANISATION_NATURE_COLLEGE,
            self::ORGANISATION_NATURE_UNIVERSITY,
            self::ORGANISATION_NATURE_OTHER,
        ];
    }

    /**
     * Gets allowable values of the enum
     * @return string[]
     */
    public function getClubTrainingCategoryAllowableValues()
    {
        return [
            self::CLUB_TRAINING_CATEGORY_CATEGORY1,
            self::CLUB_TRAINING_CATEGORY_CATEGORY2,
            self::CLUB_TRAINING_CATEGORY_CATEGORY3,
            self::CLUB_TRAINING_CATEGORY_CATEGORY4,
        ];
    }

    /**
     * Associative array for storing property values
     * @var mixed[]
     */
    protected $container = [];

    /**
     * Constructor
     * @param mixed[] $data Associated array of property values initializing the model
     */
    public function __construct(array $data = null)
    {
        $this->container['modified_at'] = isset($data['modified_at']) ? $data['modified_at'] : null;
        $this->container['match_score'] = isset($data['match_score']) ? $data['match_score'] : null;
        $this->container['organisation_fifa_id'] = isset($data['organisation_fifa_id']) ? $data['organisation_fifa_id'] : null;
        $this->container['status'] = isset($data['status']) ? $data['status'] : null;
        $this->container['international_name'] = isset($data['international_name']) ? $data['international_name'] : null;
        $this->container['international_short_name'] = isset($data['international_short_name']) ? $data['international_short_name'] : null;
        $this->container['local_name'] = isset($data['local_name']) ? $data['local_name'] : null;
        $this->container['local_short_name'] = isset($data['local_short_name']) ? $data['local_short_name'] : null;
        $this->container['local_system_ma_id'] = isset($data['local_system_ma_id']) ? $data['local_system_ma_id'] : null;
        $this->container['local_language'] = isset($data['local_language']) ? $data['local_language'] : null;
        $this->container['local_country'] = isset($data['local_country']) ? $data['local_country'] : null;
        $this->container['organisation_nature'] = isset($data['organisation_nature']) ? $data['organisation_nature'] : null;
        $this->container['club_training_category'] = isset($data['club_training_category']) ? $data['club_training_category'] : null;
        $this->container['compliance_and_payment_manager'] = isset($data['compliance_and_payment_manager']) ? $data['compliance_and_payment_manager'] : null;
        $this->container['foundation_date'] = isset($data['foundation_date']) ? $data['foundation_date'] : null;
        $this->container['dissolution_date'] = isset($data['dissolution_date']) ? $data['dissolution_date'] : null;
        $this->container['parent_organisation_fifa_id'] = isset($data['parent_organisation_fifa_id']) ? $data['parent_organisation_fifa_id'] : null;
        $this->container['national_identifier'] = isset($data['national_identifier']) ? $data['national_identifier'] : null;
        $this->container['local_organisation_name'] = isset($data['local_organisation_name']) ? $data['local_organisation_name'] : null;
        $this->container['supported_discipline'] = isset($data['supported_discipline']) ? $data['supported_discipline'] : null;
        $this->container['official_address'] = isset($data['official_address']) ? $data['official_address'] : null;
        $this->container['web_address'] = isset($data['web_address']) ? $data['web_address'] : null;
        $this->container['email'] = isset($data['email']) ? $data['email'] : null;
        $this->container['phone'] = isset($data['phone']) ? $data['phone'] : null;
        $this->container['fax'] = isset($data['fax']) ? $data['fax'] : null;
        $this->container['logo'] = isset($data['logo']) ? $data['logo'] : null;
    }

    /**
     * show all the invalid properties with reasons.
     *
     * @return array invalid properties with reasons
     */
    public function listInvalidProperties()
    {
        $invalid_properties = [];

        if ($this->container['modified_at'] === null) {
            $invalid_properties[] = "'modified_at' can't be null";
        }
        if ($this->container['status'] === null) {
            $invalid_properties[] = "'status' can't be null";
        }
        $allowed_values = ["active", "inactive", "pending"];
        if (!in_array($this->container['status'], $allowed_values)) {
            $invalid_properties[] = "invalid value for 'status', must be one of 'active', 'inactive', 'pending'.";
        }

        if ($this->container['international_name'] === null) {
            $invalid_properties[] = "'international_name' can't be null";
        }

        if ($this->container['local_name'] === null) {
            $invalid_properties[] = "'local_name' can't be null";
        }

        if ($this->container['local_language'] === null) {
            $invalid_properties[] = "'local_language' can't be null";
        }

        if ($this->container['local_country'] === null) {
            $invalid_properties[] = "'local_country' can't be null";
        }

        if ($this->container['organisation_nature'] === null) {
            $invalid_properties[] = "'organisation_nature' can't be null";
        }
        $allowed_values = ["WorldFederation", "Confederation", "NationalAssociation", "RegionalAssociation", "Club", "Team", "School", "MA Academy", "Grassroot Programme", "Private Academy", "College", "University", "Other"];
        if (!in_array($this->container['organisation_nature'], $allowed_values)) {
            $invalid_properties[] = "invalid value for 'organisation_nature', must be one of 'WorldFederation', 'Confederation', 'NationalAssociation', 'RegionalAssociation', 'Club', 'Team', 'School', 'MA Academy', 'Grassroot Programme', 'Private Academy', 'College', 'University', 'Other'.";
        }

        $allowed_values = ["Category1", "Category2", "Category3", "Category4"];
        if (!in_array($this->container['club_training_category'], $allowed_values)) {
            $invalid_properties[] = "invalid value for 'club_training_category', must be one of 'Category1', 'Category2', 'Category3', 'Category4'.";
        }

        if ($this->container['official_address'] === null) {
            $invalid_properties[] = "'official_address' can't be null";
        }

        return $invalid_properties;
    }

    /**
     * validate all the properties in the model
     * return true if all passed
     *
     * @return bool True if all properties are valid
     */
    public function valid()
    {

        if ($this->container['modified_at'] === null) {
            return false;
        }
        if ($this->container['status'] === null) {
            return false;
        }
        $allowed_values = ["active", "inactive", "pending"];
        if (!in_array($this->container['status'], $allowed_values)) {
            return false;
        }
        if ($this->container['international_name'] === null) {
            return false;
        }

        if ($this->container['local_name'] === null) {
            return false;
        }

        if ($this->container['local_language'] === null) {
            return false;
        }

        if ($this->container['local_country'] === null) {
            return false;
        }

        if ($this->container['organisation_nature'] === null) {
            return false;
        }
        $allowed_values = ["WorldFederation", "Confederation", "NationalAssociation", "RegionalAssociation", "Club", "Team", "School", "MA Academy", "Grassroot Programme", "Private Academy", "College", "University", "Other"];
        if (!in_array($this->container['organisation_nature'], $allowed_values)) {
            return false;
        }
        $allowed_values = ["Category1", "Category2", "Category3", "Category4"];
        if (!in_array($this->container['club_training_category'], $allowed_values)) {
            return false;
        }
        if ($this->container['official_address'] === null) {
            return false;
        }

        return true;
    }

    /**
     * Gets modified_at
     * @return \DateTime
     */
    public function getModifiedAt()
    {
        return $this->container['modified_at'];
    }

    /**
     * Sets modified_at
     * @param \DateTime $modified_at
     * @return $this
     */
    public function setModifiedAt($modified_at)
    {
        $this->container['modified_at'] = $modified_at;

        return $this;
    }

    /**
     * Gets match_score
     * @return double
     */
    public function getMatchScore()
    {
        return $this->container['match_score'];
    }

    /**
     * Sets match_score
     * @param double $match_score
     * @return $this
     */
    public function setMatchScore($match_score)
    {
        $this->container['match_score'] = $match_score;

        return $this;
    }

    /**
     * Gets organisation_fifa_id
     * @return string
     */
    public function getOrganisationFifaId()
    {
        return $this->container['organisation_fifa_id'];
    }

    /**
     * Sets organisation_fifa_id
     * @param string $organisation_fifa_id
     * @return $this
     */
    public function setOrganisationFifaId($organisation_fifa_id)
    {
        $this->container['organisation_fifa_id'] = $organisation_fifa_id;

        return $this;
    }

    /**
     * Gets status
     * @return string
     */
    public function getStatus()
    {
        return $this->container['status'];
    }

    /**
     * Sets status
     * @param string $status
     * @return $this
     */
    public function setStatus($status)
    {
        $allowed_values = array('active', 'inactive', 'pending');
        if ((!in_array($status, $allowed_values))) {
            throw new \InvalidArgumentException("Invalid value for 'status', must be one of 'active', 'inactive', 'pending'");
        }
        $this->container['status'] = $status;

        return $this;
    }

    /**
     * Gets international_name
     * @return string
     */
    public function getInternationalName()
    {
        return $this->container['international_name'];
    }

    /**
     * Sets international_name
     * @param string $international_name
     * @return $this
     */
    public function setInternationalName($international_name)
    {

        $this->container['international_name'] = $international_name;

        return $this;
    }

    /**
     * Gets international_short_name
     * @return string
     */
    public function getInternationalShortName()
    {
        return $this->container['international_short_name'];
    }

    /**
     * Sets international_short_name
     * @param string $international_short_name
     * @return $this
     */
    public function setInternationalShortName($international_short_name)
    {
        $this->container['international_short_name'] = $international_short_name;

        return $this;
    }

    /**
     * Gets local_name
     * @return string
     */
    public function getLocalName()
    {
        return $this->container['local_name'];
    }

    /**
     * Sets local_name
     * @param string $local_name
     * @return $this
     */
    public function setLocalName($local_name)
    {

        $this->container['local_name'] = $local_name;

        return $this;
    }

    /**
     * Gets local_short_name
     * @return string
     */
    public function getLocalShortName()
    {
        return $this->container['local_short_name'];
    }

    /**
     * Sets local_short_name
     * @param string $local_short_name
     * @return $this
     */
    public function setLocalShortName($local_short_name)
    {
        $this->container['local_short_name'] = $local_short_name;

        return $this;
    }

    /**
     * Gets local_system_ma_id
     * @return string
     */
    public function getLocalSystemMaId()
    {
        return $this->container['local_system_ma_id'];
    }

    /**
     * Sets local_system_ma_id
     * @param string $local_system_ma_id
     * @return $this
     */
    public function setLocalSystemMaId($local_system_ma_id)
    {
        $this->container['local_system_ma_id'] = $local_system_ma_id;

        return $this;
    }

    /**
     * Gets local_language
     * @return string
     */
    public function getLocalLanguage()
    {
        return $this->container['local_language'];
    }

    /**
     * Sets local_language
     * @param string $local_language
     * @return $this
     */
    public function setLocalLanguage($local_language)
    {

        $this->container['local_language'] = $local_language;

        return $this;
    }

    /**
     * Gets local_country
     * @return string
     */
    public function getLocalCountry()
    {
        return $this->container['local_country'];
    }

    /**
     * Sets local_country
     * @param string $local_country
     * @return $this
     */
    public function setLocalCountry($local_country)
    {

        $this->container['local_country'] = $local_country;

        return $this;
    }

    /**
     * Gets organisation_nature
     * @return string
     */
    public function getOrganisationNature()
    {
        return $this->container['organisation_nature'];
    }

    /**
     * Sets organisation_nature
     * @param string $organisation_nature
     * @return $this
     */
    public function setOrganisationNature($organisation_nature)
    {
        $allowed_values = array('WorldFederation', 'Confederation', 'NationalAssociation', 'RegionalAssociation', 'Club', 'Team', 'School', 'MA Academy', 'Grassroot Programme', 'Private Academy', 'College', 'University', 'Other');
        if ((!in_array($organisation_nature, $allowed_values))) {
            throw new \InvalidArgumentException("Invalid value for 'organisation_nature', must be one of 'WorldFederation', 'Confederation', 'NationalAssociation', 'RegionalAssociation', 'Club', 'Team', 'School', 'MA Academy', 'Grassroot Programme', 'Private Academy', 'College', 'University', 'Other'");
        }
        $this->container['organisation_nature'] = $organisation_nature;

        return $this;
    }

    /**
     * Gets club_training_category
     * @return string
     */
    public function getClubTrainingCategory()
    {
        return $this->container['club_training_category'];
    }

    /**
     * Sets club_training_category
     * @param string $club_training_category
     * @return $this
     */
    public function setClubTrainingCategory($club_training_category)
    {
        $allowed_values = array('Category1', 'Category2', 'Category3', 'Category4');
        if (!is_null($club_training_category) && (!in_array($club_training_category, $allowed_values))) {
            throw new \InvalidArgumentException("Invalid value for 'club_training_category', must be one of 'Category1', 'Category2', 'Category3', 'Category4'");
        }
        $this->container['club_training_category'] = $club_training_category;

        return $this;
    }

    /**
     * Gets compliance_and_payment_manager
     * @return \Fifa\ConnectId\Sdk\Api\Model\ComplianceAndPaymentManagerType
     */
    public function getComplianceAndPaymentManager()
    {
        return $this->container['compliance_and_payment_manager'];
    }

    /**
     * Sets compliance_and_payment_manager
     * @param \Fifa\ConnectId\Sdk\Api\Model\ComplianceAndPaymentManagerType $compliance_and_payment_manager
     * @return $this
     */
    public function setComplianceAndPaymentManager($compliance_and_payment_manager)
    {
        $this->container['compliance_and_payment_manager'] = $compliance_and_payment_manager;

        return $this;
    }

    /**
     * Gets foundation_date
     * @return \DateTime
     */
    public function getFoundationDate()
    {
        return $this->container['foundation_date'];
    }

    /**
     * Sets foundation_date
     * @param \DateTime $foundation_date
     * @return $this
     */
    public function setFoundationDate($foundation_date)
    {
        $this->container['foundation_date'] = $foundation_date;

        return $this;
    }

    /**
     * Gets dissolution_date
     * @return \DateTime
     */
    public function getDissolutionDate()
    {
        return $this->container['dissolution_date'];
    }

    /**
     * Sets dissolution_date
     * @param \DateTime $dissolution_date
     * @return $this
     */
    public function setDissolutionDate($dissolution_date)
    {
        $this->container['dissolution_date'] = $dissolution_date;

        return $this;
    }

    /**
     * Gets parent_organisation_fifa_id
     * @return string
     */
    public function getParentOrganisationFifaId()
    {
        return $this->container['parent_organisation_fifa_id'];
    }

    /**
     * Sets parent_organisation_fifa_id
     * @param string $parent_organisation_fifa_id
     * @return $this
     */
    public function setParentOrganisationFifaId($parent_organisation_fifa_id)
    {
        $this->container['parent_organisation_fifa_id'] = $parent_organisation_fifa_id;

        return $this;
    }

    /**
     * Gets national_identifier
     * @return \Fifa\ConnectId\Sdk\Api\Model\NationalIdentifierType[]
     */
    public function getNationalIdentifier()
    {
        return $this->container['national_identifier'];
    }

    /**
     * Sets national_identifier
     * @param \Fifa\ConnectId\Sdk\Api\Model\NationalIdentifierType[] $national_identifier
     * @return $this
     */
    public function setNationalIdentifier($national_identifier)
    {
        $this->container['national_identifier'] = $national_identifier;

        return $this;
    }

    /**
     * Gets local_organisation_name
     * @return \Fifa\ConnectId\Sdk\Api\Model\LocalNameType[]
     */
    public function getLocalOrganisationName()
    {
        return $this->container['local_organisation_name'];
    }

    /**
     * Sets local_organisation_name
     * @param \Fifa\ConnectId\Sdk\Api\Model\LocalNameType[] $local_organisation_name
     * @return $this
     */
    public function setLocalOrganisationName($local_organisation_name)
    {
        $this->container['local_organisation_name'] = $local_organisation_name;

        return $this;
    }

    /**
     * Gets supported_discipline
     * @return \Fifa\ConnectId\Sdk\Api\Model\SupportedDisciplineType[]
     */
    public function getSupportedDiscipline()
    {
        return $this->container['supported_discipline'];
    }

    /**
     * Sets supported_discipline
     * @param \Fifa\ConnectId\Sdk\Api\Model\SupportedDisciplineType[] $supported_discipline
     * @return $this
     */
    public function setSupportedDiscipline($supported_discipline)
    {
        $this->container['supported_discipline'] = $supported_discipline;

        return $this;
    }

    /**
     * Gets official_address
     * @return \Fifa\ConnectId\Sdk\Api\Model\AddressType
     */
    public function getOfficialAddress()
    {
        return $this->container['official_address'];
    }

    /**
     * Sets official_address
     * @param \Fifa\ConnectId\Sdk\Api\Model\AddressType $official_address
     * @return $this
     */
    public function setOfficialAddress($official_address)
    {
        $this->container['official_address'] = $official_address;

        return $this;
    }

    /**
     * Gets web_address
     * @return string
     */
    public function getWebAddress()
    {
        return $this->container['web_address'];
    }

    /**
     * Sets web_address
     * @param string $web_address
     * @return $this
     */
    public function setWebAddress($web_address)
    {
        $this->container['web_address'] = $web_address;

        return $this;
    }

    /**
     * Gets email
     * @return string
     */
    public function getEmail()
    {
        return $this->container['email'];
    }

    /**
     * Sets email
     * @param string $email
     * @return $this
     */
    public function setEmail($email)
    {

        $this->container['email'] = $email;

        return $this;
    }

    /**
     * Gets phone
     * @return string
     */
    public function getPhone()
    {
        return $this->container['phone'];
    }

    /**
     * Sets phone
     * @param string $phone
     * @return $this
     */
    public function setPhone($phone)
    {
        $this->container['phone'] = $phone;

        return $this;
    }

    /**
     * Gets fax
     * @return string
     */
    public function getFax()
    {
        return $this->container['fax'];
    }

    /**
     * Sets fax
     * @param string $fax
     * @return $this
     */
    public function setFax($fax)
    {
        $this->container['fax'] = $fax;

        return $this;
    }

    /**
     * Gets logo
     * @return \Fifa\ConnectId\Sdk\Api\Model\PictureType
     */
    public function getLogo()
    {
        return $this->container['logo'];
    }

    /**
     * Sets logo
     * @param \Fifa\ConnectId\Sdk\Api\Model\PictureType $logo
     * @return $this
     */
    public function setLogo($logo)
    {
        $this->container['logo'] = $logo;

        return $this;
    }
    /**
     * Returns true if offset exists. False otherwise.
     * @param  integer $offset Offset
     * @return boolean
     */
    public function offsetExists($offset)
    {
        return isset($this->container[$offset]);
    }

    /**
     * Gets offset.
     * @param  integer $offset Offset
     * @return mixed
     */
    public function offsetGet($offset)
    {
        return isset($this->container[$offset]) ? $this->container[$offset] : null;
    }

    /**
     * Sets value based on offset.
     * @param  integer $offset Offset
     * @param  mixed   $value  Value to be set
     * @return void
     */
    public function offsetSet($offset, $value)
    {
        if (is_null($offset)) {
            $this->container[] = $value;
        } else {
            $this->container[$offset] = $value;
        }
    }

    /**
     * Unsets offset.
     * @param  integer $offset Offset
     * @return void
     */
    public function offsetUnset($offset)
    {
        unset($this->container[$offset]);
    }

    /**
     * Gets the string presentation of the object
     * @return string
     */
    public function __toString()
    {
        if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
            return json_encode(\Fifa\ConnectId\Sdk\Api\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT);
        }

        return json_encode(\Fifa\ConnectId\Sdk\Api\ObjectSerializer::sanitizeForSerialization($this));
    }
}


