def playlist_type=(playlist_type)
      validator = EnumAttributeValidator.new('String', ["iframe", "iframe-only"])
      unless validator.valid?(playlist_type)
        fail ArgumentError, "invalid value for 'playlist_type', must be one of #{validator.allowable_values}."
      end
      @playlist_type = playlist_type
    end
def playlist_type=(playlist_type)
      validator = EnumAttributeValidator.new('String', ["iframe", "iframe-only"])
      unless validator.valid?(playlist_type)
        fail ArgumentError, "invalid value for 'playlist_type', must be one of #{validator.allowable_values}."
      end
      @playlist_type = playlist_type
    end
Custom attribute writer method checking allowed values (enum).
 @param [Object] playlist_type Object to be assigned