text: /**
   * Appvia Kore API
   * Kore API provides the frontend API for the Appvia Kore (kore.appvia.io)
   *
   * The version of the OpenAPI document: 0.0.1
   * Contact: info@appvia.io
   *
   * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
   * https://openapi-generator.tech
   * Do not edit the class manually.
   *
   */
  
  import ApiClient from '../ApiClient';
  
  /**
   * The V1alpha1AuthorizedNetwork model module.
   * @module model/V1alpha1AuthorizedNetwork
   * @version 0.0.1
   */
  class V1alpha1AuthorizedNetwork {
      /**
       * Constructs a new <code>V1alpha1AuthorizedNetwork</code>.
       * @alias module:model/V1alpha1AuthorizedNetwork
       * @param cidr {String} 
       * @param name {String} 
       */
      constructor(cidr, name) { 
          
          V1alpha1AuthorizedNetwork.initialize(this, cidr, name);
      }
  
      /**
       * Initializes the fields of this object.
       * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
       * Only for internal use.
       */
      static initialize(obj, cidr, name) { 
          obj['cidr'] = cidr;
          obj['name'] = name;
      }
  
      /**
       * Constructs a <code>V1alpha1AuthorizedNetwork</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/V1alpha1AuthorizedNetwork} obj Optional instance to populate.
       * @return {module:model/V1alpha1AuthorizedNetwork} The populated <code>V1alpha1AuthorizedNetwork</code> instance.
       */
      static constructFromObject(data, obj) {
          if (data) {
              obj = obj || new V1alpha1AuthorizedNetwork();
  
              if (data.hasOwnProperty('cidr')) {
                  obj['cidr'] = ApiClient.convertToType(data['cidr'], 'String');
              }
              if (data.hasOwnProperty('name')) {
                  obj['name'] = ApiClient.convertToType(data['name'], 'String');
              }
          }
          return obj;
      }
  
  /**
       * @return {String}
       */
      getCidr() {
          return this.cidr;
      }
  
      /**
       * @param {String} cidr
       */
      setCidr(cidr) {
          this['cidr'] = cidr;
      }
  /**
       * @return {String}
       */
      getName() {
          return this.name;
      }
  
      /**
       * @param {String} name
       */
      setName(name) {
          this['name'] = name;
      }
  
  }
  
  /**
   * @member {String} cidr
   */
  V1alpha1AuthorizedNetwork.prototype['cidr'] = undefined;
  
  /**
   * @member {String} name
   */
  V1alpha1AuthorizedNetwork.prototype['name'] = undefined;
  
  
  
  
  
  
  export default V1alpha1AuthorizedNetwork;
  
  