Returns the district for a school admin
 @param id
 @param [Hash] opts the optional parameters
 @return [DistrictResponse]
512288
def get_district_for_school_admin(id, opts = {})
      data, _status_code, _headers = get_district_for_school_admin_with_http_info(id, opts)
      return data
    end
762841
def get_section(id, opts = {})
      data, _status_code, _headers = get_section_with_http_info(id, opts)
      return data
    end
567663
public static function retrieveTaxId($id, $taxIdId, $params = null, $opts = null)
    {
        return self::_retrieveNestedResource($id, static::PATH_TAX_IDS, $taxIdId, $params, $opts);
    }
1284320
def get_schools_for_teacher(id, opts = {})
      data, _status_code, _headers = get_schools_for_teacher_with_http_info(id, opts)
      return data
    end
811570
def get(self, id=None):
        
        if id is None:
            res = self._get('department/list')
        else:
            res = self._get('department/list', params={'id': id})
        return res['department']
1159944
function (opts, id) {
        let uri = this.classUrl
        if (id) {
          uri += '/' + id
        }

        return new Promise(function (resolve, reject) {
          new Requestor({ api_version: instance.api_version }).request({
            method: 'post',
            url: [Conekta.api_base, uri].join(''),
            data: opts.data || {},
            next: function (error, response) {
              if (!error) {
                response = this.listObjectsToArray(response)
                this._json = response
                this._id = response.id
                this.build_children()
              }
              if (opts.next !== undefined) {
                opts.next(error, this)
              } else {
                if (error) {
                  reject(error)
                } else {
                  resolve(this)
                }
              }
            }.bind(this)
          })
        }.bind(this))
      }
1112954
def get_district(id, opts = {})
      data, _status_code, _headers = get_district_with_http_info(id, opts)
      return data
    end
644914
def team_districts(self, team):
        
        return [District(raw) for raw in self._get('team/%s/districts' % self.team_key(team))]
650692
def get_sections_for_course(id, opts = {})
      data, _status_code, _headers = get_sections_for_course_with_http_info(id, opts)
      return data
    end
717363
def get_budget_settings_by_id(budget_id, opts = {})
      data, _status_code, _headers = get_budget_settings_by_id_with_http_info(budget_id, opts)
      data
    end
1206328
public static function retrieve($id, $opts = null)
    {
        $opts = \Stripe\Util\RequestOptions::parse($opts);
        $instance = new static($id, $opts);
        $instance->refresh();
        return $instance;
    }
1183491
def get_instance(self, id=None, name=None):
        
        log.info("Picking instance: %s (%s)" % (name, id))
        if id:  # submodule instances are invisible for lists
            return Instance(id=id, organization=self).init_router(self._router)
        return Instance.get(self._router, self, name)
366271
def retrieve_employee(id, opts = {})
      data, _status_code, _headers = retrieve_employee_with_http_info(id, opts)
      return data
    end
763624
def get_contacts_for_student(id, opts = {})
      data, _status_code, _headers = get_contacts_for_student_with_http_info(id, opts)
      return data
    end
985007
def get_students_for_teacher(id, opts = {})
      data, _status_code, _headers = get_students_for_teacher_with_http_info(id, opts)
      return data
    end
1051642
def get_district_admin(id, opts = {})
      data, _status_code, _headers = get_district_admin_with_http_info(id, opts)
      return data
    end
938547
def find(id)
      return nil unless id
      meta = DCell.registry.get_node(id)
      DirectoryMeta.new(id, meta)
    end