text: /*
   * Copyright © 2015-2018 Aeneas Rekkas <aeneas+oss@aeneas.io>
   *
   * Licensed under the Apache License, Version 2.0 (the "License");
   * you may not use this file except in compliance with the License.
   * You may obtain a copy of the License at
   *
   *     http://www.apache.org/licenses/LICENSE-2.0
   *
   * Unless required by applicable law or agreed to in writing, software
   * distributed under the License is distributed on an "AS IS" BASIS,
   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   * See the License for the specific language governing permissions and
   * limitations under the License.
   *
   * @author		Aeneas Rekkas <aeneas+oss@aeneas.io>
   * @Copyright 	2017-2018 Aeneas Rekkas <aeneas+oss@aeneas.io>
   * @license 	Apache-2.0
   */
  
  /**
   * Hydra OAuth2 & OpenID Connect Server
   * Please refer to the user guide for in-depth documentation: https://ory.gitbooks.io/hydra/content/   Hydra offers OAuth 2.0 and OpenID Connect Core 1.0 capabilities as a service. Hydra is different, because it works with any existing authentication infrastructure, not just LDAP or SAML. By implementing a consent app (works with any programming language) you build a bridge between Hydra and your authentication infrastructure. Hydra is able to securely manage JSON Web Keys, and has a sophisticated policy-based access control you can use if you want to. Hydra is suitable for green- (new) and brownfield (existing) projects. If you are not familiar with OAuth 2.0 and are working on a greenfield project, we recommend evaluating if OAuth 2.0 really serves your purpose. Knowledge of OAuth 2.0 is imperative in understanding what Hydra does and how it works.   The official repository is located at https://github.com/ory/hydra   ### Important REST API Documentation Notes  The swagger generator used to create this documentation does currently not support example responses. To see request and response payloads click on **\"Show JSON schema\"**: ![Enable JSON Schema on Apiary](https://storage.googleapis.com/ory.am/hydra/json-schema.png)   The API documentation always refers to the latest tagged version of ORY Hydra. For previous API documentations, please refer to https://github.com/ory/hydra/blob/<tag-id>/docs/api.swagger.yaml - for example:  0.9.13: https://github.com/ory/hydra/blob/v0.9.13/docs/api.swagger.yaml 0.8.1: https://github.com/ory/hydra/blob/v0.8.1/docs/api.swagger.yaml
   *
   * OpenAPI spec version: Latest
   * Contact: hi@ory.am
   *
   * NOTE: This class is auto generated by the swagger code generator program.
   * https://github.com/swagger-api/swagger-codegen.git
   *
   * Swagger Codegen version: 2.2.3
   *
   * Do not edit the class manually.
   *
   */
  
  ;(function(root, factory) {
    if (typeof define === 'function' && define.amd) {
      // AMD. Register as an anonymous module.
      define(['ApiClient', 'model/JsonWebKeySetGeneratorRequest'], factory)
    } else if (typeof module === 'object' && module.exports) {
      // CommonJS-like environments that support module.exports, like Node.
      module.exports = factory(
        require('../ApiClient'),
        require('./JsonWebKeySetGeneratorRequest')
      )
    } else {
      // Browser globals (root is window)
      if (!root.HydraOAuth2OpenIdConnectServer) {
        root.HydraOAuth2OpenIdConnectServer = {}
      }
      root.HydraOAuth2OpenIdConnectServer.SwaggerJwkCreateSet = factory(
        root.HydraOAuth2OpenIdConnectServer.ApiClient,
        root.HydraOAuth2OpenIdConnectServer.JsonWebKeySetGeneratorRequest
      )
    }
  })(this, function(ApiClient, JsonWebKeySetGeneratorRequest) {
    'use strict'
  
    /**
     * The SwaggerJwkCreateSet model module.
     * @module model/SwaggerJwkCreateSet
     * @version Latest
     */
  
    /**
     * Constructs a new <code>SwaggerJwkCreateSet</code>.
     * @alias module:model/SwaggerJwkCreateSet
     * @class
     * @param set {String} The set in: path
     */
    var exports = function(set) {
      var _this = this
  
      _this['set'] = set
    }
  
    /**
     * Constructs a <code>SwaggerJwkCreateSet</code> from a plain JavaScript object, optionally creating a new instance.
     * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
     * @param {Object} data The plain JavaScript object bearing properties of interest.
     * @param {module:model/SwaggerJwkCreateSet} obj Optional instance to populate.
     * @return {module:model/SwaggerJwkCreateSet} The populated <code>SwaggerJwkCreateSet</code> instance.
     */
    exports.constructFromObject = function(data, obj) {
      if (data) {
        obj = obj || new exports()
  
        if (data.hasOwnProperty('Body')) {
          obj['Body'] = JsonWebKeySetGeneratorRequest.constructFromObject(
            data['Body']
          )
        }
        if (data.hasOwnProperty('set')) {
          obj['set'] = ApiClient.convertToType(data['set'], 'String')
        }
      }
      return obj
    }
  
    /**
     * @member {module:model/JsonWebKeySetGeneratorRequest} Body
     */
    exports.prototype['Body'] = undefined
    /**
     * The set in: path
     * @member {String} set
     */
    exports.prototype['set'] = undefined
  
    return exports
  })
  